[Review] MD-38: Provide for Native Bridge and FFS Usage with Fixed Token Supply#38
[Review] MD-38: Provide for Native Bridge and FFS Usage with Fixed Token Supply#38l-monninger wants to merge 14 commits into
Conversation
|
So the network has a fixed supply of MOVE? Could you link to documentation about that @l-monninger ? It's news to me. The general tokenomics and validator emissions should be included in this discussion, if there is an established design for those components. Without that information, I'm not convinced that deflationary tokenomics means the supply will converge to zero. If there is such a possibility, the mathematical evidence for it should be spelled out, to inform solution ideas. |
|
@andygolay 10 billion MOVE ERC20 tokens. When gas is used it is effectively burned, on the L2, this dwindles the supply. We are currently doing 5 - 7 million transactions per day on testnet, it wouldn't take too long for the total supply to be completely burned via execution (gas). |
|
@andygolay Yes, but his MD requests generally how to supply that. The statement about deflationary token going to zero is not about deflationary tokens in general. It is about the particular case where you are simply burning gas in a gas algebra that does not work on fractions of the total circulation. You will deflate and then eventually reach 0 simply because you are taking money out of the system in amounts that are not asymptotic and you are not adding any token back. The formalization is trivial and algebraic |
|
According to a recent activity (only a month, more data would be better but this gives a rough idea) it looks like gas consumption is currently somewhere about 2000 MOVE per day:
10 billion / 2 thousand = 5 million days or a little over 13,698 years worth of MOVE left. Even at 5000 MOVE per day burned, we have 2 million days or 5,479 years remaining. We shouldn't expect this specific blockchain to last more than a few hundred years, so maybe I'm being totally naive but I don't see the gas depletion issue being urgent even if we are emitting many tens of thousands of MOVE per day.
Could we engineer the reward amount to have the supply deplete so slowly that we're practically guaranteed a few hundred years, say 300 years worth of MOVE supply? This would mean we can burn about 33 million MOVE per year, or a little over 91,000 MOVE per day. |
I don't think this is true. The gas fees are transferred to the operator for them to be dispatched to the sequencer, executor and DA and L1 (root hash) transaction fees. I don't understand what "effectively" means here. |
I believe he's referring to the case where nothing is implemented for this transfer, as is the subject of this MD. |
|
can someone link me to the reason why
|
This MD does not strictly require that. But, numerous points have been made about why this is potentially dangerous here: #20 There are three key points:
|
it looks like that all these points are still true for the bridge+DEX design. see |
|  | ||
|
|
||
|
|
||
| Using Fast Finality Settlement with the Atomic Bridge presents a challenge when the token supply is fixed. |
There was a problem hiding this comment.
| Using Fast Finality Settlement with the Atomic Bridge presents a challenge when the token supply is fixed. | |
| Entertaining different tokens on Layer 1 (L1) and Layer 2 (L2), keeping their added-up supply constant while using the L2-token for fee payment introduces challenges. |
There was a problem hiding this comment.
The mention of FFS confused the context, i put it further down
|
|
||
| Users of the Movement SDK should be **informed of different approaches and trade-offs when using the Atomic Bridge and Fast Finality Settlement with a fixed token supply.** This document provides an initial conceptual framing towards that end. | ||
|
|
||
| This document also seeks a response to the concerns raised in [MD-20](https://github.com/movementlabsxyz/MIP/pull/20). |
There was a problem hiding this comment.
| This document also seeks a response to the concerns raised in [MD-20](https://github.com/movementlabsxyz/MIP/pull/20). | |
| This document also seeks a response to the concerns raised in the withdrawn [MD-20](https://github.com/movementlabsxyz/MIP/pull/20). |
|
|
||
| ### D2: Provide Staged Approaches for Networks Building on the Atomic Bridge and Fast Finality Settlement | ||
|
|
||
| **User Journey**: Developers can reference approaches spawned from these desiderata to understand how to build networks using the Atomic Bridge and Fast Finality Settlement with a fixed token supply **in stages.** For example, developers can initially roll out a network using the **"Free Execution" approach and then transition to the "Noble Attester"** approach and so on. Some formats may be more suitable for certain stages of network development and release than others. |
There was a problem hiding this comment.
| **User Journey**: Developers can reference approaches spawned from these desiderata to understand how to build networks using the Atomic Bridge and Fast Finality Settlement with a fixed token supply **in stages.** For example, developers can initially roll out a network using the **"Free Execution" approach and then transition to the "Noble Attester"** approach and so on. Some formats may be more suitable for certain stages of network development and release than others. | |
| **User Journey**: Developers can reference usage approaches spawned from these desiderata to understand how to build networks using the Atomic Bridge and Fast Finality Settlement with a fixed token supply **in stages.** For example, developers can initially roll out a network using the **"Free Execution" approach** and then transition to the **"Acceptor" approach** (a volunteer attester, see [MIP-34](https://github.com/movementlabsxyz/MIP/pull/34)), and so on. Some formats may be more suitable for certain stages of network development and release than others. |
| | Name | Description | Gas Destination | Reward Form | Challenges | | ||
| |-------------------|---------------------------------------|-----------------------|----------------------|-------------------------------------| | ||
| | **Decoupled** | • Gas spent on the L2 deposited to pools on the L2. <br> • Rewards on the L1 are issued in a LP token which is demurrage. <br> • Ideally, intermediary tokens are used in the bridge to shield gas and staking token from bridge fallibility. | Pool on the L2 | FFS LP Token; voucher periods can be assigned. | • LP Token's demurrage assigns a lifetime to the viability of the settlement protocol which will require a new or asymptotic token voucher or token generation event at some point. | | ||
| | **Trickle-back** | • Gas spent on the L2 recirculates to pools on the L2. <br> • Rewards are provided on the L2 for bridging back to the L1 at the address of the FFS LP Token. <br> • Ideally, intermediary tokens are used in the bridge to shield gas and staking token from bridge fallibility. | Pool on the L2 | Staking Token | • Rewards for pool providers to bridge back to the L1 at the address of the FFS LP Token need to be sufficient. <br> • Pool providers likely need to have only custodial access to token, otherwise intended rewarding game theory would likely be intractable. | |
There was a problem hiding this comment.
Staking token is not defined - at least there should be a reference to the relevant document
| | **Decoupled** | • Gas spent on the L2 deposited to pools on the L2. <br> • Rewards on the L1 are issued in a LP token which is demurrage. <br> • Ideally, intermediary tokens are used in the bridge to shield gas and staking token from bridge fallibility. | Pool on the L2 | FFS LP Token; voucher periods can be assigned. | • LP Token's demurrage assigns a lifetime to the viability of the settlement protocol which will require a new or asymptotic token voucher or token generation event at some point. | | ||
| | **Trickle-back** | • Gas spent on the L2 recirculates to pools on the L2. <br> • Rewards are provided on the L2 for bridging back to the L1 at the address of the FFS LP Token. <br> • Ideally, intermediary tokens are used in the bridge to shield gas and staking token from bridge fallibility. | Pool on the L2 | Staking Token | • Rewards for pool providers to bridge back to the L1 at the address of the FFS LP Token need to be sufficient. <br> • Pool providers likely need to have only custodial access to token, otherwise intended rewarding game theory would likely be intractable. | | ||
| | **Settle with Gas** | • The settlement messages include the amount of gas spent. The LP for the FFS claims token locked in the L1 bridge. <br> • Bridge may still benefit from intermediary tokens. | FFS LP Token | Staking Token | • Unclear how to handle forks. <br> • Centralization remains as FFS contract needs to have capability to claim token locked in L1 bridge. However, this can be governed on-chain in this case. <br> • Intermediary tokens can still help reduce attack surface via the bridge. Now attacks would likely focus on exploiting capabilities of the settlement contract to unlock token. | | ||
| | **Noble Gasmaster** | • A trusted signer is responsible for successfully relaying gas spent. The use of intermediary tokens in the bridge is moot. | FFS LP Token | Staking Token | • Centralized signer. | |
There was a problem hiding this comment.
similar to the "acceptor" is there a way how any validator can be permitted to transfer L2 pool tokens to the L1 reward contract? (at the cost of L2fees and L1fees for that validator)?
Similar to the Acceptor model, a L1-selected acceptor could be responsible for transferring rewards from L2 to L1, and get rewarded on L1 for this, however a volunteer could transfer also the L2RewardPool balance to the L1RewardPool balance (at their own cost)
|
|
||
|
|
||
| ## Overview | ||
|  |
There was a problem hiding this comment.
- this figure is displayed without any description or context. it is not referenced in the text anywhere.
- at no point burning is mentioned in this file
- There is no reference to the model that describes the DEX approach. also for the sake of this MD and the description of the burn problem the DEX is not necessary. I suggest to add a figure that has a simple direct bridge from L1MOVE <> L2MOVE, and where L2MOVE is the gas. Such a model seems to be minimal yet envelop the problem sufficiently.
| |-------------------|---------------------------------------|-----------------------|----------------------|-------------------------------------| | ||
| | **Decoupled** | • Gas spent on the L2 deposited to pools on the L2. <br> • Rewards on the L1 are issued in a LP token which is demurrage. <br> • Ideally, intermediary tokens are used in the bridge to shield gas and staking token from bridge fallibility. | Pool on the L2 | FFS LP Token; voucher periods can be assigned. | • LP Token's demurrage assigns a lifetime to the viability of the settlement protocol which will require a new or asymptotic token voucher or token generation event at some point. | | ||
| | **Trickle-back** | • Gas spent on the L2 recirculates to pools on the L2. <br> • Rewards are provided on the L2 for bridging back to the L1 at the address of the FFS LP Token. <br> • Ideally, intermediary tokens are used in the bridge to shield gas and staking token from bridge fallibility. | Pool on the L2 | Staking Token | • Rewards for pool providers to bridge back to the L1 at the address of the FFS LP Token need to be sufficient. <br> • Pool providers likely need to have only custodial access to token, otherwise intended rewarding game theory would likely be intractable. | | ||
| | **Settle with Gas** | • The settlement messages include the amount of gas spent. The LP for the FFS claims token locked in the L1 bridge. <br> • Bridge may still benefit from intermediary tokens. | FFS LP Token | Staking Token | • Unclear how to handle forks. <br> • Centralization remains as FFS contract needs to have capability to claim token locked in L1 bridge. However, this can be governed on-chain in this case. <br> • Intermediary tokens can still help reduce attack surface via the bridge. Now attacks would likely focus on exploiting capabilities of the settlement contract to unlock token. | |
There was a problem hiding this comment.
- what means "the LP for the FFS claims token locked in the the L1 bridge"
- "The settlement messages include the amount of gas spent." i assume you mean L2gas? i think we should clearly distinguish the gas kinds.. postconfirmers have L1gas cost but earn parts of the L2gas
| | **Trickle-back** | • Gas spent on the L2 recirculates to pools on the L2. <br> • Rewards are provided on the L2 for bridging back to the L1 at the address of the FFS LP Token. <br> • Ideally, intermediary tokens are used in the bridge to shield gas and staking token from bridge fallibility. | Pool on the L2 | Staking Token | • Rewards for pool providers to bridge back to the L1 at the address of the FFS LP Token need to be sufficient. <br> • Pool providers likely need to have only custodial access to token, otherwise intended rewarding game theory would likely be intractable. | | ||
| | **Settle with Gas** | • The settlement messages include the amount of gas spent. The LP for the FFS claims token locked in the L1 bridge. <br> • Bridge may still benefit from intermediary tokens. | FFS LP Token | Staking Token | • Unclear how to handle forks. <br> • Centralization remains as FFS contract needs to have capability to claim token locked in L1 bridge. However, this can be governed on-chain in this case. <br> • Intermediary tokens can still help reduce attack surface via the bridge. Now attacks would likely focus on exploiting capabilities of the settlement contract to unlock token. | | ||
| | **Noble Gasmaster** | • A trusted signer is responsible for successfully relaying gas spent. The use of intermediary tokens in the bridge is moot. | FFS LP Token | Staking Token | • Centralized signer. | | ||
| | **Free Execution** | • Execution does not charge gas fees, meaning gas token stays in circulation and supply does not change. | Nowhere | Staking Token or FFS LP Token | • No sybil resistance; not suitable for anything but promotional or initial stages of a network. <br> Gas fees do not contribute to rewards, so rewards rely solely on initial grant and perhaps LP. Execution does not have cost in token and so cannot drive work-based benefits in token. | |
There was a problem hiding this comment.
need a reference to a MD / MIP that exlpains Staking Token and FFS LP Token
Co-authored-by: Andreas Penzkofer <36140574+apenzk@users.noreply.github.com>
Co-authored-by: Andreas Penzkofer <36140574+apenzk@users.noreply.github.com>
Co-authored-by: Andreas Penzkofer <36140574+apenzk@users.noreply.github.com>
Co-authored-by: Andreas Penzkofer <36140574+apenzk@users.noreply.github.com>
| | Name | Description | Gas Destination | Reward Form | Challenges | | ||
| |-------------------|---------------------------------------|-----------------------|----------------------|-------------------------------------| | ||
| | **Decoupled** | • Gas spent on the L2 deposited to pools on the L2. <br> • Rewards on the L1 are issued in a LP token which is demurrage. <br> • Ideally, intermediary tokens are used in the bridge to shield gas and staking token from bridge fallibility. | Pool on the L2 | FFS LP Token; voucher periods can be assigned. | • LP Token's demurrage assigns a lifetime to the viability of the settlement protocol which will require a new or asymptotic token voucher or token generation event at some point. | | ||
| | **Trickle-back** | • Gas spent on the L2 recirculates to pools on the L2. <br> • Rewards are provided on the L2 for bridging back to the L1 at the address of the FFS LP Token. <br> • Ideally, intermediary tokens are used in the bridge to shield gas and staking token from bridge fallibility. | Pool on the L2 | Staking Token | • Rewards for pool providers to bridge back to the L1 at the address of the FFS LP Token need to be sufficient. <br> • Pool providers likely need to have only custodial access to token, otherwise intended rewarding game theory would likely be intractable. | |
There was a problem hiding this comment.
| | **Trickle-back** | • Gas spent on the L2 recirculates to pools on the L2. <br> • Rewards are provided on the L2 for bridging back to the L1 at the address of the FFS LP Token. <br> • Ideally, intermediary tokens are used in the bridge to shield gas and staking token from bridge fallibility. | Pool on the L2 | Staking Token | • Rewards for pool providers to bridge back to the L1 at the address of the FFS LP Token need to be sufficient. <br> • Pool providers likely need to have only custodial access to token, otherwise intended rewarding game theory would likely be intractable. | | |
| | **Trickle-back** | • Gas spent on the L2 is collected in pools on the L2. <br> • Rewards are provided on the L2 for bridging the collected pool tokens back to the L1 at the address of the `$RewardToken`. <br> • Ideally, intermediary tokens are used in the bridge to shield gas and staking token from bridge fallibility. | Pool on the L2 | Staking Token | • Rewards for pool providers to bridge back to the L1 at the address of the FFS LP Token need to be sufficient. <br> • Pool providers likely need to have only custodial access to token, otherwise intended rewarding game theory would likely be intractable. | |

Summary