Skip to main content

Type Alias: DepositParams

type DepositParams = object;

Defined in: packages/overcast-core/src/types/index.ts:123

Parameters for a deposit into a user's protocol escrow vault.

Properties

amount

amount: bigint;

Defined in: packages/overcast-core/src/types/index.ts:129

Amount in the asset's native units. bigint so u64 values stay exact.


depositor

depositor: Id;

Defined in: packages/overcast-core/src/types/index.ts:125

The owner of the escrow vault the funds are credited to.


mint

mint: Id;

Defined in: packages/overcast-core/src/types/index.ts:127

The asset (mint) being deposited.