KSElasticLMV2
Verified contract
Active on
Ethereum with 26 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x6afe…05c8
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
KS2-NPM | ERC-721 | 1 | -- | -- | |
KS2-NPM | ERC-721 | 1 | -- | -- | |
KS2-NPM | ERC-721 | 1 | -- | -- | |
KS2-NPM | ERC-721 | 1 | -- | -- | |
KS2-NPM | ERC-721 | 1 | -- | -- | |
KS2-NPM | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19068044 | 10 months ago | | | 0 | 0.00028528500 | |
| 18631972 | a year ago | | | 0 | 0.0019990000 | |
| 18631971 | a year ago | | | 0 | 0.0019990000 | |
| 18631970 | a year ago | | | 0 | 0.0019990000 | |
| 18183179 | a year ago | | | 0 | 0.00066037927 | |
| 18183177 | a year ago | | | 0 | 0.00067204073 | |
| 18183174 | a year ago | | | 0 | 0.00067802743 | |
| 17973530 | a year ago | | | 0 | 0.0067973430 | |
| 17973529 | a year ago | | | 0 | 0.0072369517 | |
| 17967952 | a year ago | | | 0 | 0.00068593831 |
ABI
ABI objects
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 user) view returns (uint256[] listNFTs)
getFarm(uint256 fId) view returns (address poolAddress, struct IKSElasticLMV2RangeInfo[] ranges, struct IKSElasticLMV2PhaseInfo phase, uint256 liquidity, address farmingToken, uint256[] sumRewardPerLiquidity, uint32 lastTouchedTime)
getStake(uint256 nftId) view returns (address owner, uint256 fId, uint256 rangeId, uint256 liquidity, uint256[] lastSumRewardPerLiquidity, uint256[] rewardUnclaimed)
operators(address) view returns (bool)
State-modifying
Events activateRange(uint256 fId, uint256 rangeId)
addFarm(address poolAddress, struct IKSElasticLMV2RangeInput[] ranges, struct IKSElasticLMV2PhaseInput phase, bool isUsingToken) returns (uint256 fId)
addLiquidity(uint256 fId, uint256 rangeId, uint256[] nftIds)
addPhase(uint256 fId, struct IKSElasticLMV2PhaseInput phaseInput)
addRange(uint256 fId, struct IKSElasticLMV2RangeInput range)
claimFee(uint256 fId, uint256[] nftIds, uint256 amount0Min, uint256 amount1Min, uint256 deadline, bool isReceiveNative)
claimReward(uint256 fId, uint256[] nftIds)
deposit(uint256 fId, uint256 rangeId, uint256[] nftIds, address receiver)
forceClosePhase(uint256 fId)
removeLiquidity(uint256 nftId, uint128 liquidity, uint256 amount0Min, uint256 amount1Min, uint256 deadline, bool isClaimFee, bool isReceiveNative)
removeRange(uint256 fId, uint256 rangeId)
transferAdmin(address _admin)
updateEmergency(bool enableOrDisable)
updateHelper(address _helper)
updateOperator(address user, bool grantOrRevoke)
updateTokenCode(bytes _farmingTokenCreationCode)
withdraw(uint256 fId, uint256[] nftIds)
withdrawEmergency(uint256[] nftIds)
withdrawUnusedRewards(address[] tokens, uint256[] amounts)
ActivateRange(uint256 indexed fId, uint256 rangeId)
AddFarm(uint256 indexed fId, address poolAddress, struct IKSElasticLMV2RangeInput[] ranges, struct IKSElasticLMV2PhaseInput phase, address farmingToken)
AddPhase(uint256 indexed fId, struct IKSElasticLMV2PhaseInput phase)
AddRange(uint256 indexed fId, struct IKSElasticLMV2RangeInput range)
ClaimReward(uint256 fId, uint256[] nftIds, address token, uint256 amount, address receiver)
Deposit(uint256 indexed fId, uint256 rangeId, uint256[] nftIds, address indexed depositer, address receiver)
ExpandEndTimeAndRewards(uint256 indexed fId, uint256 duration, uint256[] rewardAmounts)
ForceClosePhase(uint256 indexed fId)
RemoveRange(uint256 indexed fId, uint256 rangeId)
TransferAdmin(address indexed admin)
UpdateEmergency(bool enableOrDisable)
UpdateHelper(address helper)
UpdateLiquidity(uint256 indexed fId, uint256 nftId, uint256 liquidity)
UpdateOperator(address indexed user, bool grantOrRevoke)
UpdateTokenCode(bytes farmingTokenCode)
Withdraw(uint256[] nftIds, address receiver)
WithdrawEmergency(uint256 nftId, address receiver)
WithdrawUnusedRewards(address token, uint256 amount, address receiver)
constructor(address _nft, address _helper)
receive()
EmergencyEnabled()
Expired()
FailToAdd()
FailToRemove()
FarmNotFound()
Forbidden()
InvalidFarm()
InvalidInput()
InvalidRange()
InvalidReward()
InvalidTime()
LiquidityNotMatch()
NotOwner()
PhaseSettled()
PositionNotEligible()
RangeNotFound()
RangeNotMatch()
StakeNotFound()