add_pool
This entrypoint allows admin
creating a new DEX pool.
Underlying tokens should be approved (updated operators) before calling this method.
Call parameters
Field | Type | Description |
---|---|---|
a_constant |
| "A" constant |
input_tokens |
| set of tokens inside the future pool (from 2 to 4 entries) |
tokens_info |
| map of rates config and amount of initial pool reserves |
This contract method is called only by admin
of that contract.
Last updated