๐Smart Contract Integration
Smart Contract Integration
swMON can be integrated seamlessly into any Monad-native
๐ผ Key Contracts
Contract
Address
Description
swMON
0x2Eb6709Ec63421b056522Aae424E94d060D13fA2
ERC-20 representation of staked $MON
Staking Pool
0xaf38734983a68eDFA4C1d6DB403dfa28bbf4009a
Smart contract for staking and unstaking
Oracle
0x78ac1AA0452e293649FC1e0444DA6250ffF342C7
Handles reward rate and index tracking
1. Fetch swMON Balance
To get the swMON
balance of a user:
function balanceOf(address account) external view returns (uint256 balance)
2. Stake (Deposit Monad to receive swMON)
To deposit native Monad and mint swMON
:
function deposit() external payable
3. Unstake (Withdraw Monad by burning swMON)
To unstake and withdraw your MON from the protocol, call:
function withdraw(uint256 shares) external
Last updated