Curve sBTC
Interact with Curve Protocol's sBTC liquidity pool
This connector interacts with Curve Protocol's sBTC liquidity pool. For additional Curve Connectors:
Sell
This connector sells Stable ERC20 Token
Parameter | Type | Description |
buyAddr | address | The address of the token to buy. |
sellAddr | address | The address of the token to sell. |
sellAmt | number | The amount of token to sell. |
unitAmt | number | The amount of buyAmt/sellAmt with slippage. |
getId | number | ID stores the amount of token deposited. |
setId | number | ID stores the amount of token deposited. |
Deposit
Deposit Token into the Curve Pool
Parameter | Type | Description |
token | address | The token address to deposit. |
amt | number | The amount of tokens to deposit. use -1 or `dsa.maxValue` to deposit 100%. |
unitAmt | number | The amount of curve_amt/token_amt with slippage. |
getId | number | ID fetches the amount of token to deposit. |
setId | number | ID stores the amount of token deposited. |
Withdraw
Withdraw Token from the Curve Pool
Parameter | Type | Description |
token | address | The token address to deposit. |
amt | number | The amount of tokens to deposit. use -1 or `dsa.maxValue` to withdraw 100%. |
unitAmt | number | The amount of curve_amt/token_amt with slippage. |
getId | number | ID fetches the amount of token to deposit. |
setId | number | ID stores the amount of token deposited. |
Last updated