Overview
S Balance
0 S
S Value
-More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer Ownersh... | 2064456 | 46 hrs ago | IN | 0 S | 0.00003214 |
Loading...
Loading
Contract Name:
DxLockLPV3DepLPFee
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Standard Json-Input format)
/** * @title DXLock - Empowering Trust through Token Locking * @dev Secure, User-Friendly Smart Contract to Lock Liquidity and Regular Tokens. * * 🚀 Introduction: * Welcome to DXLock, the pinnacle of token locking on the blockchain! Developed with passion and precision, * DXLock stands out as a beacon of trust and commitment in the crypto world. This smart contract is meticulously * crafted to lock both liquidity tokens and regular ERC20 tokens, ensuring a secure and transparent environment * for your assets. * * 🌐 Visit DXLock: * Dive deeper into the world of DXLock by visiting our platform at [dx.app]( https://dx.app). Discover a treasure trove of features, * tutorials, and support to elevate your token locking experience! * * 💡 Features: * 1. **Liquidity Locking**: Cement your project's credibility by locking liquidity tokens. Show the world that you're here to stay! * 2. **Token Locking**: Not just for liquidity! Lock any ERC20 tokens with ease and confidence. * 3. **Time-locked Security**: Your tokens are safe and sound until the predetermined unlock time hits the clock. * 4. **Transparent and Trustworthy**: Open-source and audited, DXLock is a fortress of reliability. * * 🛡️ Security: * Your trust is our top priority. DXLock is fortified with industry-leading security practices to shield your assets * and ensure a seamless experience. Though thorough audits have been conducted, we encourage users to do their own * research and verify the contract's integrity before engaging. * * 📖 How to Use: * Engaging with DXLock is a breeze! Simply deposit your tokens, set the lock duration, and rest easy knowing * your assets are in good hands. Once the lock period concludes, withdrawing is just a click away. * * 👥 Community and Support: * Join our vibrant community and connect with the DXLock team and fellow users! Your feedback and questions are invaluable * to us, as we continually strive to enhance DXLock’s functionality and user experience. * * 📜 License: * DXLock is proudly released under the MIT License. We believe in openness and the power of community-driven innovation. * * @author The DXLock Team * @notice Utilize DXLock at your own discretion. We’ve done everything to ensure its security, but the final responsibility lies with the user. */ // SPDX-License-Identifier: MIT pragma solidity 0.8.17; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; interface decentralizedStorage { function addNewLock( address _lpAddress, uint256 _locktime, address _lockContract, uint256 _tokenAmount, string memory _logo ) external; function extendLockerTime( uint256 _userLockerNumber, uint256 _newLockTime ) external; function transferLocker( address _newOwner, uint256 _userLockerNumber ) external; function unlockLocker(uint256 _userLockerNumber) external; function changeLogo( string memory _newLogo, uint256 _userLockerNumber ) external; function getPersonalLockerCount(address _owner) external returns (uint256); function getBurnContractAddress() external view returns (address); } interface ReferralContract { function getDiscountedPrice(string memory _code) external returns (uint256); function validateCode(string memory _code) external returns (bool); function fetchCodeOwner(string memory _code) external returns (address); function fetchCodeOwnerPercentage( string memory _code ) external returns (uint256); function updateReferrerAmounts( address _referrer, uint256 _updateAmount ) external returns (bool); function updateCodeUseNumber( string memory _code, address _presaleAddress ) external returns (bool); } interface INonfungiblePositionManager { function approve(address to, uint256 tokenId) external; function safeTransferFrom( address from, address to, uint256 tokenId ) external; struct MintParams { address token0; address token1; uint24 fee; int24 tickLower; int24 tickUpper; uint256 amount0Desired; uint256 amount1Desired; uint256 amount0Min; uint256 amount1Min; address recipient; uint256 deadline; } function mint( MintParams calldata params ) external payable returns ( uint256 tokenId, uint128 liquidity, uint256 amount0, uint256 amount1 ); struct Position { uint96 nonce; address operator; address token0; address token1; uint24 fee; int24 tickLower; int24 tickUpper; uint128 liquidity; uint256 feeGrowthInside0LastX128; uint256 feeGrowthInside1LastX128; uint128 tokensOwed0; uint128 tokensOwed1; } 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 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; } function collect( CollectParams calldata params ) external payable returns (uint256 amount0, uint256 amount1); function factory() external view returns (address); function burn(uint256 tokenId) external payable; } contract PersonalLPv3LockerLPFee is IERC721Receiver, Ownable, ReentrancyGuard { uint256 public LockerType = 4; uint256 public personalLockerCount; address public storagePersonal; uint256 public LockExpireTimestamp; uint256 public LockerCreationTimestamp; uint256 public tokenId; bool public tokenWithdrawn; address internal feeDeposit; uint256 public relockFee; uint256 public collectFee; bool public relockAfterExpire = true; INonfungiblePositionManager public immutable nftPositionManager; uint256 public constant FEE_DENOMINATOR = 10000; // denominator for lp fees constructor( address _lockTokenAddress, uint256 _tokenId, uint256 _lockTimeEnd, uint256 _personalLockerCount, address _lockerStorage, uint256 _collectFee, uint256 _relockFee, address _feeDeposit ) { require( _lockTimeEnd > (block.timestamp + 600), "Please lock longer than now" ); nftPositionManager = INonfungiblePositionManager(_lockTokenAddress); tokenId = _tokenId; LockExpireTimestamp = _lockTimeEnd; personalLockerCount = _personalLockerCount; storagePersonal = _lockerStorage; LockerCreationTimestamp = block.timestamp; collectFee = _collectFee; relockFee = _relockFee; feeDeposit = _feeDeposit; _transferOwnership(tx.origin); } receive() external payable {} function changeLogo(string memory _logo) external onlyOwner { decentralizedStorage(storagePersonal).changeLogo( _logo, personalLockerCount ); } function CheckLockedTokenId() public view returns (uint256) { return tokenId; } function ExtendPersonalLocker( uint256 _newLockTime ) external payable nonReentrant onlyOwner { require( LockExpireTimestamp < _newLockTime, "You cant reduce locktime..." ); require( block.timestamp < _newLockTime, "You cant extend locktime in the past" ); require(!tokenWithdrawn, "Tokens were already withdrawn"); (, , uint128 liquidity) = _getLPTokensAndLiquidity(); _takeRelockLPFee(liquidity); LockExpireTimestamp = _newLockTime; decentralizedStorage(storagePersonal).extendLockerTime( LockExpireTimestamp, personalLockerCount ); } function _takeRelockLPFee(uint128 liquidity) internal { nftPositionManager.decreaseLiquidity( INonfungiblePositionManager.DecreaseLiquidityParams( tokenId, uint128((liquidity * relockFee) / FEE_DENOMINATOR), 0, 0, block.timestamp ) ); nftPositionManager.collect( INonfungiblePositionManager.CollectParams( tokenId, feeDeposit, type(uint128).max, type(uint128).max ) ); } function _getLPTokensAndLiquidity() internal view returns (address token0, address token1, uint128 liquidity) { (, , token0, token1, , , , liquidity, , , , ) = nftPositionManager .positions(tokenId); } function transferOwnership(address _newOwner) public override onlyOwner { _transferOwnership(_newOwner); decentralizedStorage(storagePersonal).transferLocker( _newOwner, personalLockerCount ); } function unlockTokenAfterTimestamp() external onlyOwner nonReentrant { require( block.timestamp >= LockExpireTimestamp, "Token is still Locked" ); IERC721(address(nftPositionManager)).safeTransferFrom( address(this), owner(), tokenId ); if (!tokenWithdrawn) { decentralizedStorage(storagePersonal).unlockLocker( personalLockerCount ); tokenWithdrawn = true; } } /** * @dev Collect fees to _recipient if msg.sender is the owner of tokenId */ function collect() external nonReentrant onlyOwner returns (uint256 amount0, uint256 amount1, uint256 fee0, uint256 fee1) { (amount0, amount1, fee0, fee1) = _collect(); } function _collect() private returns (uint256 amount0, uint256 amount1, uint256 fee0, uint256 fee1) { if (collectFee == 0) { (amount0, amount1) = nftPositionManager.collect( INonfungiblePositionManager.CollectParams( tokenId, owner(), type(uint128).max, type(uint128).max ) ); } else { (address token0, address token1, ) = _getLPTokensAndLiquidity(); nftPositionManager.collect( INonfungiblePositionManager.CollectParams( tokenId, address(this), type(uint128).max, type(uint128).max ) ); uint256 balance0 = IERC20(token0).balanceOf(address(this)); uint256 balance1 = IERC20(token1).balanceOf(address(this)); address feeTo = feeDeposit; address remainderTo = owner(); if (balance0 > 0) { fee0 = (balance0 * collectFee) / FEE_DENOMINATOR; require( IERC20(token0).transfer(feeTo, fee0), "erc20 transfer failed" ); amount0 = balance0 - fee0; require( IERC20(token0).transfer(remainderTo, amount0), "erc20 transfer failed" ); } if (balance1 > 0) { fee1 = (balance1 * collectFee) / FEE_DENOMINATOR; require( IERC20(token1).transfer(feeTo, fee1), "erc20 transfer failed" ); amount1 = balance1 - fee1; require( IERC20(token1).transfer(remainderTo, amount1), "erc20 transfer failed" ); } } } function withdrawNativeToken( address payable user ) public onlyOwner nonReentrant { require(user != address(0), "zero address"); Address.sendValue(user, address(this).balance); } function withdrawStuckCurrency( address payable user, address _token ) external onlyOwner nonReentrant { uint256 amount = IERC20(_token).balanceOf(address(this)); IERC20(_token).transfer(user, amount); } function onERC721Received( address, address, uint256, bytes calldata ) external override returns (bytes4) { return this.onERC721Received.selector; } } contract DxLockLPV3DepLPFee is Ownable, ReentrancyGuard, IERC721Receiver { uint256 public constant FEE_DENOMINATOR = 10000; // denominator for lp fees uint256 public constant HUNDRED = 100; address public PersonalLockerStorage; address public referralDappAddr; bool public referralDisabled; string public dappFeeName = "dxlockFeesTokenLPv3v2"; uint256 public lpFee = 1; uint256 public collectFee = 1; uint256 public relockFee = 1; address public tokenFeeAddress = 0xb44ea272f317E379567Ce54Acd94a2891597024E; address[] public LockerContractStorage; mapping(address => bool) public whitelistedNFTPositionManagers; constructor(address _lockerStorage, address _referralContract) { PersonalLockerStorage = _lockerStorage; referralDappAddr = _referralContract; } function whitelistNFTPositionManager( address _nftPositionManager ) external onlyOwner { require(_nftPositionManager != address(0), "address(0)"); require( !whitelistedNFTPositionManagers[_nftPositionManager], "already whitelisted" ); whitelistedNFTPositionManagers[_nftPositionManager] = true; } function blacklistNFTPositionManager( address _nftPositionManager ) external onlyOwner { require(_nftPositionManager != address(0), "address(0)"); require( whitelistedNFTPositionManagers[_nftPositionManager], "not whitelisted" ); whitelistedNFTPositionManagers[_nftPositionManager] = false; } function createLPLocker( INonfungiblePositionManager _nftPositionManager, uint256 _tokenId, uint256 _lockerEndTimeStamp, string memory _logo, string memory _referralCode ) public nonReentrant returns (address newLock) { require(address(_nftPositionManager) != address(0), "address(0)"); require(address(referralDappAddr) != address(0), "address(0)"); require(address(PersonalLockerStorage) != address(0), "address(0)"); require( whitelistedNFTPositionManagers[address(_nftPositionManager)], "not whitelisted NFTPositionManager" ); require(_tokenId != 0, "invalid tokenId"); ( address token0, address token1, uint128 liquidity ) = _getLPTokensAndLiquidity(_nftPositionManager, _tokenId); if (lpFee > 0) { uint256 balance0 = IERC20(token0).balanceOf(address(this)); uint256 balance1 = IERC20(token1).balanceOf(address(this)); _takeLPFee((_nftPositionManager), _tokenId, liquidity); uint256 balance0After = IERC20(token0).balanceOf(address(this)); uint256 balance1After = IERC20(token1).balanceOf(address(this)); _distributeReferralFee( _referralCode, token0, token1, balance0After - balance0, balance1After - balance1 ); _sendLPFeeToFeeAddress(token0, token1); } address lock = _createLockerAndLockNFT( address(_nftPositionManager), _tokenId, _lockerEndTimeStamp, _logo ); if (!referralDisabled) { require( ReferralContract(referralDappAddr).updateCodeUseNumber( _referralCode, address(lock) ), "code use update failed" ); } return address(lock); } function _takeLPFee( INonfungiblePositionManager nftPositionManager, uint256 tokenId, uint128 liquidity ) internal { IERC721(address(nftPositionManager)).safeTransferFrom( msg.sender, address(this), tokenId, "" ); nftPositionManager.decreaseLiquidity( INonfungiblePositionManager.DecreaseLiquidityParams( tokenId, uint128((liquidity * lpFee) / FEE_DENOMINATOR), 0, 0, block.timestamp ) ); nftPositionManager.collect( INonfungiblePositionManager.CollectParams( tokenId, address(this), type(uint128).max, type(uint128).max ) ); } function _distributeReferralFee( string memory _referralCode, address token0, address token1, uint256 amount0, uint256 amount1 ) internal { bytes32 referralCode = keccak256(abi.encodePacked(_referralCode)); bytes32 defaultReferralCode = keccak256(abi.encodePacked("default")); if (referralDisabled) { require( referralCode == defaultReferralCode, "only default code allowed" ); } if (referralCode != defaultReferralCode) { require( ReferralContract(referralDappAddr).validateCode(_referralCode), "invalid discount code" ); uint256 referrerPerc = ReferralContract(referralDappAddr) .fetchCodeOwnerPercentage(_referralCode); address referrerAddress = ReferralContract(referralDappAddr) .fetchCodeOwner(_referralCode); uint256 referrerToken0Amount = ((amount0) * (referrerPerc)) / HUNDRED; uint256 referrerToken1Amount = ((amount1) * (referrerPerc)) / HUNDRED; if (referrerToken0Amount > 0) { require( IERC20(token0).transfer( referrerAddress, referrerToken0Amount ), "erc20 transfer failed" ); } if (referrerToken1Amount > 0) { require( IERC20(token1).transfer( referrerAddress, referrerToken1Amount ), "erc20 transfer failed" ); } } } function _sendLPFeeToFeeAddress(address token0, address token1) internal { require( IERC20(token0).transfer( tokenFeeAddress, IERC20(token0).balanceOf(address(this)) ), "erc20 transfer failed" ); require( IERC20(token1).transfer( tokenFeeAddress, IERC20(token1).balanceOf(address(this)) ), "erc20 transfer failed" ); } function _createLockerAndLockNFT( address _lockingToken, uint256 _tokenId, uint256 _lockerEndTimeStamp, string memory _logo ) internal returns (address lock) { uint256 _counter = decentralizedStorage(PersonalLockerStorage) .getPersonalLockerCount(msg.sender); PersonalLPv3LockerLPFee createNewLock; createNewLock = new PersonalLPv3LockerLPFee( _lockingToken, _tokenId, _lockerEndTimeStamp, _counter, PersonalLockerStorage, collectFee, relockFee, tokenFeeAddress ); IERC721(_lockingToken).safeTransferFrom( address(this), address(createNewLock), _tokenId, "" ); decentralizedStorage(PersonalLockerStorage).addNewLock( _lockingToken, _lockerEndTimeStamp, address(createNewLock), _tokenId, _logo ); LockerContractStorage.push(address(createNewLock)); return address(createNewLock); } function changeStorageContract(address _lockerStorage) external onlyOwner { PersonalLockerStorage = _lockerStorage; } function changeReferralContract( address _newRefContract ) external onlyOwner { referralDappAddr = _newRefContract; } function disableReferral() external onlyOwner { require(!referralDisabled, "referral already disabled"); referralDisabled = true; } function enableReferral() external onlyOwner { require(referralDisabled, "referral already enabled"); referralDisabled = false; } function changeLPFee(uint256 _lpFee) external onlyOwner { require(_lpFee <= 10, "LP fee out of bounds"); lpFee = _lpFee; } function changeRelockFee(uint256 _relockFee) external onlyOwner { require(_relockFee <= 10, "Relock fee out of bounds"); relockFee = _relockFee; } function changeCollectFee(uint256 _collectFee) external onlyOwner { require(_collectFee <= 10, "Collect fee out of bounds"); collectFee = _collectFee; } function changeTokenFeeAddress(address _feeAddress) external onlyOwner { require( _feeAddress != address(0), "token fee address cannot be zero address" ); tokenFeeAddress = _feeAddress; } function updateFeesName(string memory _newFeesName) external onlyOwner { dappFeeName = _newFeesName; } function _getLPTokensAndLiquidity( INonfungiblePositionManager nftPositionManager, uint256 tokenId ) internal view returns (address token0, address token1, uint128 liquidity) { (, , token0, token1, , , , liquidity, , , , ) = nftPositionManager .positions(tokenId); } function getLockerCount() public view returns (uint256 isSize) { return LockerContractStorage.length; } function getAllLockers() public view returns (address[] memory) { address[] memory allTokens = new address[]( LockerContractStorage.length ); for (uint256 i = 0; i < LockerContractStorage.length; i++) { allTokens[i] = LockerContractStorage[i]; } return allTokens; } function withdrawNativeToken( address payable user ) public onlyOwner nonReentrant { require(user != address(0), "zero address"); Address.sendValue(user, address(this).balance); } function withdrawStuckCurrency( address user, address _token ) external onlyOwner nonReentrant { require(user != address(0), "zero address"); IERC20 token = IERC20(_token); require( token.transfer(user, token.balanceOf(address(this))), "token transfer failed" ); } function onERC721Received( address, address, uint256, bytes calldata ) external override returns (bytes4) { return this.onERC721Received.selector; } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../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. * * By default, the owner account will be the one that deploys the contract. 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; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @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 { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); _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 v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @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 amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` 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 amount) 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 `amount` 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 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` 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 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../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 caller. * * 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 v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @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 v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 1 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_lockerStorage","type":"address"},{"internalType":"address","name":"_referralContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"FEE_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HUNDRED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"LockerContractStorage","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PersonalLockerStorage","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_nftPositionManager","type":"address"}],"name":"blacklistNFTPositionManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_collectFee","type":"uint256"}],"name":"changeCollectFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lpFee","type":"uint256"}],"name":"changeLPFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newRefContract","type":"address"}],"name":"changeReferralContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_relockFee","type":"uint256"}],"name":"changeRelockFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_lockerStorage","type":"address"}],"name":"changeStorageContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"changeTokenFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collectFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract INonfungiblePositionManager","name":"_nftPositionManager","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_lockerEndTimeStamp","type":"uint256"},{"internalType":"string","name":"_logo","type":"string"},{"internalType":"string","name":"_referralCode","type":"string"}],"name":"createLPLocker","outputs":[{"internalType":"address","name":"newLock","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dappFeeName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableReferral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableReferral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllLockers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLockerCount","outputs":[{"internalType":"uint256","name":"isSize","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"referralDappAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"relockFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenFeeAddress","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":[{"internalType":"string","name":"_newFeesName","type":"string"}],"name":"updateFeesName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_nftPositionManager","type":"address"}],"name":"whitelistNFTPositionManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedNFTPositionManagers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"user","type":"address"}],"name":"withdrawNativeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"_token","type":"address"}],"name":"withdrawStuckCurrency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052601560809081527f64786c6f636b46656573546f6b656e4c5076337632000000000000000000000060a0526004906200003e9082620001da565b50600160058190556006819055600755600880546001600160a01b03191673b44ea272f317e379567ce54acd94a2891597024e1790553480156200008157600080fd5b506040516200475438038062004754833981016040819052620000a491620002c3565b620000af33620000e5565b60018055600280546001600160a01b039384166001600160a01b03199182161790915560038054929093169116179055620002fb565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200016057607f821691505b6020821081036200018157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001d557600081815260208120601f850160051c81016020861015620001b05750805b601f850160051c820191505b81811015620001d157828155600101620001bc565b5050505b505050565b81516001600160401b03811115620001f657620001f662000135565b6200020e816200020784546200014b565b8462000187565b602080601f8311600181146200024657600084156200022d5750858301515b600019600386901b1c1916600185901b178555620001d1565b600085815260208120601f198616915b82811015620002775788860151825594840194600190910190840162000256565b5085821015620002965787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80516001600160a01b0381168114620002be57600080fd5b919050565b60008060408385031215620002d757600080fd5b620002e283620002a6565b9150620002f260208401620002a6565b90509250929050565b614449806200030b6000396000f3fe608060405260043610620001985760003560e01c80630691285214620001a557806309c4a8d614620001cc578063150b7a0214620002065780632a6abf2814620002455780634055f612146200026a5780634503a6d3146200028c57806355d3393814620002a45780636084a92714620002c95780636371821414620002eb57806363a4f2f2146200031057806369f5ef4a1462000337578063704ce43e146200036b578063715018a614620003925780637d06b7fd14620003aa5780638da5cb5b14620003c25780639470549014620003da5780639712b5b314620003ff578063b3addb141462000424578063b517da2d1462000449578063b6e48dd3146200046e578063b7fed57e14620004a2578063c56893fb14620004ba578063c946731714620004d1578063d4d5d32a14620004f6578063d73792a9146200050e578063dc521eae1462000526578063e3613cd9146200054b578063e9fe78721462000572578063ec1b39031462000597578063f2fde38b14620005bc578063f7322eaf14620005e1578063f85fc0ab146200060657600080fd5b36620001a057005b600080fd5b348015620001b257600080fd5b50620001ca620001c436600462002091565b6200061d565b005b348015620001d957600080fd5b50600854620001ee906001600160a01b031681565b604051620001fd9190620020b8565b60405180910390f35b3480156200021357600080fd5b506200022b62000225366004620020cc565b620006d6565b6040516001600160e01b03199091168152602001620001fd565b3480156200025257600080fd5b50620001ca6200026436600462002173565b620006e8565b3480156200027757600080fd5b50600354620001ee906001600160a01b031681565b3480156200029957600080fd5b50620001ca62000745565b348015620002b157600080fd5b50620001ca620002c33660046200218d565b620007b4565b348015620002d657600080fd5b50600254620001ee906001600160a01b031681565b348015620002f857600080fd5b50620001ca6200030a36600462002091565b62000929565b3480156200031d57600080fd5b5062000328620009be565b604051620001fd9190620021cb565b3480156200034457600080fd5b506003546200035a90600160a01b900460ff1681565b6040519015158152602001620001fd565b3480156200037857600080fd5b506200038360055481565b604051908152602001620001fd565b3480156200039f57600080fd5b50620001ca62000a98565b348015620003b757600080fd5b50620001ca62000ab0565b348015620003cf57600080fd5b50620001ee62000b27565b348015620003e757600080fd5b50620001ca620003f936600462002091565b62000b36565b3480156200040c57600080fd5b50620001ca6200041e36600462002173565b62000bee565b3480156200043157600080fd5b50620001ca6200044336600462002173565b62000c4c565b3480156200045657600080fd5b50620001ca6200046836600462002091565b62000ca5565b3480156200047b57600080fd5b506200035a6200048d36600462002091565b600a6020526000908152604090205460ff1681565b348015620004af57600080fd5b506200038360075481565b348015620004c757600080fd5b5060095462000383565b348015620004de57600080fd5b50620001ca620004f036600462002091565b62000cd1565b3480156200050357600080fd5b506200038360065481565b3480156200051b57600080fd5b506200038361271081565b3480156200053357600080fd5b50620001ca62000545366004620022c4565b62000cfd565b3480156200055857600080fd5b506200056362000d15565b604051620001fd919062002358565b3480156200057f57600080fd5b50620001ca6200059136600462002091565b62000dab565b348015620005a457600080fd5b50620001ee620005b636600462002173565b62000e01565b348015620005c957600080fd5b50620001ca620005db36600462002091565b62000e2c565b348015620005ee57600080fd5b50620001ee620006003660046200236d565b62000ea8565b3480156200061357600080fd5b5062000383606481565b6200062762001321565b6001600160a01b038116620006595760405162461bcd60e51b81526004016200065090620023ff565b60405180910390fd5b6001600160a01b0381166000908152600a602052604090205460ff16620006b55760405162461bcd60e51b815260206004820152600f60248201526e1b9bdd081dda1a5d195b1a5cdd1959608a1b604482015260640162000650565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b630a85bd0160e11b5b95945050505050565b620006f262001321565b600a811115620007405760405162461bcd60e51b815260206004820152601860248201527752656c6f636b20666565206f7574206f6620626f756e647360401b604482015260640162000650565b600755565b6200074f62001321565b600354600160a01b900460ff16620007a55760405162461bcd60e51b81526020600482015260186024820152771c9959995c9c985b08185b1c9958591e48195b98589b195960421b604482015260640162000650565b6003805460ff60a01b19169055565b620007be62001321565b620007c862001384565b6001600160a01b038216620007f15760405162461bcd60e51b8152600401620006509062002423565b6040516370a0823160e01b815281906001600160a01b0382169063a9059cbb90859083906370a08231906200082b903090600401620020b8565b602060405180830381865afa15801562000849573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200086f919062002449565b6040518363ffffffff1660e01b81526004016200088e92919062002463565b6020604051808303816000875af1158015620008ae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008d491906200247c565b6200091a5760405162461bcd60e51b81526020600482015260156024820152741d1bdad95b881d1c985b9cd9995c8819985a5b1959605a1b604482015260640162000650565b506200092560018055565b5050565b6200093362001321565b6001600160a01b0381166200099c5760405162461bcd60e51b815260206004820152602860248201527f746f6b656e2066656520616464726573732063616e6e6f74206265207a65726f604482015267206164647265737360c01b606482015260840162000650565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6009546060906000906001600160401b03811115620009e157620009e16200221a565b60405190808252806020026020018201604052801562000a0b578160200160208202803683370190505b50905060005b60095481101562000a92576009818154811062000a325762000a32620024a0565b9060005260206000200160009054906101000a90046001600160a01b031682828151811062000a655762000a65620024a0565b6001600160a01b03909216602092830291909101909101528062000a8981620024cc565b91505062000a11565b50919050565b62000aa262001321565b62000aae6000620013df565b565b62000aba62001321565b600354600160a01b900460ff161562000b125760405162461bcd60e51b81526020600482015260196024820152781c9959995c9c985b08185b1c9958591e48191a5cd8589b1959603a1b604482015260640162000650565b6003805460ff60a01b1916600160a01b179055565b6000546001600160a01b031690565b62000b4062001321565b6001600160a01b03811662000b695760405162461bcd60e51b81526004016200065090620023ff565b6001600160a01b0381166000908152600a602052604090205460ff161562000bca5760405162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481dda1a5d195b1a5cdd1959606a1b604482015260640162000650565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b62000bf862001321565b600a81111562000c475760405162461bcd60e51b8152602060048201526019602482015278436f6c6c65637420666565206f7574206f6620626f756e647360381b604482015260640162000650565b600655565b62000c5662001321565b600a81111562000ca05760405162461bcd60e51b81526020600482015260146024820152734c5020666565206f7574206f6620626f756e647360601b604482015260640162000650565b600555565b62000caf62001321565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b62000cdb62001321565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b62000d0762001321565b600462000925828262002570565b6004805462000d2490620024e8565b80601f016020809104026020016040519081016040528092919081815260200182805462000d5290620024e8565b801562000da35780601f1062000d775761010080835404028352916020019162000da3565b820191906000526020600020905b81548152906001019060200180831162000d8557829003601f168201915b505050505081565b62000db562001321565b62000dbf62001384565b6001600160a01b03811662000de85760405162461bcd60e51b8152600401620006509062002423565b62000df481476200142f565b62000dfe60018055565b50565b6009818154811062000e1257600080fd5b6000918252602090912001546001600160a01b0316905081565b62000e3662001321565b6001600160a01b03811662000e9d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000650565b62000dfe81620013df565b600062000eb462001384565b6001600160a01b03861662000edd5760405162461bcd60e51b81526004016200065090620023ff565b6003546001600160a01b031662000f085760405162461bcd60e51b81526004016200065090620023ff565b6002546001600160a01b031662000f335760405162461bcd60e51b81526004016200065090620023ff565b6001600160a01b0386166000908152600a602052604090205460ff1662000fa85760405162461bcd60e51b815260206004820152602260248201527f6e6f742077686974656c6973746564204e4654506f736974696f6e4d616e616760448201526132b960f11b606482015260840162000650565b8460000362000fec5760405162461bcd60e51b815260206004820152600f60248201526e1a5b9d985b1a59081d1bdad95b9259608a1b604482015260640162000650565b600080600062000ffd898962001550565b925092509250600060055411156200122c576040516370a0823160e01b81526000906001600160a01b038516906370a082319062001040903090600401620020b8565b602060405180830381865afa1580156200105e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001084919062002449565b90506000836001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401620010b69190620020b8565b602060405180830381865afa158015620010d4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010fa919062002449565b9050620011098b8b85620015e1565b6040516370a0823160e01b81526000906001600160a01b038716906370a08231906200113a903090600401620020b8565b602060405180830381865afa15801562001158573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200117e919062002449565b90506000856001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401620011b09190620020b8565b602060405180830381865afa158015620011ce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011f4919062002449565b90506200121b8988886200120988876200263c565b6200121588876200263c565b62001807565b62001227878762001c10565b505050505b60006200123c8a8a8a8a62001e1a565b600354909150600160a01b900460ff166200131257600354604051635ac066d560e01b81526001600160a01b0390911690635ac066d59062001285908990859060040162002658565b6020604051808303816000875af1158015620012a5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012cb91906200247c565b620013125760405162461bcd60e51b815260206004820152601660248201527518dbd919481d5cd9481d5c19185d194819985a5b195960521b604482015260640162000650565b9350505050620006df60018055565b336200132c62000b27565b6001600160a01b03161462000aae5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000650565b600260015403620013d85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640162000650565b6002600155565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80471015620014815760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640162000650565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114620014d0576040519150601f19603f3d011682016040523d82523d6000602084013e620014d5565b606091505b50509050806200154b5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c20726044820152791958da5c1a595b9d081b585e481a185d99481c995d995c9d195960321b606482015260840162000650565b505050565b6000806000846001600160a01b03166399fbab88856040518263ffffffff1660e01b81526004016200158491815260200190565b61018060405180830381865afa158015620015a3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015c99190620026d5565b50979f969e50919c50949a5050505050505050505050565b604051635c46a7ef60e11b81526001600160a01b0384169063b88d4fde906200161390339030908790600401620027c5565b600060405180830381600087803b1580156200162e57600080fd5b505af115801562001643573d6000803e3d6000fd5b50505050826001600160a01b0316630c49ccbe6040518060a00160405280858152602001612710600554866001600160801b0316620016839190620027f8565b6200168f919062002812565b6001600160801b031681526020016000815260200160008152602001428152506040518263ffffffff1660e01b8152600401620017059190815181526020808301516001600160801b03169082015260408083015190820152606080830151908201526080918201519181019190915260a00190565b60408051808303816000875af115801562001724573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200174a919062002835565b50506040805160808101825283815230602082019081526001600160801b0382840181815260608401828152945163fc6f786560e01b81529351600485015291516001600160a01b039081166024850152915181166044840152925190921660648201529084169063fc6f78659060840160408051808303816000875af1158015620017da573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001800919062002835565b5050505050565b6000856040516020016200181c91906200285a565b6040516020818303038152906040528051906020012090506000604051602001620018549066191959985d5b1d60ca1b815260070190565b604051602081830303815290604052805190602001209050600360149054906101000a900460ff1615620018cf57808214620018cf5760405162461bcd60e51b81526020600482015260196024820152781bdb9b1e48191959985d5b1d0818dbd91948185b1b1bddd959603a1b604482015260640162000650565b80821462001c07576003546040516349e96fdd60e01b81526001600160a01b03909116906349e96fdd9062001909908a9060040162002358565b6020604051808303816000875af115801562001929573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200194f91906200247c565b620019955760405162461bcd60e51b8152602060048201526015602482015274696e76616c696420646973636f756e7420636f646560581b604482015260640162000650565b600354604051630fc0b3fd60e01b81526000916001600160a01b031690630fc0b3fd90620019c8908b9060040162002358565b6020604051808303816000875af1158015620019e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a0e919062002449565b600354604051630f22420560e11b81529192506000916001600160a01b0390911690631e44840a9062001a46908c9060040162002358565b6020604051808303816000875af115801562001a66573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a8c919062002878565b90506000606462001a9e8489620027f8565b62001aaa919062002812565b90506000606462001abc8589620027f8565b62001ac8919062002812565b9050811562001b665760405163a9059cbb60e01b81526001600160a01b038b169063a9059cbb9062001b01908690869060040162002463565b6020604051808303816000875af115801562001b21573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b4791906200247c565b62001b665760405162461bcd60e51b8152600401620006509062002898565b801562001c025760405163a9059cbb60e01b81526001600160a01b038a169063a9059cbb9062001b9d908690859060040162002463565b6020604051808303816000875af115801562001bbd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001be391906200247c565b62001c025760405162461bcd60e51b8152600401620006509062002898565b505050505b50505050505050565b6008546040516370a0823160e01b81526001600160a01b038085169263a9059cbb9291169083906370a082319062001c4d903090600401620020b8565b602060405180830381865afa15801562001c6b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c91919062002449565b6040518363ffffffff1660e01b815260040162001cb092919062002463565b6020604051808303816000875af115801562001cd0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001cf691906200247c565b62001d155760405162461bcd60e51b8152600401620006509062002898565b6008546040516370a0823160e01b81526001600160a01b038084169263a9059cbb9291169083906370a082319062001d52903090600401620020b8565b602060405180830381865afa15801562001d70573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d96919062002449565b6040518363ffffffff1660e01b815260040162001db592919062002463565b6020604051808303816000875af115801562001dd5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001dfb91906200247c565b620009255760405162461bcd60e51b8152600401620006509062002898565b6002546040516347978e0d60e01b815260009182916001600160a01b03909116906347978e0d9062001e51903390600401620020b8565b6020604051808303816000875af115801562001e71573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e97919062002449565b9050600086868684600260009054906101000a90046001600160a01b0316600654600754600860009054906101000a90046001600160a01b031660405162001edf906200206d565b6001600160a01b039889168152602081019790975260408701959095526060860193909352908516608085015260a084015260c083015290911660e082015261010001604051809103906000f08015801562001f3f573d6000803e3d6000fd5b50604051635c46a7ef60e11b81529091506001600160a01b0388169063b88d4fde9062001f7590309085908b90600401620027c5565b600060405180830381600087803b15801562001f9057600080fd5b505af115801562001fa5573d6000803e3d6000fd5b505060025460405163747b158f60e01b81526001600160a01b03909116925063747b158f915062001fe3908a90899086908c908b90600401620028c7565b600060405180830381600087803b15801562001ffe57600080fd5b505af115801562002013573d6000803e3d6000fd5b5050600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160a01b0319166001600160a01b0385161790555090979650505050505050565b611b05806200290f83390190565b6001600160a01b038116811462000dfe57600080fd5b600060208284031215620020a457600080fd5b8135620020b1816200207b565b9392505050565b6001600160a01b0391909116815260200190565b600080600080600060808688031215620020e557600080fd5b8535620020f2816200207b565b9450602086013562002104816200207b565b93506040860135925060608601356001600160401b03808211156200212857600080fd5b818801915088601f8301126200213d57600080fd5b8135818111156200214d57600080fd5b8960208285010111156200216057600080fd5b9699959850939650602001949392505050565b6000602082840312156200218657600080fd5b5035919050565b60008060408385031215620021a157600080fd5b8235620021ae816200207b565b91506020830135620021c0816200207b565b809150509250929050565b6020808252825182820181905260009190848201906040850190845b818110156200220e5783516001600160a01b031683529284019291840191600101620021e7565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200224257600080fd5b81356001600160401b03808211156200225f576200225f6200221a565b604051601f8301601f19908116603f011681019082821181831017156200228a576200228a6200221a565b81604052838152866020858801011115620022a457600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215620022d757600080fd5b81356001600160401b03811115620022ee57600080fd5b620022fc8482850162002230565b949350505050565b60005b838110156200232157818101518382015260200162002307565b50506000910152565b600081518084526200234481602086016020860162002304565b601f01601f19169290920160200192915050565b602081526000620020b160208301846200232a565b600080600080600060a086880312156200238657600080fd5b853562002393816200207b565b9450602086013593506040860135925060608601356001600160401b0380821115620023be57600080fd5b620023cc89838a0162002230565b93506080880135915080821115620023e357600080fd5b50620023f28882890162002230565b9150509295509295909350565b6020808252600a90820152696164647265737328302960b01b604082015260600190565b6020808252600c908201526b7a65726f206164647265737360a01b604082015260600190565b6000602082840312156200245c57600080fd5b5051919050565b6001600160a01b03929092168252602082015260400190565b6000602082840312156200248f57600080fd5b81518015158114620020b157600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201620024e157620024e1620024b6565b5060010190565b600181811c90821680620024fd57607f821691505b60208210810362000a9257634e487b7160e01b600052602260045260246000fd5b601f8211156200154b57600081815260208120601f850160051c81016020861015620025475750805b601f850160051c820191505b81811015620025685782815560010162002553565b505050505050565b81516001600160401b038111156200258c576200258c6200221a565b620025a4816200259d8454620024e8565b846200251e565b602080601f831160018114620025dc5760008415620025c35750858301515b600019600386901b1c1916600185901b17855562002568565b600085815260208120601f198616915b828110156200260d57888601518255948401946001909101908401620025ec565b50858210156200262c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b81810381811115620026525762002652620024b6565b92915050565b6040815260006200266d60408301856200232a565b905060018060a01b03831660208301529392505050565b805162002691816200207b565b919050565b805162ffffff811681146200269157600080fd5b8051600281900b81146200269157600080fd5b80516001600160801b03811681146200269157600080fd5b6000806000806000806000806000806000806101808d8f031215620026f957600080fd5b8c516001600160601b03811681146200271157600080fd5b9b506200272160208e0162002684565b9a506200273160408e0162002684565b99506200274160608e0162002684565b98506200275160808e0162002696565b97506200276160a08e01620026aa565b96506200277160c08e01620026aa565b95506200278160e08e01620026bd565b94506101008d015193506101208d01519250620027a26101408e01620026bd565b9150620027b36101608e01620026bd565b90509295989b509295989b509295989b565b6001600160a01b039384168152919092166020820152604081019190915260806060820181905260009082015260a00190565b8082028115828204841417620026525762002652620024b6565b6000826200283057634e487b7160e01b600052601260045260246000fd5b500490565b600080604083850312156200284957600080fd5b505080516020909101519092909150565b600082516200286e81846020870162002304565b9190910192915050565b6000602082840312156200288b57600080fd5b8151620020b1816200207b565b602080825260159082015274195c98cc8c081d1c985b9cd9995c8819985a5b1959605a1b604082015260600190565b6001600160a01b03868116825260208201869052841660408201526060810183905260a06080820181905260009062002903908301846200232a565b97965050505050505056fe60a06040526004600255600b805460ff191660011790553480156200002357600080fd5b5060405162001b0538038062001b0583398101604081905262000046916200019a565b62000051336200012d565b60018055620000634261025862000215565b8611620000b65760405162461bcd60e51b815260206004820152601b60248201527f506c65617365206c6f636b206c6f6e676572207468616e206e6f770000000000604482015260640160405180910390fd5b6001600160a01b03888116608052600788905560058790556003869055600480546001600160a01b03191686831617905542600655600a849055600983905560088054610100600160a81b031916610100928416929092029190911790556200011f326200012d565b50505050505050506200023d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200019557600080fd5b919050565b600080600080600080600080610100898b031215620001b857600080fd5b620001c3896200017d565b9750602089015196506040890151955060608901519450620001e860808a016200017d565b935060a0890151925060c089015191506200020660e08a016200017d565b90509295985092959890939650565b808201808211156200023757634e487b7160e01b600052601160045260246000fd5b92915050565b60805161188262000283600039600081816102700152818161065301528181610a3c01528181610ae401528181610c4901528181610d270152610e4a01526118826000f3fe6080604052600436106101145760003560e01c806302e19a5c1461012057806311bc2ca214610144578063150b7a021461016657806317d70f7c146101ab57806328dba6e3146101c15780632b3853bd146101d457806340ca102f146101fe578063497436a81461021357806355d3393814610229578063715018a614610249578063843978881461025e5780638da5cb5b1461029f578063b7fed57e146102b4578063bef6ed1a146102ca578063cd515d62146102e0578063d321d376146102f6578063d4d5d32a1461030c578063d73792a914610322578063e4f3e79914610338578063e522538114610358578063e9fe78721461038d578063f2fde38b146103ad578063fe95eaa4146103cd57600080fd5b3661011b57005b600080fd5b34801561012c57600080fd5b506007545b6040519081526020015b60405180910390f35b34801561015057600080fd5b5061016461015f366004611390565b6103e7565b005b34801561017257600080fd5b50610192610181366004611455565b630a85bd0160e11b95945050505050565b6040516001600160e01b0319909116815260200161013b565b3480156101b757600080fd5b5061013160075481565b6101646101cf3660046114f3565b610458565b3480156101e057600080fd5b506008546101ee9060ff1681565b604051901515815260200161013b565b34801561020a57600080fd5b506101646105f7565b34801561021f57600080fd5b5061013160025481565b34801561023557600080fd5b5061016461024436600461150c565b610775565b34801561025557600080fd5b50610164610878565b34801561026a57600080fd5b506102927f000000000000000000000000000000000000000000000000000000000000000081565b60405161013b9190611545565b3480156102ab57600080fd5b5061029261088a565b3480156102c057600080fd5b5061013160095481565b3480156102d657600080fd5b5061013160055481565b3480156102ec57600080fd5b5061013160065481565b34801561030257600080fd5b5061013160035481565b34801561031857600080fd5b50610131600a5481565b34801561032e57600080fd5b5061013161271081565b34801561034457600080fd5b50600454610292906001600160a01b031681565b34801561036457600080fd5b5061036d610899565b60408051948552602085019390935291830152606082015260800161013b565b34801561039957600080fd5b506101646103a8366004611559565b6108d0565b3480156103b957600080fd5b506101646103c8366004611559565b610938565b3480156103d957600080fd5b50600b546101ee9060ff1681565b6103ef61097d565b600480546003546040516358528aa560e01b81526001600160a01b03909216926358528aa59261042392869290910161157d565b600060405180830381600087803b15801561043d57600080fd5b505af1158015610451573d6000803e3d6000fd5b5050505050565b6104606109dc565b61046861097d565b80600554106104bc5760405162461bcd60e51b815260206004820152601b60248201527a2cb7ba9031b0b73a103932b23ab1b2903637b1b5ba34b6b297171760291b60448201526064015b60405180910390fd5b8042106105175760405162461bcd60e51b8152602060048201526024808201527f596f752063616e7420657874656e64206c6f636b74696d6520696e20746865206044820152631c185cdd60e21b60648201526084016104b3565b60085460ff161561056a5760405162461bcd60e51b815260206004820152601d60248201527f546f6b656e73207765726520616c72656164792077697468647261776e00000060448201526064016104b3565b6000610574610a35565b9250505061058181610ae2565b60058290556004805460035460405163c9f316c560e01b815292830185905260248301526001600160a01b03169063c9f316c590604401600060405180830381600087803b1580156105d257600080fd5b505af11580156105e6573d6000803e3d6000fd5b50505050506105f460018055565b50565b6105ff61097d565b6106076109dc565b6005544210156106515760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881a5cc81cdd1a5b1b08131bd8dad959605a1b60448201526064016104b3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166342842e0e3061068961088a565b6007546040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b1580156106db57600080fd5b505af11580156106ef573d6000803e3d6000fd5b505060085460ff16915061076a90505760048054600354604051636aecc5cd60e01b8152928301526001600160a01b031690636aecc5cd90602401600060405180830381600087803b15801561074457600080fd5b505af1158015610758573d6000803e3d6000fd5b50506008805460ff1916600117905550505b61077360018055565b565b61077d61097d565b6107856109dc565b6040516370a0823160e01b81526000906001600160a01b038316906370a08231906107b4903090600401611545565b602060405180830381865afa1580156107d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f591906115d2565b60405163a9059cbb60e01b81529091506001600160a01b0383169063a9059cbb9061082690869085906004016115eb565b6020604051808303816000875af1158015610845573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108699190611604565b505061087460018055565b5050565b61088061097d565b6107736000610cc5565b6000546001600160a01b031690565b6000806000806108a76109dc565b6108af61097d565b6108b7610d15565b929650909450925090506108ca60018055565b90919293565b6108d861097d565b6108e06109dc565b6001600160a01b0381166109255760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b60448201526064016104b3565b61092f8147611264565b6105f460018055565b61094061097d565b61094981610cc5565b60048054600354604051639a0db7d360e01b81526001600160a01b0390921692639a0db7d3926104239286929091016115eb565b3361098661088a565b6001600160a01b0316146107735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b3565b600260015403610a2e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104b3565b6002600155565b60008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166399fbab886007546040518263ffffffff1660e01b8152600401610a8a91815260200190565b61018060405180830381865afa158015610aa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acc9190611672565b50979d969c50919a509498505050505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630c49ccbe6040518060a001604052806007548152602001612710600954866001600160801b0316610b3e9190611764565b610b489190611781565b6001600160801b031681526020016000815260200160008152602001428152506040518263ffffffff1660e01b8152600401610bbd9190815181526020808301516001600160801b03169082015260408083015190820152606080830151908201526080918201519181019190915260a00190565b60408051808303816000875af1158015610bdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bff91906117a3565b50506040805160808101825260075481526008546001600160a01b03610100909104811660208301526001600160801b038284018190526060830152915163fc6f786560e01b81527f00000000000000000000000000000000000000000000000000000000000000009092169163fc6f786591610c7e916004016117c7565b60408051808303816000875af1158015610c9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc091906117a3565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600080600a54600003610dfa577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fc6f786560405180608001604052806007548152602001610d6f61088a565b6001600160a01b031681526001600160801b0360208201819052604091820152516001600160e01b031960e084901b168152610dae91906004016117c7565b60408051808303816000875af1158015610dcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df091906117a3565b90945092506108ca565b600080610e05610a35565b506040805160808101825260075481523060208201526001600160801b038183018190526060820152905163fc6f786560e01b81529294509092506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163fc6f786591610e7d916004016117c7565b60408051808303816000875af1158015610e9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebf91906117a3565b50506040516370a0823160e01b81526000906001600160a01b038416906370a0823190610ef0903090600401611545565b602060405180830381865afa158015610f0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3191906115d2565b90506000826001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610f619190611545565b602060405180830381865afa158015610f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa291906115d2565b60085490915061010090046001600160a01b03166000610fc061088a565b9050831561110d57612710600a5485610fd99190611764565b610fe39190611781565b60405163a9059cbb60e01b81529098506001600160a01b0387169063a9059cbb906110149085908c906004016115eb565b6020604051808303816000875af1158015611033573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110579190611604565b6110735760405162461bcd60e51b81526004016104b39061180a565b61107d8885611839565b60405163a9059cbb60e01b8152909a506001600160a01b0387169063a9059cbb906110ae9084908e906004016115eb565b6020604051808303816000875af11580156110cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f19190611604565b61110d5760405162461bcd60e51b81526004016104b39061180a565b821561125857612710600a54846111249190611764565b61112e9190611781565b60405163a9059cbb60e01b81529097506001600160a01b0386169063a9059cbb9061115f9085908b906004016115eb565b6020604051808303816000875af115801561117e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a29190611604565b6111be5760405162461bcd60e51b81526004016104b39061180a565b6111c88784611839565b60405163a9059cbb60e01b81529099506001600160a01b0386169063a9059cbb906111f99084908d906004016115eb565b6020604051808303816000875af1158015611218573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123c9190611604565b6112585760405162461bcd60e51b81526004016104b39061180a565b50505050505090919293565b804710156112b45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016104b3565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611301576040519150601f19603f3d011682016040523d82523d6000602084013e611306565b606091505b5050905080610cc05760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c20726044820152791958da5c1a595b9d081b585e481a185d99481c995d995c9d195960321b60648201526084016104b3565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156113a257600080fd5b81356001600160401b03808211156113b957600080fd5b818401915084601f8301126113cd57600080fd5b8135818111156113df576113df61137a565b604051601f8201601f19908116603f011681019083821181831017156114075761140761137a565b8160405282815287602084870101111561142057600080fd5b826020860160208301376000928101602001929092525095945050505050565b6001600160a01b03811681146105f457600080fd5b60008060008060006080868803121561146d57600080fd5b853561147881611440565b9450602086013561148881611440565b93506040860135925060608601356001600160401b03808211156114ab57600080fd5b818801915088601f8301126114bf57600080fd5b8135818111156114ce57600080fd5b8960208285010111156114e057600080fd5b9699959850939650602001949392505050565b60006020828403121561150557600080fd5b5035919050565b6000806040838503121561151f57600080fd5b823561152a81611440565b9150602083013561153a81611440565b809150509250929050565b6001600160a01b0391909116815260200190565b60006020828403121561156b57600080fd5b813561157681611440565b9392505050565b604081526000835180604084015260005b818110156115ab576020818701810151606086840101520161158e565b506000606082850101526060601f19601f8301168401019150508260208301529392505050565b6000602082840312156115e457600080fd5b5051919050565b6001600160a01b03929092168252602082015260400190565b60006020828403121561161657600080fd5b8151801515811461157657600080fd5b805161163181611440565b919050565b805162ffffff8116811461163157600080fd5b8051600281900b811461163157600080fd5b80516001600160801b038116811461163157600080fd5b6000806000806000806000806000806000806101808d8f03121561169557600080fd5b8c516001600160601b03811681146116ac57600080fd5b9b506116ba60208e01611626565b9a506116c860408e01611626565b99506116d660608e01611626565b98506116e460808e01611636565b97506116f260a08e01611649565b965061170060c08e01611649565b955061170e60e08e0161165b565b94506101008d015193506101208d0151925061172d6101408e0161165b565b915061173c6101608e0161165b565b90509295989b509295989b509295989b565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761177b5761177b61174e565b92915050565b60008261179e57634e487b7160e01b600052601260045260246000fd5b500490565b600080604083850312156117b657600080fd5b505080516020909101519092909150565b815181526020808301516001600160a01b0316908201526040808301516001600160801b0390811691830191909152606092830151169181019190915260800190565b602080825260159082015274195c98cc8c081d1c985b9cd9995c8819985a5b1959605a1b604082015260600190565b8181038181111561177b5761177b61174e56fea264697066735822122025094fae98692a99fec9f42bcc2fa2b753f973d24b71ede4f6d26c770032cb2164736f6c63430008110033a26469706673582212209593d2dff9d7301f26814f8aba24568a0a9120cbff2a33e14dcb429a9d91fdb664736f6c63430008110033000000000000000000000000749e5d5aa52a83b9086131aa9d6fa7e80ac95628000000000000000000000000344129238deb523c02e8be4c0e7e630780711bc5
Deployed Bytecode
0x608060405260043610620001985760003560e01c80630691285214620001a557806309c4a8d614620001cc578063150b7a0214620002065780632a6abf2814620002455780634055f612146200026a5780634503a6d3146200028c57806355d3393814620002a45780636084a92714620002c95780636371821414620002eb57806363a4f2f2146200031057806369f5ef4a1462000337578063704ce43e146200036b578063715018a614620003925780637d06b7fd14620003aa5780638da5cb5b14620003c25780639470549014620003da5780639712b5b314620003ff578063b3addb141462000424578063b517da2d1462000449578063b6e48dd3146200046e578063b7fed57e14620004a2578063c56893fb14620004ba578063c946731714620004d1578063d4d5d32a14620004f6578063d73792a9146200050e578063dc521eae1462000526578063e3613cd9146200054b578063e9fe78721462000572578063ec1b39031462000597578063f2fde38b14620005bc578063f7322eaf14620005e1578063f85fc0ab146200060657600080fd5b36620001a057005b600080fd5b348015620001b257600080fd5b50620001ca620001c436600462002091565b6200061d565b005b348015620001d957600080fd5b50600854620001ee906001600160a01b031681565b604051620001fd9190620020b8565b60405180910390f35b3480156200021357600080fd5b506200022b62000225366004620020cc565b620006d6565b6040516001600160e01b03199091168152602001620001fd565b3480156200025257600080fd5b50620001ca6200026436600462002173565b620006e8565b3480156200027757600080fd5b50600354620001ee906001600160a01b031681565b3480156200029957600080fd5b50620001ca62000745565b348015620002b157600080fd5b50620001ca620002c33660046200218d565b620007b4565b348015620002d657600080fd5b50600254620001ee906001600160a01b031681565b348015620002f857600080fd5b50620001ca6200030a36600462002091565b62000929565b3480156200031d57600080fd5b5062000328620009be565b604051620001fd9190620021cb565b3480156200034457600080fd5b506003546200035a90600160a01b900460ff1681565b6040519015158152602001620001fd565b3480156200037857600080fd5b506200038360055481565b604051908152602001620001fd565b3480156200039f57600080fd5b50620001ca62000a98565b348015620003b757600080fd5b50620001ca62000ab0565b348015620003cf57600080fd5b50620001ee62000b27565b348015620003e757600080fd5b50620001ca620003f936600462002091565b62000b36565b3480156200040c57600080fd5b50620001ca6200041e36600462002173565b62000bee565b3480156200043157600080fd5b50620001ca6200044336600462002173565b62000c4c565b3480156200045657600080fd5b50620001ca6200046836600462002091565b62000ca5565b3480156200047b57600080fd5b506200035a6200048d36600462002091565b600a6020526000908152604090205460ff1681565b348015620004af57600080fd5b506200038360075481565b348015620004c757600080fd5b5060095462000383565b348015620004de57600080fd5b50620001ca620004f036600462002091565b62000cd1565b3480156200050357600080fd5b506200038360065481565b3480156200051b57600080fd5b506200038361271081565b3480156200053357600080fd5b50620001ca62000545366004620022c4565b62000cfd565b3480156200055857600080fd5b506200056362000d15565b604051620001fd919062002358565b3480156200057f57600080fd5b50620001ca6200059136600462002091565b62000dab565b348015620005a457600080fd5b50620001ee620005b636600462002173565b62000e01565b348015620005c957600080fd5b50620001ca620005db36600462002091565b62000e2c565b348015620005ee57600080fd5b50620001ee620006003660046200236d565b62000ea8565b3480156200061357600080fd5b5062000383606481565b6200062762001321565b6001600160a01b038116620006595760405162461bcd60e51b81526004016200065090620023ff565b60405180910390fd5b6001600160a01b0381166000908152600a602052604090205460ff16620006b55760405162461bcd60e51b815260206004820152600f60248201526e1b9bdd081dda1a5d195b1a5cdd1959608a1b604482015260640162000650565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b630a85bd0160e11b5b95945050505050565b620006f262001321565b600a811115620007405760405162461bcd60e51b815260206004820152601860248201527752656c6f636b20666565206f7574206f6620626f756e647360401b604482015260640162000650565b600755565b6200074f62001321565b600354600160a01b900460ff16620007a55760405162461bcd60e51b81526020600482015260186024820152771c9959995c9c985b08185b1c9958591e48195b98589b195960421b604482015260640162000650565b6003805460ff60a01b19169055565b620007be62001321565b620007c862001384565b6001600160a01b038216620007f15760405162461bcd60e51b8152600401620006509062002423565b6040516370a0823160e01b815281906001600160a01b0382169063a9059cbb90859083906370a08231906200082b903090600401620020b8565b602060405180830381865afa15801562000849573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200086f919062002449565b6040518363ffffffff1660e01b81526004016200088e92919062002463565b6020604051808303816000875af1158015620008ae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008d491906200247c565b6200091a5760405162461bcd60e51b81526020600482015260156024820152741d1bdad95b881d1c985b9cd9995c8819985a5b1959605a1b604482015260640162000650565b506200092560018055565b5050565b6200093362001321565b6001600160a01b0381166200099c5760405162461bcd60e51b815260206004820152602860248201527f746f6b656e2066656520616464726573732063616e6e6f74206265207a65726f604482015267206164647265737360c01b606482015260840162000650565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6009546060906000906001600160401b03811115620009e157620009e16200221a565b60405190808252806020026020018201604052801562000a0b578160200160208202803683370190505b50905060005b60095481101562000a92576009818154811062000a325762000a32620024a0565b9060005260206000200160009054906101000a90046001600160a01b031682828151811062000a655762000a65620024a0565b6001600160a01b03909216602092830291909101909101528062000a8981620024cc565b91505062000a11565b50919050565b62000aa262001321565b62000aae6000620013df565b565b62000aba62001321565b600354600160a01b900460ff161562000b125760405162461bcd60e51b81526020600482015260196024820152781c9959995c9c985b08185b1c9958591e48191a5cd8589b1959603a1b604482015260640162000650565b6003805460ff60a01b1916600160a01b179055565b6000546001600160a01b031690565b62000b4062001321565b6001600160a01b03811662000b695760405162461bcd60e51b81526004016200065090620023ff565b6001600160a01b0381166000908152600a602052604090205460ff161562000bca5760405162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481dda1a5d195b1a5cdd1959606a1b604482015260640162000650565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b62000bf862001321565b600a81111562000c475760405162461bcd60e51b8152602060048201526019602482015278436f6c6c65637420666565206f7574206f6620626f756e647360381b604482015260640162000650565b600655565b62000c5662001321565b600a81111562000ca05760405162461bcd60e51b81526020600482015260146024820152734c5020666565206f7574206f6620626f756e647360601b604482015260640162000650565b600555565b62000caf62001321565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b62000cdb62001321565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b62000d0762001321565b600462000925828262002570565b6004805462000d2490620024e8565b80601f016020809104026020016040519081016040528092919081815260200182805462000d5290620024e8565b801562000da35780601f1062000d775761010080835404028352916020019162000da3565b820191906000526020600020905b81548152906001019060200180831162000d8557829003601f168201915b505050505081565b62000db562001321565b62000dbf62001384565b6001600160a01b03811662000de85760405162461bcd60e51b8152600401620006509062002423565b62000df481476200142f565b62000dfe60018055565b50565b6009818154811062000e1257600080fd5b6000918252602090912001546001600160a01b0316905081565b62000e3662001321565b6001600160a01b03811662000e9d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000650565b62000dfe81620013df565b600062000eb462001384565b6001600160a01b03861662000edd5760405162461bcd60e51b81526004016200065090620023ff565b6003546001600160a01b031662000f085760405162461bcd60e51b81526004016200065090620023ff565b6002546001600160a01b031662000f335760405162461bcd60e51b81526004016200065090620023ff565b6001600160a01b0386166000908152600a602052604090205460ff1662000fa85760405162461bcd60e51b815260206004820152602260248201527f6e6f742077686974656c6973746564204e4654506f736974696f6e4d616e616760448201526132b960f11b606482015260840162000650565b8460000362000fec5760405162461bcd60e51b815260206004820152600f60248201526e1a5b9d985b1a59081d1bdad95b9259608a1b604482015260640162000650565b600080600062000ffd898962001550565b925092509250600060055411156200122c576040516370a0823160e01b81526000906001600160a01b038516906370a082319062001040903090600401620020b8565b602060405180830381865afa1580156200105e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001084919062002449565b90506000836001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401620010b69190620020b8565b602060405180830381865afa158015620010d4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010fa919062002449565b9050620011098b8b85620015e1565b6040516370a0823160e01b81526000906001600160a01b038716906370a08231906200113a903090600401620020b8565b602060405180830381865afa15801562001158573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200117e919062002449565b90506000856001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401620011b09190620020b8565b602060405180830381865afa158015620011ce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011f4919062002449565b90506200121b8988886200120988876200263c565b6200121588876200263c565b62001807565b62001227878762001c10565b505050505b60006200123c8a8a8a8a62001e1a565b600354909150600160a01b900460ff166200131257600354604051635ac066d560e01b81526001600160a01b0390911690635ac066d59062001285908990859060040162002658565b6020604051808303816000875af1158015620012a5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012cb91906200247c565b620013125760405162461bcd60e51b815260206004820152601660248201527518dbd919481d5cd9481d5c19185d194819985a5b195960521b604482015260640162000650565b9350505050620006df60018055565b336200132c62000b27565b6001600160a01b03161462000aae5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000650565b600260015403620013d85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640162000650565b6002600155565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80471015620014815760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640162000650565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114620014d0576040519150601f19603f3d011682016040523d82523d6000602084013e620014d5565b606091505b50509050806200154b5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c20726044820152791958da5c1a595b9d081b585e481a185d99481c995d995c9d195960321b606482015260840162000650565b505050565b6000806000846001600160a01b03166399fbab88856040518263ffffffff1660e01b81526004016200158491815260200190565b61018060405180830381865afa158015620015a3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015c99190620026d5565b50979f969e50919c50949a5050505050505050505050565b604051635c46a7ef60e11b81526001600160a01b0384169063b88d4fde906200161390339030908790600401620027c5565b600060405180830381600087803b1580156200162e57600080fd5b505af115801562001643573d6000803e3d6000fd5b50505050826001600160a01b0316630c49ccbe6040518060a00160405280858152602001612710600554866001600160801b0316620016839190620027f8565b6200168f919062002812565b6001600160801b031681526020016000815260200160008152602001428152506040518263ffffffff1660e01b8152600401620017059190815181526020808301516001600160801b03169082015260408083015190820152606080830151908201526080918201519181019190915260a00190565b60408051808303816000875af115801562001724573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200174a919062002835565b50506040805160808101825283815230602082019081526001600160801b0382840181815260608401828152945163fc6f786560e01b81529351600485015291516001600160a01b039081166024850152915181166044840152925190921660648201529084169063fc6f78659060840160408051808303816000875af1158015620017da573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001800919062002835565b5050505050565b6000856040516020016200181c91906200285a565b6040516020818303038152906040528051906020012090506000604051602001620018549066191959985d5b1d60ca1b815260070190565b604051602081830303815290604052805190602001209050600360149054906101000a900460ff1615620018cf57808214620018cf5760405162461bcd60e51b81526020600482015260196024820152781bdb9b1e48191959985d5b1d0818dbd91948185b1b1bddd959603a1b604482015260640162000650565b80821462001c07576003546040516349e96fdd60e01b81526001600160a01b03909116906349e96fdd9062001909908a9060040162002358565b6020604051808303816000875af115801562001929573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200194f91906200247c565b620019955760405162461bcd60e51b8152602060048201526015602482015274696e76616c696420646973636f756e7420636f646560581b604482015260640162000650565b600354604051630fc0b3fd60e01b81526000916001600160a01b031690630fc0b3fd90620019c8908b9060040162002358565b6020604051808303816000875af1158015620019e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a0e919062002449565b600354604051630f22420560e11b81529192506000916001600160a01b0390911690631e44840a9062001a46908c9060040162002358565b6020604051808303816000875af115801562001a66573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a8c919062002878565b90506000606462001a9e8489620027f8565b62001aaa919062002812565b90506000606462001abc8589620027f8565b62001ac8919062002812565b9050811562001b665760405163a9059cbb60e01b81526001600160a01b038b169063a9059cbb9062001b01908690869060040162002463565b6020604051808303816000875af115801562001b21573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b4791906200247c565b62001b665760405162461bcd60e51b8152600401620006509062002898565b801562001c025760405163a9059cbb60e01b81526001600160a01b038a169063a9059cbb9062001b9d908690859060040162002463565b6020604051808303816000875af115801562001bbd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001be391906200247c565b62001c025760405162461bcd60e51b8152600401620006509062002898565b505050505b50505050505050565b6008546040516370a0823160e01b81526001600160a01b038085169263a9059cbb9291169083906370a082319062001c4d903090600401620020b8565b602060405180830381865afa15801562001c6b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c91919062002449565b6040518363ffffffff1660e01b815260040162001cb092919062002463565b6020604051808303816000875af115801562001cd0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001cf691906200247c565b62001d155760405162461bcd60e51b8152600401620006509062002898565b6008546040516370a0823160e01b81526001600160a01b038084169263a9059cbb9291169083906370a082319062001d52903090600401620020b8565b602060405180830381865afa15801562001d70573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d96919062002449565b6040518363ffffffff1660e01b815260040162001db592919062002463565b6020604051808303816000875af115801562001dd5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001dfb91906200247c565b620009255760405162461bcd60e51b8152600401620006509062002898565b6002546040516347978e0d60e01b815260009182916001600160a01b03909116906347978e0d9062001e51903390600401620020b8565b6020604051808303816000875af115801562001e71573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e97919062002449565b9050600086868684600260009054906101000a90046001600160a01b0316600654600754600860009054906101000a90046001600160a01b031660405162001edf906200206d565b6001600160a01b039889168152602081019790975260408701959095526060860193909352908516608085015260a084015260c083015290911660e082015261010001604051809103906000f08015801562001f3f573d6000803e3d6000fd5b50604051635c46a7ef60e11b81529091506001600160a01b0388169063b88d4fde9062001f7590309085908b90600401620027c5565b600060405180830381600087803b15801562001f9057600080fd5b505af115801562001fa5573d6000803e3d6000fd5b505060025460405163747b158f60e01b81526001600160a01b03909116925063747b158f915062001fe3908a90899086908c908b90600401620028c7565b600060405180830381600087803b15801562001ffe57600080fd5b505af115801562002013573d6000803e3d6000fd5b5050600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160a01b0319166001600160a01b0385161790555090979650505050505050565b611b05806200290f83390190565b6001600160a01b038116811462000dfe57600080fd5b600060208284031215620020a457600080fd5b8135620020b1816200207b565b9392505050565b6001600160a01b0391909116815260200190565b600080600080600060808688031215620020e557600080fd5b8535620020f2816200207b565b9450602086013562002104816200207b565b93506040860135925060608601356001600160401b03808211156200212857600080fd5b818801915088601f8301126200213d57600080fd5b8135818111156200214d57600080fd5b8960208285010111156200216057600080fd5b9699959850939650602001949392505050565b6000602082840312156200218657600080fd5b5035919050565b60008060408385031215620021a157600080fd5b8235620021ae816200207b565b91506020830135620021c0816200207b565b809150509250929050565b6020808252825182820181905260009190848201906040850190845b818110156200220e5783516001600160a01b031683529284019291840191600101620021e7565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200224257600080fd5b81356001600160401b03808211156200225f576200225f6200221a565b604051601f8301601f19908116603f011681019082821181831017156200228a576200228a6200221a565b81604052838152866020858801011115620022a457600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215620022d757600080fd5b81356001600160401b03811115620022ee57600080fd5b620022fc8482850162002230565b949350505050565b60005b838110156200232157818101518382015260200162002307565b50506000910152565b600081518084526200234481602086016020860162002304565b601f01601f19169290920160200192915050565b602081526000620020b160208301846200232a565b600080600080600060a086880312156200238657600080fd5b853562002393816200207b565b9450602086013593506040860135925060608601356001600160401b0380821115620023be57600080fd5b620023cc89838a0162002230565b93506080880135915080821115620023e357600080fd5b50620023f28882890162002230565b9150509295509295909350565b6020808252600a90820152696164647265737328302960b01b604082015260600190565b6020808252600c908201526b7a65726f206164647265737360a01b604082015260600190565b6000602082840312156200245c57600080fd5b5051919050565b6001600160a01b03929092168252602082015260400190565b6000602082840312156200248f57600080fd5b81518015158114620020b157600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201620024e157620024e1620024b6565b5060010190565b600181811c90821680620024fd57607f821691505b60208210810362000a9257634e487b7160e01b600052602260045260246000fd5b601f8211156200154b57600081815260208120601f850160051c81016020861015620025475750805b601f850160051c820191505b81811015620025685782815560010162002553565b505050505050565b81516001600160401b038111156200258c576200258c6200221a565b620025a4816200259d8454620024e8565b846200251e565b602080601f831160018114620025dc5760008415620025c35750858301515b600019600386901b1c1916600185901b17855562002568565b600085815260208120601f198616915b828110156200260d57888601518255948401946001909101908401620025ec565b50858210156200262c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b81810381811115620026525762002652620024b6565b92915050565b6040815260006200266d60408301856200232a565b905060018060a01b03831660208301529392505050565b805162002691816200207b565b919050565b805162ffffff811681146200269157600080fd5b8051600281900b81146200269157600080fd5b80516001600160801b03811681146200269157600080fd5b6000806000806000806000806000806000806101808d8f031215620026f957600080fd5b8c516001600160601b03811681146200271157600080fd5b9b506200272160208e0162002684565b9a506200273160408e0162002684565b99506200274160608e0162002684565b98506200275160808e0162002696565b97506200276160a08e01620026aa565b96506200277160c08e01620026aa565b95506200278160e08e01620026bd565b94506101008d015193506101208d01519250620027a26101408e01620026bd565b9150620027b36101608e01620026bd565b90509295989b509295989b509295989b565b6001600160a01b039384168152919092166020820152604081019190915260806060820181905260009082015260a00190565b8082028115828204841417620026525762002652620024b6565b6000826200283057634e487b7160e01b600052601260045260246000fd5b500490565b600080604083850312156200284957600080fd5b505080516020909101519092909150565b600082516200286e81846020870162002304565b9190910192915050565b6000602082840312156200288b57600080fd5b8151620020b1816200207b565b602080825260159082015274195c98cc8c081d1c985b9cd9995c8819985a5b1959605a1b604082015260600190565b6001600160a01b03868116825260208201869052841660408201526060810183905260a06080820181905260009062002903908301846200232a565b97965050505050505056fe60a06040526004600255600b805460ff191660011790553480156200002357600080fd5b5060405162001b0538038062001b0583398101604081905262000046916200019a565b62000051336200012d565b60018055620000634261025862000215565b8611620000b65760405162461bcd60e51b815260206004820152601b60248201527f506c65617365206c6f636b206c6f6e676572207468616e206e6f770000000000604482015260640160405180910390fd5b6001600160a01b03888116608052600788905560058790556003869055600480546001600160a01b03191686831617905542600655600a849055600983905560088054610100600160a81b031916610100928416929092029190911790556200011f326200012d565b50505050505050506200023d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200019557600080fd5b919050565b600080600080600080600080610100898b031215620001b857600080fd5b620001c3896200017d565b9750602089015196506040890151955060608901519450620001e860808a016200017d565b935060a0890151925060c089015191506200020660e08a016200017d565b90509295985092959890939650565b808201808211156200023757634e487b7160e01b600052601160045260246000fd5b92915050565b60805161188262000283600039600081816102700152818161065301528181610a3c01528181610ae401528181610c4901528181610d270152610e4a01526118826000f3fe6080604052600436106101145760003560e01c806302e19a5c1461012057806311bc2ca214610144578063150b7a021461016657806317d70f7c146101ab57806328dba6e3146101c15780632b3853bd146101d457806340ca102f146101fe578063497436a81461021357806355d3393814610229578063715018a614610249578063843978881461025e5780638da5cb5b1461029f578063b7fed57e146102b4578063bef6ed1a146102ca578063cd515d62146102e0578063d321d376146102f6578063d4d5d32a1461030c578063d73792a914610322578063e4f3e79914610338578063e522538114610358578063e9fe78721461038d578063f2fde38b146103ad578063fe95eaa4146103cd57600080fd5b3661011b57005b600080fd5b34801561012c57600080fd5b506007545b6040519081526020015b60405180910390f35b34801561015057600080fd5b5061016461015f366004611390565b6103e7565b005b34801561017257600080fd5b50610192610181366004611455565b630a85bd0160e11b95945050505050565b6040516001600160e01b0319909116815260200161013b565b3480156101b757600080fd5b5061013160075481565b6101646101cf3660046114f3565b610458565b3480156101e057600080fd5b506008546101ee9060ff1681565b604051901515815260200161013b565b34801561020a57600080fd5b506101646105f7565b34801561021f57600080fd5b5061013160025481565b34801561023557600080fd5b5061016461024436600461150c565b610775565b34801561025557600080fd5b50610164610878565b34801561026a57600080fd5b506102927f000000000000000000000000000000000000000000000000000000000000000081565b60405161013b9190611545565b3480156102ab57600080fd5b5061029261088a565b3480156102c057600080fd5b5061013160095481565b3480156102d657600080fd5b5061013160055481565b3480156102ec57600080fd5b5061013160065481565b34801561030257600080fd5b5061013160035481565b34801561031857600080fd5b50610131600a5481565b34801561032e57600080fd5b5061013161271081565b34801561034457600080fd5b50600454610292906001600160a01b031681565b34801561036457600080fd5b5061036d610899565b60408051948552602085019390935291830152606082015260800161013b565b34801561039957600080fd5b506101646103a8366004611559565b6108d0565b3480156103b957600080fd5b506101646103c8366004611559565b610938565b3480156103d957600080fd5b50600b546101ee9060ff1681565b6103ef61097d565b600480546003546040516358528aa560e01b81526001600160a01b03909216926358528aa59261042392869290910161157d565b600060405180830381600087803b15801561043d57600080fd5b505af1158015610451573d6000803e3d6000fd5b5050505050565b6104606109dc565b61046861097d565b80600554106104bc5760405162461bcd60e51b815260206004820152601b60248201527a2cb7ba9031b0b73a103932b23ab1b2903637b1b5ba34b6b297171760291b60448201526064015b60405180910390fd5b8042106105175760405162461bcd60e51b8152602060048201526024808201527f596f752063616e7420657874656e64206c6f636b74696d6520696e20746865206044820152631c185cdd60e21b60648201526084016104b3565b60085460ff161561056a5760405162461bcd60e51b815260206004820152601d60248201527f546f6b656e73207765726520616c72656164792077697468647261776e00000060448201526064016104b3565b6000610574610a35565b9250505061058181610ae2565b60058290556004805460035460405163c9f316c560e01b815292830185905260248301526001600160a01b03169063c9f316c590604401600060405180830381600087803b1580156105d257600080fd5b505af11580156105e6573d6000803e3d6000fd5b50505050506105f460018055565b50565b6105ff61097d565b6106076109dc565b6005544210156106515760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881a5cc81cdd1a5b1b08131bd8dad959605a1b60448201526064016104b3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166342842e0e3061068961088a565b6007546040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b1580156106db57600080fd5b505af11580156106ef573d6000803e3d6000fd5b505060085460ff16915061076a90505760048054600354604051636aecc5cd60e01b8152928301526001600160a01b031690636aecc5cd90602401600060405180830381600087803b15801561074457600080fd5b505af1158015610758573d6000803e3d6000fd5b50506008805460ff1916600117905550505b61077360018055565b565b61077d61097d565b6107856109dc565b6040516370a0823160e01b81526000906001600160a01b038316906370a08231906107b4903090600401611545565b602060405180830381865afa1580156107d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f591906115d2565b60405163a9059cbb60e01b81529091506001600160a01b0383169063a9059cbb9061082690869085906004016115eb565b6020604051808303816000875af1158015610845573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108699190611604565b505061087460018055565b5050565b61088061097d565b6107736000610cc5565b6000546001600160a01b031690565b6000806000806108a76109dc565b6108af61097d565b6108b7610d15565b929650909450925090506108ca60018055565b90919293565b6108d861097d565b6108e06109dc565b6001600160a01b0381166109255760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b60448201526064016104b3565b61092f8147611264565b6105f460018055565b61094061097d565b61094981610cc5565b60048054600354604051639a0db7d360e01b81526001600160a01b0390921692639a0db7d3926104239286929091016115eb565b3361098661088a565b6001600160a01b0316146107735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b3565b600260015403610a2e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104b3565b6002600155565b60008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166399fbab886007546040518263ffffffff1660e01b8152600401610a8a91815260200190565b61018060405180830381865afa158015610aa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acc9190611672565b50979d969c50919a509498505050505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630c49ccbe6040518060a001604052806007548152602001612710600954866001600160801b0316610b3e9190611764565b610b489190611781565b6001600160801b031681526020016000815260200160008152602001428152506040518263ffffffff1660e01b8152600401610bbd9190815181526020808301516001600160801b03169082015260408083015190820152606080830151908201526080918201519181019190915260a00190565b60408051808303816000875af1158015610bdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bff91906117a3565b50506040805160808101825260075481526008546001600160a01b03610100909104811660208301526001600160801b038284018190526060830152915163fc6f786560e01b81527f00000000000000000000000000000000000000000000000000000000000000009092169163fc6f786591610c7e916004016117c7565b60408051808303816000875af1158015610c9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc091906117a3565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600080600a54600003610dfa577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fc6f786560405180608001604052806007548152602001610d6f61088a565b6001600160a01b031681526001600160801b0360208201819052604091820152516001600160e01b031960e084901b168152610dae91906004016117c7565b60408051808303816000875af1158015610dcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df091906117a3565b90945092506108ca565b600080610e05610a35565b506040805160808101825260075481523060208201526001600160801b038183018190526060820152905163fc6f786560e01b81529294509092506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163fc6f786591610e7d916004016117c7565b60408051808303816000875af1158015610e9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebf91906117a3565b50506040516370a0823160e01b81526000906001600160a01b038416906370a0823190610ef0903090600401611545565b602060405180830381865afa158015610f0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3191906115d2565b90506000826001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610f619190611545565b602060405180830381865afa158015610f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa291906115d2565b60085490915061010090046001600160a01b03166000610fc061088a565b9050831561110d57612710600a5485610fd99190611764565b610fe39190611781565b60405163a9059cbb60e01b81529098506001600160a01b0387169063a9059cbb906110149085908c906004016115eb565b6020604051808303816000875af1158015611033573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110579190611604565b6110735760405162461bcd60e51b81526004016104b39061180a565b61107d8885611839565b60405163a9059cbb60e01b8152909a506001600160a01b0387169063a9059cbb906110ae9084908e906004016115eb565b6020604051808303816000875af11580156110cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f19190611604565b61110d5760405162461bcd60e51b81526004016104b39061180a565b821561125857612710600a54846111249190611764565b61112e9190611781565b60405163a9059cbb60e01b81529097506001600160a01b0386169063a9059cbb9061115f9085908b906004016115eb565b6020604051808303816000875af115801561117e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a29190611604565b6111be5760405162461bcd60e51b81526004016104b39061180a565b6111c88784611839565b60405163a9059cbb60e01b81529099506001600160a01b0386169063a9059cbb906111f99084908d906004016115eb565b6020604051808303816000875af1158015611218573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123c9190611604565b6112585760405162461bcd60e51b81526004016104b39061180a565b50505050505090919293565b804710156112b45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016104b3565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611301576040519150601f19603f3d011682016040523d82523d6000602084013e611306565b606091505b5050905080610cc05760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c20726044820152791958da5c1a595b9d081b585e481a185d99481c995d995c9d195960321b60648201526084016104b3565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156113a257600080fd5b81356001600160401b03808211156113b957600080fd5b818401915084601f8301126113cd57600080fd5b8135818111156113df576113df61137a565b604051601f8201601f19908116603f011681019083821181831017156114075761140761137a565b8160405282815287602084870101111561142057600080fd5b826020860160208301376000928101602001929092525095945050505050565b6001600160a01b03811681146105f457600080fd5b60008060008060006080868803121561146d57600080fd5b853561147881611440565b9450602086013561148881611440565b93506040860135925060608601356001600160401b03808211156114ab57600080fd5b818801915088601f8301126114bf57600080fd5b8135818111156114ce57600080fd5b8960208285010111156114e057600080fd5b9699959850939650602001949392505050565b60006020828403121561150557600080fd5b5035919050565b6000806040838503121561151f57600080fd5b823561152a81611440565b9150602083013561153a81611440565b809150509250929050565b6001600160a01b0391909116815260200190565b60006020828403121561156b57600080fd5b813561157681611440565b9392505050565b604081526000835180604084015260005b818110156115ab576020818701810151606086840101520161158e565b506000606082850101526060601f19601f8301168401019150508260208301529392505050565b6000602082840312156115e457600080fd5b5051919050565b6001600160a01b03929092168252602082015260400190565b60006020828403121561161657600080fd5b8151801515811461157657600080fd5b805161163181611440565b919050565b805162ffffff8116811461163157600080fd5b8051600281900b811461163157600080fd5b80516001600160801b038116811461163157600080fd5b6000806000806000806000806000806000806101808d8f03121561169557600080fd5b8c516001600160601b03811681146116ac57600080fd5b9b506116ba60208e01611626565b9a506116c860408e01611626565b99506116d660608e01611626565b98506116e460808e01611636565b97506116f260a08e01611649565b965061170060c08e01611649565b955061170e60e08e0161165b565b94506101008d015193506101208d0151925061172d6101408e0161165b565b915061173c6101608e0161165b565b90509295989b509295989b509295989b565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761177b5761177b61174e565b92915050565b60008261179e57634e487b7160e01b600052601260045260246000fd5b500490565b600080604083850312156117b657600080fd5b505080516020909101519092909150565b815181526020808301516001600160a01b0316908201526040808301516001600160801b0390811691830191909152606092830151169181019190915260800190565b602080825260159082015274195c98cc8c081d1c985b9cd9995c8819985a5b1959605a1b604082015260600190565b8181038181111561177b5761177b61174e56fea264697066735822122025094fae98692a99fec9f42bcc2fa2b753f973d24b71ede4f6d26c770032cb2164736f6c63430008110033a26469706673582212209593d2dff9d7301f26814f8aba24568a0a9120cbff2a33e14dcb429a9d91fdb664736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000749e5d5aa52a83b9086131aa9d6fa7e80ac95628000000000000000000000000344129238deb523c02e8be4c0e7e630780711bc5
-----Decoded View---------------
Arg [0] : _lockerStorage (address): 0x749e5D5Aa52A83B9086131AA9D6fA7E80AC95628
Arg [1] : _referralContract (address): 0x344129238deB523C02e8be4C0e7E630780711BC5
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000749e5d5aa52a83b9086131aa9d6fa7e80ac95628
Arg [1] : 000000000000000000000000344129238deb523c02e8be4c0e7e630780711bc5
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.