ContractInteractionSupplyFlowRequest
@liquidium/client / ContractInteractionSupplyFlowRequest
Interface: ContractInteractionSupplyFlowRequest
Defined in: packages/client/src/modules/lending/types.ts:216
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:225
Sender EVM wallet address.
action
action:
SupplyAction
Defined in: packages/client/src/modules/lending/types.ts:178
Inherited from
BaseSupplyFlowRequest.action
amount
amount:
bigint
Defined in: packages/client/src/modules/lending/types.ts:227
Deposit or repayment amount in token base units.
chain
chain:
"ETH"
Defined in: packages/client/src/modules/lending/types.ts:221
Contract interaction is only supported for ETH stablecoin pools.
Overrides
BaseSupplyFlowRequest.chain
mechanism
mechanism:
"contractInteraction"
Defined in: packages/client/src/modules/lending/types.ts:219
Contract-interaction mechanism discriminator.
poolId
poolId:
string
Defined in: packages/client/src/modules/lending/types.ts:177
Inherited from
BaseSupplyFlowRequest.poolId
profileId
profileId:
string
Defined in: packages/client/src/modules/lending/types.ts:176
Inherited from
BaseSupplyFlowRequest.profileId
walletAdapter
walletAdapter:
Pick<WalletAdapter,"sendEthTransaction">
Defined in: packages/client/src/modules/lending/types.ts:223
ETH wallet adapter used to approve and deposit ERC-20 assets.