Skip to main content

Type Alias: DepositParams

type DepositParams = object;

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

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

Properties​

amount​

amount: bigint;

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

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


depositor​

depositor: Bytes32;

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

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


token​

token: Bytes32;

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

The asset/token being deposited.