[MRC-160] Mars v2.4.0 Upgrade - Neutron Outpost

Summary

This proposal aims to upgrade Mars Protocol contracts from version 2.3.1 to 2.4.0.This system upgrade introduces new features and optimizations related to staking rewards, governance handling, and reward distribution routing.

Motivation

This upgrade implements several key improvements to Mars’ reward system and governance functionality, including:

  • Native DEX Swaps for Reward Distribution: Enables direct swapping through Neutron’s native DEX from the rewards collector, simplifying reward conversions and reducing dependencies.

  • Governance DAO Address Type: Adds support for the Mars Hub governance DAO address type, streamlining governance-related message execution and integration.

  • Staking Discounts on Swaps: Introduces fee discounts for swaps based on staking tiers, further aligning stakers with the protocol’s long-term success.

These upgrades optimize efficiency and flexibility of the rewards pipeline while enhancing the value proposition for active stakers and governance participants.

Implementation

This proposal intends to deploy the v2.4.0 release on Neutron.

You can view the full diff here: Comparing v2.3.1-perps...v2.4.0-perps · mars-protocol/core-contracts · GitHub

The following message(s) will be executed by the Mars Protocol Foundation multisig (final addresses and code IDs will be inserted once migration testing is complete):

{
            "@type": "/cosmwasm.wasm.v1.MsgMigrateContract",
            "sender": "neutron1ltzuv25ltw9mkwuvvmt7e54a6ene283hfj7l0c",
            "contract": "neutron1qdzn3l4kn7gsjna2tfpg3g3mwd6kunx4p50lfya59k02846xas6qslgs3r",
            "code_id": "4680",
            "msg": {
              "v2_3_1_to_v2_4_0": {
                "fee_tier_config": {
                  "tiers": [
                    {
                        "id": "tier_8",
                        "min_voting_power": "1500000000000",
                        "discount_pct": "0.8"
                    },
                    {
                        "id": "tier_7",
                        "min_voting_power": "1000000000000",
                        "discount_pct": "0.7"
                    },
                    {
                        "id": "tier_6",
                        "min_voting_power": "500000000000",
                        "discount_pct": "0.6"
                    },
                    {
                        "id": "tier_5",
                        "min_voting_power": "250000000000",
                        "discount_pct": "0.45"
                    },
                    {
                        "id": "tier_4",
                        "min_voting_power": "100000000000",
                        "discount_pct": "0.3"
                    },
                    {
                        "id": "tier_3",
                        "min_voting_power": "50000000000",
                        "discount_pct": "0.2"
                    },
                    {
                        "id": "tier_2",
                        "min_voting_power": "10000000000",
                        "discount_pct": "0.1"
                    },
                    {
                        "id": "tier_1",
                        "min_voting_power": "0",
                        "discount_pct": "0"
                    }
                  ]
                },
                "governance_address": "neutron1pxjszcmmdxwtw9kv533u3hcudl6qahsa42chcs24gervf4ge40usaw3pcr"
              }
            }
        },
        {
            "@type": "/cosmwasm.wasm.v1.MsgMigrateContract",
            "sender": "neutron1ltzuv25ltw9mkwuvvmt7e54a6ene283hfj7l0c",
            "contract": "neutron17yehp4x7n79zq9dlw4g7xmnrvwdjjj2yecq26844sg8yu74knlxqfx5vqv",
            "code_id": "4681",
            "msg": {
              "v2_3_2_to_v2_4_0": {}
            }
        },
        {
            "@type": "/cosmwasm.wasm.v1.MsgMigrateContract",
            "sender": "neutron1ltzuv25ltw9mkwuvvmt7e54a6ene283hfj7l0c",
            "contract": "neutron1g3catxyv0fk8zzsra2mjc0v4s69a7xygdjt85t54l7ym3gv0un4q2xhaf6",
            "code_id": "4682",
            "msg": {
              "v2_3_0_to_v2_4_0": {}
            }
        }

Copyright

Copyright and related rights waived via CC0.

Disclaimers/Disclosures

This proposal is being made by Mars Protocol Foundation, a Cayman Islands foundation company. Mars Protocol Foundation engages in research and development of the Mars Protocol. Mars Protocol Foundation and certain of its service providers and managers own MARS tokens and have financial interests related to this proposal. The aforementioned persons or their affiliates may also have financial interests in complementary or competing projects or ecosystems, entities or tokens, including NTRN. These statements are intended to disclose relevant facts and to help identify potential conflicts of interest, and should not be misconstrued as a complete description of all relevant interests or conflicts of interests; nor should they be construed as a recommendation to purchase or acquire any token or security.

This proposal is also subject to and qualified by the Mars Disclaimers/Disclosures. Mars Protocol Foundation may lack access to all relevant facts or may have failed to give appropriate weighting to available facts. Mars Protocol Foundation is not making any representation, warranty or guarantee regarding the accuracy or completeness of the statements herein, and Mars Protocol Foundation shall have no liability in the event of losses or damages ensuing from approval or rejection or other handling of the proposal. Each user and voter should undertake their own research and make their own independent interpretation and analysis of all relevant facts and issues to arrive at their own personal determinations of how to vote on the proposal.