Factory
This contract registers the relation between your token and others. It uses the pre-stored pair contract binary and instantiate it. So, you don't have to execute the pair contract additionally.
Last updated
{
"config": {}
}{
"pair": {
"asset_infos": [
{
"token": {
"contract_addr": "<HumanAddr>",
"token_code_hash": "<HASH>",
"viewing_key": "..."
}
},
{
"native_token": {
"denom": "uscrt"
}
}
]
}
}
{
"pairs": {
"start_after": [
//optional
{
"token": {
"contract_addr": "<HumanAddr>"
}
},
{
"native_token": {
"denom": "uscrt"
}
}
],
"limit": 10 //optional, default=10, max=30
}
}