Search
K
Comment on page

sZERO

Ethereum mainnet address: *TBD*

Staking

function enterStaking(uint256 amount) public;
To acquire staked ZERO, acquire ZERO/ETH LP from Uniswap, then send a transaction for `approve(address,uint256)` to the sZERO contract in the amount desired. sZERO output is based on LP supplied.
Invoke `enterStaking(uint256)` with the amount of LP to exchange for sZERO.
function leaveStaking(uint256 amount) public;
Exchange sZERO back to the original input LP and receive ZERO tokens accumulated during staking. `amount` is in terms of sZERO.
function emergencyWithdraw() public;
Withdraw LP tokens without caring about rewards. EMERGENCY ONLY.