tapp_create_stable_pool_and_add_liquidity
Create a Stable pool on Tapp Exchange, set fee, amplification factor, and add initial liquidity with specified token amounts. Simplify decentralized exchange operations on Aptos blockchain.
Instructions
Create a Stable pool and add initial liquidity
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amounts | Yes | The initial token amounts | |
amplificationFactor | Yes | Amplification factor | |
fee | Yes | The fee traders will pay to use your pool's liquidity | |
offpeg_fee_multiplier | No | Optional. Multiplier applied to fee when assets are off-peg. Defaults to 20_000_000_000 | |
tokenAddress | Yes | An array of token addresses |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"amounts": {
"description": "The initial token amounts",
"items": {
"type": "number"
},
"type": "array"
},
"amplificationFactor": {
"description": "Amplification factor",
"type": "number"
},
"fee": {
"description": "The fee traders will pay to use your pool's liquidity",
"type": "number"
},
"offpeg_fee_multiplier": {
"description": "Optional. Multiplier applied to fee when assets are off-peg. Defaults to 20_000_000_000",
"type": "number"
},
"tokenAddress": {
"description": "An array of token addresses",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"tokenAddress",
"fee",
"amounts",
"amplificationFactor"
],
"type": "object"
}