ARC-97: Prepare Astroport Contracts for TIA PCL Pools

Summary

This proposal sets up the Astroport deployments on Neutron and Injective so that anyone can deploy passive concentrated liquidity pools with TIA.

Abstract

Celestia recently launched their native token (TIA) which has garnered a lot of attention as well as competition between exchanges to attract TIA liquidity. The aim of this proposal is to set up the Neutron and Injective Astroport deployments so that anyone can create PCL pools with TIA. This way, the Astroport protocol can be more competitive when it comes to attracting liquidity from Celestia.

Executable Messages

The first executable message sets the TIA decimals in a registry, deregisters TIA - USDC, TIA-USDT, TIA - ATOM and TIA-NTRN XYK and creates PCL versions for the four pools:

[
  {
    "wasm": {
      "execute": {
        "contract_addr": "neutron1jzzv6r5uckwd64n6qan3suzker0kct5w565f6529zjyumfcx96kqtcswn3",
        "msg": "eyJhZGQiOnsibmF0aXZlX2NvaW5zIjpbWyJpYmMvNzczQjREMEEzQ0Q2NjdCMjI3NUQ1QTRBN0EyRjA5MDlDMEJBMEY0MDU5QzBCOTE4MUU2ODBEREY0OTY1RENDNyIsNl1dfX0=",
        "funds": []
      }
    }
  },
  {
    "wasm": {
      "execute": {
        "contract_addr": "neutron1hptk0k5kng7hjy35vmh009qd5m6l33609nypgf2yc6nqnewduqasxplt4e",
        "msg": "eyJkZXJlZ2lzdGVyIjp7ImFzc2V0X2luZm9zIjpbeyJuYXRpdmVfdG9rZW4iOnsiZGVub20iOiJpYmMvNzczQjREMEEzQ0Q2NjdCMjI3NUQ1QTRBN0EyRjA5MDlDMEJBMEY0MDU5QzBCOTE4MUU2ODBEREY0OTY1RENDNyJ9fSx7Im5hdGl2ZV90b2tlbiI6eyJkZW5vbSI6ImliYy9GMDgyQjY1Qzg4RTRCNkQ1RUYxREIyNDNDREExRDMzMUQwMDI3NTlFOTM4QTBGNUNEM0ZGREM1RDUzQjNFMzQ5In19XX19",
        "funds": []
      }
    }
  },
  {
    "wasm": {
      "execute": {
        "contract_addr": "neutron1hptk0k5kng7hjy35vmh009qd5m6l33609nypgf2yc6nqnewduqasxplt4e",
        "msg": "eyJjcmVhdGVfcGFpciI6eyJwYWlyX3R5cGUiOnsiY3VzdG9tIjoiY29uY2VudHJhdGVkIn0sImFzc2V0X2luZm9zIjpbeyJuYXRpdmVfdG9rZW4iOnsiZGVub20iOiJpYmMvNzczQjREMEEzQ0Q2NjdCMjI3NUQ1QTRBN0EyRjA5MDlDMEJBMEY0MDU5QzBCOTE4MUU2ODBEREY0OTY1RENDNyJ9fSx7Im5hdGl2ZV90b2tlbiI6eyJkZW5vbSI6ImliYy9GMDgyQjY1Qzg4RTRCNkQ1RUYxREIyNDNDREExRDMzMUQwMDI3NTlFOTM4QTBGNUNEM0ZGREM1RDUzQjNFMzQ5In19XSwiaW5pdF9wYXJhbXMiOiJleUpoYlhBaU9pSXhNQ0lzSW1kaGJXMWhJam9pTUM0d01EQXhORFVpTENKdGFXUmZabVZsSWpvaU1DNHdNREkySWl3aWIzVjBYMlpsWlNJNklqQXVNREEwTlNJc0ltWmxaVjluWVcxdFlTSTZJakF1TURBd01qTWlMQ0p5WlhCbFoxOXdjbTltYVhSZmRHaHlaWE5vYjJ4a0lqb2lNQzR3TURBd01ESWlMQ0p0YVc1ZmNISnBZMlZmYzJOaGJHVmZaR1ZzZEdFaU9pSXdMakF3TURFME5pSXNJbkJ5YVdObFgzTmpZV3hsSWpvaU1DNDBNelEzT0RJMk1EZzJPVFUyTlRJeUlpd2liV0ZmYUdGc1psOTBhVzFsSWpvMk1EQjkifX0=",
        "funds": []
      }
    }
  },
  {
    "wasm": {
      "execute": {
        "contract_addr": "neutron1hptk0k5kng7hjy35vmh009qd5m6l33609nypgf2yc6nqnewduqasxplt4e",
        "msg": "eyJkZXJlZ2lzdGVyIjp7ImFzc2V0X2luZm9zIjpbeyJuYXRpdmVfdG9rZW4iOnsiZGVub20iOiJpYmMvNzczQjREMEEzQ0Q2NjdCMjI3NUQ1QTRBN0EyRjA5MDlDMEJBMEY0MDU5QzBCOTE4MUU2ODBEREY0OTY1RENDNyJ9fSx7Im5hdGl2ZV90b2tlbiI6eyJkZW5vbSI6InVudHJuIn19XX19",
        "funds": []
      }
    }
  },
  {
    "wasm": {
      "execute": {
        "contract_addr": "neutron1hptk0k5kng7hjy35vmh009qd5m6l33609nypgf2yc6nqnewduqasxplt4e",
        "msg": "eyJjcmVhdGVfcGFpciI6eyJwYWlyX3R5cGUiOnsiY3VzdG9tIjoiY29uY2VudHJhdGVkIn0sImFzc2V0X2luZm9zIjpbeyJuYXRpdmVfdG9rZW4iOnsiZGVub20iOiJpYmMvNzczQjREMEEzQ0Q2NjdCMjI3NUQ1QTRBN0EyRjA5MDlDMEJBMEY0MDU5QzBCOTE4MUU2ODBEREY0OTY1RENDNyJ9fSx7Im5hdGl2ZV90b2tlbiI6eyJkZW5vbSI6InVudHJuIn19XSwiaW5pdF9wYXJhbXMiOiJleUpoYlhBaU9pSXhNQ0lzSW1kaGJXMWhJam9pTUM0d01EQXhORFVpTENKdGFXUmZabVZsSWpvaU1DNHdNREkySWl3aWIzVjBYMlpsWlNJNklqQXVNREEwTlNJc0ltWmxaVjluWVcxdFlTSTZJakF1TURBd01qTWlMQ0p5WlhCbFoxOXdjbTltYVhSZmRHaHlaWE5vYjJ4a0lqb2lNQzR3TURBd01ESWlMQ0p0YVc1ZmNISnBZMlZmYzJOaGJHVmZaR1ZzZEdFaU9pSXdMakF3TURFME5pSXNJbkJ5YVdObFgzTmpZV3hsSWpvaU55NDFOekEzTnpBeU5ETTFPREV6TURFaUxDSnRZVjlvWVd4bVgzUnBiV1VpT2pZd01IMD0ifX0=",
        "funds": []
      }
    }
  },
  {
    "wasm": {
      "execute": {
        "contract_addr": "neutron1hptk0k5kng7hjy35vmh009qd5m6l33609nypgf2yc6nqnewduqasxplt4e",
        "msg": "eyJkZXJlZ2lzdGVyIjp7ImFzc2V0X2luZm9zIjpbeyJuYXRpdmVfdG9rZW4iOnsiZGVub20iOiJpYmMvNzczQjREMEEzQ0Q2NjdCMjI3NUQ1QTRBN0EyRjA5MDlDMEJBMEY0MDU5QzBCOTE4MUU2ODBEREY0OTY1RENDNyJ9fSx7Im5hdGl2ZV90b2tlbiI6eyJkZW5vbSI6ImliYy9DNENGRjQ2RkQ2REUzNUNBNENGNENFMDMxRTY0M0M4RkRDOUJBNEI5OUFFNTk4RTlCMEVEOThGRTNBMjMxOUY5In19XX19",
        "funds": []
      }
    }
  },
  {
    "wasm": {
      "execute": {
        "contract_addr": "neutron1hptk0k5kng7hjy35vmh009qd5m6l33609nypgf2yc6nqnewduqasxplt4e",
        "msg": "eyJjcmVhdGVfcGFpciI6eyJwYWlyX3R5cGUiOnsiY3VzdG9tIjoiY29uY2VudHJhdGVkIn0sImFzc2V0X2luZm9zIjpbeyJuYXRpdmVfdG9rZW4iOnsiZGVub20iOiJpYmMvNzczQjREMEEzQ0Q2NjdCMjI3NUQ1QTRBN0EyRjA5MDlDMEJBMEY0MDU5QzBCOTE4MUU2ODBEREY0OTY1RENDNyJ9fSx7Im5hdGl2ZV90b2tlbiI6eyJkZW5vbSI6ImliYy9DNENGRjQ2RkQ2REUzNUNBNENGNENFMDMxRTY0M0M4RkRDOUJBNEI5OUFFNTk4RTlCMEVEOThGRTNBMjMxOUY5In19XSwiaW5pdF9wYXJhbXMiOiJleUpoYlhBaU9pSXhNQ0lzSW1kaGJXMWhJam9pTUM0d01EQXhORFVpTENKdGFXUmZabVZsSWpvaU1DNHdNREkySWl3aWIzVjBYMlpsWlNJNklqQXVNREEwTlNJc0ltWmxaVjluWVcxdFlTSTZJakF1TURBd01qTWlMQ0p5WlhCbFoxOXdjbTltYVhSZmRHaHlaWE5vYjJ4a0lqb2lNQzR3TURBd01ESWlMQ0p0YVc1ZmNISnBZMlZmYzJOaGJHVmZaR1ZzZEdFaU9pSXdMakF3TURFME5pSXNJbkJ5YVdObFgzTmpZV3hsSWpvaU1DNHlPVEkyTWpBNE5qVXhNems1TkRrd05pSXNJbTFoWDJoaGJHWmZkR2x0WlNJNk5qQXdmUT09In19",
        "funds": []
      }
    }
  },
  {
    "wasm": {
      "execute": {
        "contract_addr": "neutron1hptk0k5kng7hjy35vmh009qd5m6l33609nypgf2yc6nqnewduqasxplt4e",
        "msg": "eyJkZXJlZ2lzdGVyIjp7ImFzc2V0X2luZm9zIjpbeyJuYXRpdmVfdG9rZW4iOnsiZGVub20iOiJpYmMvNTc1MDNENzg1MkVGNEUxODk5RkU2RDcxQzVFODFEN0M4MzlGNzY1ODBGODZGMjFFMzkzNDhGQzJCQzlEN0NFMiJ9fSx7Im5hdGl2ZV90b2tlbiI6eyJkZW5vbSI6ImliYy83NzNCNEQwQTNDRDY2N0IyMjc1RDVBNEE3QTJGMDkwOUMwQkEwRjQwNTlDMEI5MTgxRTY4MERERjQ5NjVEQ0M3In19XX19",
        "funds": []
      }
    }
  },
  {
    "wasm": {
      "execute": {
        "contract_addr": "neutron1hptk0k5kng7hjy35vmh009qd5m6l33609nypgf2yc6nqnewduqasxplt4e",
        "msg": "eyJjcmVhdGVfcGFpciI6eyJwYWlyX3R5cGUiOnsiY3VzdG9tIjoiY29uY2VudHJhdGVkIn0sImFzc2V0X2luZm9zIjpbeyJuYXRpdmVfdG9rZW4iOnsiZGVub20iOiJpYmMvNTc1MDNENzg1MkVGNEUxODk5RkU2RDcxQzVFODFEN0M4MzlGNzY1ODBGODZGMjFFMzkzNDhGQzJCQzlEN0NFMiJ9fSx7Im5hdGl2ZV90b2tlbiI6eyJkZW5vbSI6ImliYy83NzNCNEQwQTNDRDY2N0IyMjc1RDVBNEE3QTJGMDkwOUMwQkEwRjQwNTlDMEI5MTgxRTY4MERERjQ5NjVEQ0M3In19XSwiaW5pdF9wYXJhbXMiOiJleUpoYlhBaU9pSXhNQ0lzSW1kaGJXMWhJam9pTUM0d01EQXhORFVpTENKdGFXUmZabVZsSWpvaU1DNHdNREkySWl3aWIzVjBYMlpsWlNJNklqQXVNREEwTlNJc0ltWmxaVjluWVcxdFlTSTZJakF1TURBd01qTWlMQ0p5WlhCbFoxOXdjbTltYVhSZmRHaHlaWE5vYjJ4a0lqb2lNQzR3TURBd01ESWlMQ0p0YVc1ZmNISnBZMlZmYzJOaGJHVmZaR1ZzZEdFaU9pSXdMakF3TURFME5pSXNJbkJ5YVdObFgzTmpZV3hsSWpvaU1pNHpJaXdpYldGZmFHRnNabDkwYVcxbElqbzJNREI5In19",
        "funds": []
      }
    }
  }
]

