Skip to content

Universal Staking: allowing ZETA staker to receive cctx fees as rewards #2793

@lumtis

Description

@lumtis
### Tasks
- [ ] https://github.com/zeta-chain/node/issues/2754
- [ ] https://github.com/zeta-chain/node/issues/2791
- [ ] https://github.com/zeta-chain/node/issues/2792
- [ ] https://github.com/zeta-chain/node/issues/2800
- [ ] https://github.com/zeta-chain/node/issues/2930
- [ ] https://github.com/zeta-chain/node/issues/3005
- [ ] https://github.com/zeta-chain/node/issues/3201
- [ ] https://github.com/zeta-chain/node/issues/3401

What

ZRC-20 transactions to connected chains (withdrawals) incur cross-chain transaction fees. This is a proposal to develop a way for these fees to be split amongst network participants.

Why

This amplifies the utility of ZETA and creates a stronger market incentive to build with and create cross-chain transactions. ZETA stakers receive additional rewards of “hard” assets

Tokens that are whitelisted by the protocol have a built-in incentive for users to transact across chains with these tokens.

Example

Transaction to withdraw costs using contract X.

  • Withdraw fee, equals to 0.1 ETH.
  • Portion of fee attributed to staking pool for stakers/developers.
  • Stakers get a basket of all assets related to ZRC-20.

Technical Consideration

With the dependent precompile listed above, the function could be mostly implemented at the smart contract level.
Right new two way could be considered for the reward directed to the staking pool:

  • An additional withdraw fee: the current fee is already used to cover the transaction on the destination, we can't use these fund at the source level, but we can define a parameter of additional fees (eventually relative) that are sent to the stakers
  • Remaining funds: for CCTX, as not all the gas is consumed in the outbound, the remaining funds are currently sent to the gas stability pool. We could use a percentage of this funds to be sent to the staker pool. The percentage could depend on the chain depending on gas price stability. For example for BNB chain and many fast chains 100% could be sent to staker pool

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    epicGroup issues under a high-level objectivefeature:ideaAn early idea for a feature. Used as reference to follow new feature integrationsm:crosschainzeta-utilityImprove the utility of ZETA token

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions