Governance Staking
Vote-escrowed
1. Write Functions
1.1. create_lock
#[payable("*")]
#[endpoint]
fn create_lock(&self, unlock_time: u64)1.2. increase_amount
1.3. increase_unlock_time
1.4. withdraw
2. Read Functions
2.1. getUserBalanceAtTs
2.2. getTotalSupplyAtBlock
2.3. getTotalSupplyAtTs
2.4. getTotalLocked
2.5. getUserLocked
Fee Distributor
1. Write functions
1.1. claim
2. Read Functions
2.1. getClaimableAmount
2.2. token
Last updated