Smart Mining V2
Smart Mining V2: A high-yield fixed-term mining mode
Background
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. Smart Mining V2, also known as fixed-term mining, is an important part of SUN.io's mining service. It converts a user's staked assets to virtual assets of a certain amount according to the amount of assets staked and the staking duration. The total virtual stake is defined as the total amount of virtual assets converted from all users' staked assets. Users are rewarded based on their virtual assets' proportion in the total virtual stake, and they are only allowed to redeem their assets during a specified period of time.
Explanation
Reward Distribution
Contract code
Redemption Time of Fixed-Term Mining
Contract code
Mining pools
USDD_USDT LOCK V2 farm
Mainnet contract address:TY1mxnpL18oDP8hsSrrxNZgUMj71pcyFS8
2pool LOCK farm
Mainnet contract address:TJmn1bjmNfE2F1sw2x6P224i8sFQj5mnbg
Contract interaction
We use TronWeb to interact with contracts. One can easily interact with online contracts after initializing TronWeb instances.
Get mining pool information
View addresses of fixed-term/on-demand mining pools
Function: sub_pool()
View rewards of on-demand mining pools
Function:earned(address)
Parameter: user's addres
Transaction execution
Deposit
Function:deposit(uint256)
Parameter:Deposit amount
Withdrawal
Function:withdraw(uint256)
Parameter:Withdrawal amount
Last updated