ARC-84: Set Up Additional Maker Bridges

Summary

This proposal sets up several new Maker bridges so that collected fee tokens can be swapped to ASTRO and sent to xASTRO stakers.

Abstract

The Maker contract is in charge with swapping every token collected as Astroport fees to the ASTRO token. The Maker deployments on Sei, Neutron and Injective mainnet need several new bridges (paths used to swap fees tokens to ASTRO) set up. This proposal aims to create these bridges and allow anyone to swap collected fee tokens to ASTRO.

Executable Message

The first executable message looks as follows:

[
  {
    "wasm": {
      "execute": {
        "contract_addr": "sei1d97kh6x55eudfdd0wxkzunxuvhnze88te9m3f5zft59e5ygur8eq4588x0",
        "msg": "ewogICJ1cGRhdGVfY29uZmlnIjogewogICAgImJhc2ljX2Fzc2V0IjogewogICAgICAibmF0aXZlX3Rva2VuIjogewogICAgICAgICJkZW5vbSI6ICJmYWN0b3J5L3NlaTE4OWFkZ3Vhd3VnazNlNTV6bjYzejhyOWxsMjl4cmp3Y2E2MzZyYTd2N2d4dXpuOThzeHlxd3p0NDdsL0hxNHR1RHpoUkJueHczdEZBNW42TTUyTlZNVmNDMTlYZ2dieURpSktDRDZIIgogICAgICB9CiAgICB9CiAgfQp9",
        "funds": []
      }
    }
  },
  {
    "wasm": {
      "execute": {
        "contract_addr": "sei1d97kh6x55eudfdd0wxkzunxuvhnze88te9m3f5zft59e5ygur8eq4588x0",
        "msg": "ewogICJ1cGRhdGVfYnJpZGdlcyI6IHsKICAgICJhZGQiOiBbCiAgICAgIFsKICAgICAgICB7CiAgICAgICAgICAidG9rZW4iOiB7CiAgICAgICAgICAgICJjb250cmFjdF9hZGRyIjogInNlaTEyM2dkNmM2amUzbm10anV2ZXN1d2h4cGh0dXhndHV1Nmd1NWNrM2g1emNuNnFxenptZ2FxZTg1ZGYyIgogICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgewogICAgICAgICAgIm5hdGl2ZV90b2tlbiI6IHsKICAgICAgICAgICAgImRlbm9tIjogImZhY3Rvcnkvc2VpMTg5YWRndWF3dWdrM2U1NXpuNjN6OHI5bGwyOXhyandjYTYzNnJhN3Y3Z3h1em45OHN4eXF3enQ0N2wvODcxamJuOXVuVGF2V3NBZTgzZjJNYTlHSldTdjZCS3N5V1lMaVE2ejNQdmEiCiAgICAgICAgICB9CiAgICAgICAgfQogICAgICBdLAogICAgICBbCiAgICAgICAgewogICAgICAgICAgInRva2VuIjogewogICAgICAgICAgICAiY29udHJhY3RfYWRkciI6ICJzZWkxaHVqdDRkeWRnMmx0MHlhdzhxcDZnczNlNzhmdjB0c2VocDZ0ZW13ZnEyOG0zNTZ2NmttcXQ5bGN0YyIKICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgIHsKICAgICAgICAgICJuYXRpdmVfdG9rZW4iOiB7CiAgICAgICAgICAgICJkZW5vbSI6ICJ1c2VpIgogICAgICAgICAgfQogICAgICAgIH0KICAgICAgXQogICAgXQogIH0KfQ==",
        "funds": []
      }
    }
  }
]

The readable version of this message looks as follows:

{
  "update_config": {
    "basic_asset": {
      "native_token": {
        "denom": "factory/sei189adguawugk3e55zn63z8r9ll29xrjwca636ra7v7gxuzn98sxyqwzt47l/Hq4tuDzhRBnxw3tFA5n6M52NVMVcC19XggbyDiJKCD6H"
      }
    }
  }
}

{
  "update_bridges": {
    "add": [
      [
        {
          "token": {
            "contract_addr": "sei123gd6c6je3nmtjuvesuwhxphtuxgtuu6gu5ck3h5zcn6qqzzmgaqe85df2"
          }
        },
        {
          "native_token": {
            "denom": "factory/sei189adguawugk3e55zn63z8r9ll29xrjwca636ra7v7gxuzn98sxyqwzt47l/871jbn9unTavWsAe83f2Ma9GJWSv6BKsyWYLiQ6z3Pva"
          }
        }
      ],
      [
        {
          "token": {
            "contract_addr": "sei1hujt4dydg2lt0yaw8qp6gs3e78fv0tsehp6temwfq28m356v6kmqt9lctc"
          }
        },
        {
          "native_token": {
            "denom": "usei"
          }
        }
      ]
    ]
  }
}

The second executable message looks as follows:

[
  {
    "wasm": {
      "execute": {
        "contract_addr": "inj1sf4wtl6h5sjlvvl6khz6eecly72fl9kgsnfesv",
        "msg": "ewogICJ1cGRhdGVfYnJpZGdlcyI6IHsKICAgICJhZGQiOiBbCiAgICAgIFsKICAgICAgICB7CiAgICAgICAgICAibmF0aXZlX3Rva2VuIjogewogICAgICAgICAgICAiZGVub20iOiAiaWJjL0FDODc3MTdFQTAwMkIwMTIzQjEwQTA1MDYzRTY5QkNBMjc0QkEyQzQ0RDg0MkFFRUI0MTU1OEQyODU2RENFOTMiCiAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAibmF0aXZlX3Rva2VuIjogewogICAgICAgICAgICAiZGVub20iOiAiaW5qIgogICAgICAgICAgfQogICAgICAgIH0KICAgICAgXSwKICAgICAgWwogICAgICAgIHsKICAgICAgICAgICJuYXRpdmVfdG9rZW4iOiB7CiAgICAgICAgICAgICJkZW5vbSI6ICJwZWdneTB4ZjlhMDZkRTNGNjYzOUU2ZWU0RjA3OTA5NUQ1MDkzNjQ0QWQ4NUU4YiIKICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgIHsKICAgICAgICAgICJuYXRpdmVfdG9rZW4iOiB7CiAgICAgICAgICAgICJkZW5vbSI6ICJpbmoiCiAgICAgICAgICB9CiAgICAgICAgfQogICAgICBdCiAgICBdCiAgfQp9",
        "funds": []
      }
    }
  }
]

The readable version of this message looks as follows:

{
  "update_bridges": {
    "add": [
      [
        {
          "native_token": {
            "denom": "ibc/AC87717EA002B0123B10A05063E69BCA274BA2C44D842AEEB41558D2856DCE93"
          }
        },
        {
          "native_token": {
            "denom": "inj"
          }
        }
      ],
      [
        {
          "native_token": {
            "denom": "peggy0xf9a06dE3F6639E6ee4F079095D5093644Ad85E8b"
          }
        },
        {
          "native_token": {
            "denom": "inj"
          }
        }
      ]
    ]
  }
}

The last executable message looks as follows:

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

The readable version of this message looks as follows:

{
  "update_bridges": {
    "add": [
      [
        {
          "native_token": {
            "denom": "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9"
          }
        },
        {
          "native_token": {
            "denom": "untrn"
          }
        }
      ],
      [
        {
          "native_token": {
            "denom": "ibc/B7864B03E1B9FD4F049243E92ABD691586F682137037A9F3FCA5222815620B3C"
          }
        },
        {
          "native_token": {
            "denom": "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9"
          }
        }
      ]
    ]
  }
}

Copyright

Copyright and related rights waived via CC0.

3 Likes