Skip to content

Commit

Permalink
refactor(utils): use Address type for referral
Browse files Browse the repository at this point in the history
  • Loading branch information
mmackz committed Jul 16, 2024
1 parent 4f9c41b commit 34a4316
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/utils/src/types/intents.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import type { MintActionParams } from './actions'
import type { Address } from 'viem'
export type MintIntentParams = Required<
Omit<MintActionParams, 'amount' | 'tokenId' | 'referral'>
> & {
amount: bigint
tokenId?: number
referral?: string
referral?: Address
}
export type IntentParams = MintIntentParams

0 comments on commit 34a4316

Please sign in to comment.