Gardens
-
On January 15, 2024, the MasterGardener contract on DFK Chain was deprecated and replaced with the LP Staking contract.
-
On March 6, 2024, MasterGardener contract on Klaytn was deprecated and replaced with the LP Staking contract.
LP Staking
| Name | Mainnet | Testnet |
|---|---|---|
| DFK Chain | 0xB04e8D6aED037904B77A9F0b08002592925833b7 | 0x68c343846913163A356e353fEB56695031eb3D2a |
| Klaytn | 0xcce557DF36a6E774694D5071FC1baF19B9b07Fdc | 0x53Def60bE82255eAaA3451b923b083F4A0deF7B3 |
Interface
interface ILPStaking {
// Events
event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
event FeeRecipientSet(address indexed feeRecipient);
event FeeStagesSet(uint256[] feeTimeStages, uint256[] feePercentStages);
event PoolAdded(uint256 indexed pid, uint256 allocPoint, address lpToken);
event PoolUpdated(uint256 indexed pid, uint256 allocPoint);
event RewardClaimed(address indexed user, uint256 indexed pid, uint256 amount);
event RewardCollected(uint256 indexed pid, uint256 amount, uint256 accRewardPerShare, uint256 govTokenSupply, uint256 timestamp);
event RewardsProcessed(uint256 timestamp, uint256 amount);
event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
// State-Changing Functions
function claimAllRewards();
function claimRewards(uint256 _pid);
function deposit(uint256 _pid, uint256 _amount);
function processRewards();
function withdraw(uint256 _pid, uint256 _amount);
// View Functions
function getAllPendingRewards(address _user) view returns (uint256 _pendingRewards);
function getFeeRecipient() view returns (address _feeRecipient);
function getFeeStageForUserAndPool(address _user, uint256 _pid) view returns (uint256 _timeSinceDeposit, uint256 _currentFeePercent);
function getFeeStages() view returns (uint256[] _feeTimeStages, uint256[] _feePercentStages);
function getPendingRewards(uint256 _pid, address _user) view returns (uint256 _pendingRewards);
function getPoolInfo(uint256 _pid) view returns (tuple(address lpToken, uint256 allocPoint, uint256 lastRewardBlock, uint256 accRewardPerShare, uint256 totalStaked) _poolInfo);
function getPoolLength() view returns (uint256 _poolLength);
function getTotalAllocPoint() view returns (uint256 _totalAllocPoint);
function getUserInfo(uint256 _pid, address _user) view returns (tuple(uint256 amount, uint256 rewardDebt, uint256 lastDepositTimestamp) _userInfo);
function getWithdrawalFeePercentage(uint256 _timeDelta) view returns (uint256 _feePercentage);
function poolInfo(uint256 _pid) view returns (tuple(address lpToken, uint256 allocPoint, uint256 lastRewardBlock, uint256 accGovTokenPerShare) _poolInfoLegacy);
function totalAllocPoint() view returns (uint256 _totalAllocPoint);
function userInfo(uint256 _pid, address _user) view returns (tuple(uint256 amount, uint256 rewardDebt, uint256 rewardDebtAtBlock, uint256 lastWithdrawBlock, uint256 firstDepositBlock, uint256 blockdelta, uint256 lastDepositBlock) _userInfoLegacy);
}
ABI
Incentivized Garden Pairs
Archived Garden pairs no longer receive token rewards and have been removed from the primary game interface.
DFK Chain
| Pool ID (PID) | Token Pair | LP Contract Address | Archived Garden | Archived | |
|---|---|---|---|---|---|
| 0 | wJEWEL-xJEWEL | 0x6AC38A4C112F125eac0eBDbaDBed0BC8F4575d0d | true | false | |
| 1 | CRYSTAL-AVAX | 0x9f378F48d0c1328fd0C80d7Ae544C6CadB5Ba99E | false | false | |
| 2 | CRYSTAL-wJEWEL | 0x48658E69D741024b4686C8f7b236D3F1D291f386 | false | false | |
| 3 | CRYSTAL-USDC | 0x04Dec678825b8DfD2D0d9bD83B538bE3fbDA2926 | false | false | |
| 4 | ETH-USDC | 0x7d4daa9eB74264b082A92F3f559ff167224484aC | false | false | |
| 5 | wJEWEL-USDC | 0xCF329b34049033dE26e4449aeBCb41f1992724D3 | false | false | |
| 6 | CRYSTAL-ETH | 0x78C893E262e2681Dbd6B6eBA6CCA2AaD45de19AD | false | false | |
| 7 | CRYSTAL-BTC.b | 0x00BD81c9bAc29a3b6aea7ABc92d2C9a3366Bb4dD | false | false | |
| 8 | CRYSTAL-KLAY | 0xaFC1fBc3F3fB517EB54Bb2472051A6f0b2105320 | false | false | |
| 9 | wJEWEL-KLAY | 0x561091E2385C90d41b4c0dAef651A4b33E1a5CfE | false | false | |
| 10 | wJEWEL-AVAX | 0xF3EabeD6Bd905e0FcD68FC3dBCd6e3A4aEE55E98 | false | false | |
| 11 | wJEWEL-BTC.b | 0xfAa8507e822397bd56eFD4480Fb12ADC41ff940B | false | false | |
| 12 | wJEWEL-ETH | 0x79724B6996502afc773feB3Ff8Bb3C23ADf2854B | false | false | |
| 13 | BTC.b-USDC | 0x59D642B471dd54207Cb1CDe2e7507b0Ce1b1a6a5 | false | false |
Klaytn
| Pool ID (PID) | Token Pair | LP Contract Address | Archived Garden | Archived | |
|---|---|---|---|---|---|
| 0 | JADE-JEWEL | 0x85DB3CC4BCDB8bffA073A3307D48Ed97C78Af0AE | false | false | |
| 1 | JADE-wKLAY | 0xd08A937a67eb5613ccC8729C01605E0320f1B216 | false | false | |
| 2 | JADE-AVAX | 0x63b67d4a0f553D436B0a511836A7A4bDF8Af376A | false | false | |
| 3 | JADE-oUSDT | 0x509d49AC90EF180363269E35b363E10b95c983AF | true | false | |
| 4 | JADE-oWBTC | 0x50943e1E500D7D62cc4c6904FBB3957fAfaEbEd5 | true | false | |
| 5 | JADE-oETH | 0x6fc625D907b524475887524b11DE833feF460698 | true | false | |
| 6 | JEWEL-wKLAY | 0x0d9d200720021F9de5C8413244f81087ecB4AdcC | false | false | |
| 7 | JEWEL-AVAX | 0x6CE5bb25A4E7aBF7214309F7b8D7cceCEF60867E | false | false | |
| 8 | JEWEL-oUSDT | 0xB32839faF3826158995aF72d7824802840187f19 | true | false | |
| 9 | JEWEL-oWBTC | 0x7828926761e7a6E1f9532914A282bf6631EA3C81 | true | false | |
| 10 | JEWEL-oETH | 0xd3e2Fd9dB41Acea03f0E0c22d85D3076186f4f24 | true | false |