The second executable message upgrades the Injective Factory so it mathes the logic in the Neutron Astroport Factory. It also deregisters TIA-USDT XYK and creates TIA-USDT PCL:

[
  {
    "wasm": {
      "execute": {
        "contract_addr": "inj1k5uunty0xf353jut6eq0zgk6qy4grc9wufut2c",
        "msg": "eyJhZGQiOnsibmF0aXZlX2NvaW5zIjpbWyJpYmMvRjUxQkIyMjFCQUEyNzVGMkVCRjY1NEY3MEIwMDU2MjdEN0U3MTNBRkZENkQ4NkFGRDFFNDNDQUE4ODYxNDlGNCIsNl1dfX0=",
        "funds": []
      }
    }
  },
  {
    "wasm": {
      "migrate": {
        "contract_addr": "inj19aenkaj6qhymmt746av8ck4r8euthq3zmxr2r6",
        "new_code_id": 171,
        "msg": "eyJwYXJhbXMiOiJlMzA9In0="
      }
    }
  },
  {
    "wasm": {
      "execute": {
        "contract_addr": "inj19aenkaj6qhymmt746av8ck4r8euthq3zmxr2r6",
        "msg": "eyJ1cGRhdGVfcGFpcl9jb25maWciOnsiY29uZmlnIjp7ImNvZGVfaWQiOjE3MCwicGFpcl90eXBlIjp7ImN1c3RvbSI6ImNvbmNlbnRyYXRlZCJ9LCJ0b3RhbF9mZWVfYnBzIjowLCJtYWtlcl9mZWVfYnBzIjo1MDAwLCJpc19kaXNhYmxlZCI6ZmFsc2UsImlzX2dlbmVyYXRvcl9kaXNhYmxlZCI6ZmFsc2V9fX0=",
        "funds": []
      }
    }
  },
  {
    "wasm": {
      "execute": {
        "contract_addr": "inj19aenkaj6qhymmt746av8ck4r8euthq3zmxr2r6",
        "msg": "eyJkZXJlZ2lzdGVyIjp7ImFzc2V0X2luZm9zIjpbeyJuYXRpdmVfdG9rZW4iOnsiZGVub20iOiJpYmMvRjUxQkIyMjFCQUEyNzVGMkVCRjY1NEY3MEIwMDU2MjdEN0U3MTNBRkZENkQ4NkFGRDFFNDNDQUE4ODYxNDlGNCJ9fSx7Im5hdGl2ZV90b2tlbiI6eyJkZW5vbSI6InBlZ2d5MHhkQUMxN0Y5NThEMmVlNTIzYTIyMDYyMDY5OTQ1OTdDMTNEODMxZWM3In19XX19",
        "funds": []
      }
    }
  },
  {
    "wasm": {
      "execute": {
        "contract_addr": "inj19aenkaj6qhymmt746av8ck4r8euthq3zmxr2r6",
        "msg": "eyJjcmVhdGVfcGFpciI6eyJwYWlyX3R5cGUiOnsiY3VzdG9tIjoiY29uY2VudHJhdGVkIn0sImFzc2V0X2luZm9zIjpbeyJuYXRpdmVfdG9rZW4iOnsiZGVub20iOiJpYmMvRjUxQkIyMjFCQUEyNzVGMkVCRjY1NEY3MEIwMDU2MjdEN0U3MTNBRkZENkQ4NkFGRDFFNDNDQUE4ODYxNDlGNCJ9fSx7Im5hdGl2ZV90b2tlbiI6eyJkZW5vbSI6InBlZ2d5MHhkQUMxN0Y5NThEMmVlNTIzYTIyMDYyMDY5OTQ1OTdDMTNEODMxZWM3In19XSwiaW5pdF9wYXJhbXMiOiJleUpoYlhBaU9pSXhNQ0lzSW1kaGJXMWhJam9pTUM0d01EQXhORFVpTENKdGFXUmZabVZsSWpvaU1DNHdNREkySWl3aWIzVjBYMlpsWlNJNklqQXVNREEwTlNJc0ltWmxaVjluWVcxdFlTSTZJakF1TURBd01qTWlMQ0p5WlhCbFoxOXdjbTltYVhSZmRHaHlaWE5vYjJ4a0lqb2lNQzR3TURBd01ESWlMQ0p0YVc1ZmNISnBZMlZmYzJOaGJHVmZaR1ZzZEdFaU9pSXdMakF3TURFME5pSXNJbkJ5YVdObFgzTmpZV3hsSWpvaU1DNDBNelEzT0RJMk1EZzJPVFUyTlRJeUlpd2liV0ZmYUdGc1psOTBhVzFsSWpvMk1EQjkifX0=",
        "funds": []
      }
    }
  }
]

Copyright

Copyright and related rights waived via CC0.

1 Like