0 txs
1.9k calls
constructor
constructor(address _positionManager)
functions
checkIfPositionIsInTracker
viewfunction checkIfPositionIsInTracker(address caller, uint256 tokenId, address token0, address token1, uint24 poolFee, int24 tickLower, int24 tickUpper) view returns (bool tokenFound)
getTokenId
viewfunction getTokenId(address caller, address token0, address token1, uint24 poolFee, int24 tickLower, int24 tickUpper) view returns (uint256 tokenId)
positionManager
viewfunction positionManager() view returns (address)
addPosition
nonpayablefunction addPosition(uint256 tokenId, address token0, address token1, uint24 poolFee, int24 tickLower, int24 tickUpper)
removePosition
nonpayablefunction removePosition(uint256 tokenId, address token0, address token1, uint24 poolFee, int24 tickLower, int24 tickUpper)
removePositionThatIsNotOwnedByCaller
nonpayablefunction removePositionThatIsNotOwnedByCaller(uint256 tokenId, address token0, address token1, uint24 poolFee, int24 tickLower, int24 tickUpper)
events
No events.
errors
UniswapV3PositionTracker__CallerDoesNotOwnTokenId
error UniswapV3PositionTracker__CallerDoesNotOwnTokenId()
UniswapV3PositionTracker__CallerOwnsTokenId
error UniswapV3PositionTracker__CallerOwnsTokenId()
UniswapV3PositionTracker__MaxHoldingsExceeded
error UniswapV3PositionTracker__MaxHoldingsExceeded()
UniswapV3PositionTracker__TokenIdAlreadyTracked
error UniswapV3PositionTracker__TokenIdAlreadyTracked()
UniswapV3PositionTracker__TokenIdMustBeOwnedByDeadAddress
error UniswapV3PositionTracker__TokenIdMustBeOwnedByDeadAddress()
UniswapV3PositionTracker__TokenIdNotFound
error UniswapV3PositionTracker__TokenIdNotFound()
creation bytecode
0x60a060405234801561000f575f80fd5b506040516107be3803806107be83398101604081905261002e9161003f565b6001600160a01b031660805261006c565b5f6020828403121561004f575f80fd5b81516001600160a01b0381168114610065575f80fd5b9392505050565b60805161071f61009f5f395f818160b9015281816101f801528181610328015281816104970152610502015261071f5ff3fe608060405234801561000f575f80fd5b5060043610610060575f3560e01c8063055a92631461006457806307cada411461008c5780634163948b146100a1578063791b98bc146100b4578063f04225df146100f3578063fbaef47914610169575b5f80fd5b6100776100723660046105aa565b61017c565b60405190151581526020015b60405180910390f35b61009f61009a36600461062a565b6101d8565b005b61009f6100af36600461062a565b610308565b6100db7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610083565b61015b610101366004610697565b6001600160a01b039586165f90815260208181526040808320978916835296815286822095909716815293865284842062ffffff939093168452918552838320600291820b8452855283832091900b825290925290205490565b604051908152602001610083565b61009f61017736600461062a565b61040e565b6001600160a01b039687165f90815260208181526040808320978a16835296815286822095909816815293875284842062ffffff939093168452918652838320600291820b8452865283832091900b8252909352909120541490565b6040516331a9108f60e11b81526004810187905233906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636352211e90602401602060405180830381865afa15801561023d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061026191906106c7565b6001600160a01b03161461028857604051636a271b6560e01b815260040160405180910390fd5b6102973387878787878761017c565b156102b557604051630756c28360e41b815260040160405180910390fd5b335f908152602081815260408083206001600160a01b039889168452825280832096909716825294855285812062ffffff9094168152928452848320600292830b84528452848320910b82529091522055565b6040516331a9108f60e11b81526004810187905233906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636352211e90602401602060405180830381865afa15801561036d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061039191906106c7565b6001600160a01b0316036103b8576040516373167cc960e11b815260040160405180910390fd5b335f908152602081815260408083206001600160a01b039889168452825280832096909716825294855285812062ffffff9094168152928452848320600292830b84528452848320910b82529091529081205550565b61041d3387878787878761017c565b50335f818152602081815260408083206001600160a01b038a811685529083528184208982168552835281842062ffffff891685528352818420600288810b86529084528285209087900b85529092528083209290925590516323b872dd60e01b81526004810192909252306024830152604482018890527f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906064015f604051808303815f87803b1580156104d8575f80fd5b505af11580156104ea573d5f803e3d5ffd5b5050604051630852cd8d60e31b8152600481018990527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031692506342966c6891506024015f604051808303815f87803b15801561054d575f80fd5b505af115801561055f573d5f803e3d5ffd5b50505050505050505050565b6001600160a01b038116811461057f575f80fd5b50565b803562ffffff81168114610594575f80fd5b919050565b8035600281900b8114610594575f80fd5b5f805f805f805f60e0888a0312156105c0575f80fd5b87356105cb8161056b565b96506020880135955060408801356105e28161056b565b945060608801356105f28161056b565b935061060060808901610582565b925061060e60a08901610599565b915061061c60c08901610599565b905092959891949750929550565b5f805f805f8060c0878903121561063f575f80fd5b8635955060208701356106518161056b565b945060408701356106618161056b565b935061066f60608801610582565b925061067d60808801610599565b915061068b60a08801610599565b90509295509295509295565b5f805f805f8060c087890312156106ac575f80fd5b86356106b78161056b565b955060208701356106518161056b565b5f602082840312156106d7575f80fd5b81516106e28161056b565b939250505056fea26469706673582212206209be75fb819e455795c25fcc69dc0c8f5ed6ca4aee2a20af40a09c1a69348664736f6c63430008180033000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe88