Skip to main content

ContractInteractionSupplyFlowRequest

@liquidium/client


@liquidium/client / ContractInteractionSupplyFlowRequest

Interface: ContractInteractionSupplyFlowRequest

Defined in: packages/client/src/modules/lending/types.ts:292

Input for contract-interaction lending.supply, which always executes now.

Extends​

  • BaseSupplyFlowRequest

Properties​

account​

account: string

Defined in: packages/client/src/modules/lending/types.ts:301

Sender EVM wallet address.


action​

action: SupplyAction

Defined in: packages/client/src/modules/lending/types.ts:251

Inherited from​

BaseSupplyFlowRequest.action


amount​

amount: bigint

Defined in: packages/client/src/modules/lending/types.ts:303

Amount in token base units. Deposits enforce the asset product minimum.


chain​

chain: "ETH"

Defined in: packages/client/src/modules/lending/types.ts:297

Contract interaction is supported for native ETH, USDC, and USDT pools on Ethereum.

Overrides​

BaseSupplyFlowRequest.chain


mechanism​

mechanism: "contractInteraction"

Defined in: packages/client/src/modules/lending/types.ts:295

Contract-interaction mechanism discriminator.


poolId​

poolId: string

Defined in: packages/client/src/modules/lending/types.ts:250

Inherited from​

BaseSupplyFlowRequest.poolId


profileId​

profileId: string

Defined in: packages/client/src/modules/lending/types.ts:249

Inherited from​

BaseSupplyFlowRequest.profileId


walletAdapter​

walletAdapter: Pick<WalletAdapter, "sendEthTransaction">

Defined in: packages/client/src/modules/lending/types.ts:299

ETH wallet adapter used to deposit native ETH or approve and deposit ERC-20 assets.