Summary
This proposal aims to deregister the ASTRO-LUNA XYK pool from the Astroport Factory contract on Terra and create a PCL counterpart for the two tokens.
Abstract
The long awaited passive concentrated liquidity pool type is now online on the Terra Astroport deployment. In order to migrate liquidity from currently deployed XYK pools to PCL, each XYK pool needs to be deregistered first.
This proposal aims to start the migration process to PCL by deregistering the currently active ASTRO-LUNA pool and creating a PCL pool that handles the two tokens.
Executable Message
The executable message looks as follows:
[
{
"wasm": {
"execute": {
"contract_addr": "terra14x9fr055x5hvr48hzy2t4q7kvjvfttsvxusa4xsdcy702mnzsvuqprer8r",
"msg": "ewogICAgICAgICAgImRlcmVnaXN0ZXIiOiB7CiAgICAgICAgICAgICJhc3NldF9pbmZvcyI6IFsKICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAibmF0aXZlX3Rva2VuIjogewogICAgICAgICAgICAgICAgICAiZGVub20iOiAidWx1bmEiCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAidG9rZW4iOiB7CiAgICAgICAgICAgICAgICAgICJjb250cmFjdF9hZGRyIjogInRlcnJhMW5zdXFzazZraDU4dWxjemF0d2V2ODd0dHEyejZyM3B1c3VsZzlyMjRtZmoyZnZ0emQ0dXEzZXhuMjYiCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgfQogICAgICAgICAgICBdCiAgICAgICAgICB9CiAgICAgICAgfQo=",
"funds": []
}
}
},
{
"wasm": {
"execute": {
"contract_addr": "terra14x9fr055x5hvr48hzy2t4q7kvjvfttsvxusa4xsdcy702mnzsvuqprer8r",
"msg": "ewogICAgICAgICAgImNyZWF0ZV9wYWlyIjogewogICAgICAgICAgICAicGFpcl90eXBlIjogewogICAgICAgICAgICAgICJjdXN0b20iOiAiY29uY2VudHJhdGVkIgogICAgICAgICAgICB9LAogICAgICAgICAgICAiYXNzZXRfaW5mb3MiOiBbCiAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgIm5hd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ICAgICAgICAgfQogICAgICAgIH0K",
"funds": []
}
}
}
]
The readable version for the message looks as follows:
[
{
"wasm": {
"execute": {
"contract_addr": "terra14x9fr055x5hvr48hzy2t4q7kvjvfttsvxusa4xsdcy702mnzsvuqprer8r",
"msg": {
"deregister": {
"asset_infos": [
{
"native_token": {
"denom": "uluna"
}
},
{
"token": {
"contract_addr": "terra1nsuqsk6kh58ulczatwev87ttq2z6r3pusulg9r24mfj2fvtzd4uq3exn26"
}
}
]
}
},
"funds": []
}
}
},
{
"wasm": {
"execute": {
"contract_addr": "terra14x9fr055x5hvr48hzy2t4q7kvjvfttsvxusa4xsdcy702mnzsvuqprer8r",
"msg": {
"create_pair": {
"pair_type": {
"custom": "concentrated"
},
"asset_infos": [
{
"native_token": {
"denom": "uluna"
}
},
{
"token": {
"contract_addr": "terra1nsuqsk6kh58ulczatwev87ttq2z6r3pusulg9r24mfj2fvtzd4uq3exn26"
}
}
],
"init_params": {
"amp": "10",
"gamma": "0.000145",
"mid_fee": "0.0026",
"out_fee": "0.0045",
"fee_gamma": "0.00023",
"repeg_profit_threshold": "0.000002",
"min_price_scale_delta": "0.000146",
"price_scale": "0.05433943825927438",
"ma_half_time": 600
}
}
},
"funds": []
}
}
}
]
Copyright
Copyright and related rights waived via CC0.