SIP-170: Inflation Diversion for L2 Incentives
Author | |
---|---|
Discussions-To | https://research.synthetix.io |
Status | Implemented |
Created | 2021-07-27 |
Implementers
Justin Moses (@justinjmoses) and Yannis Stamelakos (@i-stam)
Simple Summary
The sDAO has been paying 25K SNX in incentives per week to encourage staking on L2. This SIP proposes to divert the 25K SNX weekly incentives for L2 stakers currently being covered by the sDAO to instead come from the inflationary SNX token supply.
Motivation & Rationale
Given that Synthetix is now live on L2 with both staking and exchanging we are proposing to update the funding source for 25K weekly SNX L2 incentives from the sDAO to the inflationary supply of SNX.
Technical Specification
No contract changes are required as the inflation diversion has been anticipated for some time now and the functionality to divert inflation has already been implemented. The transaction flow to activate the inflation diversion is described below:
-
Add the
SynthetixBridgeToOptimism
contract address as a recipient to theRewardsDistribution
list. That is done by calling the following:RewardsDistributions.addDistribution(SynthetixBridgeToOptimism.address, 25000e18)
. -
From now and on, every time
Synthetix.mint()
is invoked succesfully, 25K SNX will be sent toSynthetixBridgeToOptimism
viaRewardsDistribution.distributeRewards()
which in turn callsSynthetixBridgeToOptimism.notifyRewardAmount()
that locks the SNX intoSynthetixBridgeEscrow
and sends afinalizeRewardDeposit
message to L2. -
When the L2 transaction is processed,
SynthetixBridgeToBase.finalizeRewardDeposit()
is invoked and subsequentlyMintableSynthetix.mintSecondaryRewards()
is called, minting and distributing the rewards on L2.
Test Cases
Prior to initiating the inflation diversion on mainnet we are testing to ensure it works on Kovan.
Configurable Values (Via SCCP)
While this SIP proposes to change the funding source of the L2 SNX incentives for staking to the inflationary supply of SNX, the actual amount of SNX for incentives is a configurable value that is controlled by the Spartan Council. The council can approve future SCCPs to configure the amount of SNX incentives.
N/A
Copyright
Copyright and related rights waived via CC0.