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.
Field | Type | Description |
---|---|---|
- | start_dex_param_t | mapping of token index in pool to token type and amount values. |
type input_t_v_t is [@layout:comb] record [
token : token_t;
value : nat;
]
type start_dex_param_t is map(nat, input_t_v_t)
Last modified 1yr ago