ContractInteractionSupplyFlowRequest
@liquidium/client / ContractInteractionSupplyFlowRequest
Interface: ContractInteractionSupplyFlowRequest
Defined in: external/liquidium-sdk/packages/client/src/modules/lending/types.ts:219
Input for contract-interaction lending.supply, which always executes now.
Extends
BaseSupplyFlowRequest
Properties
account
account:
string
Defined in: external/liquidium-sdk/packages/client/src/modules/lending/types.ts:226
Sender EVM wallet address.
action
action:
SupplyAction
Defined in: external/liquidium-sdk/packages/client/src/modules/lending/types.ts:183
Inherited from
BaseSupplyFlowRequest.action
amount
amount:
bigint
Defined in: external/liquidium-sdk/packages/client/src/modules/lending/types.ts:228
Deposit or repayment amount in token base units.
mechanism
mechanism:
"contractInteraction"
Defined in: external/liquidium-sdk/packages/client/src/modules/lending/types.ts:222
Contract-interaction mechanism discriminator.
poolId
poolId:
string
Defined in: external/liquidium-sdk/packages/client/src/modules/lending/types.ts:182
Inherited from
BaseSupplyFlowRequest.poolId
profileId
profileId:
string
Defined in: external/liquidium-sdk/packages/client/src/modules/lending/types.ts:181
Inherited from
BaseSupplyFlowRequest.profileId
walletAdapter
walletAdapter:
Pick<WalletAdapter,"sendEthTransaction">
Defined in: external/liquidium-sdk/packages/client/src/modules/lending/types.ts:224
ETH wallet adapter used to approve and deposit ERC-20 assets.