From 34a43162f2088ddfb628c0b3f99d1482d070f590 Mon Sep 17 00:00:00 2001 From: mmackz Date: Mon, 15 Jul 2024 19:06:48 -0700 Subject: [PATCH] refactor(utils): use Address type for referral --- packages/utils/src/types/intents.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/utils/src/types/intents.ts b/packages/utils/src/types/intents.ts index 816b37159..4d29adf67 100644 --- a/packages/utils/src/types/intents.ts +++ b/packages/utils/src/types/intents.ts @@ -1,9 +1,10 @@ import type { MintActionParams } from './actions' +import type { Address } from 'viem' export type MintIntentParams = Required< Omit > & { amount: bigint tokenId?: number - referral?: string + referral?: Address } export type IntentParams = MintIntentParams