LogoLogo
  • ZERO Network
  • Economics
  • Contracts
    • sZERO
    • Governance
    • ZEROFROST
    • ZBTC
  • Resources
    • Glossary
    • JavaScript SDK
  • Links and Resources
    • Twitter
    • Discord
    • Matrix
    • Blog
    • Github
Powered by GitBook
On this page

Was this helpful?

  1. Contracts

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.

PreviousEconomicsNextGovernance

Last updated 2 years ago

Was this helpful?