ETH Price: $1,911.40 (-4.79%)

Transaction Decoder

Block:
16076669 at Nov-29-2022 03:53:59 PM +UTC
Transaction Fee:
0.002639042054389258 ETH $5.04
Gas Used:
210,203 Gas / 12.554730686 Gwei

Emitted Events:

200 KyberSwapElasticLM.SyncLiq( nftId=241, pId=2, liq=1571075341492542030327 )

Account State Difference:

  Address   Before After State Difference Code
(Eden Network: Builder)
3.952692282830389419 Eth3.953007587330389419 Eth0.0003153045
0xb85ebE2e...40057C03F
(KyberSwap: Elastic Liquidity Mining)
0xcf0b6EEc...05224bdFc
0.034434758102907421 Eth
Nonce: 51
0.031795716048518163 Eth
Nonce: 52
0.002639042054389258

Execution Trace

KyberSwapElasticLM.join( pId=2, nftIds=[241], liqs=[1571075341492542030327] )
  • AntiSnipAttackPositionManager.positions( tokenId=241 ) => ( pos=[{name:nonce, type:uint96, order:1, indexed:false, value:0, valueString:0}, {name:operator, type:address, order:2, indexed:false, value:0x0000000000000000000000000000000000000000, valueString:0x0000000000000000000000000000000000000000}, {name:poolId, type:uint80, order:3, indexed:false, value:17, valueString:17}, {name:tickLower, type:int24, order:4, indexed:false, value:276340, valueString:276340}, {name:tickUpper, type:int24, order:5, indexed:false, value:276341, valueString:276341}, {name:liquidity, type:uint128, order:6, indexed:false, value:1798959278237566373678, valueString:1798959278237566373678}, {name:rTokenOwed, type:uint256, order:7, indexed:false, value:122917931185, valueString:122917931185}, {name:feeGrowthInsideLast, type:uint256, order:8, indexed:false, value:42734744567763733221, valueString:42734744567763733221}], info=[{name:token0, type:address, order:1, indexed:false, value:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, valueString:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48}, {name:fee, type:uint24, order:2, indexed:false, value:8, valueString:8}, {name:token1, type:address, order:3, indexed:false, value:0xC285B7E09A4584D027E5BC36571785B515898246, valueString:0xC285B7E09A4584D027E5BC36571785B515898246}] )
  • AntiSnipAttackPositionManager.positions( tokenId=241 ) => ( pos=[{name:nonce, type:uint96, order:1, indexed:false, value:0, valueString:0}, {name:operator, type:address, order:2, indexed:false, value:0x0000000000000000000000000000000000000000, valueString:0x0000000000000000000000000000000000000000}, {name:poolId, type:uint80, order:3, indexed:false, value:17, valueString:17}, {name:tickLower, type:int24, order:4, indexed:false, value:276340, valueString:276340}, {name:tickUpper, type:int24, order:5, indexed:false, value:276341, valueString:276341}, {name:liquidity, type:uint128, order:6, indexed:false, value:1798959278237566373678, valueString:1798959278237566373678}, {name:rTokenOwed, type:uint256, order:7, indexed:false, value:122917931185, valueString:122917931185}, {name:feeGrowthInsideLast, type:uint256, order:8, indexed:false, value:42734744567763733221, valueString:42734744567763733221}], info=[{name:token0, type:address, order:1, indexed:false, value:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, valueString:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48}, {name:fee, type:uint24, order:2, indexed:false, value:8, valueString:8}, {name:token1, type:address, order:3, indexed:false, value:0xC285B7E09A4584D027E5BC36571785B515898246, valueString:0xC285B7E09A4584D027E5BC36571785B515898246}] )
  • Pool.getSecondsPerLiquidityInside( tickLower=276340, tickUpper=276341 ) => ( secondsPerLiquidityInside=3980164709552 )
  • AntiSnipAttackPositionManager.positions( tokenId=241 ) => ( pos=[{name:nonce, type:uint96, order:1, indexed:false, value:0, valueString:0}, {name:operator, type:address, order:2, indexed:false, value:0x0000000000000000000000000000000000000000, valueString:0x0000000000000000000000000000000000000000}, {name:poolId, type:uint80, order:3, indexed:false, value:17, valueString:17}, {name:tickLower, type:int24, order:4, indexed:false, value:276340, valueString:276340}, {name:tickUpper, type:int24, order:5, indexed:false, value:276341, valueString:276341}, {name:liquidity, type:uint128, order:6, indexed:false, value:1798959278237566373678, valueString:1798959278237566373678}, {name:rTokenOwed, type:uint256, order:7, indexed:false, value:122917931185, valueString:122917931185}, {name:feeGrowthInsideLast, type:uint256, order:8, indexed:false, value:42734744567763733221, valueString:42734744567763733221}], info=[{name:token0, type:address, order:1, indexed:false, value:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, valueString:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48}, {name:fee, type:uint24, order:2, indexed:false, value:8, valueString:8}, {name:token1, type:address, order:3, indexed:false, value:0xC285B7E09A4584D027E5BC36571785B515898246, valueString:0xC285B7E09A4584D027E5BC36571785B515898246}] )
  • Pool.ticks( 276340 ) => ( liquidityGross=2884736636588296029002, liquidityNet=2884736636588296029002, feeGrowthOutside=19258967686203150233900, secondsPerLiquidityOutside=36563849990187271435128 )
  • Pool.ticks( 276341 ) => ( liquidityGross=2888752423606061953218, liquidityNet=-2888752423606061953218, feeGrowthOutside=0, secondsPerLiquidityOutside=0 )
  • Pool.STATICCALL( )
  • Pool.STATICCALL( )
  • Pool.STATICCALL( )
  • Pool.STATICCALL( )
    File 1 of 3: KyberSwapElasticLM
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    // SPDX-License-Identifier: MIT
    pragma solidity 0.8.9;
    import {LMHelper} from './LMHelper.sol';
    import {KSMath} from '../libraries/KSMath.sol';
    import {IKyberSwapElasticLM} from '../interfaces/liquidityMining/IKyberSwapElasticLM.sol';
    import {IKyberRewardLockerV2} from '../interfaces/liquidityMining/IKyberRewardLockerV2.sol';
    import {IERC721} from '@openzeppelin/contracts/token/ERC721/IERC721.sol';
    import {SafeERC20} from '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
    import {IERC20Metadata} from '@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol';
    import {EnumerableSet} from '@openzeppelin/contracts/utils/structs/EnumerableSet.sol';
    import {AccessControl} from '@openzeppelin/contracts/access/AccessControl.sol';
    import {ReentrancyGuard} from '@openzeppelin/contracts/security/ReentrancyGuard.sol';
    contract KyberSwapElasticLM is IKyberSwapElasticLM, AccessControl, LMHelper, ReentrancyGuard {
    using EnumerableSet for EnumerableSet.UintSet;
    using SafeERC20 for IERC20Metadata;
    using KSMath for uint256;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 2 of 3: AntiSnipAttackPositionManager
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity 0.8.9;
    pragma abicoder v2;
    import {AntiSnipAttack} from '../periphery/libraries/AntiSnipAttack.sol';
    import {SafeCast} from '../libraries/SafeCast.sol';
    import './BasePositionManager.sol';
    contract AntiSnipAttackPositionManager is BasePositionManager {
    using SafeCast for uint256;
    mapping(uint256 => AntiSnipAttack.Data) public antiSnipAttackData;
    constructor(
    address _factory,
    address _WETH,
    address _descriptor
    ) BasePositionManager(_factory, _WETH, _descriptor) {}
    function mint(MintParams calldata params)
    public
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 3 of 3: Pool
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    // SPDX-License-Identifier: agpl-3.0
    pragma solidity 0.8.9;
    import {SafeERC20} from '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
    import {ERC20} from '@openzeppelin/contracts/token/ERC20/ERC20.sol';
    import {IERC20} from '@openzeppelin/contracts/token/ERC20/IERC20.sol';
    import {LiqDeltaMath} from './libraries/LiqDeltaMath.sol';
    import {QtyDeltaMath} from './libraries/QtyDeltaMath.sol';
    import {MathConstants as C} from './libraries/MathConstants.sol';
    import {ReinvestmentMath} from './libraries/ReinvestmentMath.sol';
    import {SwapMath} from './libraries/SwapMath.sol';
    import {FullMath} from './libraries/FullMath.sol';
    import {SafeCast} from './libraries/SafeCast.sol';
    import {TickMath} from './libraries/TickMath.sol';
    import {IPool} from './interfaces/IPool.sol';
    import {IPoolActions} from './interfaces/pool/IPoolActions.sol';
    import {IFactory} from './interfaces/IFactory.sol';
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX