Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
Sponsored
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60a06040 | 4959654 | 112 days ago | IN | 0 ETH | 0.00274999 |
Loading...
Loading
Contract Name:
BlastLpHolder
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 10000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { ERC721Holder } from "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol"; import { INonfungiblePositionManager } from "../external/INonfungiblePositionManager.sol"; import { BlastLib } from "./library/BlastLib.sol"; /** MMMMMMMMMMMMMMMMMMMMMMMMWX0kol:,... ...,:cox0XWMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMWKkl;.. ..;lxKNMMMMMMMONLYMMMMMMMMM MMMMCMMMMMMMMMMMMNOo,. .,lkXWMMMMMAPESMMMMMMM MMMMMMMMMMMMMMNOl' .cONMMMMMMMMMMMMMM MMMMMMMMMMMMXx;. ,dKWMMMMMMMMMMM MMMMMMMMMWXd' .oKWMMMMMMMMM MMMMMMMMNd' .oXMMMMMMMM MMMMMMWO; ,kWMMMMMM MMMMMNd. .lXMMMMM MMMMKc ';cooollc:,. ;KMMMM MMMK; .ckKNNNXKKKKKKOo, ,0MMM MMK; .c0NNNNNNXKKKKKKKK0d' ,0MM MXc .oXNNNNNNNXKKKKKKKKKKk; :KM Wd. .oXNNNNNNNNXKKKKKKKKKKKk, oN 0, lXNNNNNNNNNXKKKKKKKKKKKKx. .O o :KNNNNNNNNNNXKKKKKKKKKKKK0l. c , ;0NNNNNNNNNNNXKKKKKKKKKKKKKk; ' . ,0WNNNNNNNNNNNXKKKKKKKKKKKKKOx, . ,OWWNNNNNNNNNNNXKKKKKKKKKKKKKOOd' ;0WWWNNNNNNNNNNNXKKKKKKKKKKKKK0OOd' .cKMMMWNNNNNNNNNNNXKKKKKKKKKKKKKOOOOd; . .lXMMMWWNNNNNNNNNNNXKKKKKKKKKKKKKOOOOOxc. . .'ckWMMMMWNNNNNNNNNNNXKKKKKKKKKKKKKOOOOOkxo;. . : .,cllkWMMMWWNNNNNNNNNNNXKKKKKKKKKKKKKOOOOOkxddo:' , x. .';clnightMMMWWNNNNNNNNNNNXKKKKKKKKKKKKKOOOOOkxdddddc,.. .d X: ..';:ccmonkexXNNNXXKKKKKKKKKKK000OOOOOOOOOOOkxxxxxdooooolcc:,'.. ;K MO' ............................................................... .kW MWx. .oNM MMNd. lNMM MMMNd. .oNMMM MMMMWk' .xNMMMM MMMMMW0: ;OWMMMMM MMMMMMMNx' .dXMMMMMMM MMMMMMMMWKo. .lKWMMMMMMMM MMMMMMMMMMWKo' .l0WMMMMMMMMMM MMMMMMMMMMMMWXx;. .,dKWMMMMMMMMMMMM MMMMMMMMMMMMMMMW0o;. .,oONMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMWKxc'. .':d0NMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMWN0xo:,.. ..':lx0NWMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMWN0xo:'.. ..';lx0XWMMMMMMMMMMMMMMMMMMMMMMMMMM */ /** * -------------------------------------------------------------------------------- * * LIVE LIFE ON THE LEFT CURVE * * WEBSITE: https://onlyapes.xyz/ * TWITTER: https://twitter.com/OnlyApesxyz * TELEGRAM: https://t.me/OnlyApes * * -------------------------------------------------------------------------------- * * @title LP Holder * @notice Permanently locks and collects fees from UniV3 LP positions * @author BowTiedPickle * * -------------------------------------------------------------------------------- */ contract BlastLpHolder is ERC721Holder, Ownable { //////////////////////////////////////////////////////////////////////////////// // CONSTANTS AND IMMUTABLES //////////////////////////////////////////////////////////////////////////////// INonfungiblePositionManager public immutable UNISWAP_V3_NFT_MANAGER; //////////////////////////////////////////////////////////////////////////////// // STATE //////////////////////////////////////////////////////////////////////////////// /// @notice Receives fees collected from UniV3 LP positions address public feeReceiver; //////////////////////////////////////////////////////////////////////////////// // CONSTRUCTION AND INITIALIZATION //////////////////////////////////////////////////////////////////////////////// constructor(address _nftManager, address _feeReceiver) Ownable(msg.sender) { if (_nftManager == address(0) || _feeReceiver == address(0)) revert LpHolder__ZeroAddress(); UNISWAP_V3_NFT_MANAGER = INonfungiblePositionManager(_nftManager); feeReceiver = _feeReceiver; BlastLib.initialize(); } //////////////////////////////////////////////////////////////////////////////// // FEE MANAGEMENT //////////////////////////////////////////////////////////////////////////////// /** * @notice Collect fees from UniV3 LP positions * @param tokenIds Array of token IDs to collect fees from */ function collectFees(uint256[] calldata tokenIds) external { if (tokenIds.length == 0) revert LpHolder__ZeroLength(); INonfungiblePositionManager.CollectParams memory params = INonfungiblePositionManager.CollectParams({ tokenId: 0, recipient: feeReceiver, amount0Max: type(uint128).max, amount1Max: type(uint128).max }); for (uint256 i; i < tokenIds.length; ) { params.tokenId = tokenIds[i]; UNISWAP_V3_NFT_MANAGER.collect(params); unchecked { ++i; } } } /** * @notice Sweep tokens from the contract * @param token Token to sweep */ // slither-disable-next-line unchecked-transfer function sweep(address token) external onlyOwner { IERC20(token).transfer(feeReceiver, IERC20(token).balanceOf(address(this))); } //////////////////////////////////////////////////////////////////////////////// // ADMINISTRATION //////////////////////////////////////////////////////////////////////////////// /** * @notice Set the fee receiver * @param _feeReceiver New fee receiver */ function setFeeReceiver(address _feeReceiver) external onlyOwner { if (_feeReceiver == address(0)) revert LpHolder__ZeroAddress(); emit FeeReceiverSet(_feeReceiver, feeReceiver); feeReceiver = _feeReceiver; } //////////////////////////////////////////////////////////////////////////////// // EVENTS //////////////////////////////////////////////////////////////////////////////// event FeeReceiverSet(address newFeeReceiver, address oldFeeReceiver); //////////////////////////////////////////////////////////////////////////////// // ERRORS //////////////////////////////////////////////////////////////////////////////// error LpHolder__ZeroAddress(); error LpHolder__ZeroLength(); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/utils/ERC721Holder.sol) pragma solidity ^0.8.20; import {IERC721Receiver} from "../IERC721Receiver.sol"; /** * @dev Implementation of the {IERC721Receiver} interface. * * Accepts all token transfers. * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or * {IERC721-setApprovalForAll}. */ abstract contract ERC721Holder is IERC721Receiver { /** * @dev See {IERC721Receiver-onERC721Received}. * * Always returns `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received(address, address, uint256, bytes memory) public virtual returns (bytes4) { return this.onERC721Received.selector; } }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity 0.8.20; pragma abicoder v2; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@uniswap/v3-periphery/contracts/interfaces/IPoolInitializer.sol"; import "@uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol"; import "@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol"; import "@uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.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 { IBlast, IBlastPoints } from "../external/IBlast.sol"; library BlastLib { IBlast internal constant BLAST = IBlast(0x4300000000000000000000000000000000000002); IBlastPoints internal constant BLAST_POINTS = IBlastPoints(0x2536FE9ab3F511540F2f9e2eC2A805005C3Dd800); address internal constant GOVERNOR = 0xF93A4928Fdaf4950D4669C3E7C786F73FDCC3239; function initialize() internal { BLAST.configureClaimableYield(); BLAST_POINTS.configurePointsOperator(GOVERNOR); BLAST.configureClaimableGas(); BLAST.configureGovernor(GOVERNOR); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.20; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be * reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.20; import { IERC721 } from "../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 // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.20; import {IERC721} from "../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); /** * @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: MIT pragma solidity ^0.8.20; enum YieldMode { AUTOMATIC, VOID, CLAIMABLE } enum GasMode { VOID, CLAIMABLE } interface IYield { function configure(address contractAddress, uint8 flags) external returns (uint256); function claim(address contractAddress, address recipientOfYield, uint256 desiredAmount) external returns (uint256); function getClaimableAmount(address contractAddress) external view returns (uint256); function getConfiguration(address contractAddress) external view returns (uint8); } interface IBlastPoints { function configurePointsOperator(address operator) external; function configurePointsOperatorOnBehalf(address contractAddress, address operator) external; function operators(address contractAddress) external returns (address operator); } interface IBlast { // configure function configureContract(address contractAddress, YieldMode _yield, GasMode gasMode, address governor) external; function configure(YieldMode _yield, GasMode gasMode, address governor) external; // base configuration options function configureClaimableYield() external; function configureClaimableYieldOnBehalf(address contractAddress) external; function configureAutomaticYield() external; function configureAutomaticYieldOnBehalf(address contractAddress) external; function configureVoidYield() external; function configureVoidYieldOnBehalf(address contractAddress) external; function configureClaimableGas() external; function configureClaimableGasOnBehalf(address contractAddress) external; function configureVoidGas() external; function configureVoidGasOnBehalf(address contractAddress) external; function configureGovernor(address _governor) external; function configureGovernorOnBehalf(address _newGovernor, address contractAddress) external; // claim yield function claimYield(address contractAddress, address recipientOfYield, uint256 amount) external returns (uint256); function claimAllYield(address contractAddress, address recipientOfYield) external returns (uint256); // claim gas function claimAllGas(address contractAddress, address recipientOfGas) external returns (uint256); function claimGasAtMinClaimRate(address contractAddress, address recipientOfGas, uint256 minClaimRateBips) external returns (uint256); function claimMaxGas(address contractAddress, address recipientOfGas) external returns (uint256); function claimGas( address contractAddress, address recipientOfGas, uint256 gasToClaim, uint256 gasSecondsToConsume ) external returns (uint256); // read functions function readClaimableYield(address contractAddress) external view returns (uint256); function readYieldConfiguration(address contractAddress) external view returns (uint8); function readGasParams( address contractAddress ) external view returns (uint256 etherSeconds, uint256 etherBalance, uint256 lastUpdated, GasMode); // Operator function governorMap(address contractAddress) external returns (address governor); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.20; import {IERC165} from "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 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 ERC721 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 ERC721 * 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.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * 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[EIP 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": [ "@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/", "@openzeppelin/contracts-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/", "@prb/test/=node_modules/@prb/test/", "forge-std/=node_modules/forge-std/", "@uniswap/v3-core/=node_modules/@uniswap/v3-core/", "@uniswap/v3-periphery/=node_modules/@uniswap/v3-periphery/", "@chainlink/=node_modules/@chainlink/", "@eth-optimism/=node_modules/@eth-optimism/", "@scroll-tech/=node_modules/@scroll-tech/", "base64-sol/=node_modules/base64-sol/" ], "optimizer": { "enabled": true, "runs": 10000 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "none", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "viaIR": false, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_nftManager","type":"address"},{"internalType":"address","name":"_feeReceiver","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"LpHolder__ZeroAddress","type":"error"},{"inputs":[],"name":"LpHolder__ZeroLength","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newFeeReceiver","type":"address"},{"indexed":false,"internalType":"address","name":"oldFeeReceiver","type":"address"}],"name":"FeeReceiverSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"UNISWAP_V3_NFT_MANAGER","outputs":[{"internalType":"contract INonfungiblePositionManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"collectFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeReceiver","type":"address"}],"name":"setFeeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"sweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405234801561001057600080fd5b5060405162000cde38038062000cde833981016040819052610031916102fc565b338061005757604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b610060816100d0565b506001600160a01b038216158061007e57506001600160a01b038116155b1561009c576040516317d9c99760e31b815260040160405180910390fd5b6001600160a01b03828116608052600180546001600160a01b0319169183169190911790556100c9610120565b505061032f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b7343000000000000000000000000000000000000026001600160a01b031663f098767a6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561016f57600080fd5b505af1158015610183573d6000803e3d6000fd5b50506040516336b91f2b60e01b815273f93a4928fdaf4950d4669c3e7c786f73fdcc32396004820152732536fe9ab3f511540f2f9e2ec2a805005c3dd80092506336b91f2b9150602401600060405180830381600087803b1580156101e757600080fd5b505af11580156101fb573d6000803e3d6000fd5b505050507343000000000000000000000000000000000000026001600160a01b0316634e606c476040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561024e57600080fd5b505af1158015610262573d6000803e3d6000fd5b5050604051631d70c8d360e31b815273f93a4928fdaf4950d4669c3e7c786f73fdcc32396004820152734300000000000000000000000000000000000002925063eb8646989150602401600060405180830381600087803b1580156102c657600080fd5b505af11580156102da573d6000803e3d6000fd5b50505050565b80516001600160a01b03811681146102f757600080fd5b919050565b6000806040838503121561030f57600080fd5b610318836102e0565b9150610326602084016102e0565b90509250929050565b60805161098c62000352600039600081816101a90152610457015261098c6000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c80638da5cb5b11610076578063c0127c3d1161005b578063c0127c3d146101a4578063efdcd974146101cb578063f2fde38b146101de57600080fd5b80638da5cb5b14610145578063b3f006741461018457600080fd5b806301681a62146100a8578063150b7a02146100bd5780631f2a2e461461012a578063715018a61461013d575b600080fd5b6100bb6100b6366004610731565b6101f1565b005b6100f46100cb366004610782565b7f150b7a0200000000000000000000000000000000000000000000000000000000949350505050565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b6100bb61013836600461087c565b61032e565b6100bb6104d3565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610121565b60015461015f9073ffffffffffffffffffffffffffffffffffffffff1681565b61015f7f000000000000000000000000000000000000000000000000000000000000000081565b6100bb6101d9366004610731565b6104e7565b6100bb6101ec366004610731565b6105d7565b6101f9610640565b6001546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8381169263a9059cbb9291169083906370a0823190602401602060405180830381865afa158015610272573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061029691906108f1565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303816000875af1158015610306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032a919061090a565b5050565b6000819003610369576040517fc3115b0f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051608081018252600080825260015473ffffffffffffffffffffffffffffffffffffffff1660208301526fffffffffffffffffffffffffffffffff9282018390526060820192909252905b828110156104cd578383828181106103d1576103d161092c565b60209081029290920135845250604080517ffc6f7865000000000000000000000000000000000000000000000000000000008152845160048201529184015173ffffffffffffffffffffffffffffffffffffffff9081166024840152908401516fffffffffffffffffffffffffffffffff908116604484015260608501511660648301527f0000000000000000000000000000000000000000000000000000000000000000169063fc6f78659060840160408051808303816000875af115801561049f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c3919061095b565b50506001016103b7565b50505050565b6104db610640565b6104e56000610693565b565b6104ef610640565b73ffffffffffffffffffffffffffffffffffffffff811661053c576040517fbece4cb800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001546040805173ffffffffffffffffffffffffffffffffffffffff808516825290921660208301527f49bc8f1c292131e71bfca22660d0716072ff2442b58d72840474dd83a390411c910160405180910390a1600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6105df610640565b73ffffffffffffffffffffffffffffffffffffffff8116610634576040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600060048201526024015b60405180910390fd5b61063d81610693565b50565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104e5576040517f118cdaa700000000000000000000000000000000000000000000000000000000815233600482015260240161062b565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461072c57600080fd5b919050565b60006020828403121561074357600080fd5b61074c82610708565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806000806080858703121561079857600080fd5b6107a185610708565b93506107af60208601610708565b925060408501359150606085013567ffffffffffffffff808211156107d357600080fd5b818701915087601f8301126107e757600080fd5b8135818111156107f9576107f9610753565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561083f5761083f610753565b816040528281528a602084870101111561085857600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806020838503121561088f57600080fd5b823567ffffffffffffffff808211156108a757600080fd5b818501915085601f8301126108bb57600080fd5b8135818111156108ca57600080fd5b8660208260051b85010111156108df57600080fd5b60209290920196919550909350505050565b60006020828403121561090357600080fd5b5051919050565b60006020828403121561091c57600080fd5b8151801515811461074c57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000806040838503121561096e57600080fd5b50508051602090910151909290915056fea164736f6c6343000814000a000000000000000000000000434575eaea081b735c985fa9bf63cd7b87e227f90000000000000000000000001c6ca350cbcaad336eaab9a8b083bd9ba0c75673
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100a35760003560e01c80638da5cb5b11610076578063c0127c3d1161005b578063c0127c3d146101a4578063efdcd974146101cb578063f2fde38b146101de57600080fd5b80638da5cb5b14610145578063b3f006741461018457600080fd5b806301681a62146100a8578063150b7a02146100bd5780631f2a2e461461012a578063715018a61461013d575b600080fd5b6100bb6100b6366004610731565b6101f1565b005b6100f46100cb366004610782565b7f150b7a0200000000000000000000000000000000000000000000000000000000949350505050565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b6100bb61013836600461087c565b61032e565b6100bb6104d3565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610121565b60015461015f9073ffffffffffffffffffffffffffffffffffffffff1681565b61015f7f000000000000000000000000434575eaea081b735c985fa9bf63cd7b87e227f981565b6100bb6101d9366004610731565b6104e7565b6100bb6101ec366004610731565b6105d7565b6101f9610640565b6001546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8381169263a9059cbb9291169083906370a0823190602401602060405180830381865afa158015610272573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061029691906108f1565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303816000875af1158015610306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032a919061090a565b5050565b6000819003610369576040517fc3115b0f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051608081018252600080825260015473ffffffffffffffffffffffffffffffffffffffff1660208301526fffffffffffffffffffffffffffffffff9282018390526060820192909252905b828110156104cd578383828181106103d1576103d161092c565b60209081029290920135845250604080517ffc6f7865000000000000000000000000000000000000000000000000000000008152845160048201529184015173ffffffffffffffffffffffffffffffffffffffff9081166024840152908401516fffffffffffffffffffffffffffffffff908116604484015260608501511660648301527f000000000000000000000000434575eaea081b735c985fa9bf63cd7b87e227f9169063fc6f78659060840160408051808303816000875af115801561049f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c3919061095b565b50506001016103b7565b50505050565b6104db610640565b6104e56000610693565b565b6104ef610640565b73ffffffffffffffffffffffffffffffffffffffff811661053c576040517fbece4cb800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001546040805173ffffffffffffffffffffffffffffffffffffffff808516825290921660208301527f49bc8f1c292131e71bfca22660d0716072ff2442b58d72840474dd83a390411c910160405180910390a1600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6105df610640565b73ffffffffffffffffffffffffffffffffffffffff8116610634576040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600060048201526024015b60405180910390fd5b61063d81610693565b50565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104e5576040517f118cdaa700000000000000000000000000000000000000000000000000000000815233600482015260240161062b565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461072c57600080fd5b919050565b60006020828403121561074357600080fd5b61074c82610708565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806000806080858703121561079857600080fd5b6107a185610708565b93506107af60208601610708565b925060408501359150606085013567ffffffffffffffff808211156107d357600080fd5b818701915087601f8301126107e757600080fd5b8135818111156107f9576107f9610753565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561083f5761083f610753565b816040528281528a602084870101111561085857600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806020838503121561088f57600080fd5b823567ffffffffffffffff808211156108a757600080fd5b818501915085601f8301126108bb57600080fd5b8135818111156108ca57600080fd5b8660208260051b85010111156108df57600080fd5b60209290920196919550909350505050565b60006020828403121561090357600080fd5b5051919050565b60006020828403121561091c57600080fd5b8151801515811461074c57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000806040838503121561096e57600080fd5b50508051602090910151909290915056fea164736f6c6343000814000a
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000434575eaea081b735c985fa9bf63cd7b87e227f90000000000000000000000001c6ca350cbcaad336eaab9a8b083bd9ba0c75673
-----Decoded View---------------
Arg [0] : _nftManager (address): 0x434575EaEa081b735C985FA9bf63CD7b87e227F9
Arg [1] : _feeReceiver (address): 0x1C6CA350cBCAad336eAab9a8b083Bd9BA0c75673
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000434575eaea081b735c985fa9bf63cd7b87e227f9
Arg [1] : 0000000000000000000000001c6ca350cbcaad336eaab9a8b083bd9ba0c75673
Loading...
Loading
Loading...
Loading
[ 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.