KSElasticLMV2

Verified contract

Active on Ethereum with 26 txns
Deployed by via 0xe52a4525 at 17862868
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
 (#80)
ERC-721
--
 (#79)
ERC-721
--
 (#72)
ERC-721
--
 (#57)
ERC-721
--
 (#56)
ERC-721
--
 (#54)
ERC-721
--
0x202229bcfac4b3f2e1f074b4819be4f744ba0a6b0f399737791c9ea1912397a6
0xfa17fd06a6719cc383e9ad8639aca23e81c886d965189f8a05786f90f5fa69ff
0xec262d0dbdc25118579906ba154ebbb1f66a8a9f21885244211ee81b2beac12c
0xa3a5994e9849702e3c5f719b54db1813b80d0e9ef61b8edeb2a1c464d041aaab
0x973ee5576a79e18fa5ccecbe2a374d6be50ff1ef73ed02485e5290520e94a02c
0xad9d10d81961a271d72fd71434920d4781f7d10a9cba59b55628d7d3c997e3fc
0x31d33fade139eabcce7785a33f0469212b944293f7715d150f90ea06c7382c63
0x7cc4e2b2807431180012215b4c74c0e104aa25d28778aa54c65fbf0f58823b3f
0x8cbb2257223ddbe17de1c627bd1285084e6bfea0d10b4b9c4ab15d3988f398b2
0x678cfdc8ee58237a1c20d558729e700b1560db7ff8003a6a40a3e46e1761d8cb

Functions
Getter at block 21183108
admin(view returns (address)
0xbe2f0354d970265bfc36d383af77f72736b81b54
emergencyEnabled(view returns (bool)
false
farmCount(view returns (uint256)
5
getNft(view returns (address)
0xe222fbe074a436145b255442d919e4e3a6c6a480
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
getDepositedNFTs(address userview returns (uint256[] listNFTs)
getFarm(uint256 fIdview returns (address poolAddressstruct IKSElasticLMV2RangeInfo[] rangesstruct IKSElasticLMV2PhaseInfo phaseuint256 liquidityaddress farmingTokenuint256[] sumRewardPerLiquidityuint32 lastTouchedTime)
getStake(uint256 nftIdview returns (address owneruint256 fIduint256 rangeIduint256 liquidityuint256[] lastSumRewardPerLiquidityuint256[] rewardUnclaimed)
operators(addressview returns (bool)
State-modifying
activateRange(uint256 fIduint256 rangeId
addFarm(address poolAddressstruct IKSElasticLMV2RangeInput[] rangesstruct IKSElasticLMV2PhaseInput phasebool isUsingTokenreturns (uint256 fId)
addLiquidity(uint256 fIduint256 rangeIduint256[] nftIds
addPhase(uint256 fIdstruct IKSElasticLMV2PhaseInput phaseInput
addRange(uint256 fIdstruct IKSElasticLMV2RangeInput range
claimFee(uint256 fIduint256[] nftIdsuint256 amount0Minuint256 amount1Minuint256 deadlinebool isReceiveNative
claimReward(uint256 fIduint256[] nftIds
deposit(uint256 fIduint256 rangeIduint256[] nftIdsaddress receiver
forceClosePhase(uint256 fId
removeLiquidity(uint256 nftIduint128 liquidityuint256 amount0Minuint256 amount1Minuint256 deadlinebool isClaimFeebool isReceiveNative
removeRange(uint256 fIduint256 rangeId
transferAdmin(address _admin
updateEmergency(bool enableOrDisable
updateHelper(address _helper
updateOperator(address userbool grantOrRevoke
updateTokenCode(bytes _farmingTokenCreationCode
withdraw(uint256 fIduint256[] nftIds
withdrawEmergency(uint256[] nftIds
withdrawUnusedRewards(address[] tokensuint256[] amounts
Events
ActivateRange(uint256 indexed fIduint256 rangeId
AddFarm(uint256 indexed fIdaddress poolAddressstruct IKSElasticLMV2RangeInput[] rangesstruct IKSElasticLMV2PhaseInput phaseaddress farmingToken
AddPhase(uint256 indexed fIdstruct IKSElasticLMV2PhaseInput phase
AddRange(uint256 indexed fIdstruct IKSElasticLMV2RangeInput range
ClaimReward(uint256 fIduint256[] nftIdsaddress tokenuint256 amountaddress receiver
Deposit(uint256 indexed fIduint256 rangeIduint256[] nftIdsaddress indexed depositeraddress receiver
ExpandEndTimeAndRewards(uint256 indexed fIduint256 durationuint256[] rewardAmounts
ForceClosePhase(uint256 indexed fId
RemoveRange(uint256 indexed fIduint256 rangeId
TransferAdmin(address indexed admin
UpdateEmergency(bool enableOrDisable
UpdateHelper(address helper
UpdateLiquidity(uint256 indexed fIduint256 nftIduint256 liquidity
UpdateOperator(address indexed userbool grantOrRevoke
UpdateTokenCode(bytes farmingTokenCode
Withdraw(uint256[] nftIdsaddress receiver
WithdrawEmergency(uint256 nftIdaddress receiver
WithdrawUnusedRewards(address tokenuint256 amountaddress receiver
Constructor
constructor(address _nftaddress _helper
Fallback and receive
receive(
Errors
EmergencyEnabled(
Expired(
FailToAdd(
FailToRemove(
FarmNotFound(
Forbidden(
InvalidFarm(
InvalidInput(
InvalidRange(
InvalidReward(
InvalidTime(
LiquidityNotMatch(
NotOwner(
PhaseSettled(
PositionNotEligible(
RangeNotFound(
RangeNotMatch(
StakeNotFound(