☰
DFK Developers

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

NameMainnetTestnet
DFK Chain0xB04e8D6aED037904B77A9F0b08002592925833b70x68c343846913163A356e353fEB56695031eb3D2a
Klaytn0xcce557DF36a6E774694D5071FC1baF19B9b07Fdc0x53Def60bE82255eAaA3451b923b083F4A0deF7B3

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

LPStakingDiamond.json

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 PairLP Contract AddressArchived GardenArchived
0wJEWEL-xJEWEL0x6AC38A4C112F125eac0eBDbaDBed0BC8F4575d0dtruefalse
1CRYSTAL-AVAX0x9f378F48d0c1328fd0C80d7Ae544C6CadB5Ba99Efalsefalse
2CRYSTAL-wJEWEL0x48658E69D741024b4686C8f7b236D3F1D291f386falsefalse
3CRYSTAL-USDC0x04Dec678825b8DfD2D0d9bD83B538bE3fbDA2926falsefalse
4ETH-USDC0x7d4daa9eB74264b082A92F3f559ff167224484aCfalsefalse
5wJEWEL-USDC0xCF329b34049033dE26e4449aeBCb41f1992724D3falsefalse
6CRYSTAL-ETH0x78C893E262e2681Dbd6B6eBA6CCA2AaD45de19ADfalsefalse
7CRYSTAL-BTC.b0x00BD81c9bAc29a3b6aea7ABc92d2C9a3366Bb4dDfalsefalse
8CRYSTAL-KLAY0xaFC1fBc3F3fB517EB54Bb2472051A6f0b2105320falsefalse
9wJEWEL-KLAY0x561091E2385C90d41b4c0dAef651A4b33E1a5CfEfalsefalse
10wJEWEL-AVAX0xF3EabeD6Bd905e0FcD68FC3dBCd6e3A4aEE55E98falsefalse
11wJEWEL-BTC.b0xfAa8507e822397bd56eFD4480Fb12ADC41ff940Bfalsefalse
12wJEWEL-ETH0x79724B6996502afc773feB3Ff8Bb3C23ADf2854Bfalsefalse
13BTC.b-USDC0x59D642B471dd54207Cb1CDe2e7507b0Ce1b1a6a5falsefalse

Klaytn

Pool ID (PID)Token PairLP Contract AddressArchived GardenArchived
0JADE-JEWEL0x85DB3CC4BCDB8bffA073A3307D48Ed97C78Af0AEfalsefalse
1JADE-wKLAY0xd08A937a67eb5613ccC8729C01605E0320f1B216falsefalse
2JADE-AVAX0x63b67d4a0f553D436B0a511836A7A4bDF8Af376Afalsefalse
3JADE-oUSDT0x509d49AC90EF180363269E35b363E10b95c983AFtruefalse
4JADE-oWBTC0x50943e1E500D7D62cc4c6904FBB3957fAfaEbEd5truefalse
5JADE-oETH0x6fc625D907b524475887524b11DE833feF460698truefalse
6JEWEL-wKLAY0x0d9d200720021F9de5C8413244f81087ecB4AdcCfalsefalse
7JEWEL-AVAX0x6CE5bb25A4E7aBF7214309F7b8D7cceCEF60867Efalsefalse
8JEWEL-oUSDT0xB32839faF3826158995aF72d7824802840187f19truefalse
9JEWEL-oWBTC0x7828926761e7a6E1f9532914A282bf6631EA3C81truefalse
10JEWEL-oETH0xd3e2Fd9dB41Acea03f0E0c22d85D3076186f4f24truefalse