Skip to content

Latest commit

 

History

History
118 lines (77 loc) · 2.31 KB

SwapCanisterController.md

File metadata and controls

118 lines (77 loc) · 2.31 KB

Namespace: SwapCanisterController

Table of contents

Type Aliases

Type Aliases

AddLiquidityParams

Ƭ AddLiquidityParams: Object

Type declaration

Name Type
amount0 Amount
amount1 Amount
slippage? Number
token0 string
token1 string

ApproveParams

Ƭ ApproveParams: Object

Type declaration

Name Type
amount Amount
tokenId string

DepositParams

Ƭ DepositParams: Object

Type declaration

Name Type
amount Amount
tokenId string

DepositTokensNeededBalanceParams

Ƭ DepositTokensNeededBalanceParams: DepositParams[]


GetTokenBalanceParams

Ƭ GetTokenBalanceParams: Object

Type declaration

Name Type
principalId string
tokenId string

RemoveLiquidityParams

Ƭ RemoveLiquidityParams: Object

Type declaration

Name Type
amount Amount
slippage? Number
token0 string
token1 string

SwapParams

Ƭ SwapParams: Object

Type declaration

Name Type
amountIn Amount
slippage? Number
tokenIn string
tokenOut string

WithdrawParams

Ƭ WithdrawParams: Object

Type declaration

Name Type
amount Amount
tokenId string