start_dex
This entrypoint allows deployer
finish setup of a new DEX pool.
Deployed pool searched by sender address (deployer
) and passed to call tokens of token_t
type.
Underlying tokens should be approved (updated operators) before calling this method.
Call parameters
Field
Type
Description
-
start_dex_param_t
mapping of token index in pool to token type and amount values.
This contract method is called only by deployer
that called add_pool.
Last updated