- stake: STC-SHARE LP Token on StarSwap
- reward: Share
- release per second: 0.1 share/s
- total reward: 10M share
- stake: STC-WEN LP Token on StarSwap
- reward: Share
- release per second: 0.1 share/s
- total reward: 10M share
返回奖励 share token 余额
public fun query_remaining_reward(): u128
返回矿池锁仓量
public fun query_farming_asset(): u128
返回指定账号锁仓量
public fun query_stake(addr: address): u128
返回池子设置(每秒奖励数, 累积每份得到的奖励, 开始时间, 是否alive)
public fun query_farming_asset_setting(): (u128, u128, u64, bool)
查看指定地址收益
public fun pending(addr: address): u128
质押一定量 LP Token
public(script) fun deposit(account: signer, amount: u128)
赎回一定量 LP Token
public(script) fun withdraw(account: signer, amount: u128)
提取收益
public(script) fun harvest(account: signer)