Summary
This proposal updates the way price impact is calculated inside all Terra PCL pools and it also updates min and max fees for LUNA-USDC, LUNA-axlWBTC, LUNA-axlWETH.
Abstract
Given the latest developments on Terra and the interest in using both Terra native and Ethereum assets in Astroport pools, we propose the following changes to PCL pools:
- Fix an informational issue that has to do with price impact. Currently the UI at app.astroport.fi uses the PCL contract code to simulate price impact for swaps. The price impact calculation is not accurate and this proposal aims to fix that
- Set the min and max fees for LUNA-USDC, LUNA-axlWBTC and LUNA-axlWETH to 0.05%-0.3% so that these pools are competitive when we take into account execution on other Cosmos DEXs
Executable Message
The executable message for this proposal looks as follows:
[
{
"wasm": {
"execute": {
"contract_addr": "terra14x9fr055x5hvr48hzy2t4q7kvjvfttsvxusa4xsdcy702mnzsvuqprer8r",
"msg": "eyJ1cGRhdGVfcGFpcl9jb25maWciOnsiY29uZmlnIjp7ImNvZGVfaWQiOjIxMTMsInBhaXJfdHlwZSI6eyJjdXN0b20iOiJjb25jZW50cmF0ZWQifSwidG90YWxfZmVlX2JwcyI6MCwibWFrZXJfZmVlX2JwcyI6NTAwMCwiaXNfZGlzYWJsZWQiOmZhbHNlLCJpc19nZW5lcmF0b3JfZGlzYWJsZWQiOmZhbHNlfX19",
"funds": []
}
}
},
{
"wasm": {
"migrate": {
"contract_addr": "terra18ek6pmmucrrzy63mplag8l3875l7dmq70ljypr8nelqwm5dmzzrsz5hyx6",
"new_code_id": 2113,
"msg": "e30="
}
}
},
{
"wasm": {
"migrate": {
"contract_addr": "terra1afkvgc0mxfqakqlaqpxdgy58n79x4r239q3tucxmrsqvqk7ce3ksnctxfu",
"new_code_id": 2113,
"msg": "e30="
}
}
},
{
"wasm": {
"migrate": {
"contract_addr": "terra1tm20pwpzwyyvyadu4v488hrg59nhu9v2l8v7k67nhccam4aagczsg0pzzr",
"new_code_id": 2113,
"msg": "e30="
}
}
},
{
"wasm": {
"migrate": {
"contract_addr": "terra13cw46g72kwtgln0540j9cqa79ham5k86jlx34e2pqukww6v0v3yseakged",
"new_code_id": 2113,
"msg": "e30="
}
}
},
{
"wasm": {
"migrate": {
"contract_addr": "terra1a4uy35zp86gr972ep4uk8g8mm0gdx2dc97wsnvjeqmdqv8hvaqxqq3udfx",
"new_code_id": 2113,
"msg": "e30="
}
}
},
{
"wasm": {
"migrate": {
"contract_addr": "terra16n04evd52r67acm3t8dy2369msuzkapdjmg9rzr6ankmmmj6054s8q5zlc",
"new_code_id": 2113,
"msg": "e30="
}
}
},
{
"wasm": {
"migrate": {
"contract_addr": "terra1mc0t6hw8rwqd77jgzyl28er2vpkg205dumvvzh0lry4xxxk2d5lsjmp27h",
"new_code_id": 2113,
"msg": "e30="
}
}
},
{
"wasm": {
"migrate": {
"contract_addr": "terra168vg4sknyhejm9yux5g6whsrewwnr562p729n605tr078r2ugt3q4e5v2e",
"new_code_id": 2113,
"msg": "e30="
}
}
},
{
"wasm": {
"migrate": {
"contract_addr": "terra1gzveumhp59hhr6msqludvtq9wuuuvwhjqr9h0732yzy7dztdehzsckdsmz",
"new_code_id": 2113,
"msg": "e30="
}
}
},
{
"wasm": {
"migrate": {
"contract_addr": "terra1w6v2u9f59nep0v8zjj6ns73u6eqkmvavqwfkzw365unpua6sz56sng36pv",
"new_code_id": 2113,
"msg": "e30="
}
}
},
{
"wasm": {
"migrate": {
"contract_addr": "terra1xf8tn8g90elzagdqf8gs786dyv8aja9h8k5zqvwvxre62rgn0k0sd25yhe",
"new_code_id": 2113,
"msg": "e30="
}
}
},
{
"wasm": {
"migrate": {
"contract_addr": "terra1pngyne0hh89h5ap6aswqp80eh5gx8dnxut8hcq5r4u82ayu0hq9s2f4m0n",
"new_code_id": 2113,
"msg": "e30="
}
}
},
{
"wasm": {
"migrate": {
"contract_addr": "terra1gpa4xt8s8yn2n5vq8p9vhfvu0r639pmrwsnaxa06ruph5pmqjecsn3njdd",
"new_code_id": 2113,
"msg": "e30="
}
}
},
{
"wasm": {
"migrate": {
"contract_addr": "terra1727er5xhmvttkgc299dmfeucr7zv0l72v6vzrukwkj9lj2q0agfqvjm86s",
"new_code_id": 2113,
"msg": "e30="
}
}
},
{
"wasm": {
"migrate": {
"contract_addr": "terra189v2ewgfx5wdhje6geefdtxefeemujplk8qw2wx3x5hdswn95l8qf4n2r0",
"new_code_id": 2113,
"msg": "e30="
}
}
},
{
"wasm": {
"migrate": {
"contract_addr": "terra1vl6vdefwpznm87d8tmcxaqn7mjtqlvyn4a485x6ux54lnusx8eespp0569",
"new_code_id": 2113,
"msg": "e30="
}
}
},
{
"wasm": {
"execute": {
"contract_addr": "terra16n04evd52r67acm3t8dy2369msuzkapdjmg9rzr6ankmmmj6054s8q5zlc",
"msg": "eyJ1cGRhdGVfY29uZmlnIjp7InBhcmFtcyI6ImV5SjFjR1JoZEdVaU9uc2liV2xrWDJabFpTSTZJakF1TURBd05TSjlmUT09In19",
"funds": []
}
}
},
{
"wasm": {
"execute": {
"contract_addr": "terra1afkvgc0mxfqakqlaqpxdgy58n79x4r239q3tucxmrsqvqk7ce3ksnctxfu",
"msg": "eyJ1cGRhdGVfY29uZmlnIjp7InBhcmFtcyI6ImV5SjFjR1JoZEdVaU9uc2liV2xrWDJabFpTSTZJakF1TURBd05TSjlmUT09In19",
"funds": []
}
}
},
{
"wasm": {
"execute": {
"contract_addr": "terra13cw46g72kwtgln0540j9cqa79ham5k86jlx34e2pqukww6v0v3yseakged",
"msg": "eyJ1cGRhdGVfY29uZmlnIjp7InBhcmFtcyI6ImV5SjFjR1JoZEdVaU9uc2liV2xrWDJabFpTSTZJakF1TURBd05TSXNJbTkxZEY5bVpXVWlPaUl3TGpBd015SjlmUT09In19",
"funds": []
}
}
}
]
Copyright
Copyright and related rights waived via CC0.