ARC-96: Upgrade Maker Contracts

Summary

This proposal aims to upgrade the Maker contracts on Terra and Injective so that they match the logic in the Neutron Maker contract. The proposal also sets up new swap bridges on the Terra, Neutron and Injective Makers and sets the max spread on all Makers to 10%.

Abstract

Currently, the Maker contract logic and Maker parameters on Neutron are different than the ones on Terra and Injective. This proposal aims to fix that by applying the following changes:

  • Upgrade the Maker contracts on Terra and Injective so that they match the one on Neutron
  • Set the max spread on all Maker contracts to 10%
  • Set up Maker bridges on Terra so that most fee tokens are swapped to ASTRO through USDC. Set up a bridge on Neutron so that NTRN is swapped to ASTRO through ATOM. Finally, set up an INJ-USDT bridge on Injective

Executable Message

This proposal is split in 3 parts. Part one applies all the changes to the Terra Maker:

[
  {
    "wasm": {
      "migrate": {
        "contract_addr": "terra1ygcvxp9s054q8u2q4hvl52ke393zvgj0sllahlycm4mj8dm96zjsa45rzk",
        "new_code_id": 2006,
        "msg": "eyJkZWZhdWx0X2JyaWRnZSI6eyJuYXRpdmVfdG9rZW4iOnsiZGVub20iOiJpYmMvQjM1MDRFMDkyNDU2QkE2MThDQzI4QUM2NzFBNzFGQjA4QzZDQTBGRDBCRTdDOEE1QjVBM0UyREQ5MzNDQzlFNCJ9fX0="
      }
    }
  },
  {
    "wasm": {
      "execute": {
        "contract_addr": "terra1ygcvxp9s054q8u2q4hvl52ke393zvgj0sllahlycm4mj8dm96zjsa45rzk",
        "msg": "eyJ1cGRhdGVfY29uZmlnIjp7Im1heF9zcHJlYWQiOiIwLjEifX0=",
        "funds": []
      }
    }
  },
  {
    "wasm": {
      "execute": {
        "contract_addr": "terra1ygcvxp9s054q8u2q4hvl52ke393zvgj0sllahlycm4mj8dm96zjsa45rzk",
        "msg": "eyJ1cGRhdGVfYnJpZGdlcyI6eyJhZGQiOltbeyJuYXRpdmVfdG9rZW4iOnsiZGVub20iOiJ1bHVuYSJ9fSx7Im5hdGl2ZV90b2tlbiI6eyJkZW5vbSI6ImliYy9CMzUwNEUwOTI0NTZCQTYxOENDMjhBQzY3MUE3MUZCMDhDNkNBMEZEMEJFN0M4QTVCNUEzRTJERDkzM0NDOUU0In19XSxbeyJ0b2tlbiI6eyJjb250cmFjdF9hZGRyIjoidGVycmExbHh4NDBzMjlxdmtyY2o4ZnNhM3l6eWVoeTd3NTB1bWR2dm5sczJyODMwcnlzNmx1MnpuczYzZWVsdiJ9fSx7Im5hdGl2ZV90b2tlbiI6eyJkZW5vbSI6InVsdW5hIn19XSxbeyJ0b2tlbiI6eyJjb250cmFjdF9hZGRyIjoidGVycmExZWNnYXp5ZDB3YWFqM2c3bDljbXk1Z3VsaHhrcHMyZ214dTlnaGR1Y3Z1eXBqcTY4bXEyczVsdnNjdCJ9fSx7Im5hdGl2ZV90b2tlbiI6eyJkZW5vbSI6InVsdW5hIn19XSxbeyJ0b2tlbiI6eyJjb250cmFjdF9hZGRyIjoidGVycmExNHhzbTJ3enZ1N3hhZjU2N3I2OTN2Z2ZraG12ZnMwOGw2OGg0dGpqNXdqZ3luNWt5OGUycXZ6eWFuaCJ9fSx7Im5hdGl2ZV90b2tlbiI6eyJkZW5vbSI6InVsdW5hIn19XV19fQ==",
        "funds": []
      }
    }
  }
]

Part two updates the Maker on Injective:

[
  {
    "wasm": {
      "execute": {
        "contract_addr": "inj1sf4wtl6h5sjlvvl6khz6eecly72fl9kgsnfesv",
        "msg": "eyJ1cGRhdGVfY29uZmlnIjp7Im1heF9zcHJlYWQiOiIwLjEifX0=",
        "funds": []
      }
    }
  },
  {
    "wasm": {
      "execute": {
        "contract_addr": "inj1sf4wtl6h5sjlvvl6khz6eecly72fl9kgsnfesv",
        "msg": "eyJ1cGRhdGVfYnJpZGdlcyI6eyJhZGQiOltbeyJuYXRpdmVfdG9rZW4iOnsiZGVub20iOiJpbmoifX0seyJuYXRpdmVfdG9rZW4iOnsiZGVub20iOiJwZWdneTB4ZEFDMTdGOTU4RDJlZTUyM2EyMjA2MjA2OTk0NTk3QzEzRDgzMWVjNyJ9fV1dfX0=",
        "funds": []
      }
    }
  }
]

Part three updates the Neutron Maker:

[
  {
    "wasm": {
      "execute": {
        "contract_addr": "neutron1unc0549k2f0d7mjjyfm94fuz2x53wrx3px0pr55va27grdgmspcqgzfr8p",
        "msg": "eyJ1cGRhdGVfYnJpZGdlcyI6eyJhZGQiOltbeyJuYXRpdmVfdG9rZW4iOnsiZGVub20iOiJ1bnRybiJ9fSx7Im5hdGl2ZV90b2tlbiI6eyJkZW5vbSI6ImliYy9GMDgyQjY1Qzg4RTRCNkQ1RUYxREIyNDNDREExRDMzMUQwMDI3NTlFOTM4QTBGNUNEM0ZGREM1RDUzQjNFMzQ5In19XV19fQ==",
        "funds": []
      }
    }
  }
]

Copyright

Copyright and related rights waived via CC0.

1 Like