Search…
Create a New Pair
A pre-stored pair is used in this procedure. Token contract should be instantiated in advance.
The Factory JSON parameter for instantiation is below:
{
"pair_code_id": 1,
"pair_code_hash": "<HASH>",
"token_code_id": 2,
"token_code_hash": "<HASH>",
"init_hook": { // optional
"msg": "base64_encoded_json_data",
"contract_addr": "secret...",
"callback_code_hash": "<HASH>"
}
}
Copy link