🪙LockerToken

Overview

Locket tokens are tokens minted and burnt upon lock and redeem of assets XAI, which denote the amount of relative value and the yield earned on those assets. It subdivides to two categories: share and liquidity. Both kinds can be safely stored, transferred or traded.

Share token

The shares’ value is pegged to the overall rewards claimed from staking. The shares’ value is pegged to the overall rewards claimed from staking. All yield collected by the locker are distributed to shares holders directly by continuously increasing every single share value.

Liquidity token

The liquid token value is 1:1 with XAI, making it stable and reducing the exit fee at DEXes.

EIP20 Functions

All standard EIP20 methods are implemented for those tokens, such as balanceOf, transfer, transferFrom, approve, totalSupply etc.

Custom Functions

burnFrom

function burnFrom(address from, uint256 amount)

Burns tokens on behalf of the user, up to the allowed amount.

setMinterStatus

function setMinterStatus(address minter, bool status)

Grant/revoke minter role for a specific address.

Last updated