More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Lock NFT | 11071222 | 47 hrs ago | IN | 0 S | 0.0070337 |
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
11066307 | 2 days ago | Contract Creation | 0 S |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
LiquidityLock
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
No with 200 runs
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* DARKHOLE - Liquidity Lock Website: https://darkhole.online/ Twitter: https://x.com/DarkHoleSonic Telegram: https://t.me/DarkHoleSonic @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#%@@@@@@@%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*+*%@@@@@@@%@@@@@@@@@@@@%%+--+%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#+#%@@@@@@@@@@@%@@@@@%%%#@@@%%@@@@@@@@@%@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@%%@@@*@%=#@@@@@@@%@@%*==**=:==+##+*###%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@%+%@@@%@@#@@@%#=#%%-:-......:...:--.=++==***##@%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@%@@@@+:@@@@@@#@@@*=-:@@+....::---:-::-+*#%-:..:....:-+####%%%@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@%@@@@%#@@@@*#:+*#-+#%#:..-=+*****#%@@@@@#+--::..-=::...::=+%%%#%@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@=-..==*#@@*::-=+#%%%%@@@@@@@@%%%%%%%##%%%#*=-:..:-=*%%%@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@%@@%@+-:.-=@@@@#++*#%%%%@@@@@@@@@@@%@@@@@@@@@#=:..:=--::::=*#%%@@##@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@##+-:*@@@@%#####%@@@@@@@@@@@@@@@@%%#%#%@%@%%%%=::.......+%%%@@@%*@@@@@@@@@@@@@@@ @@@@@@@@@@@%@@@@@#@%-+=:*@@@%#####%@@@@@@@@@@@@@@@@%@@@@@%###%%%@@@@%%#-.....:=%%@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@%#@@@@%@*--+:#@@@%##%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%%*+:...-==#@@@@@@@@@@@@@@@@@@ @@@@@@@@@@*@@@@@%+=:+*%@@@%#%%@%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%###*=::...-*##%%@@@@@@@@@@@@@@@ @@@@@@@@@@#@@@@@=*+:+#%@@@%%@@@@@@@@@@@@@@@@@@@@@@@%@@@@@@@@@@@@@@@%%#**+:..:--.:%%%%%@@@@@@@@@@@@@@ @@@@@@@@@@#%@%@@=*-*%#@@@@%%@@@@@@@@@@@@@@@@@@@@@@%%%%#%%%@@@@@@@@@@%%=-----...:-=+###*%@@@@@@@@@@@@ @@@@@@@%@@@*@@@@:*+%@@@@@@%@@@@@@@@@@@@@@@%%%%%%%%%%%%%#%##%@@@@@@@@@%*+*===+......-*%%-+@@@@@@@@@@@ @@@@@@@@@@@+%%@%=*#@@@@@@%@@@@@@@@@@@@%%%%%%#****+++=+****##%@@@@@@@@@@@##%@%#=:.....=%@*-@@@@@@@@@@ @@@@@@@@@@@+-*@=+*%@@@@@%%%@@@@@@@@@@%@%%#**+++=+-:-:.:=+++*#%@@@@@@@@@@@@@@@@#=:....:+%@@*@@@@@@@@@ @@@@@@%@@@*+=*-.++%@@@@%%%%@@@@@@@@@@%%%*+====---::.....:-=+*#%%%@@@@@@@@@%@@@@%*-...:=#@@@%@@@@@@@@ @@@@@@*@@%@-:+::=+%@@@%%%%%%%@@@@@@%%%#++=+=--=-::::::....:-=+*%%%%@@@@@@@@@@@@@#-:...:+#%%%@@@@@@@@ @@@@@@*@@#%--#=:*%@@@@@@@@%%%%%%%@@%%%#+==----:.............:-=+#%#@%@@@@@@@@@@@#-.:...=#%==%@%@@@@@ @@@@@@@@%@#:*%*:#%%@@@@@@@@%%%%%@@@%%#+-=:=:...............::==-+###%@@@@@@@@@@@%==:....##+..@@@@@@@ @@@@@@#@@@%-=+#+*%@@@@@%@@@@@@@@@@@%#*----..................:::--*#%%%@@@@@@@@@@@##:.....##.=@@@@@@@ @@@@@@@@@%#+--=%#%@@@@@@@@@@@@@@@@%##-:::...................::-::=+#%%@@@@@@@@@@@%+:.....:*-%@@@@@@@ @@@@@@@@@@*@*-=##%@@@@@@@@@@@@@@@@#%#=:......................::::-**#%@@@@@@@@@@@@#+:.....:+@@@@@@@@ @@@@@@@@@@@%*=-**#%@@@@@@@@@@@@@@@%#*+:.................:...:..:--+*#%@@@@@@@@@@@%%+:...::-+@@@@@@@@ @@@@@@@@@@@@***+**#@@@@@@@@@@@@@@%%#+=:.......................:::=+*%@@@@@@@@@@@@%#:.....=##@@@@@@@@ @@@@@@@@@@@@#@%+*=*%@@@@@@@@@@@@@%%#+=::......................::==#%@@@@@@@@@%#%@%*-:.:.++%@%@@@@@@@ @@@@@@#=@@@%@%%%@**#@@@@@@@@@@@@@@%##+-::.....:...............:==+%%@@@@@@@@@%#%%##+..:-*+%@@@@@@@@@ @@@@@@@**@@@+=@%@@%#%@@@@@@@@@@@@@%##*=--:::...........-:.:+::-=+**#%@@@@@@@%%%%%**-...::%@@@@%@@@@@ @@@@@@@@%@@#*-=%@@@@#@@@@@@@@@%@@@@%%#+==---:::::.::---:..::-==+=-*##%@@@%@@@%%%#*+:...*:%@@@%%@@@@@ @@@@@@@@@@@%++:+%%%@@@@@@@@@@@@%%@@@@%%#*=--=----=+=-::::-===+==:=*##%%@@@@@%%%#*=:...-%+%@@@=@@@@@@ @@@@@@@@@@@@@@+=+%%%@@@@@@@@@@@@@%%%@%%%%#***+===--========-==:=+*#%%%%%%@@@%%%*=::.-.%@*@@@@%@@@@@@ @@@@@@@@@@*@@@@@%%@@@@@@@@@@@@@@@@@@@@@@%%%###**+===-:=++++++******##%%%%%%%***-...###@@#@@@@@@@@@@@ @@@@@@@@@@@%@@@@@@%+%@@@@@@@@@@@@@@@@@@@@@%%%######***##%%%%%%%%%##########***=-:.*%@@@##@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@%%%@%%@@@@@@@@@@@@@@@@@@@@@@@@%@@@@@%%%%@@@@@@@%%#*****++-==-:+*#%@@#%@@@%%@@@@@@ @@@@@@@@@@@@@@@@@@%@@@###%%%@@@@@@@@@@@@@@@@@@@@@@%@@%%%@@@@@@@@@@@%+###*++===:.-+#%@@@#@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@#+=****%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%%%%%#**===.=-*%@@@%#%@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@#***#%*%@@@@@@@@@@%%%%%@@@@@@@@@#%%%@%%%%%%%***+..-.=%@@@@+:@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@%%#++*##%%%%%%%@@%%%%#*##%@@@%#*#%*%##%%%%*==+#:.....#@@@@%#%@@@@@@@@@@@@@ @@@@@@@@@@@@%@@@@@@@@@@%@@@@@@@%@%####%%#*****+**+***+**##*+###%%%#---.::=*:=*%@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%*++=--:::......:::.:=+%%%%#+--=*=..:+#+=%@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@#*%%@@@%%*+=+=-:..........:--++***+=--..:+=:+*%%#@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%*++=::=-......--=+-*--:..-*=*=+#-*%%*@@@@@@@@@%@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@#=#@@@@@@@@@@@@@@@#*-:..............+*@@@%*##%*+@@@@@@@@@%@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@%#%##*=*++-::..:-:..:.-=+##+=*%%@@@%*%*-:*@@@%@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#*#%##@@@%%@@%@@@@@@@%###%%@@@@%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#%@@%%@@@#@@#++#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*#%@@@@@@@@@%*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "@transmissions11/solmate/src/tokens/ERC721.sol"; import "@transmissions11/solmate/src/auth/Owned.sol"; import "@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol"; contract LiquidityLock is Owned { // sonic address public positionManager = 0x77DcC9b09C6Ae94CDC726540735682A38e18d690; INonfungiblePositionManager public immutable uniswapV3PositionManager; uint256 public nftId; address public deployer; constructor(address _deployer) Owned(msg.sender) { uniswapV3PositionManager = INonfungiblePositionManager(positionManager); deployer = _deployer; } /// @dev Once locked, an NFT LP can never be unlocked function lockNFT(uint256 _nftId) external { require(msg.sender == deployer, "!deployer"); require(nftId == 0, "nft is already locked"); nftId = _nftId; uniswapV3PositionManager.transferFrom(deployer, address(this), _nftId); } function claimFees() external onlyOwner { uniswapV3PositionManager.collect( INonfungiblePositionManager.CollectParams({ tokenId: nftId, recipient: owner, amount0Max: type(uint128).max, amount1Max: type(uint128).max }) ); } function claimBurn() external onlyOwner { (,,,,,,, uint128 liquidity,,,,) = uniswapV3PositionManager.positions(nftId); uint128 liquidityToBurn = uint128(liquidity / 100); uniswapV3PositionManager.decreaseLiquidity( INonfungiblePositionManager.DecreaseLiquidityParams({ tokenId: nftId, liquidity: liquidityToBurn, amount0Min: 0, amount1Min: 0, deadline: block.timestamp }) ); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern, minimalist, and gas efficient ERC-721 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 indexed id); event Approval(address indexed owner, address indexed spender, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /*////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ string public name; string public symbol; function tokenURI(uint256 id) public view virtual returns (string memory); /*////////////////////////////////////////////////////////////// ERC721 BALANCE/OWNER STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) internal _ownerOf; mapping(address => uint256) internal _balanceOf; function ownerOf(uint256 id) public view virtual returns (address owner) { require((owner = _ownerOf[id]) != address(0), "NOT_MINTED"); } function balanceOf(address owner) public view virtual returns (uint256) { require(owner != address(0), "ZERO_ADDRESS"); return _balanceOf[owner]; } /*////////////////////////////////////////////////////////////// ERC721 APPROVAL STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) public getApproved; mapping(address => mapping(address => bool)) public isApprovedForAll; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } /*////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 id) public virtual { address owner = _ownerOf[id]; require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED"); getApproved[id] = spender; emit Approval(owner, spender, id); } function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } function transferFrom( address from, address to, uint256 id ) public virtual { require(from == _ownerOf[id], "WRONG_FROM"); require(to != address(0), "INVALID_RECIPIENT"); require( msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id], "NOT_AUTHORIZED" ); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _balanceOf[from]--; _balanceOf[to]++; } _ownerOf[id] = to; delete getApproved[id]; emit Transfer(from, to, id); } function safeTransferFrom( address from, address to, uint256 id ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function safeTransferFrom( address from, address to, uint256 id, bytes calldata data ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } /*////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 id) internal virtual { require(to != address(0), "INVALID_RECIPIENT"); require(_ownerOf[id] == address(0), "ALREADY_MINTED"); // Counter overflow is incredibly unrealistic. unchecked { _balanceOf[to]++; } _ownerOf[id] = to; emit Transfer(address(0), to, id); } function _burn(uint256 id) internal virtual { address owner = _ownerOf[id]; require(owner != address(0), "NOT_MINTED"); // Ownership check above ensures no underflow. unchecked { _balanceOf[owner]--; } delete _ownerOf[id]; delete getApproved[id]; emit Transfer(owner, address(0), id); } /*////////////////////////////////////////////////////////////// INTERNAL SAFE MINT LOGIC //////////////////////////////////////////////////////////////*/ function _safeMint(address to, uint256 id) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function _safeMint( address to, uint256 id, bytes memory data ) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } } /// @notice A generic interface for a contract which properly accepts ERC721 tokens. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721TokenReceiver { function onERC721Received( address, address, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC721TokenReceiver.onERC721Received.selector; } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Simple single owner authorization mixin. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol) abstract contract Owned { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event OwnershipTransferred(address indexed user, address indexed newOwner); /*////////////////////////////////////////////////////////////// OWNERSHIP STORAGE //////////////////////////////////////////////////////////////*/ address public owner; bytes32 private constant _OWNERSHIP_SLOT = 0xa58a6b793a0b6e42c88ec3ffe5a29303d384cd8e453ec07f936a59cef0bd80ef; modifier onlyOwner() virtual { require(msg.sender == owner, "UNAUTHORIZED"); _; } /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(address _owner) { owner = _owner; assembly {sstore(_OWNERSHIP_SLOT, _owner)} emit OwnershipTransferred(address(0), _owner); } /*////////////////////////////////////////////////////////////// OWNERSHIP LOGIC //////////////////////////////////////////////////////////////*/ function transferOwnership(address newOwner) public virtual onlyOwner { owner = newOwner; emit OwnershipTransferred(msg.sender, newOwner); } }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.7.5; pragma abicoder v2; import '@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol'; import './IPoolInitializer.sol'; import './IERC721Permit.sol'; import './IPeripheryPayments.sol'; import './IPeripheryImmutableState.sol'; import '../libraries/PoolAddress.sol'; /// @title Non-fungible token for positions /// @notice Wraps Uniswap V3 positions in a non-fungible token interface which allows for them to be transferred /// and authorized. interface INonfungiblePositionManager is IPoolInitializer, IPeripheryPayments, IPeripheryImmutableState, IERC721Metadata, IERC721Enumerable, IERC721Permit { /// @notice Emitted when liquidity is increased for a position NFT /// @dev Also emitted when a token is minted /// @param tokenId The ID of the token for which liquidity was increased /// @param liquidity The amount by which liquidity for the NFT position was increased /// @param amount0 The amount of token0 that was paid for the increase in liquidity /// @param amount1 The amount of token1 that was paid for the increase in liquidity event IncreaseLiquidity(uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1); /// @notice Emitted when liquidity is decreased for a position NFT /// @param tokenId The ID of the token for which liquidity was decreased /// @param liquidity The amount by which liquidity for the NFT position was decreased /// @param amount0 The amount of token0 that was accounted for the decrease in liquidity /// @param amount1 The amount of token1 that was accounted for the decrease in liquidity event DecreaseLiquidity(uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1); /// @notice Emitted when tokens are collected for a position NFT /// @dev The amounts reported may not be exactly equivalent to the amounts transferred, due to rounding behavior /// @param tokenId The ID of the token for which underlying tokens were collected /// @param recipient The address of the account that received the collected tokens /// @param amount0 The amount of token0 owed to the position that was collected /// @param amount1 The amount of token1 owed to the position that was collected event Collect(uint256 indexed tokenId, address recipient, uint256 amount0, uint256 amount1); /// @notice Returns the position information associated with a given token ID. /// @dev Throws if the token ID is not valid. /// @param tokenId The ID of the token that represents the position /// @return nonce The nonce for permits /// @return operator The address that is approved for spending /// @return token0 The address of the token0 for a specific pool /// @return token1 The address of the token1 for a specific pool /// @return fee The fee associated with the pool /// @return tickLower The lower end of the tick range for the position /// @return tickUpper The higher end of the tick range for the position /// @return liquidity The liquidity of the position /// @return feeGrowthInside0LastX128 The fee growth of token0 as of the last action on the individual position /// @return feeGrowthInside1LastX128 The fee growth of token1 as of the last action on the individual position /// @return tokensOwed0 The uncollected amount of token0 owed to the position as of the last computation /// @return tokensOwed1 The uncollected amount of token1 owed to the position as of the last computation function positions(uint256 tokenId) external view returns ( uint96 nonce, address operator, address token0, address token1, uint24 fee, int24 tickLower, int24 tickUpper, uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1 ); struct MintParams { address token0; address token1; uint24 fee; int24 tickLower; int24 tickUpper; uint256 amount0Desired; uint256 amount1Desired; uint256 amount0Min; uint256 amount1Min; address recipient; uint256 deadline; } /// @notice Creates a new position wrapped in a NFT /// @dev Call this when the pool does exist and is initialized. Note that if the pool is created but not initialized /// a method does not exist, i.e. the pool is assumed to be initialized. /// @param params The params necessary to mint a position, encoded as `MintParams` in calldata /// @return tokenId The ID of the token that represents the minted position /// @return liquidity The amount of liquidity for this position /// @return amount0 The amount of token0 /// @return amount1 The amount of token1 function mint(MintParams calldata params) external payable returns ( uint256 tokenId, uint128 liquidity, uint256 amount0, uint256 amount1 ); struct IncreaseLiquidityParams { uint256 tokenId; uint256 amount0Desired; uint256 amount1Desired; uint256 amount0Min; uint256 amount1Min; uint256 deadline; } /// @notice Increases the amount of liquidity in a position, with tokens paid by the `msg.sender` /// @param params tokenId The ID of the token for which liquidity is being increased, /// amount0Desired The desired amount of token0 to be spent, /// amount1Desired The desired amount of token1 to be spent, /// amount0Min The minimum amount of token0 to spend, which serves as a slippage check, /// amount1Min The minimum amount of token1 to spend, which serves as a slippage check, /// deadline The time by which the transaction must be included to effect the change /// @return liquidity The new liquidity amount as a result of the increase /// @return amount0 The amount of token0 to acheive resulting liquidity /// @return amount1 The amount of token1 to acheive resulting liquidity function increaseLiquidity(IncreaseLiquidityParams calldata params) external payable returns ( uint128 liquidity, uint256 amount0, uint256 amount1 ); struct DecreaseLiquidityParams { uint256 tokenId; uint128 liquidity; uint256 amount0Min; uint256 amount1Min; uint256 deadline; } /// @notice Decreases the amount of liquidity in a position and accounts it to the position /// @param params tokenId The ID of the token for which liquidity is being decreased, /// amount The amount by which liquidity will be decreased, /// amount0Min The minimum amount of token0 that should be accounted for the burned liquidity, /// amount1Min The minimum amount of token1 that should be accounted for the burned liquidity, /// deadline The time by which the transaction must be included to effect the change /// @return amount0 The amount of token0 accounted to the position's tokens owed /// @return amount1 The amount of token1 accounted to the position's tokens owed function decreaseLiquidity(DecreaseLiquidityParams calldata params) external payable returns (uint256 amount0, uint256 amount1); struct CollectParams { uint256 tokenId; address recipient; uint128 amount0Max; uint128 amount1Max; } /// @notice Collects up to a maximum amount of fees owed to a specific position to the recipient /// @param params tokenId The ID of the NFT for which tokens are being collected, /// recipient The account that should receive the tokens, /// amount0Max The maximum amount of token0 to collect, /// amount1Max The maximum amount of token1 to collect /// @return amount0 The amount of fees collected in token0 /// @return amount1 The amount of fees collected in token1 function collect(CollectParams calldata params) external payable returns (uint256 amount0, uint256 amount1); /// @notice Burns a token ID, which deletes it from the NFT contract. The token must have 0 liquidity and all tokens /// must be collected first. /// @param tokenId The ID of the token that is being burned function burn(uint256 tokenId) external payable; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.7.5; pragma abicoder v2; /// @title Creates and initializes V3 Pools /// @notice Provides a method for creating and initializing a pool, if necessary, for bundling with other methods that /// require the pool to exist. interface IPoolInitializer { /// @notice Creates a new pool if it does not exist, then initializes if not initialized /// @dev This method can be bundled with others via IMulticall for the first action (e.g. mint) performed against a pool /// @param token0 The contract address of token0 of the pool /// @param token1 The contract address of token1 of the pool /// @param fee The fee amount of the v3 pool for the specified token pair /// @param sqrtPriceX96 The initial square root price of the pool as a Q64.96 value /// @return pool Returns the pool address based on the pair of tokens and fee, will return the newly created pool address if necessary function createAndInitializePoolIfNecessary( address token0, address token1, uint24 fee, uint160 sqrtPriceX96 ) external payable returns (address pool); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.7.5; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; /// @title ERC721 with permit /// @notice Extension to ERC721 that includes a permit function for signature based approvals interface IERC721Permit is IERC721 { /// @notice The permit typehash used in the permit signature /// @return The typehash for the permit function PERMIT_TYPEHASH() external pure returns (bytes32); /// @notice The domain separator used in the permit signature /// @return The domain seperator used in encoding of permit signature function DOMAIN_SEPARATOR() external view returns (bytes32); /// @notice Approve of a specific token ID for spending by spender via signature /// @param spender The account that is being approved /// @param tokenId The ID of the token that is being approved for spending /// @param deadline The deadline timestamp by which the call must be mined for the approve to work /// @param v Must produce valid secp256k1 signature from the holder along with `r` and `s` /// @param r Must produce valid secp256k1 signature from the holder along with `v` and `s` /// @param s Must produce valid secp256k1 signature from the holder along with `r` and `v` function permit( address spender, uint256 tokenId, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external payable; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.7.5; /// @title Periphery Payments /// @notice Functions to ease deposits and withdrawals of ETH interface IPeripheryPayments { /// @notice Unwraps the contract's WETH9 balance and sends it to recipient as ETH. /// @dev The amountMinimum parameter prevents malicious contracts from stealing WETH9 from users. /// @param amountMinimum The minimum amount of WETH9 to unwrap /// @param recipient The address receiving ETH function unwrapWETH9(uint256 amountMinimum, address recipient) external payable; /// @notice Refunds any ETH balance held by this contract to the `msg.sender` /// @dev Useful for bundling with mint or increase liquidity that uses ether, or exact output swaps /// that use ether for the input amount function refundETH() external payable; /// @notice Transfers the full amount of a token held by this contract to recipient /// @dev The amountMinimum parameter prevents malicious contracts from stealing the token from users /// @param token The contract address of the token which will be transferred to `recipient` /// @param amountMinimum The minimum amount of token required for a transfer /// @param recipient The destination address of the token function sweepToken( address token, uint256 amountMinimum, address recipient ) external payable; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Immutable state /// @notice Functions that return immutable state of the router interface IPeripheryImmutableState { /// @return Returns the address of the Uniswap V3 factory function factory() external view returns (address); /// @return Returns the address of WETH9 function WETH9() external view returns (address); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Provides functions for deriving a pool address from the factory, tokens, and the fee library PoolAddress { bytes32 internal constant POOL_INIT_CODE_HASH = 0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54; /// @notice The identifying key of the pool struct PoolKey { address token0; address token1; uint24 fee; } /// @notice Returns PoolKey: the ordered tokens with the matched fee levels /// @param tokenA The first token of a pool, unsorted /// @param tokenB The second token of a pool, unsorted /// @param fee The fee level of the pool /// @return Poolkey The pool details with ordered token0 and token1 assignments function getPoolKey(address tokenA, address tokenB, uint24 fee) internal pure returns (PoolKey memory) { if (tokenA > tokenB) (tokenA, tokenB) = (tokenB, tokenA); return PoolKey({token0: tokenA, token1: tokenB, fee: fee}); } /// @notice Deterministically computes the pool address given the factory and PoolKey /// @param factory The Uniswap V3 factory contract address /// @param key The PoolKey /// @return pool The contract address of the V3 pool function computeAddress(address factory, PoolKey memory key) internal pure returns (address pool) { require(key.token0 < key.token1); pool = address( uint160( uint256( keccak256( abi.encodePacked( hex"ff", factory, keccak256(abi.encode(key.token0, key.token1, key.fee)), POOL_INIT_CODE_HASH ) ) ) ) ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.20; import {IERC165} from "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC-721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon * a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC-721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or * {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon * a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the address zero. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[ERC]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "remappings": [ "solmate/=lib/solmate/src/", "ds-test/=lib/solmate/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "v3-core/=lib/v3-core/", "@uniswap/v3-core/=lib/v3-core/", "@uniswap/v3-periphery/=lib/v3-periphery/", "@openzeppelin/[email protected]/=lib/openzeppelin-contracts/contracts/", "@transmissions11/solmate/src/=lib/solmate/src/", "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "v3-periphery/=lib/v3-periphery/contracts/" ], "optimizer": { "enabled": false, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "cancun", "viaIR": true, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_deployer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"claimBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deployer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nftId","type":"uint256"}],"name":"lockNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nftId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"positionManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV3PositionManager","outputs":[{"internalType":"contract INonfungiblePositionManager","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a06040523461005457610019610014610119565b6101fd565b610021610059565b6110856102fa823960805181818161014d0152818161077701528181610bce01528181610c5d0152610e6b015261108590f35b61005f565b60405190565b5f80fd5b601f801991011690565b634e487b7160e01b5f52604160045260245ffd5b9061008b90610063565b810190811060018060401b038211176100a357604052565b61006d565b906100bb6100b4610059565b9283610081565b565b5f80fd5b60018060a01b031690565b6100d5906100c1565b90565b6100e1816100cc565b036100e857565b5f80fd5b905051906100f9826100d8565b565b9060208282031261011457610111915f016100ec565b90565b6100bd565b61013761137f8038038061012c816100a8565b9283398101906100fb565b90565b5f1b90565b9061015060018060a01b039161013a565b9181191691161790565b90565b61017161016c610176926100c1565b61015a565b6100c1565b90565b6101829061015d565b90565b61018e90610179565b90565b90565b906101a96101a46101b092610185565b610191565b825461013f565b9055565b5f1c90565b60018060a01b031690565b6101d06101d5916101b4565b6101b9565b90565b6101e290546101c4565b90565b6101ee9061015d565b90565b6101fa906101e5565b90565b6102459061020a33610277565b6102297377dcc9b09c6ae94cdc726540735682a38e18d6906001610194565b61023b61023660016101d8565b6101f1565b6080526003610194565b565b90565b61025e61025961026392610247565b61015a565b6100c1565b90565b61026f9061024a565b90565b5f0190565b610281815f610194565b807fa58a6b793a0b6e42c88ec3ffe5a29303d384cd8e453ec07f936a59cef0bd80ef556102ad5f610266565b906102e16102db7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e093610185565b91610185565b916102ea610059565b806102f481610272565b0390a356fe60806040526004361015610013575b61049e565b61001d5f356100ac565b80632b7170d0146100a7578063342a30c3146100a2578063791b98bc1461009d5780638ca8ecd1146100985780638da5cb5b14610093578063c6bc51821461008e578063d294f09314610089578063d5f39488146100845763f2fde38b0361000e5761046b565b6103f5565b6103b3565b61037e565b6102ef565b6102af565b61027a565b6101d3565b610109565b60e01c90565b60405190565b5f80fd5b5f80fd5b90565b6100cc816100c0565b036100d357565b5f80fd5b905035906100e4826100c3565b565b906020828203126100ff576100fc915f016100d7565b90565b6100bc565b5f0190565b346101375761012161011c3660046100e6565b61071d565b6101296100b2565b8061013381610104565b0390f35b6100b8565b5f91031261014657565b6100bc565b7f000000000000000000000000000000000000000000000000000000000000000090565b60018060a01b031690565b90565b61019161018c6101969261016f565b61017a565b61016f565b90565b6101a29061017d565b90565b6101ae90610199565b90565b6101ba906101a5565b9052565b91906101d1905f602085019401906101b1565b565b34610203576101e336600461013c565b6101ff6101ee61014b565b6101f66100b2565b918291826101be565b0390f35b6100b8565b1c90565b60018060a01b031690565b61022790600861022c9302610208565b61020c565b90565b9061023a9154610217565b90565b61024960015f9061022f565b90565b6102559061016f565b90565b6102619061024c565b9052565b9190610278905f60208501940190610258565b565b346102aa5761028a36600461013c565b6102a661029561023d565b61029d6100b2565b91829182610265565b0390f35b6100b8565b346102dd576102bf36600461013c565b6102c7610da4565b6102cf6100b2565b806102d981610104565b0390f35b6100b8565b6102ec5f8061022f565b90565b3461031f576102ff36600461013c565b61031b61030a6102e2565b6103126100b2565b91829182610265565b0390f35b6100b8565b90565b61033790600861033c9302610208565b610324565b90565b9061034a9154610327565b90565b61035960025f9061033f565b90565b610365906100c0565b9052565b919061037c905f6020850194019061035c565b565b346103ae5761038e36600461013c565b6103aa61039961034d565b6103a16100b2565b91829182610369565b0390f35b6100b8565b346103e1576103c336600461013c565b6103cb610f6a565b6103d36100b2565b806103dd81610104565b0390f35b6100b8565b6103f260035f9061022f565b90565b346104255761040536600461013c565b6104216104106103e6565b6104186100b2565b91829182610265565b0390f35b6100b8565b6104338161024c565b0361043a57565b5f80fd5b9050359061044b8261042a565b565b9060208282031261046657610463915f0161043e565b90565b6100bc565b346104995761048361047e36600461044d565b611044565b61048b6100b2565b8061049581610104565b0390f35b6100b8565b5f80fd5b5f1c90565b6104b36104b8916104a2565b61020c565b90565b6104c590546104a7565b90565b60209181520190565b5f7f216465706c6f7965720000000000000000000000000000000000000000000000910152565b61050560096020926104c8565b61050e816104d1565b0190565b6105279060208101905f8183039101526104f8565b90565b1561053157565b6105396100b2565b62461bcd60e51b81528061054f60048201610512565b0390fd5b61055f610564916104a2565b610324565b90565b6105719054610553565b90565b90565b61058b61058661059092610574565b61017a565b6100c0565b90565b5f7f6e667420697320616c7265616479206c6f636b65640000000000000000000000910152565b6105c760156020926104c8565b6105d081610593565b0190565b6105e99060208101905f8183039101526105ba565b90565b156105f357565b6105fb6100b2565b62461bcd60e51b815280610611600482016105d4565b0390fd5b5f1b90565b906106265f1991610615565b9181191691161790565b61064461063f610649926100c0565b61017a565b6100c0565b90565b90565b9061066461065f61066b92610630565b61064c565b825461061a565b9055565b61067890610199565b90565b5f80fd5b601f801991011690565b634e487b7160e01b5f52604160045260245ffd5b906106a79061067f565b810190811067ffffffffffffffff8211176106c157604052565b610689565b60e01b90565b5f9103126106d657565b6100bc565b60409061070461070b94969593966106fa60608401985f850190610258565b6020830190610258565b019061035c565b565b6107156100b2565b3d5f823e3d90fd5b6107423361073c61073661073160036104bb565b61024c565b9161024c565b1461052a565b61076761074f6002610567565b61076161075b5f610577565b916100c0565b146105ec565b61077281600261064f565b61079b7f00000000000000000000000000000000000000000000000000000000000000006101a5565b6323b872dd906107ab60036104bb565b906107b53061066f565b9392813b1561082a575f6107dc916107e782966107d06100b2565b988997889687956106c6565b8552600485016106db565b03925af18015610825576107f9575b50565b610818905f3d811161081e575b610810818361069d565b8101906106cc565b5f6107f6565b503d610806565b61070d565b61067b565b5f7f554e415554484f52495a45440000000000000000000000000000000000000000910152565b610863600c6020926104c8565b61086c8161082f565b0190565b6108859060208101905f818303910152610856565b90565b1561088f57565b6108976100b2565b62461bcd60e51b8152806108ad60048201610870565b0390fd5b6108d5336108cf6108c96108c45f6104bb565b61024c565b9161024c565b14610888565b6108dd610bc3565b565b6bffffffffffffffffffffffff1690565b6108f9816108df565b0361090057565b5f80fd5b90505190610911826108f0565b565b905051906109208261042a565b565b62ffffff1690565b61093381610922565b0361093a57565b5f80fd5b9050519061094b8261092a565b565b60020b90565b61095c8161094d565b0361096357565b5f80fd5b9050519061097482610953565b565b6fffffffffffffffffffffffffffffffff1690565b61099481610976565b0361099b57565b5f80fd5b905051906109ac8261098b565b565b905051906109bb826100c3565b565b909161018082840312610a75576109d6835f8401610904565b926109e48160208501610913565b926109f28260408301610913565b92610a008360608401610913565b92610a0e816080850161093e565b92610a1c8260a08301610967565b92610a2a8360c08401610967565b92610a388160e0850161099f565b92610a478261010083016109ae565b92610a72610a598461012085016109ae565b93610a6881610140860161099f565b936101600161099f565b90565b6100bc565b90565b610a91610a8c610a9692610a7a565b61017a565b610976565b90565b634e487b7160e01b5f52601260045260245ffd5b610ab9610abf91610976565b91610976565b908115610aca570490565b610a99565b90610ae2610adb6100b2565b928361069d565b565b610aee60a0610acf565b90565b90610afb906100c0565b9052565b90610b0990610976565b9052565b9190604083820312610b355780610b29610b32925f86016109ae565b936020016109ae565b90565b6100bc565b610b43906100c0565b9052565b610b5090610976565b9052565b90608080610bac93610b6c5f8201515f860190610b3a565b610b7e60208201516020860190610b47565b610b9060408201516040860190610b3a565b610ba260608201516060860190610b3a565b0151910190610b3a565b565b9190610bc1905f60a08501940190610b54565b565b610c25610180610bf27f00000000000000000000000000000000000000000000000000000000000000006101a5565b6399fbab8890610c1a610c056002610567565b92610c0e6100b2565b958694859384936106c6565b835260048301610369565b03915afa908115610d9f575f80808080808080989650505050505050610d66575b506064610c5290610a7d565b610c5b91610aad565b7f0000000000000000000000000000000000000000000000000000000000000000610c85906101a5565b630c49ccbe610c946002610567565b925f804292610ca1610ae4565b965f880190610caf91610af1565b6020870190610cbd91610aff565b610cc690610577565b6040860190610cd491610af1565b610cdd90610577565b6060850190610ceb91610af1565b6080840190610cf991610af1565b610d016100b2565b8093610d0d82936106c6565b82526004820190610d1d91610bae565b03815a6040945f91f18015610d6157610d34575b50565b610d549060403d8111610d5a575b610d4c818361069d565b810190610b0d565b50610d31565b503d610d42565b61070d565b610d8891506101803d8111610d98575b610d80818361069d565b8101906109bd565b5050505096505050505050610c46565b503d610d76565b61070d565b610dac6108b1565b565b610dd233610dcc610dc6610dc15f6104bb565b61024c565b9161024c565b14610888565b610dda610e61565b565b610de66080610acf565b90565b90610df39061024c565b9052565b610e009061024c565b9052565b90606080610e4a93610e1c5f8201515f860190610b3a565b610e2e60208201516020860190610df7565b610e4060408201516040860190610b47565b0151910190610b47565b565b9190610e5f905f60808501940190610e04565b565b610f266040610e8f7f00000000000000000000000000000000000000000000000000000000000000006101a5565b63fc6f786590610f1b5f610ea36002610567565b93610f07610eb0836104bb565b610efe6fffffffffffffffffffffffffffffffff610ef66fffffffffffffffffffffffffffffffff93610eed610ee4610ddc565b9b898d01610af1565b60208b01610de9565b898901610aff565b60608701610aff565b610f0f6100b2565b968795869485936106c6565b835260048301610e4c565b03925af18015610f6557610f38575b50565b610f589060403d8111610f5e575b610f50818361069d565b810190610b0d565b50610f35565b503d610f46565b61070d565b610f72610dae565b565b610fa190610f9c33610f96610f90610f8b5f6104bb565b61024c565b9161024c565b14610888565b610fed565b565b90610fb460018060a01b0391610615565b9181191691161790565b610fc790610199565b90565b90565b90610fe2610fdd610fe992610fbe565b610fca565b8254610fa3565b9055565b610ff7815f610fcd565b339061102c6110267f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e093610fbe565b91610fbe565b916110356100b2565b8061103f81610104565b0390a3565b61104d90610f74565b56fea2646970667358221220f2007821f14840f04091cd57b085376a4156cc4dc44254c5932be882592c0d1764736f6c634300081a0033000000000000000000000000e3a16592bde7cdb643f74dde7b5f5522215f4237
Deployed Bytecode
0x60806040526004361015610013575b61049e565b61001d5f356100ac565b80632b7170d0146100a7578063342a30c3146100a2578063791b98bc1461009d5780638ca8ecd1146100985780638da5cb5b14610093578063c6bc51821461008e578063d294f09314610089578063d5f39488146100845763f2fde38b0361000e5761046b565b6103f5565b6103b3565b61037e565b6102ef565b6102af565b61027a565b6101d3565b610109565b60e01c90565b60405190565b5f80fd5b5f80fd5b90565b6100cc816100c0565b036100d357565b5f80fd5b905035906100e4826100c3565b565b906020828203126100ff576100fc915f016100d7565b90565b6100bc565b5f0190565b346101375761012161011c3660046100e6565b61071d565b6101296100b2565b8061013381610104565b0390f35b6100b8565b5f91031261014657565b6100bc565b7f00000000000000000000000077dcc9b09c6ae94cdc726540735682a38e18d69090565b60018060a01b031690565b90565b61019161018c6101969261016f565b61017a565b61016f565b90565b6101a29061017d565b90565b6101ae90610199565b90565b6101ba906101a5565b9052565b91906101d1905f602085019401906101b1565b565b34610203576101e336600461013c565b6101ff6101ee61014b565b6101f66100b2565b918291826101be565b0390f35b6100b8565b1c90565b60018060a01b031690565b61022790600861022c9302610208565b61020c565b90565b9061023a9154610217565b90565b61024960015f9061022f565b90565b6102559061016f565b90565b6102619061024c565b9052565b9190610278905f60208501940190610258565b565b346102aa5761028a36600461013c565b6102a661029561023d565b61029d6100b2565b91829182610265565b0390f35b6100b8565b346102dd576102bf36600461013c565b6102c7610da4565b6102cf6100b2565b806102d981610104565b0390f35b6100b8565b6102ec5f8061022f565b90565b3461031f576102ff36600461013c565b61031b61030a6102e2565b6103126100b2565b91829182610265565b0390f35b6100b8565b90565b61033790600861033c9302610208565b610324565b90565b9061034a9154610327565b90565b61035960025f9061033f565b90565b610365906100c0565b9052565b919061037c905f6020850194019061035c565b565b346103ae5761038e36600461013c565b6103aa61039961034d565b6103a16100b2565b91829182610369565b0390f35b6100b8565b346103e1576103c336600461013c565b6103cb610f6a565b6103d36100b2565b806103dd81610104565b0390f35b6100b8565b6103f260035f9061022f565b90565b346104255761040536600461013c565b6104216104106103e6565b6104186100b2565b91829182610265565b0390f35b6100b8565b6104338161024c565b0361043a57565b5f80fd5b9050359061044b8261042a565b565b9060208282031261046657610463915f0161043e565b90565b6100bc565b346104995761048361047e36600461044d565b611044565b61048b6100b2565b8061049581610104565b0390f35b6100b8565b5f80fd5b5f1c90565b6104b36104b8916104a2565b61020c565b90565b6104c590546104a7565b90565b60209181520190565b5f7f216465706c6f7965720000000000000000000000000000000000000000000000910152565b61050560096020926104c8565b61050e816104d1565b0190565b6105279060208101905f8183039101526104f8565b90565b1561053157565b6105396100b2565b62461bcd60e51b81528061054f60048201610512565b0390fd5b61055f610564916104a2565b610324565b90565b6105719054610553565b90565b90565b61058b61058661059092610574565b61017a565b6100c0565b90565b5f7f6e667420697320616c7265616479206c6f636b65640000000000000000000000910152565b6105c760156020926104c8565b6105d081610593565b0190565b6105e99060208101905f8183039101526105ba565b90565b156105f357565b6105fb6100b2565b62461bcd60e51b815280610611600482016105d4565b0390fd5b5f1b90565b906106265f1991610615565b9181191691161790565b61064461063f610649926100c0565b61017a565b6100c0565b90565b90565b9061066461065f61066b92610630565b61064c565b825461061a565b9055565b61067890610199565b90565b5f80fd5b601f801991011690565b634e487b7160e01b5f52604160045260245ffd5b906106a79061067f565b810190811067ffffffffffffffff8211176106c157604052565b610689565b60e01b90565b5f9103126106d657565b6100bc565b60409061070461070b94969593966106fa60608401985f850190610258565b6020830190610258565b019061035c565b565b6107156100b2565b3d5f823e3d90fd5b6107423361073c61073661073160036104bb565b61024c565b9161024c565b1461052a565b61076761074f6002610567565b61076161075b5f610577565b916100c0565b146105ec565b61077281600261064f565b61079b7f00000000000000000000000077dcc9b09c6ae94cdc726540735682a38e18d6906101a5565b6323b872dd906107ab60036104bb565b906107b53061066f565b9392813b1561082a575f6107dc916107e782966107d06100b2565b988997889687956106c6565b8552600485016106db565b03925af18015610825576107f9575b50565b610818905f3d811161081e575b610810818361069d565b8101906106cc565b5f6107f6565b503d610806565b61070d565b61067b565b5f7f554e415554484f52495a45440000000000000000000000000000000000000000910152565b610863600c6020926104c8565b61086c8161082f565b0190565b6108859060208101905f818303910152610856565b90565b1561088f57565b6108976100b2565b62461bcd60e51b8152806108ad60048201610870565b0390fd5b6108d5336108cf6108c96108c45f6104bb565b61024c565b9161024c565b14610888565b6108dd610bc3565b565b6bffffffffffffffffffffffff1690565b6108f9816108df565b0361090057565b5f80fd5b90505190610911826108f0565b565b905051906109208261042a565b565b62ffffff1690565b61093381610922565b0361093a57565b5f80fd5b9050519061094b8261092a565b565b60020b90565b61095c8161094d565b0361096357565b5f80fd5b9050519061097482610953565b565b6fffffffffffffffffffffffffffffffff1690565b61099481610976565b0361099b57565b5f80fd5b905051906109ac8261098b565b565b905051906109bb826100c3565b565b909161018082840312610a75576109d6835f8401610904565b926109e48160208501610913565b926109f28260408301610913565b92610a008360608401610913565b92610a0e816080850161093e565b92610a1c8260a08301610967565b92610a2a8360c08401610967565b92610a388160e0850161099f565b92610a478261010083016109ae565b92610a72610a598461012085016109ae565b93610a6881610140860161099f565b936101600161099f565b90565b6100bc565b90565b610a91610a8c610a9692610a7a565b61017a565b610976565b90565b634e487b7160e01b5f52601260045260245ffd5b610ab9610abf91610976565b91610976565b908115610aca570490565b610a99565b90610ae2610adb6100b2565b928361069d565b565b610aee60a0610acf565b90565b90610afb906100c0565b9052565b90610b0990610976565b9052565b9190604083820312610b355780610b29610b32925f86016109ae565b936020016109ae565b90565b6100bc565b610b43906100c0565b9052565b610b5090610976565b9052565b90608080610bac93610b6c5f8201515f860190610b3a565b610b7e60208201516020860190610b47565b610b9060408201516040860190610b3a565b610ba260608201516060860190610b3a565b0151910190610b3a565b565b9190610bc1905f60a08501940190610b54565b565b610c25610180610bf27f00000000000000000000000077dcc9b09c6ae94cdc726540735682a38e18d6906101a5565b6399fbab8890610c1a610c056002610567565b92610c0e6100b2565b958694859384936106c6565b835260048301610369565b03915afa908115610d9f575f80808080808080989650505050505050610d66575b506064610c5290610a7d565b610c5b91610aad565b7f00000000000000000000000077dcc9b09c6ae94cdc726540735682a38e18d690610c85906101a5565b630c49ccbe610c946002610567565b925f804292610ca1610ae4565b965f880190610caf91610af1565b6020870190610cbd91610aff565b610cc690610577565b6040860190610cd491610af1565b610cdd90610577565b6060850190610ceb91610af1565b6080840190610cf991610af1565b610d016100b2565b8093610d0d82936106c6565b82526004820190610d1d91610bae565b03815a6040945f91f18015610d6157610d34575b50565b610d549060403d8111610d5a575b610d4c818361069d565b810190610b0d565b50610d31565b503d610d42565b61070d565b610d8891506101803d8111610d98575b610d80818361069d565b8101906109bd565b5050505096505050505050610c46565b503d610d76565b61070d565b610dac6108b1565b565b610dd233610dcc610dc6610dc15f6104bb565b61024c565b9161024c565b14610888565b610dda610e61565b565b610de66080610acf565b90565b90610df39061024c565b9052565b610e009061024c565b9052565b90606080610e4a93610e1c5f8201515f860190610b3a565b610e2e60208201516020860190610df7565b610e4060408201516040860190610b47565b0151910190610b47565b565b9190610e5f905f60808501940190610e04565b565b610f266040610e8f7f00000000000000000000000077dcc9b09c6ae94cdc726540735682a38e18d6906101a5565b63fc6f786590610f1b5f610ea36002610567565b93610f07610eb0836104bb565b610efe6fffffffffffffffffffffffffffffffff610ef66fffffffffffffffffffffffffffffffff93610eed610ee4610ddc565b9b898d01610af1565b60208b01610de9565b898901610aff565b60608701610aff565b610f0f6100b2565b968795869485936106c6565b835260048301610e4c565b03925af18015610f6557610f38575b50565b610f589060403d8111610f5e575b610f50818361069d565b810190610b0d565b50610f35565b503d610f46565b61070d565b610f72610dae565b565b610fa190610f9c33610f96610f90610f8b5f6104bb565b61024c565b9161024c565b14610888565b610fed565b565b90610fb460018060a01b0391610615565b9181191691161790565b610fc790610199565b90565b90565b90610fe2610fdd610fe992610fbe565b610fca565b8254610fa3565b9055565b610ff7815f610fcd565b339061102c6110267f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e093610fbe565b91610fbe565b916110356100b2565b8061103f81610104565b0390a3565b61104d90610f74565b56fea2646970667358221220f2007821f14840f04091cd57b085376a4156cc4dc44254c5932be882592c0d1764736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e3a16592bde7cdb643f74dde7b5f5522215f4237
-----Decoded View---------------
Arg [0] : _deployer (address): 0xE3a16592bDe7CDb643F74dDE7b5F5522215F4237
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e3a16592bde7cdb643f74dde7b5f5522215f4237
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.