tokamak-network / ton-staking-v2

8 stars 3 forks source link

[Question] Does Layer2Operator(titanOperatorContractAddress) not receive compensation when updateSeigniorage? #30

Closed zzooppii closed 3 months ago

zzooppii commented 3 months ago

*Question** When will Layer2Operator(titanOperatorContractAddress) receive wton seigniorage?

Zena-park commented 3 months ago

When the caller is an L2 sequencer or the current L2 TVL is smaller than before, Settle the seigniorage to the Layer 2 sequencer. At this time, the Layer2Operator contract receives wton.

https://github.com/tokamak-network/ton-staking-v2/blob/37719c2cc74a229475192473ae699f68eda16a66/contracts/stake/managers/SeigManagerV1_3.sol#L592-L598

zzooppii commented 3 months ago

Is there any code that tests this?

zzooppii commented 3 months ago

thank you