More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 53 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim And Comput... | 21338761 | 14 days ago | IN | 0 ETH | 0.0125574 | ||||
Claim And Comput... | 20789108 | 91 days ago | IN | 0 ETH | 0.00206689 | ||||
Claim And Comput... | 20260462 | 165 days ago | IN | 0 ETH | 0.00106208 | ||||
Claim And Comput... | 20257727 | 165 days ago | IN | 0 ETH | 0.00130329 | ||||
Claim And Comput... | 20255179 | 165 days ago | IN | 0 ETH | 0.00165793 | ||||
Claim And Comput... | 19958778 | 207 days ago | IN | 0 ETH | 0.00342317 | ||||
Claim And Comput... | 19931105 | 211 days ago | IN | 0 ETH | 0.00402294 | ||||
Claim And Comput... | 19908914 | 214 days ago | IN | 0 ETH | 0.00008904 | ||||
Claim And Comput... | 19902253 | 215 days ago | IN | 0 ETH | 0.00009214 | ||||
Claim And Comput... | 19899190 | 215 days ago | IN | 0 ETH | 0.00009293 | ||||
Claim And Comput... | 19871575 | 219 days ago | IN | 0 ETH | 0.00201234 | ||||
Claim And Comput... | 19858988 | 221 days ago | IN | 0 ETH | 0.00201034 | ||||
Claim And Comput... | 19837150 | 224 days ago | IN | 0 ETH | 0.000093 | ||||
Claim And Comput... | 19823226 | 226 days ago | IN | 0 ETH | 0.00010721 | ||||
Claim And Comput... | 19745102 | 237 days ago | IN | 0 ETH | 0.00284453 | ||||
Claim And Comput... | 19702436 | 243 days ago | IN | 0 ETH | 0.00326862 | ||||
Claim And Comput... | 19698326 | 243 days ago | IN | 0 ETH | 0.00625304 | ||||
Claim And Comput... | 19687866 | 245 days ago | IN | 0 ETH | 0.00760418 | ||||
Claim And Comput... | 19670252 | 247 days ago | IN | 0 ETH | 0.00430493 | ||||
Claim And Comput... | 19657728 | 249 days ago | IN | 0 ETH | 0.00400863 | ||||
Claim And Comput... | 19650549 | 250 days ago | IN | 0 ETH | 0.00724103 | ||||
Claim And Comput... | 19615351 | 255 days ago | IN | 0 ETH | 0.00957217 | ||||
Claim And Comput... | 19610030 | 256 days ago | IN | 0 ETH | 0.00909684 | ||||
Claim And Comput... | 19559441 | 263 days ago | IN | 0 ETH | 0.00890164 | ||||
Claim And Comput... | 19497839 | 271 days ago | IN | 0 ETH | 0.01239424 |
Latest 2 internal transactions
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
19247261 | 306 days ago | Contract Creation | 0 ETH | |||
19247261 | 306 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Compute
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IUniswapV3Pool} from "./IUniswapV3Pool.sol"; import {IUniswapV3Factory} from "./IUniswapV3Factory.sol"; import {INonfungiblePositionManager} from "./INonfungiblePositionManager.sol"; import {WETH} from "./WETH.sol"; import {ERC20} from "./ERC20.sol"; import {IERC721} from "./IERC721.sol"; import {Owned} from "./Owned.sol"; import {SpatialComputing} from "./SpatialComputing.sol"; import {LiquidityLock} from "./LiquidityLock.sol"; contract Compute is Owned { INonfungiblePositionManager public uniswapV3PositionManager; IUniswapV3Pool public pool; SpatialComputing public spatialComputing; LiquidityLock public lock; // Mainnet address public weth = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; // Mainnet, Polygon, Optimism, Arbitrum, address public positionManager = 0xC36442b4a4522E871399CD717aBDD847Ab11FE88; // Mainnet, Polygon, Optimism, Arbitrum, address public factoryAddress = 0x1F98431c8aD98523631AE4a59f267346ea31F984; address public clearingAddress; uint256 public validityChecks = 6; uint256 public validityCap = 1 ether; uint256 public epochLength = 8 hours; uint256 public lastCompute; uint8 private mevFee = 100; // default fee 1% uint24 private poolFee = 10_000; uint256 private tokenSupply = 1_000_000e18; uint256 private benchmarkSupply = tokenSupply / 100; uint256 private lastBenchmark; address private deployer; address private token0; bool public canCompute = false; /// @dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK) uint160 internal constant MIN_SQRT_RATIO = 4295128739; /// @dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK) uint160 internal constant MAX_SQRT_RATIO = 1461446703485210103287273052203988822378723970342; constructor() Owned(msg.sender) { deployer = msg.sender; spatialComputing = new SpatialComputing(msg.sender, tokenSupply); lock = new LiquidityLock(msg.sender); clearingAddress = msg.sender; ERC20(spatialComputing).approve( address(positionManager), type(uint256).max ); WETH(payable(weth)).approve( address(positionManager), type(uint256).max ); } receive() external payable { WETH(payable(weth)).deposit{value: msg.value}(); } function setCanCompute() external onlyOwner { canCompute = true; } function claimAndCompute() external { require(canCompute, "Computing not yet enabled"); require( block.timestamp > lastCompute + epochLength, "epoch in progress, try again later" ); lastCompute = block.timestamp + epochLength; // prevent re-entrancy claimFees(); runCompute(); } function claimFees() internal { uint256 wethBalance = WETH(payable(weth)).balanceOf(address(this)); lock.claimFees(); uint256 wethBalanceAfter = WETH(payable(weth)).balanceOf(address(this)); uint256 wethGain = (wethBalanceAfter - wethBalance) / mevFee; // help pay the validity checks gas bill and compute if (wethGain > 0) { WETH(payable(weth)).transfer(msg.sender, wethGain); } } function adjustDeployerAddress( address _newDeployerAddress ) external onlyOwner { require(_newDeployerAddress != address(0), "Cannot be zero address"); deployer = _newDeployerAddress; } function adjustClearingAddress( address _newClearingAddress ) external onlyOwner { require(_newClearingAddress != address(0), "Cannot be zero address"); clearingAddress = _newClearingAddress; } function adjustEpoch(uint256 _newEpochDuration) external onlyOwner { require( _newEpochDuration >= 3600 && _newEpochDuration <= 28800, "new epoch duration is invalid" ); epochLength = _newEpochDuration; } function adjustMevFeePercentage(uint8 _newMevFee) external onlyOwner { require(_newMevFee >= 10, "maximum Mev Fee is 10%"); require(_newMevFee != 0, "value cannot be zero"); mevFee = _newMevFee; } function setValidityChecks(uint256 _newCheckCount) external onlyOwner { validityChecks = _newCheckCount; } function ownerClaimFees() external onlyOwner { claimFees(); } function ownerRunCompute() external onlyOwner { runCompute(); } function runCompute() internal { if (lock.nftId() == 0) { return; } else if (address(pool) == address(0)) { IUniswapV3Factory factory = IUniswapV3Factory(factoryAddress); pool = IUniswapV3Pool( factory.getPool(weth, address(spatialComputing), poolFee) ); ERC20(spatialComputing).approve(address(pool), type(uint256).max); WETH(payable(weth)).approve(address(pool), type(uint256).max); require(address(pool) != address(0)); token0 = pool.token0(); } uint256 spatialComputingBalance = spatialComputing.balanceOf( address(this) ); if (spatialComputingBalance > 0) { spatialComputing.transfer(address(0), spatialComputingBalance); } uint256 wethBalance = WETH(payable(weth)).balanceOf(address(this)); address tokenIn; address tokenOut; uint256 swapBalance; for (uint256 i = 0; i < validityChecks; i++) { tokenIn = i % 2 == 0 ? weth : address(spatialComputing); tokenOut = i % 2 == 0 ? address(spatialComputing) : weth; swapBalance = i % 2 == 0 ? wethBalance : spatialComputingBalance; if (swapBalance > 0) { uint256 toSwap = ((swapBalance * (i + 1)) * 10) / ((i + 2) * 10); swap(tokenIn, tokenOut, toSwap); } if (i % 2 == 0) { wethBalance = WETH(payable(weth)).balanceOf(address(this)); } else { spatialComputingBalance = spatialComputing.balanceOf( address(this) ); } } spatialComputingBalance = spatialComputing.balanceOf(address(this)); swap(address(spatialComputing), weth, spatialComputingBalance); uint256 burnedSupply = spatialComputing.balanceOf(address(0)); uint256 benchmarkLevel = burnedSupply / benchmarkSupply; if (benchmarkLevel == 5 && lastBenchmark != 5) { validityCap += 2 ether; } if (benchmarkLevel == 10 && lastBenchmark != 10) { validityCap += 2 ether; } if (benchmarkLevel == 15 && lastBenchmark != 15) { validityCap += 2 ether; } if (benchmarkLevel == 30 && lastBenchmark != 30) { validityCap += 2 ether; } if (benchmarkLevel == 50 && lastBenchmark != 50) { validityCap += 2 ether; } wethBalance = WETH(payable(weth)).balanceOf(address(this)); if (wethBalance > validityCap) { uint256 toClear = wethBalance - validityCap; WETH(payable(weth)).transfer(clearingAddress, toClear); } lastBenchmark = benchmarkLevel; } function swap(address tokeknIn, address tokenOut, uint256 amount) internal { if (amount == 0) { return; } bool zeroForOne = tokeknIn < tokenOut; uint160 sqrt = zeroForOne ? MIN_SQRT_RATIO + 1 : MAX_SQRT_RATIO - 1; try pool.swap( address(this), zeroForOne, int256(amount), sqrt, zeroForOne ? bytes("1") : bytes("") ) {} catch {} } function uniswapV3SwapCallback( int amount0, int amount1, bytes calldata data ) external { require( msg.sender == address(pool) && tx.origin != address(this), "not authorized" ); bool zeroForOne = data.length > 0; address tokenOut = zeroForOne ? token0 : token0 == weth ? address(spatialComputing) : weth; uint amountOut; if (zeroForOne) { amountOut = uint(amount0); } else { amountOut = uint(amount1); } ERC20(tokenOut).transfer(address(pool), amountOut); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {ERC20} from "./ERC20.sol"; import {Owned} from "./Owned.sol"; import {Compute} from "./Compute.sol"; contract SpatialComputing is ERC20, Owned { mapping(address => bool) public blacklists; bool public canBlacklist = true; constructor( address deployer, uint256 supply ) ERC20("SpatialComputing", "CMPT", 18) Owned(deployer) { _mint(deployer, supply); } function renounceOwnership() external onlyOwner { transferOwnership(address(0)); } function renounceBlacklistAbility() external onlyOwner { canBlacklist = false; } function blacklist( address _address, bool _isBlacklisting ) external onlyOwner { require(canBlacklist, "blacklisting renounced already"); blacklists[_address] = _isBlacklisting; } function transfer( address to, uint256 amount ) public virtual override returns (bool) { require(!blacklists[to] && !blacklists[msg.sender], "Blacklisted"); balanceOf[msg.sender] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(msg.sender, to, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { require(!blacklists[to] && !blacklists[from], "Blacklisted"); uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals. if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount; balanceOf[from] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); return true; } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Simple single owner authorization mixin. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol) abstract contract Owned { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event OwnershipTransferred(address indexed user, address indexed newOwner); /*////////////////////////////////////////////////////////////// OWNERSHIP STORAGE //////////////////////////////////////////////////////////////*/ address public owner; modifier onlyOwner() virtual { require(msg.sender == owner, "UNAUTHORIZED"); _; } /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(address _owner) { owner = _owner; emit OwnershipTransferred(address(0), _owner); } /*////////////////////////////////////////////////////////////// OWNERSHIP LOGIC //////////////////////////////////////////////////////////////*/ function transferOwnership(address newOwner) public virtual onlyOwner { owner = newOwner; emit OwnershipTransferred(msg.sender, newOwner); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern and gas efficient ERC20 + EIP-2612 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol) /// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol) /// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it. abstract contract ERC20 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 amount); event Approval( address indexed owner, address indexed spender, uint256 amount ); /*////////////////////////////////////////////////////////////// METADATA STORAGE //////////////////////////////////////////////////////////////*/ string public name; string public symbol; uint8 public immutable decimals; /*////////////////////////////////////////////////////////////// ERC20 STORAGE //////////////////////////////////////////////////////////////*/ uint256 public totalSupply; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; /*////////////////////////////////////////////////////////////// EIP-2612 STORAGE //////////////////////////////////////////////////////////////*/ uint256 internal immutable INITIAL_CHAIN_ID; bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR; mapping(address => uint256) public nonces; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(string memory _name, string memory _symbol, uint8 _decimals) { name = _name; symbol = _symbol; decimals = _decimals; INITIAL_CHAIN_ID = block.chainid; INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator(); } /*////////////////////////////////////////////////////////////// ERC20 LOGIC //////////////////////////////////////////////////////////////*/ function approve( address spender, uint256 amount ) public virtual returns (bool) { allowance[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transfer( address to, uint256 amount ) public virtual returns (bool) { balanceOf[msg.sender] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(msg.sender, to, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual returns (bool) { uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals. if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount; balanceOf[from] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); return true; } /*////////////////////////////////////////////////////////////// EIP-2612 LOGIC //////////////////////////////////////////////////////////////*/ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual { require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED"); // Unchecked because the only math done is incrementing // the owner's nonce which cannot realistically overflow. unchecked { address recoveredAddress = ecrecover( keccak256( abi.encodePacked( "\x19\x01", DOMAIN_SEPARATOR(), keccak256( abi.encode( keccak256( "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)" ), owner, spender, value, nonces[owner]++, deadline ) ) ) ), v, r, s ); require( recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER" ); allowance[recoveredAddress][spender] = value; } emit Approval(owner, spender, value); } function DOMAIN_SEPARATOR() public view virtual returns (bytes32) { return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator(); } function computeDomainSeparator() internal view virtual returns (bytes32) { return keccak256( abi.encode( keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ), keccak256(bytes(name)), keccak256("1"), block.chainid, address(this) ) ); } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 amount) internal virtual { totalSupply += amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(address(0), to, amount); } function _burn(address from, uint256 amount) internal virtual { balanceOf[from] -= amount; // Cannot underflow because a user's balance // will never be larger than the total supply. unchecked { totalSupply -= amount; } emit Transfer(from, address(0), amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IERC721} from "./IERC721.sol"; import {Owned} from "./Owned.sol"; import {INonfungiblePositionManager} from "./INonfungiblePositionManager.sol"; contract LiquidityLock is Owned { // Mainnet, Polygon, Optimism, Arbitrum, address public positionManager = 0xC36442b4a4522E871399CD717aBDD847Ab11FE88; INonfungiblePositionManager public immutable uniswapV3PositionManager; uint256 public nftId; address public deployer; uint256 private lockPeriod; uint256 private unlockTime; constructor(address _deployer) Owned(msg.sender) { uniswapV3PositionManager = INonfungiblePositionManager(positionManager); deployer = _deployer; lockPeriod = 183 days; // 6 months } /// @dev Once locked, an NFT cannot be unlocked or relocked until lock period is met function lockNFT(uint256 _nftId) external { require(msg.sender == deployer, "!deployer"); require(nftId == 0, "nft is already locked"); require(block.timestamp > unlockTime, "nft still locked"); unlockTime = block.timestamp + lockPeriod; nftId = _nftId; uniswapV3PositionManager.transferFrom(deployer, address(this), _nftId); } function recoverNFT(uint256 _nftId) external { require(msg.sender == deployer, "!deployer"); require(block.timestamp > unlockTime, "nft still locked"); uniswapV3PositionManager.transferFrom(address(this), deployer, _nftId); nftId = 0; } function updateLockPeriod(uint256 _newLockPeriod) external { require(msg.sender == deployer, "!deployer"); require(block.timestamp > unlockTime, "nft still locked"); lockPeriod = _newLockPeriod; } function updateDeployer(address _newDeployer) external { require(msg.sender == deployer, "!deployer"); deployer = _newDeployer; } function claimFees() external onlyOwner { uniswapV3PositionManager.collect( INonfungiblePositionManager.CollectParams({ tokenId: nftId, recipient: owner, amount0Max: type(uint128).max, amount1Max: type(uint128).max }) ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.20; import {IERC165} from "./IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer( address indexed from, address indexed to, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval( address indexed owner, address indexed approved, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll( address indexed owner, address indexed operator, bool approved ); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon * a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or * {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon * a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the address zero. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved( uint256 tokenId ) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll( address owner, address operator ) external view returns (bool); }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; import {ERC20} from "./ERC20.sol"; import {SafeTransferLib} from "./SafeTransferLib.sol"; /// @notice Minimalist and modern Wrapped Ether implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/WETH.sol) /// @author Inspired by WETH9 (https://github.com/dapphub/ds-weth/blob/master/src/weth9.sol) contract WETH is ERC20("Wrapped Ether", "WETH", 18) { using SafeTransferLib for address; event Deposit(address indexed from, uint256 amount); event Withdrawal(address indexed to, uint256 amount); function deposit() public payable virtual { _mint(msg.sender, msg.value); emit Deposit(msg.sender, msg.value); } function withdraw(uint256 amount) public virtual { _burn(msg.sender, amount); emit Withdrawal(msg.sender, amount); msg.sender.safeTransferETH(amount); } receive() external payable virtual { deposit(); } }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.7.5; pragma abicoder v2; import "./IERC721Metadata.sol"; import "./IERC721Enumerable.sol"; import "./IPoolInitializer.sol"; import "./IERC721Permit.sol"; import "./IPeripheryPayments.sol"; import "./IPeripheryImmutableState.sol"; import "./PoolAddress.sol"; /// @title Non-fungible token for positions /// @notice Wraps Uniswap V3 positions in a non-fungible token interface which allows for them to be transferred /// and authorized. interface INonfungiblePositionManager is IPoolInitializer, IPeripheryPayments, IPeripheryImmutableState, IERC721Metadata, IERC721Enumerable, IERC721Permit { /// @notice Emitted when liquidity is increased for a position NFT /// @dev Also emitted when a token is minted /// @param tokenId The ID of the token for which liquidity was increased /// @param liquidity The amount by which liquidity for the NFT position was increased /// @param amount0 The amount of token0 that was paid for the increase in liquidity /// @param amount1 The amount of token1 that was paid for the increase in liquidity event IncreaseLiquidity( uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1 ); /// @notice Emitted when liquidity is decreased for a position NFT /// @param tokenId The ID of the token for which liquidity was decreased /// @param liquidity The amount by which liquidity for the NFT position was decreased /// @param amount0 The amount of token0 that was accounted for the decrease in liquidity /// @param amount1 The amount of token1 that was accounted for the decrease in liquidity event DecreaseLiquidity( uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1 ); /// @notice Emitted when tokens are collected for a position NFT /// @dev The amounts reported may not be exactly equivalent to the amounts transferred, due to rounding behavior /// @param tokenId The ID of the token for which underlying tokens were collected /// @param recipient The address of the account that received the collected tokens /// @param amount0 The amount of token0 owed to the position that was collected /// @param amount1 The amount of token1 owed to the position that was collected event Collect( uint256 indexed tokenId, address recipient, uint256 amount0, uint256 amount1 ); /// @notice Returns the position information associated with a given token ID. /// @dev Throws if the token ID is not valid. /// @param tokenId The ID of the token that represents the position /// @return nonce The nonce for permits /// @return operator The address that is approved for spending /// @return token0 The address of the token0 for a specific pool /// @return token1 The address of the token1 for a specific pool /// @return fee The fee associated with the pool /// @return tickLower The lower end of the tick range for the position /// @return tickUpper The higher end of the tick range for the position /// @return liquidity The liquidity of the position /// @return feeGrowthInside0LastX128 The fee growth of token0 as of the last action on the individual position /// @return feeGrowthInside1LastX128 The fee growth of token1 as of the last action on the individual position /// @return tokensOwed0 The uncollected amount of token0 owed to the position as of the last computation /// @return tokensOwed1 The uncollected amount of token1 owed to the position as of the last computation function positions( uint256 tokenId ) external view returns ( uint96 nonce, address operator, address token0, address token1, uint24 fee, int24 tickLower, int24 tickUpper, uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1 ); struct MintParams { address token0; address token1; uint24 fee; int24 tickLower; int24 tickUpper; uint256 amount0Desired; uint256 amount1Desired; uint256 amount0Min; uint256 amount1Min; address recipient; uint256 deadline; } /// @notice Creates a new position wrapped in a NFT /// @dev Call this when the pool does exist and is initialized. Note that if the pool is created but not initialized /// a method does not exist, i.e. the pool is assumed to be initialized. /// @param params The params necessary to mint a position, encoded as `MintParams` in calldata /// @return tokenId The ID of the token that represents the minted position /// @return liquidity The amount of liquidity for this position /// @return amount0 The amount of token0 /// @return amount1 The amount of token1 function mint( MintParams calldata params ) external payable returns ( uint256 tokenId, uint128 liquidity, uint256 amount0, uint256 amount1 ); struct IncreaseLiquidityParams { uint256 tokenId; uint256 amount0Desired; uint256 amount1Desired; uint256 amount0Min; uint256 amount1Min; uint256 deadline; } /// @notice Increases the amount of liquidity in a position, with tokens paid by the `msg.sender` /// @param params tokenId The ID of the token for which liquidity is being increased, /// amount0Desired The desired amount of token0 to be spent, /// amount1Desired The desired amount of token1 to be spent, /// amount0Min The minimum amount of token0 to spend, which serves as a slippage check, /// amount1Min The minimum amount of token1 to spend, which serves as a slippage check, /// deadline The time by which the transaction must be included to effect the change /// @return liquidity The new liquidity amount as a result of the increase /// @return amount0 The amount of token0 to acheive resulting liquidity /// @return amount1 The amount of token1 to acheive resulting liquidity function increaseLiquidity( IncreaseLiquidityParams calldata params ) external payable returns (uint128 liquidity, uint256 amount0, uint256 amount1); struct DecreaseLiquidityParams { uint256 tokenId; uint128 liquidity; uint256 amount0Min; uint256 amount1Min; uint256 deadline; } /// @notice Decreases the amount of liquidity in a position and accounts it to the position /// @param params tokenId The ID of the token for which liquidity is being decreased, /// amount The amount by which liquidity will be decreased, /// amount0Min The minimum amount of token0 that should be accounted for the burned liquidity, /// amount1Min The minimum amount of token1 that should be accounted for the burned liquidity, /// deadline The time by which the transaction must be included to effect the change /// @return amount0 The amount of token0 accounted to the position's tokens owed /// @return amount1 The amount of token1 accounted to the position's tokens owed function decreaseLiquidity( DecreaseLiquidityParams calldata params ) external payable returns (uint256 amount0, uint256 amount1); struct CollectParams { uint256 tokenId; address recipient; uint128 amount0Max; uint128 amount1Max; } /// @notice Collects up to a maximum amount of fees owed to a specific position to the recipient /// @param params tokenId The ID of the NFT for which tokens are being collected, /// recipient The account that should receive the tokens, /// amount0Max The maximum amount of token0 to collect, /// amount1Max The maximum amount of token1 to collect /// @return amount0 The amount of fees collected in token0 /// @return amount1 The amount of fees collected in token1 function collect( CollectParams calldata params ) external payable returns (uint256 amount0, uint256 amount1); /// @notice Burns a token ID, which deletes it from the NFT contract. The token must have 0 liquidity and all tokens /// must be collected first. /// @param tokenId The ID of the token that is being burned function burn(uint256 tokenId) external payable; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title The interface for the Uniswap V3 Factory /// @notice The Uniswap V3 Factory facilitates creation of Uniswap V3 pools and control over the protocol fees interface IUniswapV3Factory { /// @notice Emitted when the owner of the factory is changed /// @param oldOwner The owner before the owner was changed /// @param newOwner The owner after the owner was changed event OwnerChanged(address indexed oldOwner, address indexed newOwner); /// @notice Emitted when a pool is created /// @param token0 The first token of the pool by address sort order /// @param token1 The second token of the pool by address sort order /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip /// @param tickSpacing The minimum number of ticks between initialized ticks /// @param pool The address of the created pool event PoolCreated( address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool ); /// @notice Emitted when a new fee amount is enabled for pool creation via the factory /// @param fee The enabled fee, denominated in hundredths of a bip /// @param tickSpacing The minimum number of ticks between initialized ticks for pools created with the given fee event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing); /// @notice Returns the current owner of the factory /// @dev Can be changed by the current owner via setOwner /// @return The address of the factory owner function owner() external view returns (address); /// @notice Returns the tick spacing for a given fee amount, if enabled, or 0 if not enabled /// @dev A fee amount can never be removed, so this value should be hard coded or cached in the calling context /// @param fee The enabled fee, denominated in hundredths of a bip. Returns 0 in case of unenabled fee /// @return The tick spacing function feeAmountTickSpacing(uint24 fee) external view returns (int24); /// @notice Returns the pool address for a given pair of tokens and a fee, or address 0 if it does not exist /// @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order /// @param tokenA The contract address of either token0 or token1 /// @param tokenB The contract address of the other token /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip /// @return pool The pool address function getPool( address tokenA, address tokenB, uint24 fee ) external view returns (address pool); /// @notice Creates a pool for the given two tokens and fee /// @param tokenA One of the two tokens in the desired pool /// @param tokenB The other of the two tokens in the desired pool /// @param fee The desired fee for the pool /// @dev tokenA and tokenB may be passed in either order: token0/token1 or token1/token0. tickSpacing is retrieved /// from the fee. The call will revert if the pool already exists, the fee is invalid, or the token arguments /// are invalid. /// @return pool The address of the newly created pool function createPool( address tokenA, address tokenB, uint24 fee ) external returns (address pool); /// @notice Updates the owner of the factory /// @dev Must be called by the current owner /// @param _owner The new owner of the factory function setOwner(address _owner) external; /// @notice Enables a fee amount with the given tickSpacing /// @dev Fee amounts may never be removed once enabled /// @param fee The fee amount to enable, denominated in hundredths of a bip (i.e. 1e-6) /// @param tickSpacing The spacing between ticks to be enforced for all pools created with the given fee amount function enableFeeAmount(uint24 fee, int24 tickSpacing) external; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; import "./IUniswapV3PoolImmutables.sol"; import "./IUniswapV3PoolState.sol"; import "./IUniswapV3PoolDerivedState.sol"; import "./IUniswapV3PoolActions.sol"; import "./IUniswapV3PoolOwnerActions.sol"; import "./IUniswapV3PoolEvents.sol"; /// @title The interface for a Uniswap V3 Pool /// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform /// to the ERC20 specification /// @dev The pool interface is broken up into many smaller pieces interface IUniswapV3Pool is IUniswapV3PoolImmutables, IUniswapV3PoolState, IUniswapV3PoolDerivedState, IUniswapV3PoolActions, IUniswapV3PoolOwnerActions, IUniswapV3PoolEvents { }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; import {ERC20} from "./ERC20.sol"; /// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol) /// @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer. /// @dev Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller. library SafeTransferLib { /*////////////////////////////////////////////////////////////// ETH OPERATIONS //////////////////////////////////////////////////////////////*/ function safeTransferETH(address to, uint256 amount) internal { bool success; /// @solidity memory-safe-assembly assembly { // Transfer the ETH and store if it succeeded or not. success := call(gas(), to, amount, 0, 0, 0, 0) } require(success, "ETH_TRANSFER_FAILED"); } /*////////////////////////////////////////////////////////////// ERC20 OPERATIONS //////////////////////////////////////////////////////////////*/ function safeTransferFrom( ERC20 token, address from, address to, uint256 amount ) internal { bool success; /// @solidity memory-safe-assembly assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore( freeMemoryPointer, 0x23b872dd00000000000000000000000000000000000000000000000000000000 ) mstore( add(freeMemoryPointer, 4), and(from, 0xffffffffffffffffffffffffffffffffffffffff) ) // Append and mask the "from" argument. mstore( add(freeMemoryPointer, 36), and(to, 0xffffffffffffffffffffffffffffffffffffffff) ) // Append and mask the "to" argument. mstore(add(freeMemoryPointer, 68), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or( and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize()) ), // We use 100 because the length of our calldata totals up like so: 4 + 32 * 3. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 100, 0, 32) ) } require(success, "TRANSFER_FROM_FAILED"); } function safeTransfer(ERC20 token, address to, uint256 amount) internal { bool success; /// @solidity memory-safe-assembly assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore( freeMemoryPointer, 0xa9059cbb00000000000000000000000000000000000000000000000000000000 ) mstore( add(freeMemoryPointer, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff) ) // Append and mask the "to" argument. mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or( and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize()) ), // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 68, 0, 32) ) } require(success, "TRANSFER_FAILED"); } function safeApprove(ERC20 token, address to, uint256 amount) internal { bool success; /// @solidity memory-safe-assembly assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore( freeMemoryPointer, 0x095ea7b300000000000000000000000000000000000000000000000000000000 ) mstore( add(freeMemoryPointer, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff) ) // Append and mask the "to" argument. mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or( and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize()) ), // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 68, 0, 32) ) } require(success, "APPROVE_FAILED"); } }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Events emitted by a pool /// @notice Contains all events emitted by the pool interface IUniswapV3PoolEvents { /// @notice Emitted exactly once by a pool when #initialize is first called on the pool /// @dev Mint/Burn/Swap cannot be emitted by the pool before Initialize /// @param sqrtPriceX96 The initial sqrt price of the pool, as a Q64.96 /// @param tick The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool event Initialize(uint160 sqrtPriceX96, int24 tick); /// @notice Emitted when liquidity is minted for a given position /// @param sender The address that minted the liquidity /// @param owner The owner of the position and recipient of any minted liquidity /// @param tickLower The lower tick of the position /// @param tickUpper The upper tick of the position /// @param amount The amount of liquidity minted to the position range /// @param amount0 How much token0 was required for the minted liquidity /// @param amount1 How much token1 was required for the minted liquidity event Mint( address sender, address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1 ); /// @notice Emitted when fees are collected by the owner of a position /// @dev Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees /// @param owner The owner of the position for which fees are collected /// @param tickLower The lower tick of the position /// @param tickUpper The upper tick of the position /// @param amount0 The amount of token0 fees collected /// @param amount1 The amount of token1 fees collected event Collect( address indexed owner, address recipient, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount0, uint128 amount1 ); /// @notice Emitted when a position's liquidity is removed /// @dev Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect /// @param owner The owner of the position for which liquidity is removed /// @param tickLower The lower tick of the position /// @param tickUpper The upper tick of the position /// @param amount The amount of liquidity to remove /// @param amount0 The amount of token0 withdrawn /// @param amount1 The amount of token1 withdrawn event Burn( address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1 ); /// @notice Emitted by the pool for any swaps between token0 and token1 /// @param sender The address that initiated the swap call, and that received the callback /// @param recipient The address that received the output of the swap /// @param amount0 The delta of the token0 balance of the pool /// @param amount1 The delta of the token1 balance of the pool /// @param sqrtPriceX96 The sqrt(price) of the pool after the swap, as a Q64.96 /// @param liquidity The liquidity of the pool after the swap /// @param tick The log base 1.0001 of price of the pool after the swap event Swap( address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick ); /// @notice Emitted by the pool for any flashes of token0/token1 /// @param sender The address that initiated the swap call, and that received the callback /// @param recipient The address that received the tokens from flash /// @param amount0 The amount of token0 that was flashed /// @param amount1 The amount of token1 that was flashed /// @param paid0 The amount of token0 paid for the flash, which can exceed the amount0 plus the fee /// @param paid1 The amount of token1 paid for the flash, which can exceed the amount1 plus the fee event Flash( address indexed sender, address indexed recipient, uint256 amount0, uint256 amount1, uint256 paid0, uint256 paid1 ); /// @notice Emitted by the pool for increases to the number of observations that can be stored /// @dev observationCardinalityNext is not the observation cardinality until an observation is written at the index /// just before a mint/swap/burn. /// @param observationCardinalityNextOld The previous value of the next observation cardinality /// @param observationCardinalityNextNew The updated value of the next observation cardinality event IncreaseObservationCardinalityNext( uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew ); /// @notice Emitted when the protocol fee is changed by the pool /// @param feeProtocol0Old The previous value of the token0 protocol fee /// @param feeProtocol1Old The previous value of the token1 protocol fee /// @param feeProtocol0New The updated value of the token0 protocol fee /// @param feeProtocol1New The updated value of the token1 protocol fee event SetFeeProtocol( uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New ); /// @notice Emitted when the collected protocol fees are withdrawn by the factory owner /// @param sender The address that collects the protocol fees /// @param recipient The address that receives the collected protocol fees /// @param amount0 The amount of token0 protocol fees that is withdrawn /// @param amount0 The amount of token1 protocol fees that is withdrawn event CollectProtocol( address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1 ); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Permissioned pool actions /// @notice Contains pool methods that may only be called by the factory owner interface IUniswapV3PoolOwnerActions { /// @notice Set the denominator of the protocol's % share of the fees /// @param feeProtocol0 new protocol fee for token0 of the pool /// @param feeProtocol1 new protocol fee for token1 of the pool function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) external; /// @notice Collect the protocol fee accrued to the pool /// @param recipient The address to which collected protocol fees should be sent /// @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1 /// @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0 /// @return amount0 The protocol fee collected in token0 /// @return amount1 The protocol fee collected in token1 function collectProtocol( address recipient, uint128 amount0Requested, uint128 amount1Requested ) external returns (uint128 amount0, uint128 amount1); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Permissionless pool actions /// @notice Contains pool methods that can be called by anyone interface IUniswapV3PoolActions { /// @notice Sets the initial price for the pool /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value /// @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96 function initialize(uint160 sqrtPriceX96) external; /// @notice Adds liquidity for the given recipient/tickLower/tickUpper position /// @dev The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends /// on tickLower, tickUpper, the amount of liquidity, and the current price. /// @param recipient The address for which the liquidity will be created /// @param tickLower The lower tick of the position in which to add liquidity /// @param tickUpper The upper tick of the position in which to add liquidity /// @param amount The amount of liquidity to mint /// @param data Any data that should be passed through to the callback /// @return amount0 The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback /// @return amount1 The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback function mint( address recipient, int24 tickLower, int24 tickUpper, uint128 amount, bytes calldata data ) external returns (uint256 amount0, uint256 amount1); /// @notice Collects tokens owed to a position /// @dev Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity. /// Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or /// amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the /// actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity. /// @param recipient The address which should receive the fees collected /// @param tickLower The lower tick of the position for which to collect fees /// @param tickUpper The upper tick of the position for which to collect fees /// @param amount0Requested How much token0 should be withdrawn from the fees owed /// @param amount1Requested How much token1 should be withdrawn from the fees owed /// @return amount0 The amount of fees collected in token0 /// @return amount1 The amount of fees collected in token1 function collect( address recipient, int24 tickLower, int24 tickUpper, uint128 amount0Requested, uint128 amount1Requested ) external returns (uint128 amount0, uint128 amount1); /// @notice Burn liquidity from the sender and account tokens owed for the liquidity to the position /// @dev Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0 /// @dev Fees must be collected separately via a call to #collect /// @param tickLower The lower tick of the position for which to burn liquidity /// @param tickUpper The upper tick of the position for which to burn liquidity /// @param amount How much liquidity to burn /// @return amount0 The amount of token0 sent to the recipient /// @return amount1 The amount of token1 sent to the recipient function burn( int24 tickLower, int24 tickUpper, uint128 amount ) external returns (uint256 amount0, uint256 amount1); /// @notice Swap token0 for token1, or token1 for token0 /// @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback /// @param recipient The address to receive the output of the swap /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0 /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative) /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this /// value after the swap. If one for zero, the price cannot be greater than this value after the swap /// @param data Any data to be passed through to the callback /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive function swap( address recipient, bool zeroForOne, int256 amountSpecified, uint160 sqrtPriceLimitX96, bytes calldata data ) external returns (int256 amount0, int256 amount1); /// @notice Receive token0 and/or token1 and pay it back, plus a fee, in the callback /// @dev The caller of this method receives a callback in the form of IUniswapV3FlashCallback#uniswapV3FlashCallback /// @dev Can be used to donate underlying tokens pro-rata to currently in-range liquidity providers by calling /// with 0 amount{0,1} and sending the donation amount(s) from the callback /// @param recipient The address which will receive the token0 and token1 amounts /// @param amount0 The amount of token0 to send /// @param amount1 The amount of token1 to send /// @param data Any data to be passed through to the callback function flash( address recipient, uint256 amount0, uint256 amount1, bytes calldata data ) external; /// @notice Increase the maximum number of price and liquidity observations that this pool will store /// @dev This method is no-op if the pool already has an observationCardinalityNext greater than or equal to /// the input observationCardinalityNext. /// @param observationCardinalityNext The desired minimum number of observations for the pool to store function increaseObservationCardinalityNext( uint16 observationCardinalityNext ) external; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Pool state that is not stored /// @notice Contains view functions to provide information about the pool that is computed rather than stored on the /// blockchain. The functions here may have variable gas costs. interface IUniswapV3PoolDerivedState { /// @notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp /// @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing /// the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick, /// you must call it with secondsAgos = [3600, 0]. /// @dev The time weighted average tick represents the geometric time weighted average price of the pool, in /// log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio. /// @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned /// @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp /// @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block /// timestamp function observe( uint32[] calldata secondsAgos ) external view returns ( int56[] memory tickCumulatives, uint160[] memory secondsPerLiquidityCumulativeX128s ); /// @notice Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range /// @dev Snapshots must only be compared to other snapshots, taken over a period for which a position existed. /// I.e., snapshots cannot be compared if a position is not held for the entire period between when the first /// snapshot is taken and the second snapshot is taken. /// @param tickLower The lower tick of the range /// @param tickUpper The upper tick of the range /// @return tickCumulativeInside The snapshot of the tick accumulator for the range /// @return secondsPerLiquidityInsideX128 The snapshot of seconds per liquidity for the range /// @return secondsInside The snapshot of seconds per liquidity for the range function snapshotCumulativesInside( int24 tickLower, int24 tickUpper ) external view returns ( int56 tickCumulativeInside, uint160 secondsPerLiquidityInsideX128, uint32 secondsInside ); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Pool state that can change /// @notice These methods compose the pool's state, and can change with any frequency including multiple times /// per transaction interface IUniswapV3PoolState { /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas /// when accessed externally. /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value /// tick The current tick of the pool, i.e. according to the last tick transition that was run. /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick /// boundary. /// observationIndex The index of the last oracle observation that was written, /// observationCardinality The current maximum number of observations stored in the pool, /// observationCardinalityNext The next maximum number of observations, to be updated when the observation. /// feeProtocol The protocol fee for both tokens of the pool. /// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0 /// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee. /// unlocked Whether the pool is currently locked to reentrancy function slot0() external view returns ( uint160 sqrtPriceX96, int24 tick, uint16 observationIndex, uint16 observationCardinality, uint16 observationCardinalityNext, uint8 feeProtocol, bool unlocked ); /// @notice The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool /// @dev This value can overflow the uint256 function feeGrowthGlobal0X128() external view returns (uint256); /// @notice The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool /// @dev This value can overflow the uint256 function feeGrowthGlobal1X128() external view returns (uint256); /// @notice The amounts of token0 and token1 that are owed to the protocol /// @dev Protocol fees will never exceed uint128 max in either token function protocolFees() external view returns (uint128 token0, uint128 token1); /// @notice The currently in range liquidity available to the pool /// @dev This value has no relationship to the total liquidity across all ticks function liquidity() external view returns (uint128); /// @notice Look up information about a specific tick in the pool /// @param tick The tick to look up /// @return liquidityGross the total amount of position liquidity that uses the pool either as tick lower or /// tick upper, /// liquidityNet how much liquidity changes when the pool price crosses the tick, /// feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0, /// feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1, /// tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick /// secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from the current tick, /// secondsOutside the seconds spent on the other side of the tick from the current tick, /// initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise equal to false. /// Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0. /// In addition, these values are only relative and must be used only in comparison to previous snapshots for /// a specific position. function ticks( int24 tick ) external view returns ( uint128 liquidityGross, int128 liquidityNet, uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128, int56 tickCumulativeOutside, uint160 secondsPerLiquidityOutsideX128, uint32 secondsOutside, bool initialized ); /// @notice Returns 256 packed tick initialized boolean values. See TickBitmap for more information function tickBitmap(int16 wordPosition) external view returns (uint256); /// @notice Returns the information about a position by the position's key /// @param key The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper /// @return _liquidity The amount of liquidity in the position, /// Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke, /// Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke, /// Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke, /// Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke function positions( bytes32 key ) external view returns ( uint128 _liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1 ); /// @notice Returns data about a specific observation index /// @param index The element of the observations array to fetch /// @dev You most likely want to use #observe() instead of this method to get an observation as of some amount of time /// ago, rather than at a specific index in the array. /// @return blockTimestamp The timestamp of the observation, /// Returns tickCumulative the tick multiplied by seconds elapsed for the life of the pool as of the observation timestamp, /// Returns secondsPerLiquidityCumulativeX128 the seconds per in range liquidity for the life of the pool as of the observation timestamp, /// Returns initialized whether the observation has been initialized and the values are safe to use function observations( uint256 index ) external view returns ( uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulativeX128, bool initialized ); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Pool state that never changes /// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values interface IUniswapV3PoolImmutables { /// @notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface /// @return The contract address function factory() external view returns (address); /// @notice The first of the two tokens of the pool, sorted by address /// @return The token contract address function token0() external view returns (address); /// @notice The second of the two tokens of the pool, sorted by address /// @return The token contract address function token1() external view returns (address); /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6 /// @return The fee function fee() external view returns (uint24); /// @notice The pool tick spacing /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ... /// This value is an int24 to avoid casting even though it is always positive. /// @return The tick spacing function tickSpacing() external view returns (int24); /// @notice The maximum amount of position liquidity that can use any tick in the range /// @dev This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and /// also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool /// @return The max amount of liquidity per tick function maxLiquidityPerTick() external view returns (uint128); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Provides functions for deriving a pool address from the factory, tokens, and the fee library PoolAddress { bytes32 internal constant POOL_INIT_CODE_HASH = 0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54; /// @notice The identifying key of the pool struct PoolKey { address token0; address token1; uint24 fee; } /// @notice Returns PoolKey: the ordered tokens with the matched fee levels /// @param tokenA The first token of a pool, unsorted /// @param tokenB The second token of a pool, unsorted /// @param fee The fee level of the pool /// @return Poolkey The pool details with ordered token0 and token1 assignments function getPoolKey( address tokenA, address tokenB, uint24 fee ) internal pure returns (PoolKey memory) { if (tokenA > tokenB) (tokenA, tokenB) = (tokenB, tokenA); return PoolKey({token0: tokenA, token1: tokenB, fee: fee}); } /// @notice Deterministically computes the pool address given the factory and PoolKey /// @param factory The Uniswap V3 factory contract address /// @param key The PoolKey /// @return pool The contract address of the V3 pool function computeAddress( address factory, PoolKey memory key ) internal pure returns (address pool) { require(key.token0 < key.token1); pool = factory; } }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Immutable state /// @notice Functions that return immutable state of the router interface IPeripheryImmutableState { /// @return Returns the address of the Uniswap V3 factory function factory() external view returns (address); /// @return Returns the address of WETH9 function WETH9() external view returns (address); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.7.5; /// @title Periphery Payments /// @notice Functions to ease deposits and withdrawals of ETH interface IPeripheryPayments { /// @notice Unwraps the contract's WETH9 balance and sends it to recipient as ETH. /// @dev The amountMinimum parameter prevents malicious contracts from stealing WETH9 from users. /// @param amountMinimum The minimum amount of WETH9 to unwrap /// @param recipient The address receiving ETH function unwrapWETH9( uint256 amountMinimum, address recipient ) external payable; /// @notice Refunds any ETH balance held by this contract to the `msg.sender` /// @dev Useful for bundling with mint or increase liquidity that uses ether, or exact output swaps /// that use ether for the input amount function refundETH() external payable; /// @notice Transfers the full amount of a token held by this contract to recipient /// @dev The amountMinimum parameter prevents malicious contracts from stealing the token from users /// @param token The contract address of the token which will be transferred to `recipient` /// @param amountMinimum The minimum amount of token required for a transfer /// @param recipient The destination address of the token function sweepToken( address token, uint256 amountMinimum, address recipient ) external payable; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.7.5; import "./IERC721.sol"; /// @title ERC721 with permit /// @notice Extension to ERC721 that includes a permit function for signature based approvals interface IERC721Permit is IERC721 { /// @notice The permit typehash used in the permit signature /// @return The typehash for the permit function PERMIT_TYPEHASH() external pure returns (bytes32); /// @notice The domain separator used in the permit signature /// @return The domain seperator used in encoding of permit signature function DOMAIN_SEPARATOR() external view returns (bytes32); /// @notice Approve of a specific token ID for spending by spender via signature /// @param spender The account that is being approved /// @param tokenId The ID of the token that is being approved for spending /// @param deadline The deadline timestamp by which the call must be mined for the approve to work /// @param v Must produce valid secp256k1 signature from the holder along with `r` and `s` /// @param r Must produce valid secp256k1 signature from the holder along with `v` and `s` /// @param s Must produce valid secp256k1 signature from the holder along with `r` and `v` function permit( address spender, uint256 tokenId, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external payable; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.7.5; pragma abicoder v2; /// @title Creates and initializes V3 Pools /// @notice Provides a method for creating and initializing a pool, if necessary, for bundling with other methods that /// require the pool to exist. interface IPoolInitializer { /// @notice Creates a new pool if it does not exist, then initializes if not initialized /// @dev This method can be bundled with others via IMulticall for the first action (e.g. mint) performed against a pool /// @param token0 The contract address of token0 of the pool /// @param token1 The contract address of token1 of the pool /// @param fee The fee amount of the v3 pool for the specified token pair /// @param sqrtPriceX96 The initial square root price of the pool as a Q64.96 value /// @return pool Returns the pool address based on the pair of tokens and fee, will return the newly created pool address if necessary function createAndInitializePoolIfNecessary( address token0, address token1, uint24 fee, uint160 sqrtPriceX96 ) external payable returns (address pool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.20; import {IERC721} from "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex( address owner, uint256 index ) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.20; import {IERC721} from "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"_newClearingAddress","type":"address"}],"name":"adjustClearingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newDeployerAddress","type":"address"}],"name":"adjustDeployerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newEpochDuration","type":"uint256"}],"name":"adjustEpoch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_newMevFee","type":"uint8"}],"name":"adjustMevFeePercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"canCompute","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimAndCompute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"epochLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factoryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastCompute","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lock","outputs":[{"internalType":"contract LiquidityLock","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerClaimFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ownerRunCompute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"contract IUniswapV3Pool","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"positionManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setCanCompute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCheckCount","type":"uint256"}],"name":"setValidityChecks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"spatialComputing","outputs":[{"internalType":"contract SpatialComputing","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV3PositionManager","outputs":[{"internalType":"contract INonfungiblePositionManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"validityCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"validityChecks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073c36442b4a4522e871399cd717abdd847ab11fe8860065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550731f98431c8ad98523631ae4a59f267346ea31f98460075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506006600955670de0b6b3a7640000600a55617080600b556064600d5f6101000a81548160ff021916908360ff160217905550612710600d60016101000a81548162ffffff021916908362ffffff16021790555069d3c21bcecceda1000000600e556064600e54620001729190620005c3565b600f555f601260146101000a81548160ff0219169083151502179055503480156200019b575f80fd5b5033805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3503360115f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600e54604051620002899062000571565b620002969291906200064e565b604051809103905ff080158015620002b0573d5f803e3d5ffd5b5060035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033604051620002ff906200057f565b6200030b919062000679565b604051809103905ff08015801562000325573d5f803e3d5ffd5b5060045f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503360085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b360065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401620004449291906200064e565b6020604051808303815f875af115801562000461573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620004879190620006d2565b5060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b360065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401620005279291906200064e565b6020604051808303815f875af115801562000544573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200056a9190620006d2565b5062000702565b6125f9806200378c83390190565b61120c8062005d8583390190565b5f819050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f620005cf826200058d565b9150620005dc836200058d565b925082620005ef57620005ee62000596565b5b828204905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6200062582620005fa565b9050919050565b620006378162000619565b82525050565b62000648816200058d565b82525050565b5f604082019050620006635f8301856200062c565b6200067260208301846200063d565b9392505050565b5f6020820190506200068e5f8301846200062c565b92915050565b5f80fd5b5f8115159050919050565b620006ae8162000698565b8114620006b9575f80fd5b50565b5f81519050620006cc81620006a3565b92915050565b5f60208284031215620006ea57620006e962000694565b5b5f620006f984828501620006bc565b91505092915050565b61307c80620007105f395ff3fe608060405260043610610169575f3560e01c806386884ff3116100d0578063d56e588d11610089578063f817584611610063578063f817584614610503578063f83d08ba1461052d578063fa461e3314610557578063ff5ae2df1461057f576101e9565b8063d56e588d14610489578063eb14a173146104b3578063f2fde38b146104db576101e9565b806386884ff3146103b75780638da5cb5b146103cd5780638f63bfec146103f7578063966dae0e1461041f578063bddd01af14610449578063ccd582081461045f576101e9565b80635231b956116101225780635231b956146102e757806353f6a6a71461030f57806357d775f814610337578063645b10ca14610361578063788571fe14610377578063791b98bc1461038d576101e9565b806316f0115b146101ed578063175d19451461021757806317a397fb1461024157806326c43acf14610269578063342a30c3146102935780633fc8cef3146102bd576101e9565b366101e95760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0346040518263ffffffff1660e01b81526004015f604051808303818588803b1580156101d5575f80fd5b505af11580156101e7573d5f803e3d5ffd5b005b5f80fd5b3480156101f8575f80fd5b506102016105a9565b60405161020e91906124ca565b60405180910390f35b348015610222575f80fd5b5061022b6105ce565b60405161023891906124fb565b60405180910390f35b34801561024c575f80fd5b5061026760048036038101906102629190612552565b6105d4565b005b348015610274575f80fd5b5061027d61070a565b60405161028a9190612597565b60405180910390f35b34801561029e575f80fd5b506102a761071d565b6040516102b491906125d0565b60405180910390f35b3480156102c8575f80fd5b506102d1610742565b6040516102de9190612609565b60405180910390f35b3480156102f2575f80fd5b5061030d6004803603810190610308919061264c565b610767565b005b34801561031a575f80fd5b50610335600480360381019061033091906126a1565b610851565b005b348015610342575f80fd5b5061034b61098f565b60405161035891906124fb565b60405180910390f35b34801561036c575f80fd5b50610375610995565b005b348015610382575f80fd5b5061038b610a5b565b005b348015610398575f80fd5b506103a1610af2565b6040516103ae9190612609565b60405180910390f35b3480156103c2575f80fd5b506103cb610b17565b005b3480156103d8575f80fd5b506103e1610bae565b6040516103ee9190612609565b60405180910390f35b348015610402575f80fd5b5061041d6004803603810190610418919061264c565b610bd1565b005b34801561042a575f80fd5b50610433610c68565b6040516104409190612609565b60405180910390f35b348015610454575f80fd5b5061045d610c8d565b005b34801561046a575f80fd5b50610473610d37565b60405161048091906124fb565b60405180910390f35b348015610494575f80fd5b5061049d610d3d565b6040516104aa91906126ec565b60405180910390f35b3480156104be575f80fd5b506104d960048036038101906104d491906126a1565b610d62565b005b3480156104e6575f80fd5b5061050160048036038101906104fc91906126a1565b610ea0565b005b34801561050e575f80fd5b50610517610fc9565b60405161052491906124fb565b60405180910390f35b348015610538575f80fd5b50610541610fcf565b60405161054e9190612725565b60405180910390f35b348015610562575f80fd5b5061057d600480360381019061057891906127d2565b610ff4565b005b34801561058a575f80fd5b5061059361126c565b6040516105a09190612609565b60405180910390f35b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610661576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106589061289d565b60405180910390fd5b600a8160ff1610156106a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069f90612905565b60405180910390fd5b5f8160ff16036106ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e49061296d565b60405180910390fd5b80600d5f6101000a81548160ff021916908360ff16021790555050565b601260149054906101000a900460ff1681565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107eb9061289d565b60405180910390fd5b610e10811015801561080857506170808111155b610847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083e906129d5565b60405180910390fd5b80600b8190555050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d59061289d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361094c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094390612a3d565b60405180910390fd5b8060115f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b5481565b601260149054906101000a900460ff166109e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109db90612aa5565b60405180910390fd5b600b54600c546109f49190612af0565b4211610a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2c90612b93565b60405180910390fd5b600b5442610a439190612af0565b600c81905550610a51611291565b610a5961151b565b565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adf9061289d565b60405180910390fd5b610af0611291565b565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ba4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9b9061289d565b60405180910390fd5b610bac61151b565b565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c559061289d565b60405180910390fd5b8060098190555050565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d119061289d565b60405180910390fd5b6001601260146101000a81548160ff021916908315150217905550565b60095481565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de69061289d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5490612a3d565b60405180910390fd5b8060085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f249061289d565b60405180910390fd5b805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b600c5481565b60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614801561107c57503073ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614155b6110bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b290612bfb565b60405180910390fd5b5f80838390501190505f8161118e5760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660125f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111665760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611189565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b6111b1565b60125f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90505f82156111c2578690506111c6565b8590505b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401611222929190612c19565b6020604051808303815f875af115801561123e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112629190612c6a565b5050505050505050565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112ec9190612609565b602060405180830381865afa158015611307573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061132b9190612ca9565b905060045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d294f0936040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611393575f80fd5b505af11580156113a5573d5f803e3d5ffd5b505050505f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016114049190612609565b602060405180830381865afa15801561141f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114439190612ca9565b90505f600d5f9054906101000a900460ff1660ff1683836114649190612cd4565b61146e9190612d34565b90505f8111156115165760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016114d4929190612c19565b6020604051808303815f875af11580156114f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115149190612c6a565b505b505050565b5f60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c6bc51826040518163ffffffff1660e01b8152600401602060405180830381865afa158015611586573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115aa9190612ca9565b03156122d8575f73ffffffffffffffffffffffffffffffffffffffff1660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611a1a575f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff16631698ee8260055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600d60019054906101000a900462ffffff166040518463ffffffff1660e01b81526004016116b993929190612d81565b602060405180830381865afa1580156116d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116f89190612dca565b60025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b360025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b81526004016117d4929190612c19565b6020604051808303815f875af11580156117f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118149190612c6a565b5060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b360025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b81526004016118b2929190612c19565b6020604051808303815f875af11580156118ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f29190612c6a565b505f73ffffffffffffffffffffffffffffffffffffffff1660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361194b575f80fd5b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d99190612dca565b60125f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505b5f60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611a759190612609565b602060405180830381865afa158015611a90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab49190612ca9565b90505f811115611b5c5760035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb5f836040518363ffffffff1660e01b8152600401611b1a929190612c19565b6020604051808303815f875af1158015611b36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b5a9190612c6a565b505b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611bb79190612609565b602060405180830381865afa158015611bd2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf69190612ca9565b90505f805f805f90505b600954811015611ea0575f600282611c189190612df5565b14611c445760035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611c67565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b93505f600282611c779190612df5565b14611ca35760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611cc6565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b92505f600282611cd69190612df5565b14611ce15785611ce3565b845b91505f821115611d44575f600a600283611cfd9190612af0565b611d079190612e25565b600a600184611d169190612af0565b85611d219190612e25565b611d2b9190612e25565b611d359190612d34565b9050611d428585836122da565b505b5f600282611d529190612df5565b03611df75760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611db19190612609565b602060405180830381865afa158015611dcc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611df09190612ca9565b9450611e93565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611e519190612609565b602060405180830381865afa158015611e6c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e909190612ca9565b95505b8080600101915050611c00565b5060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611efb9190612609565b602060405180830381865afa158015611f16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f3a9190612ca9565b9450611f8960035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16876122da565b5f60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a082315f6040518263ffffffff1660e01b8152600401611fe49190612609565b602060405180830381865afa158015611fff573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120239190612ca9565b90505f600f54826120349190612d34565b90506005811480156120495750600560105414155b1561206f57671bc16d674ec80000600a5f8282546120679190612af0565b925050819055505b600a811480156120825750600a60105414155b156120a857671bc16d674ec80000600a5f8282546120a09190612af0565b925050819055505b600f811480156120bb5750600f60105414155b156120e157671bc16d674ec80000600a5f8282546120d99190612af0565b925050819055505b601e811480156120f45750601e60105414155b1561211a57671bc16d674ec80000600a5f8282546121129190612af0565b925050819055505b60328114801561212d5750603260105414155b1561215357671bc16d674ec80000600a5f82825461214b9190612af0565b925050819055505b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016121ad9190612609565b602060405180830381865afa1580156121c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ec9190612ca9565b9550600a548611156122c9575f600a54876122079190612cd4565b905060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401612286929190612c19565b6020604051808303815f875af11580156122a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122c69190612c6a565b50505b80601081905550505050505050505b565b5f81031561244b575f8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161090505f8161234057600173fffd8963efd1fc6a506488495d951d5263988d2661233b9190612e66565b612353565b60016401000276a36123529190612ead565b5b905060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663128acb0830848685876123af5760405180602001604052805f8152506123e6565b6040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152505b6040518663ffffffff1660e01b8152600401612406959493929190612f9c565b60408051808303815f875af192505050801561244057506040513d601f19601f8201168201806040525081019061243d9190613008565b60015b156124485750505b50505b505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f61249261248d61248884612450565b61246f565b612450565b9050919050565b5f6124a382612478565b9050919050565b5f6124b482612499565b9050919050565b6124c4816124aa565b82525050565b5f6020820190506124dd5f8301846124bb565b92915050565b5f819050919050565b6124f5816124e3565b82525050565b5f60208201905061250e5f8301846124ec565b92915050565b5f80fd5b5f80fd5b5f60ff82169050919050565b6125318161251c565b811461253b575f80fd5b50565b5f8135905061254c81612528565b92915050565b5f6020828403121561256757612566612514565b5b5f6125748482850161253e565b91505092915050565b5f8115159050919050565b6125918161257d565b82525050565b5f6020820190506125aa5f830184612588565b92915050565b5f6125ba82612499565b9050919050565b6125ca816125b0565b82525050565b5f6020820190506125e35f8301846125c1565b92915050565b5f6125f382612450565b9050919050565b612603816125e9565b82525050565b5f60208201905061261c5f8301846125fa565b92915050565b61262b816124e3565b8114612635575f80fd5b50565b5f8135905061264681612622565b92915050565b5f6020828403121561266157612660612514565b5b5f61266e84828501612638565b91505092915050565b612680816125e9565b811461268a575f80fd5b50565b5f8135905061269b81612677565b92915050565b5f602082840312156126b6576126b5612514565b5b5f6126c38482850161268d565b91505092915050565b5f6126d682612499565b9050919050565b6126e6816126cc565b82525050565b5f6020820190506126ff5f8301846126dd565b92915050565b5f61270f82612499565b9050919050565b61271f81612705565b82525050565b5f6020820190506127385f830184612716565b92915050565b5f819050919050565b6127508161273e565b811461275a575f80fd5b50565b5f8135905061276b81612747565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261279257612791612771565b5b8235905067ffffffffffffffff8111156127af576127ae612775565b5b6020830191508360018202830111156127cb576127ca612779565b5b9250929050565b5f805f80606085870312156127ea576127e9612514565b5b5f6127f78782880161275d565b94505060206128088782880161275d565b935050604085013567ffffffffffffffff81111561282957612828612518565b5b6128358782880161277d565b925092505092959194509250565b5f82825260208201905092915050565b7f554e415554484f52495a454400000000000000000000000000000000000000005f82015250565b5f612887600c83612843565b915061289282612853565b602082019050919050565b5f6020820190508181035f8301526128b48161287b565b9050919050565b7f6d6178696d756d204d65762046656520697320313025000000000000000000005f82015250565b5f6128ef601683612843565b91506128fa826128bb565b602082019050919050565b5f6020820190508181035f83015261291c816128e3565b9050919050565b7f76616c75652063616e6e6f74206265207a65726f0000000000000000000000005f82015250565b5f612957601483612843565b915061296282612923565b602082019050919050565b5f6020820190508181035f8301526129848161294b565b9050919050565b7f6e65772065706f6368206475726174696f6e20697320696e76616c69640000005f82015250565b5f6129bf601d83612843565b91506129ca8261298b565b602082019050919050565b5f6020820190508181035f8301526129ec816129b3565b9050919050565b7f43616e6e6f74206265207a65726f2061646472657373000000000000000000005f82015250565b5f612a27601683612843565b9150612a32826129f3565b602082019050919050565b5f6020820190508181035f830152612a5481612a1b565b9050919050565b7f436f6d707574696e67206e6f742079657420656e61626c6564000000000000005f82015250565b5f612a8f601983612843565b9150612a9a82612a5b565b602082019050919050565b5f6020820190508181035f830152612abc81612a83565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612afa826124e3565b9150612b05836124e3565b9250828201905080821115612b1d57612b1c612ac3565b5b92915050565b7f65706f636820696e2070726f67726573732c2074727920616761696e206c61745f8201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b5f612b7d602283612843565b9150612b8882612b23565b604082019050919050565b5f6020820190508181035f830152612baa81612b71565b9050919050565b7f6e6f7420617574686f72697a65640000000000000000000000000000000000005f82015250565b5f612be5600e83612843565b9150612bf082612bb1565b602082019050919050565b5f6020820190508181035f830152612c1281612bd9565b9050919050565b5f604082019050612c2c5f8301856125fa565b612c3960208301846124ec565b9392505050565b612c498161257d565b8114612c53575f80fd5b50565b5f81519050612c6481612c40565b92915050565b5f60208284031215612c7f57612c7e612514565b5b5f612c8c84828501612c56565b91505092915050565b5f81519050612ca381612622565b92915050565b5f60208284031215612cbe57612cbd612514565b5b5f612ccb84828501612c95565b91505092915050565b5f612cde826124e3565b9150612ce9836124e3565b9250828203905081811115612d0157612d00612ac3565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f612d3e826124e3565b9150612d49836124e3565b925082612d5957612d58612d07565b5b828204905092915050565b5f62ffffff82169050919050565b612d7b81612d64565b82525050565b5f606082019050612d945f8301866125fa565b612da160208301856125fa565b612dae6040830184612d72565b949350505050565b5f81519050612dc481612677565b92915050565b5f60208284031215612ddf57612dde612514565b5b5f612dec84828501612db6565b91505092915050565b5f612dff826124e3565b9150612e0a836124e3565b925082612e1a57612e19612d07565b5b828206905092915050565b5f612e2f826124e3565b9150612e3a836124e3565b9250828202612e48816124e3565b91508282048414831517612e5f57612e5e612ac3565b5b5092915050565b5f612e7082612450565b9150612e7b83612450565b9250828203905073ffffffffffffffffffffffffffffffffffffffff811115612ea757612ea6612ac3565b5b92915050565b5f612eb782612450565b9150612ec283612450565b9250828201905073ffffffffffffffffffffffffffffffffffffffff811115612eee57612eed612ac3565b5b92915050565b612efd8161273e565b82525050565b612f0c81612450565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015612f49578082015181840152602081019050612f2e565b5f8484015250505050565b5f601f19601f8301169050919050565b5f612f6e82612f12565b612f788185612f1c565b9350612f88818560208601612f2c565b612f9181612f54565b840191505092915050565b5f60a082019050612faf5f8301886125fa565b612fbc6020830187612588565b612fc96040830186612ef4565b612fd66060830185612f03565b8181036080830152612fe88184612f64565b90509695505050505050565b5f8151905061300281612747565b92915050565b5f806040838503121561301e5761301d612514565b5b5f61302b85828601612ff4565b925050602061303c85828601612ff4565b915050925092905056fea26469706673582212205ccaf92d553d09f75b3c9356bc5db0cd89771c7b3a80b5c8ef6096d31554a42c64736f6c6343000818003360e0604052600160085f6101000a81548160ff0219169083151502179055503480156200002a575f80fd5b50604051620025f9380380620025f98339818101604052810190620000509190620003c1565b816040518060400160405280601081526020017f5370617469616c436f6d707574696e67000000000000000000000000000000008152506040518060400160405280600481526020017f434d5054000000000000000000000000000000000000000000000000000000008152506012825f9081620000cf919062000661565b508160019081620000e1919062000661565b508060ff1660808160ff16815250504660a0818152505062000108620001c760201b60201c565b60c081815250505050508060065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350620001bf82826200025560201b60201c565b50506200091e565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f5f604051620001f99190620007ed565b60405180910390207fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc646306040516020016200023a95949392919062000841565b60405160208183030381529060405280519060200120905090565b8060025f828254620002689190620008c9565b925050819055508060035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000318919062000903565b60405180910390a35050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620003538262000328565b9050919050565b620003658162000347565b811462000370575f80fd5b50565b5f8151905062000383816200035a565b92915050565b5f819050919050565b6200039d8162000389565b8114620003a8575f80fd5b50565b5f81519050620003bb8162000392565b92915050565b5f8060408385031215620003da57620003d962000324565b5b5f620003e98582860162000373565b9250506020620003fc85828601620003ab565b9150509250929050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200048257607f821691505b6020821081036200049857620004976200043d565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620004fc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004bf565b620005088683620004bf565b95508019841693508086168417925050509392505050565b5f819050919050565b5f62000549620005436200053d8462000389565b62000520565b62000389565b9050919050565b5f819050919050565b620005648362000529565b6200057c620005738262000550565b848454620004cb565b825550505050565b5f90565b6200059262000584565b6200059f81848462000559565b505050565b5b81811015620005c657620005ba5f8262000588565b600181019050620005a5565b5050565b601f8211156200061557620005df816200049e565b620005ea84620004b0565b81016020851015620005fa578190505b620006126200060985620004b0565b830182620005a4565b50505b505050565b5f82821c905092915050565b5f620006375f19846008026200061a565b1980831691505092915050565b5f62000651838362000626565b9150826002028217905092915050565b6200066c8262000406565b67ffffffffffffffff81111562000688576200068762000410565b5b6200069482546200046a565b620006a1828285620005ca565b5f60209050601f831160018114620006d7575f8415620006c2578287015190505b620006ce858262000644565b8655506200073d565b601f198416620006e7866200049e565b5f5b828110156200071057848901518255600182019150602085019450602081019050620006e9565b868310156200073057848901516200072c601f89168262000626565b8355505b6001600288020188555050505b505050505050565b5f81905092915050565b5f819050815f5260205f209050919050565b5f81546200076f816200046a565b6200077b818662000745565b9450600182165f8114620007985760018114620007ae57620007e4565b60ff1983168652811515820286019350620007e4565b620007b9856200074f565b5f5b83811015620007dc57815481890152600182019150602081019050620007bb565b838801955050505b50505092915050565b5f620007fa828462000761565b915081905092915050565b5f819050919050565b620008198162000805565b82525050565b6200082a8162000389565b82525050565b6200083b8162000347565b82525050565b5f60a082019050620008565f8301886200080e565b6200086560208301876200080e565b6200087460408301866200080e565b6200088360608301856200081f565b62000892608083018462000830565b9695505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f620008d58262000389565b9150620008e28362000389565b9250828201905080821115620008fd57620008fc6200089c565b5b92915050565b5f602082019050620009185f8301846200081f565b92915050565b60805160a05160c051611cb0620009495f395f6108bb01525f61088701525f6108620152611cb05ff3fe608060405234801561000f575f80fd5b506004361061011f575f3560e01c8063715018a6116100ab578063c4530d721161006f578063c4530d721461031d578063c99bd34b14610327578063d505accf14610345578063dd62ed3e14610361578063f2fde38b146103915761011f565b8063715018a6146102775780637ecebe00146102815780638da5cb5b146102b157806395d89b41146102cf578063a9059cbb146102ed5761011f565b806323b872dd116100f257806323b872dd146101bf578063313ce567146101ef5780633644e5151461020d578063404e51291461022b57806370a08231146102475761011f565b806306fdde0314610123578063095ea7b31461014157806316c021291461017157806318160ddd146101a1575b5f80fd5b61012b6103ad565b604051610138919061137d565b60405180910390f35b61015b6004803603810190610156919061142e565b610438565b6040516101689190611486565b60405180910390f35b61018b6004803603810190610186919061149f565b610525565b6040516101989190611486565b60405180910390f35b6101a9610542565b6040516101b691906114d9565b60405180910390f35b6101d960048036038101906101d491906114f2565b610548565b6040516101e69190611486565b60405180910390f35b6101f7610860565b604051610204919061155d565b60405180910390f35b610215610884565b604051610222919061158e565b60405180910390f35b610245600480360381019061024091906115d1565b6108e0565b005b610261600480360381019061025c919061149f565b610a15565b60405161026e91906114d9565b60405180910390f35b61027f610a2a565b005b61029b6004803603810190610296919061149f565b610ac4565b6040516102a891906114d9565b60405180910390f35b6102b9610ad9565b6040516102c6919061161e565b60405180910390f35b6102d7610afe565b6040516102e4919061137d565b60405180910390f35b6103076004803603810190610302919061142e565b610b8a565b6040516103149190611486565b60405180910390f35b610325610d74565b005b61032f610e1e565b60405161033c9190611486565b60405180910390f35b61035f600480360381019061035a919061168b565b610e30565b005b61037b60048036038101906103769190611728565b61111d565b60405161038891906114d9565b60405180910390f35b6103ab60048036038101906103a6919061149f565b61113d565b005b5f80546103b990611793565b80601f01602080910402602001604051908101604052809291908181526020018280546103e590611793565b80156104305780601f1061040757610100808354040283529160200191610430565b820191905f5260205f20905b81548152906001019060200180831161041357829003601f168201915b505050505081565b5f8160045f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161051391906114d9565b60405180910390a36001905092915050565b6007602052805f5260405f205f915054906101000a900460ff1681565b60025481565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161580156105e7575060075f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b610626576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061d9061180d565b60405180910390fd5b5f60045f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107525782816106d59190611858565b60045f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b8260035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461079e9190611858565b925050819055508260035f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161084c91906114d9565b60405180910390a360019150509392505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b5f7f000000000000000000000000000000000000000000000000000000000000000046146108b9576108b4611269565b6108db565b7f00000000000000000000000000000000000000000000000000000000000000005b905090565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461096f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610966906118d5565b60405180910390fd5b60085f9054906101000a900460ff166109bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b49061193d565b60405180910390fd5b8060075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b6003602052805f5260405f205f915090505481565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab0906118d5565b60405180910390fd5b610ac25f61113d565b565b6005602052805f5260405f205f915090505481565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60018054610b0b90611793565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3790611793565b8015610b825780601f10610b5957610100808354040283529160200191610b82565b820191905f5260205f20905b815481529060010190602001808311610b6557829003601f168201915b505050505081565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16158015610c29575060075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b610c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5f9061180d565b60405180910390fd5b8160035f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610cb49190611858565b925050819055508160035f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d6291906114d9565b60405180910390a36001905092915050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa906118d5565b60405180910390fd5b5f60085f6101000a81548160ff021916908315150217905550565b60085f9054906101000a900460ff1681565b42841015610e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6a906119a5565b60405180910390fd5b5f6001610e7e610884565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98a8a8a60055f8f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815480929190600101919050558b604051602001610f03969594939291906119c3565b60405160208183030381529060405280519060200120604051602001610f2a929190611a96565b604051602081830303815290604052805190602001208585856040515f8152602001604052604051610f5f9493929190611acc565b6020604051602081039080840390855afa158015610f7f573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015610ff257508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b611031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102890611b59565b60405180910390fd5b8560045f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258760405161110c91906114d9565b60405180910390a350505050505050565b6004602052815f5260405f20602052805f5260405f205f91509150505481565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c3906118d5565b60405180910390fd5b8060065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f5f6040516112999190611c13565b60405180910390207fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc646306040516020016112d8959493929190611c29565b60405160208183030381529060405280519060200120905090565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561132a57808201518184015260208101905061130f565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61134f826112f3565b61135981856112fd565b935061136981856020860161130d565b61137281611335565b840191505092915050565b5f6020820190508181035f8301526113958184611345565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6113ca826113a1565b9050919050565b6113da816113c0565b81146113e4575f80fd5b50565b5f813590506113f5816113d1565b92915050565b5f819050919050565b61140d816113fb565b8114611417575f80fd5b50565b5f8135905061142881611404565b92915050565b5f80604083850312156114445761144361139d565b5b5f611451858286016113e7565b92505060206114628582860161141a565b9150509250929050565b5f8115159050919050565b6114808161146c565b82525050565b5f6020820190506114995f830184611477565b92915050565b5f602082840312156114b4576114b361139d565b5b5f6114c1848285016113e7565b91505092915050565b6114d3816113fb565b82525050565b5f6020820190506114ec5f8301846114ca565b92915050565b5f805f606084860312156115095761150861139d565b5b5f611516868287016113e7565b9350506020611527868287016113e7565b92505060406115388682870161141a565b9150509250925092565b5f60ff82169050919050565b61155781611542565b82525050565b5f6020820190506115705f83018461154e565b92915050565b5f819050919050565b61158881611576565b82525050565b5f6020820190506115a15f83018461157f565b92915050565b6115b08161146c565b81146115ba575f80fd5b50565b5f813590506115cb816115a7565b92915050565b5f80604083850312156115e7576115e661139d565b5b5f6115f4858286016113e7565b9250506020611605858286016115bd565b9150509250929050565b611618816113c0565b82525050565b5f6020820190506116315f83018461160f565b92915050565b61164081611542565b811461164a575f80fd5b50565b5f8135905061165b81611637565b92915050565b61166a81611576565b8114611674575f80fd5b50565b5f8135905061168581611661565b92915050565b5f805f805f805f60e0888a0312156116a6576116a561139d565b5b5f6116b38a828b016113e7565b97505060206116c48a828b016113e7565b96505060406116d58a828b0161141a565b95505060606116e68a828b0161141a565b94505060806116f78a828b0161164d565b93505060a06117088a828b01611677565b92505060c06117198a828b01611677565b91505092959891949750929550565b5f806040838503121561173e5761173d61139d565b5b5f61174b858286016113e7565b925050602061175c858286016113e7565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806117aa57607f821691505b6020821081036117bd576117bc611766565b5b50919050565b7f426c61636b6c69737465640000000000000000000000000000000000000000005f82015250565b5f6117f7600b836112fd565b9150611802826117c3565b602082019050919050565b5f6020820190508181035f830152611824816117eb565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611862826113fb565b915061186d836113fb565b92508282039050818111156118855761188461182b565b5b92915050565b7f554e415554484f52495a454400000000000000000000000000000000000000005f82015250565b5f6118bf600c836112fd565b91506118ca8261188b565b602082019050919050565b5f6020820190508181035f8301526118ec816118b3565b9050919050565b7f626c61636b6c697374696e672072656e6f756e63656420616c726561647900005f82015250565b5f611927601e836112fd565b9150611932826118f3565b602082019050919050565b5f6020820190508181035f8301526119548161191b565b9050919050565b7f5045524d49545f444541444c494e455f455850495245440000000000000000005f82015250565b5f61198f6017836112fd565b915061199a8261195b565b602082019050919050565b5f6020820190508181035f8301526119bc81611983565b9050919050565b5f60c0820190506119d65f83018961157f565b6119e3602083018861160f565b6119f0604083018761160f565b6119fd60608301866114ca565b611a0a60808301856114ca565b611a1760a08301846114ca565b979650505050505050565b5f81905092915050565b7f19010000000000000000000000000000000000000000000000000000000000005f82015250565b5f611a60600283611a22565b9150611a6b82611a2c565b600282019050919050565b5f819050919050565b611a90611a8b82611576565b611a76565b82525050565b5f611aa082611a54565b9150611aac8285611a7f565b602082019150611abc8284611a7f565b6020820191508190509392505050565b5f608082019050611adf5f83018761157f565b611aec602083018661154e565b611af9604083018561157f565b611b06606083018461157f565b95945050505050565b7f494e56414c49445f5349474e45520000000000000000000000000000000000005f82015250565b5f611b43600e836112fd565b9150611b4e82611b0f565b602082019050919050565b5f6020820190508181035f830152611b7081611b37565b9050919050565b5f81905092915050565b5f819050815f5260205f209050919050565b5f8154611b9f81611793565b611ba98186611b77565b9450600182165f8114611bc35760018114611bd857611c0a565b60ff1983168652811515820286019350611c0a565b611be185611b81565b5f5b83811015611c0257815481890152600182019150602081019050611be3565b838801955050505b50505092915050565b5f611c1e8284611b93565b915081905092915050565b5f60a082019050611c3c5f83018861157f565b611c49602083018761157f565b611c56604083018661157f565b611c6360608301856114ca565b611c70608083018461160f565b969550505050505056fea2646970667358221220e986a050c4028cd77be4544851f70654145a579e670490e5aa8de9eefc10d9ac64736f6c6343000818003360a060405273c36442b4a4522e871399cd717abdd847ab11fe8860015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801562000064575f80fd5b506040516200120c3803806200120c83398181016040528101906200008a919062000230565b33805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508060035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062f142806004819055505062000260565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620001fa82620001cf565b9050919050565b6200020c81620001ee565b811462000217575f80fd5b50565b5f815190506200022a8162000201565b92915050565b5f60208284031215620002485762000247620001cb565b5b5f62000257848285016200021a565b91505092915050565b608051610f7e6200028e5f395f818161030b015281816103b9015281816106a701526107ef0152610f7e5ff3fe608060405234801561000f575f80fd5b50600436106100a7575f3560e01c806391db7b0d1161006f57806391db7b0d1461013d5780639486e0a414610159578063c6bc518214610175578063d294f09314610193578063d5f394881461019d578063f2fde38b146101bb576100a7565b80632b7170d0146100ab578063342a30c3146100c75780634d413e7d146100e5578063791b98bc146101015780638da5cb5b1461011f575b5f80fd5b6100c560048036038101906100c09190610a89565b6101d7565b005b6100cf6103b7565b6040516100dc9190610b2e565b60405180910390f35b6100ff60048036038101906100fa9190610b82565b6103db565b005b6101096104ad565b6040516101169190610bbc565b60405180910390f35b6101276104d2565b6040516101349190610bbc565b60405180910390f35b61015760048036038101906101529190610a89565b6104f5565b005b610173600480360381019061016e9190610a89565b6105d2565b005b61017d61075a565b60405161018a9190610be4565b60405180910390f35b61019b610760565b005b6101a5610904565b6040516101b29190610bbc565b60405180910390f35b6101d560048036038101906101d09190610b82565b610929565b005b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025d90610c57565b60405180910390fd5b5f600254146102aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a190610cbf565b60405180910390fd5b60055442116102ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102e590610d27565b60405180910390fd5b600454426102fc9190610d72565b600581905550806002819055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1630846040518463ffffffff1660e01b815260040161038793929190610da5565b5f604051808303815f87803b15801561039e575f80fd5b505af11580156103b0573d5f803e3d5ffd5b5050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461046a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046190610c57565b60405180910390fd5b8060035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057b90610c57565b60405180910390fd5b60055442116105c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105bf90610d27565b60405180910390fd5b8060048190555050565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610661576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065890610c57565b60405180910390fd5b60055442116106a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069c90610d27565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd3060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b815260040161072393929190610da5565b5f604051808303815f87803b15801561073a575f80fd5b505af115801561074c573d5f803e3d5ffd5b505050505f60028190555050565b60025481565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e490610e24565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663fc6f7865604051806080016040528060025481526020015f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016fffffffffffffffffffffffffffffffff801681526020016fffffffffffffffffffffffffffffffff80168152506040518263ffffffff1660e01b81526004016108c19190610edd565b60408051808303815f875af11580156108dc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109009190610f0a565b5050565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ad90610e24565b60405180910390fd5b805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b5f80fd5b5f819050919050565b610a6881610a56565b8114610a72575f80fd5b50565b5f81359050610a8381610a5f565b92915050565b5f60208284031215610a9e57610a9d610a52565b5b5f610aab84828501610a75565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f610af6610af1610aec84610ab4565b610ad3565b610ab4565b9050919050565b5f610b0782610adc565b9050919050565b5f610b1882610afd565b9050919050565b610b2881610b0e565b82525050565b5f602082019050610b415f830184610b1f565b92915050565b5f610b5182610ab4565b9050919050565b610b6181610b47565b8114610b6b575f80fd5b50565b5f81359050610b7c81610b58565b92915050565b5f60208284031215610b9757610b96610a52565b5b5f610ba484828501610b6e565b91505092915050565b610bb681610b47565b82525050565b5f602082019050610bcf5f830184610bad565b92915050565b610bde81610a56565b82525050565b5f602082019050610bf75f830184610bd5565b92915050565b5f82825260208201905092915050565b7f216465706c6f79657200000000000000000000000000000000000000000000005f82015250565b5f610c41600983610bfd565b9150610c4c82610c0d565b602082019050919050565b5f6020820190508181035f830152610c6e81610c35565b9050919050565b7f6e667420697320616c7265616479206c6f636b656400000000000000000000005f82015250565b5f610ca9601583610bfd565b9150610cb482610c75565b602082019050919050565b5f6020820190508181035f830152610cd681610c9d565b9050919050565b7f6e6674207374696c6c206c6f636b6564000000000000000000000000000000005f82015250565b5f610d11601083610bfd565b9150610d1c82610cdd565b602082019050919050565b5f6020820190508181035f830152610d3e81610d05565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610d7c82610a56565b9150610d8783610a56565b9250828201905080821115610d9f57610d9e610d45565b5b92915050565b5f606082019050610db85f830186610bad565b610dc56020830185610bad565b610dd26040830184610bd5565b949350505050565b7f554e415554484f52495a454400000000000000000000000000000000000000005f82015250565b5f610e0e600c83610bfd565b9150610e1982610dda565b602082019050919050565b5f6020820190508181035f830152610e3b81610e02565b9050919050565b610e4b81610a56565b82525050565b610e5a81610b47565b82525050565b5f6fffffffffffffffffffffffffffffffff82169050919050565b610e8481610e60565b82525050565b608082015f820151610e9e5f850182610e42565b506020820151610eb16020850182610e51565b506040820151610ec46040850182610e7b565b506060820151610ed76060850182610e7b565b50505050565b5f608082019050610ef05f830184610e8a565b92915050565b5f81519050610f0481610a5f565b92915050565b5f8060408385031215610f2057610f1f610a52565b5b5f610f2d85828601610ef6565b9250506020610f3e85828601610ef6565b915050925092905056fea264697066735822122033a712d32085d99288d20fbd31f026bbd5de4d4aea00b19727cb7d7eaea7007064736f6c63430008180033
Deployed Bytecode
0x608060405260043610610169575f3560e01c806386884ff3116100d0578063d56e588d11610089578063f817584611610063578063f817584614610503578063f83d08ba1461052d578063fa461e3314610557578063ff5ae2df1461057f576101e9565b8063d56e588d14610489578063eb14a173146104b3578063f2fde38b146104db576101e9565b806386884ff3146103b75780638da5cb5b146103cd5780638f63bfec146103f7578063966dae0e1461041f578063bddd01af14610449578063ccd582081461045f576101e9565b80635231b956116101225780635231b956146102e757806353f6a6a71461030f57806357d775f814610337578063645b10ca14610361578063788571fe14610377578063791b98bc1461038d576101e9565b806316f0115b146101ed578063175d19451461021757806317a397fb1461024157806326c43acf14610269578063342a30c3146102935780633fc8cef3146102bd576101e9565b366101e95760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0346040518263ffffffff1660e01b81526004015f604051808303818588803b1580156101d5575f80fd5b505af11580156101e7573d5f803e3d5ffd5b005b5f80fd5b3480156101f8575f80fd5b506102016105a9565b60405161020e91906124ca565b60405180910390f35b348015610222575f80fd5b5061022b6105ce565b60405161023891906124fb565b60405180910390f35b34801561024c575f80fd5b5061026760048036038101906102629190612552565b6105d4565b005b348015610274575f80fd5b5061027d61070a565b60405161028a9190612597565b60405180910390f35b34801561029e575f80fd5b506102a761071d565b6040516102b491906125d0565b60405180910390f35b3480156102c8575f80fd5b506102d1610742565b6040516102de9190612609565b60405180910390f35b3480156102f2575f80fd5b5061030d6004803603810190610308919061264c565b610767565b005b34801561031a575f80fd5b50610335600480360381019061033091906126a1565b610851565b005b348015610342575f80fd5b5061034b61098f565b60405161035891906124fb565b60405180910390f35b34801561036c575f80fd5b50610375610995565b005b348015610382575f80fd5b5061038b610a5b565b005b348015610398575f80fd5b506103a1610af2565b6040516103ae9190612609565b60405180910390f35b3480156103c2575f80fd5b506103cb610b17565b005b3480156103d8575f80fd5b506103e1610bae565b6040516103ee9190612609565b60405180910390f35b348015610402575f80fd5b5061041d6004803603810190610418919061264c565b610bd1565b005b34801561042a575f80fd5b50610433610c68565b6040516104409190612609565b60405180910390f35b348015610454575f80fd5b5061045d610c8d565b005b34801561046a575f80fd5b50610473610d37565b60405161048091906124fb565b60405180910390f35b348015610494575f80fd5b5061049d610d3d565b6040516104aa91906126ec565b60405180910390f35b3480156104be575f80fd5b506104d960048036038101906104d491906126a1565b610d62565b005b3480156104e6575f80fd5b5061050160048036038101906104fc91906126a1565b610ea0565b005b34801561050e575f80fd5b50610517610fc9565b60405161052491906124fb565b60405180910390f35b348015610538575f80fd5b50610541610fcf565b60405161054e9190612725565b60405180910390f35b348015610562575f80fd5b5061057d600480360381019061057891906127d2565b610ff4565b005b34801561058a575f80fd5b5061059361126c565b6040516105a09190612609565b60405180910390f35b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610661576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106589061289d565b60405180910390fd5b600a8160ff1610156106a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069f90612905565b60405180910390fd5b5f8160ff16036106ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e49061296d565b60405180910390fd5b80600d5f6101000a81548160ff021916908360ff16021790555050565b601260149054906101000a900460ff1681565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107eb9061289d565b60405180910390fd5b610e10811015801561080857506170808111155b610847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083e906129d5565b60405180910390fd5b80600b8190555050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d59061289d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361094c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094390612a3d565b60405180910390fd5b8060115f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b5481565b601260149054906101000a900460ff166109e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109db90612aa5565b60405180910390fd5b600b54600c546109f49190612af0565b4211610a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2c90612b93565b60405180910390fd5b600b5442610a439190612af0565b600c81905550610a51611291565b610a5961151b565b565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adf9061289d565b60405180910390fd5b610af0611291565b565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ba4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9b9061289d565b60405180910390fd5b610bac61151b565b565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c559061289d565b60405180910390fd5b8060098190555050565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d119061289d565b60405180910390fd5b6001601260146101000a81548160ff021916908315150217905550565b60095481565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de69061289d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5490612a3d565b60405180910390fd5b8060085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f249061289d565b60405180910390fd5b805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b600c5481565b60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614801561107c57503073ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614155b6110bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b290612bfb565b60405180910390fd5b5f80838390501190505f8161118e5760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660125f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111665760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611189565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b6111b1565b60125f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90505f82156111c2578690506111c6565b8590505b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401611222929190612c19565b6020604051808303815f875af115801561123e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112629190612c6a565b5050505050505050565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112ec9190612609565b602060405180830381865afa158015611307573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061132b9190612ca9565b905060045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d294f0936040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611393575f80fd5b505af11580156113a5573d5f803e3d5ffd5b505050505f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016114049190612609565b602060405180830381865afa15801561141f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114439190612ca9565b90505f600d5f9054906101000a900460ff1660ff1683836114649190612cd4565b61146e9190612d34565b90505f8111156115165760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016114d4929190612c19565b6020604051808303815f875af11580156114f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115149190612c6a565b505b505050565b5f60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c6bc51826040518163ffffffff1660e01b8152600401602060405180830381865afa158015611586573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115aa9190612ca9565b03156122d8575f73ffffffffffffffffffffffffffffffffffffffff1660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611a1a575f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff16631698ee8260055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600d60019054906101000a900462ffffff166040518463ffffffff1660e01b81526004016116b993929190612d81565b602060405180830381865afa1580156116d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116f89190612dca565b60025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b360025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b81526004016117d4929190612c19565b6020604051808303815f875af11580156117f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118149190612c6a565b5060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b360025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b81526004016118b2929190612c19565b6020604051808303815f875af11580156118ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f29190612c6a565b505f73ffffffffffffffffffffffffffffffffffffffff1660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361194b575f80fd5b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d99190612dca565b60125f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505b5f60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611a759190612609565b602060405180830381865afa158015611a90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab49190612ca9565b90505f811115611b5c5760035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb5f836040518363ffffffff1660e01b8152600401611b1a929190612c19565b6020604051808303815f875af1158015611b36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b5a9190612c6a565b505b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611bb79190612609565b602060405180830381865afa158015611bd2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf69190612ca9565b90505f805f805f90505b600954811015611ea0575f600282611c189190612df5565b14611c445760035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611c67565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b93505f600282611c779190612df5565b14611ca35760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611cc6565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b92505f600282611cd69190612df5565b14611ce15785611ce3565b845b91505f821115611d44575f600a600283611cfd9190612af0565b611d079190612e25565b600a600184611d169190612af0565b85611d219190612e25565b611d2b9190612e25565b611d359190612d34565b9050611d428585836122da565b505b5f600282611d529190612df5565b03611df75760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611db19190612609565b602060405180830381865afa158015611dcc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611df09190612ca9565b9450611e93565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611e519190612609565b602060405180830381865afa158015611e6c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e909190612ca9565b95505b8080600101915050611c00565b5060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611efb9190612609565b602060405180830381865afa158015611f16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f3a9190612ca9565b9450611f8960035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16876122da565b5f60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a082315f6040518263ffffffff1660e01b8152600401611fe49190612609565b602060405180830381865afa158015611fff573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120239190612ca9565b90505f600f54826120349190612d34565b90506005811480156120495750600560105414155b1561206f57671bc16d674ec80000600a5f8282546120679190612af0565b925050819055505b600a811480156120825750600a60105414155b156120a857671bc16d674ec80000600a5f8282546120a09190612af0565b925050819055505b600f811480156120bb5750600f60105414155b156120e157671bc16d674ec80000600a5f8282546120d99190612af0565b925050819055505b601e811480156120f45750601e60105414155b1561211a57671bc16d674ec80000600a5f8282546121129190612af0565b925050819055505b60328114801561212d5750603260105414155b1561215357671bc16d674ec80000600a5f82825461214b9190612af0565b925050819055505b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016121ad9190612609565b602060405180830381865afa1580156121c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ec9190612ca9565b9550600a548611156122c9575f600a54876122079190612cd4565b905060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401612286929190612c19565b6020604051808303815f875af11580156122a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122c69190612c6a565b50505b80601081905550505050505050505b565b5f81031561244b575f8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161090505f8161234057600173fffd8963efd1fc6a506488495d951d5263988d2661233b9190612e66565b612353565b60016401000276a36123529190612ead565b5b905060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663128acb0830848685876123af5760405180602001604052805f8152506123e6565b6040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152505b6040518663ffffffff1660e01b8152600401612406959493929190612f9c565b60408051808303815f875af192505050801561244057506040513d601f19601f8201168201806040525081019061243d9190613008565b60015b156124485750505b50505b505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f61249261248d61248884612450565b61246f565b612450565b9050919050565b5f6124a382612478565b9050919050565b5f6124b482612499565b9050919050565b6124c4816124aa565b82525050565b5f6020820190506124dd5f8301846124bb565b92915050565b5f819050919050565b6124f5816124e3565b82525050565b5f60208201905061250e5f8301846124ec565b92915050565b5f80fd5b5f80fd5b5f60ff82169050919050565b6125318161251c565b811461253b575f80fd5b50565b5f8135905061254c81612528565b92915050565b5f6020828403121561256757612566612514565b5b5f6125748482850161253e565b91505092915050565b5f8115159050919050565b6125918161257d565b82525050565b5f6020820190506125aa5f830184612588565b92915050565b5f6125ba82612499565b9050919050565b6125ca816125b0565b82525050565b5f6020820190506125e35f8301846125c1565b92915050565b5f6125f382612450565b9050919050565b612603816125e9565b82525050565b5f60208201905061261c5f8301846125fa565b92915050565b61262b816124e3565b8114612635575f80fd5b50565b5f8135905061264681612622565b92915050565b5f6020828403121561266157612660612514565b5b5f61266e84828501612638565b91505092915050565b612680816125e9565b811461268a575f80fd5b50565b5f8135905061269b81612677565b92915050565b5f602082840312156126b6576126b5612514565b5b5f6126c38482850161268d565b91505092915050565b5f6126d682612499565b9050919050565b6126e6816126cc565b82525050565b5f6020820190506126ff5f8301846126dd565b92915050565b5f61270f82612499565b9050919050565b61271f81612705565b82525050565b5f6020820190506127385f830184612716565b92915050565b5f819050919050565b6127508161273e565b811461275a575f80fd5b50565b5f8135905061276b81612747565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261279257612791612771565b5b8235905067ffffffffffffffff8111156127af576127ae612775565b5b6020830191508360018202830111156127cb576127ca612779565b5b9250929050565b5f805f80606085870312156127ea576127e9612514565b5b5f6127f78782880161275d565b94505060206128088782880161275d565b935050604085013567ffffffffffffffff81111561282957612828612518565b5b6128358782880161277d565b925092505092959194509250565b5f82825260208201905092915050565b7f554e415554484f52495a454400000000000000000000000000000000000000005f82015250565b5f612887600c83612843565b915061289282612853565b602082019050919050565b5f6020820190508181035f8301526128b48161287b565b9050919050565b7f6d6178696d756d204d65762046656520697320313025000000000000000000005f82015250565b5f6128ef601683612843565b91506128fa826128bb565b602082019050919050565b5f6020820190508181035f83015261291c816128e3565b9050919050565b7f76616c75652063616e6e6f74206265207a65726f0000000000000000000000005f82015250565b5f612957601483612843565b915061296282612923565b602082019050919050565b5f6020820190508181035f8301526129848161294b565b9050919050565b7f6e65772065706f6368206475726174696f6e20697320696e76616c69640000005f82015250565b5f6129bf601d83612843565b91506129ca8261298b565b602082019050919050565b5f6020820190508181035f8301526129ec816129b3565b9050919050565b7f43616e6e6f74206265207a65726f2061646472657373000000000000000000005f82015250565b5f612a27601683612843565b9150612a32826129f3565b602082019050919050565b5f6020820190508181035f830152612a5481612a1b565b9050919050565b7f436f6d707574696e67206e6f742079657420656e61626c6564000000000000005f82015250565b5f612a8f601983612843565b9150612a9a82612a5b565b602082019050919050565b5f6020820190508181035f830152612abc81612a83565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612afa826124e3565b9150612b05836124e3565b9250828201905080821115612b1d57612b1c612ac3565b5b92915050565b7f65706f636820696e2070726f67726573732c2074727920616761696e206c61745f8201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b5f612b7d602283612843565b9150612b8882612b23565b604082019050919050565b5f6020820190508181035f830152612baa81612b71565b9050919050565b7f6e6f7420617574686f72697a65640000000000000000000000000000000000005f82015250565b5f612be5600e83612843565b9150612bf082612bb1565b602082019050919050565b5f6020820190508181035f830152612c1281612bd9565b9050919050565b5f604082019050612c2c5f8301856125fa565b612c3960208301846124ec565b9392505050565b612c498161257d565b8114612c53575f80fd5b50565b5f81519050612c6481612c40565b92915050565b5f60208284031215612c7f57612c7e612514565b5b5f612c8c84828501612c56565b91505092915050565b5f81519050612ca381612622565b92915050565b5f60208284031215612cbe57612cbd612514565b5b5f612ccb84828501612c95565b91505092915050565b5f612cde826124e3565b9150612ce9836124e3565b9250828203905081811115612d0157612d00612ac3565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f612d3e826124e3565b9150612d49836124e3565b925082612d5957612d58612d07565b5b828204905092915050565b5f62ffffff82169050919050565b612d7b81612d64565b82525050565b5f606082019050612d945f8301866125fa565b612da160208301856125fa565b612dae6040830184612d72565b949350505050565b5f81519050612dc481612677565b92915050565b5f60208284031215612ddf57612dde612514565b5b5f612dec84828501612db6565b91505092915050565b5f612dff826124e3565b9150612e0a836124e3565b925082612e1a57612e19612d07565b5b828206905092915050565b5f612e2f826124e3565b9150612e3a836124e3565b9250828202612e48816124e3565b91508282048414831517612e5f57612e5e612ac3565b5b5092915050565b5f612e7082612450565b9150612e7b83612450565b9250828203905073ffffffffffffffffffffffffffffffffffffffff811115612ea757612ea6612ac3565b5b92915050565b5f612eb782612450565b9150612ec283612450565b9250828201905073ffffffffffffffffffffffffffffffffffffffff811115612eee57612eed612ac3565b5b92915050565b612efd8161273e565b82525050565b612f0c81612450565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015612f49578082015181840152602081019050612f2e565b5f8484015250505050565b5f601f19601f8301169050919050565b5f612f6e82612f12565b612f788185612f1c565b9350612f88818560208601612f2c565b612f9181612f54565b840191505092915050565b5f60a082019050612faf5f8301886125fa565b612fbc6020830187612588565b612fc96040830186612ef4565b612fd66060830185612f03565b8181036080830152612fe88184612f64565b90509695505050505050565b5f8151905061300281612747565b92915050565b5f806040838503121561301e5761301d612514565b5b5f61302b85828601612ff4565b925050602061303c85828601612ff4565b915050925092905056fea26469706673582212205ccaf92d553d09f75b3c9356bc5db0cd89771c7b3a80b5c8ef6096d31554a42c64736f6c63430008180033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $3,310.19 | 1 | $3,310.19 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.