Governance Mining
Governance Mining: A mining mode that gives users more governance rights and rewards
Last updated
Governance Mining: A mining mode that gives users more governance rights and rewards
Last updated
As one of the digital financial derivatives on SUN.io, mining provides crypto holders with stable, secure, and reliable services for subscription and redemption of investment products. Governance mining is an important part of SUN.io's mining service. As shown in the graph below, the reward distributed to users is closely related to the number of veSun tokens they hold and the weights of the liquidity pools. And users are free to redeem their assets at any time.
After a user stakes tokens in a liquidity pool, a corresponding amount of virtual stake value will be generated:
represents the real value staked by the user. is the total value staked in a liquidity pool. is the number of veSun tokens held by the user. is the total number of veSun tokens issued by SUN.io. As shown in formula (1), if the user holds enough veSun, then the virtue stake is indicated as ; if the user holds 0 veSun, then it is indicated as * 0.4, meaning that the reward for holding veSUN can be amplified by 2.5 times.
represents the weekly gauge weight of the pool. is the weight of the pool type. is the total weight of the pool for the week and is the expansion factor of the reward token. According to the reward distribution formula (2) of Smart Mining V1, the user's rewards are calculated in the following way:
Here, V represents the final expansion factor of the reward token. represents the i-th change. represents the total virtual stake at the time to . represents the user's virtual stake value at the time to .
Contract code
Mainnet contract address:TCpu3GnK6PPZV9ama85mRP97YqRuVXdcSd
Mainnet contract address:TAkrcKsS5FW9f3ZfzvWy6Zvsz9uEjUxPoV
Mainnet contract address:TJ3Qnm9VhzJzhcxk49ZpHBRatD1bsD4xYq
Mainnet contract address:TPx8BXTgiB1tiL9A9BZuz67bZBvFGYdJS8
Mainnet contract address:TEULJy4MJeRUTMPGTTvsBkmDPM4PEsMBTw
Mainnet contract address:TSRhvs1R2hoNf5PuMG4nUrDa4XVBqBaKgF
Mainnet contract address:TGJ8LcijTaLmzBhqtp2jWQ1DRCpCWPAmD1
Mainnet contract address:TBPEX4Bu3rc8RAvv3qTBFVvSVAFNttinqe
Mainnet contract address:TDsuMrbQ8wHrM8cKpxFczBbaxhJwpmwRHr
Mainnet contract address:TH1XkkkPa7aF1oi7xqFYuUdXR1UvTEd4Ld
Mainnet contract address:TVjuRFx5dUn4u386DJRJS8zxgWKKcPocXo
Mainnet contract address:TViH23SgGKWfX4EHB4Q7UMeo1wgvfSvyPS
Mainnet contract address:TBd8sxVK47adcaLZgbqvN5LTUQGEpawXnx
Mainnet contract address:TFw58b9t55FsmFeZHjLooS3SkMYDKXZoW7
Mainnet contract address:TUnkvMyZKt4HT2qGWaMwy35c9QTmjiMCWL
Mainnet contract address:TSYJHJA5rDYhaiadNXDqA6Fk6sq1yqZKwT
Mainnet contract address:TEHtYRLUTGLq4Z5Pyy5C7LYZBBVVcRuvUU
Mainnet contract address:TKAQajxhQscgakWaokd7uNeTxwBp97xhSD
Mainnet contract address:TCkNadwxyik1D66qCGmavuneowDRXPgdkL
Mainnet contract address:TCpXumigVHd2iuSkotNgkSduKqksUfpcvc
Mainnet contract address:THZgwb6LTg9LydbLw6gT4YMdu9y4nA5dnp
Mainnet contract address:TBSRZYLZ2pguF3EqLz86Kt9hZ4eqKEQMSY
Mainnet contract address:TFpg63byqDwniXnyxVYpSzBfWGBwZExM9J
Mainnet contract address:TY1mxnpL18oDP8hsSrrxNZgUMj71pcyFS8
Mainnet contract address:TJmn1bjmNfE2F1sw2x6P224i8sFQj5mnbg
We use TronWeb to interact with contracts. One can easily interact with online contracts after initializing TronWeb instances.
View Governance Rewards
Function:claimable_tokens(address)
Parameter: user's address
Deposit
Function:deposit(uint256)
Parameter:Deposit amount
Withdrawal
Function:withdraw(uint256)
Parameter:Withdrawal amount