Overview
TokenID
305
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Genesis404
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* Genesis404 & ERC404 unite - ETH Launch Imminent at GMT 15:00! Ready for lift-off with 8893 tokens, 404 NFTs, and 4 levels of rarity, propelling us straight TO THE MOON! Embark on the adventure: https://t.me/Genesis404_Portal Lead the innovation: https://genesis404.pro/ Know our latest news: https://twitter.com/Genesis___404 Check our Gitbook: https://docs.genesis404.pro/ Join the Genesis404 cosmos, a place for dreamers, creators, and collectors, all driven to redefine the bounds of the digital world. Transform from a member to a visionary with us. */ //SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "./ERC404_genesis.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract Genesis404 is ERC404 { string public dataURI; string public baseTokenURI; constructor() ERC404("Genesis404", "GN404", 18, 8893, msg.sender) { _balanceOf[msg.sender] = 8893 * 10 ** 18; dataURI = "https://bafybeiadg4eg7h6gtv2cxpliy7j6unkngdtghtvhugsru4pelspr2z6gaq.ipfs.w3s.link/"; } function setDataURI(string memory _dataURI) public onlyOwner { dataURI = _dataURI; } function setTokenURI(string memory _tokenURI) public onlyOwner { baseTokenURI = _tokenURI; } function setNameSymbol( string memory _name, string memory _symbol ) public onlyOwner { _setNameSymbol(_name, _symbol); } function tokenURI(uint256 id) public view override returns (string memory) { if (bytes(baseTokenURI).length > 0) { return string.concat(baseTokenURI, Strings.toString(id)); } else { // find _rare by super uint16 seed = uint8(this.rareOf(id)); string memory image; string memory rare; if (seed == 0) { rare = "Bronze"; //bronze.gif image = string.concat(dataURI, "bronze.gif"); } else if (seed == 1) { rare = "Silver"; //silver.gif image = string.concat(dataURI, "silver.gif"); } else if (seed == 2){ rare = "Gold"; //gold.gif image = string.concat(dataURI, "gold.gif"); } else if (seed == 3){ rare = "Diamond"; //diamond.gif image = string.concat(dataURI, "diamond.gif"); } string memory jsonPreImage = string.concat( string.concat( string.concat('{"name": "Genesis404 #', Strings.toString(id)), '","description":"A collection of 10,000 Replicants enabled by ERC404, an experimental token standard.","external_url":"https://genesis404.pro","image":"' ), image ); string memory jsonPostImage = string.concat( '","attributes":[{"trait_type":"Rare","value":"', rare ); string memory jsonPostTraits = '"}]}'; return string.concat( "data:application/json;utf8,", string.concat( string.concat(jsonPreImage, jsonPostImage), jsonPostTraits ) ); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; import {Math} from "./math/Math.sol"; import {SignedMath} from "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal * representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } }
/* Genesis404 & ERC404 unite - ETH Launch Imminent at GMT 15:00! Ready for lift-off with 8893 tokens, 404 NFTs, and 4 levels of rarity, propelling us straight TO THE MOON! Embark on the adventure: https://t.me/Genesis404_Portal Lead the innovation: https://genesis404.pro/ Know our latest news: https://twitter.com/Genesis___404 Check our Gitbook: https://docs.genesis404.pro/ Join the Genesis404 cosmos, a place for dreamers, creators, and collectors, all driven to redefine the bounds of the digital world. Transform from a member to a visionary with us. */ //SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; abstract contract Ownable { event OwnershipTransferred(address indexed user, address indexed newOwner); error Unauthorized(); error InvalidOwner(); address public _owner; modifier onlyOwner() virtual { if (msg.sender != _owner) revert Unauthorized(); _; } constructor(address __owner) { if (__owner == address(0)) revert InvalidOwner(); _owner = __owner; emit OwnershipTransferred(address(0), __owner); } function owner() public view returns (address) { return _owner; } function transferOwnership(address __owner) public virtual onlyOwner { if (_owner == address(0)) revert InvalidOwner(); _owner = __owner; emit OwnershipTransferred(msg.sender, __owner); } function revokeOwnership() public virtual onlyOwner { _owner = address(0); emit OwnershipTransferred(msg.sender, address(0)); } } abstract contract ERC721Receiver { function onERC721Received( address, address, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC721Receiver.onERC721Received.selector; } } interface IUniswapV2Factory { function createPair( address tokenA, address tokenB ) external returns (address pair); } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer( address recipient, uint256 amount ) external returns (bool); function allowance( address owner, address spender ) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval( address indexed owner, address indexed spender, uint256 value ); } /// @notice ERC404 /// A gas-efficient, mixed ERC20 / ERC721 implementation /// with native liquidity and fractionalization. /// /// This is an experimental standard designed to integrate /// with pre-existing ERC20 / ERC721 support as smoothly as /// possible. /// /// @dev In order to support full functionality of ERC20 and ERC721 /// supply assumptions are made that slightly constraint usage. /// Ensure decimals are sufficiently large (standard 18 recommended) /// as ids are effectively encoded in the lowest range of amounts. /// /// NFTs are spent on ERC20 functions in a FILO queue, this is by /// design. /// abstract contract ERC404 is Ownable { // Events event ERC20Transfer( address indexed from, address indexed to, uint256 amount ); event Approval( address indexed owner, address indexed spender, uint256 amount ); event Transfer( address indexed from, address indexed to, uint256 indexed id ); event ERC721Approval( address indexed owner, address indexed spender, uint256 indexed id ); event ApprovalForAll( address indexed owner, address indexed operator, bool approved ); // Errors error NotFound(); error AlreadyExists(); error InvalidRecipient(); error InvalidSender(); error UnsafeRecipient(); // Metadata /// @dev Token name string public name; /// @dev Token symbol string public symbol; /// @dev Decimals for fractional representation uint8 public immutable decimals; /// @dev Total supply in fractionalized representation uint256 public immutable totalSupply; /// @dev Current mint counter, monotonically increasing to ensure accurate ownership uint256 public minted; // Mappings /// @dev Balance of user in fractional representation mapping(address => uint256) public _balanceOf; /// @dev Allowance of user in fractional representation mapping(address => mapping(address => uint256)) public allowance; /// @dev Approval in native representaion mapping(uint256 => address) public getApproved; /// @dev Approval for all in native representation mapping(address => mapping(address => bool)) public isApprovedForAll; enum RARE { Bronze, Silver, Gold, Diamond } RARE public rareLevel; struct OwnerAndRare { address _owner; RARE _rare; } struct RareLimitation { uint16 _bronze; // 6000 uint16 _silver; // 3000 uint16 _gold; // 900 uint16 _diamond; // 100 } RareLimitation internal _MaxRareLimitation; RareLimitation internal _rareLimitation; /// @dev OwnerAndRare of id in native representation mapping(uint256 => OwnerAndRare) internal _ownerOf; /// @dev Array of owned ids in native representation mapping(address => uint256[]) internal _owned; /// @dev Tracks indices for the _owned mapping mapping(uint256 => uint256) internal _ownedIndex; /// @dev Addresses whitelisted from minting / burning for gas savings (pairs, routers, etc) mapping(address => bool) public whitelist; struct contractInfo { address uniswapV2Pair; bool tradeEnabled; bool mintEnabled; /// @dev buy limit persent uint8 buyLimitPercent; } contractInfo public cInfo; // Constructor constructor( string memory _name, string memory _symbol, uint8 _decimals, uint256 _totalNativeSupply, address _owner ) Ownable(_owner) { name = _name; symbol = _symbol; decimals = _decimals; totalSupply = _totalNativeSupply * (10 ** decimals); _MaxRareLimitation = RareLimitation(6000, 3000, 900, 100); setWhitelist(_owner, true); setWhitelist(address(this), true); cInfo.buyLimitPercent = 1; } function balanceOf(address account) public view returns (uint256) { return _balanceOf[account]; } function enableMintERC721() public onlyOwner { require(!cInfo.mintEnabled, "minting is already open"); cInfo.mintEnabled = true; } function enableTrade(address _router) public onlyOwner { require(!cInfo.tradeEnabled, "trading is already open"); IUniswapV2Router02 uniswapV2Router = IUniswapV2Router02(_router); allowance[address(this)][address(uniswapV2Router)] = totalSupply; cInfo.uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()) .createPair(address(this), uniswapV2Router.WETH()); setWhitelist(cInfo.uniswapV2Pair, true); uniswapV2Router.addLiquidityETH{value: address(this).balance}( address(this), balanceOf(address(this)), 0, 0, owner(), block.timestamp ); IERC20(cInfo.uniswapV2Pair).approve( address(uniswapV2Router), type(uint).max ); cInfo.tradeEnabled = true; } /// @notice Initialization function to set pairs / etc /// saving gas by avoiding mint / burn on unnecessary targets function setWhitelist(address target, bool state) public onlyOwner { whitelist[target] = state; } /// @notice Function to find owner of a given native token function ownerOf(uint256 id) public view virtual returns (address owner) { owner = _ownerOf[id]._owner; if (owner == address(0)) { revert NotFound(); } } function getOwned(address owner) external view returns (uint256[] memory) { return _owned[owner]; } function getOwnedCount(address owner) public view returns (uint256) { return _owned[owner].length; } /// @notice Function to find rare of a given native token function rareOf(uint256 id) external view returns (RARE rare) { // return 0 by default rare = _ownerOf[id]._rare; } /// @notice Function to set buy limit percent /// _percent∈[1,100] function setBuyLimitPercent(uint8 _percent) public onlyOwner { if (_percent > 100) { _percent = 100; } if (_percent == 0) { _percent = 1; } cInfo.buyLimitPercent = _percent; } function getBuyLimit() public view returns (uint256) { if (msg.sender == owner() || tx.origin == owner()) { return totalSupply; } return (totalSupply * cInfo.buyLimitPercent) / 100; } /// @notice tokenURI must be implemented by child contract function tokenURI(uint256 id) public view virtual returns (string memory); /// @notice Function for token approvals /// @dev This function assumes id / native if amount less than or equal to current max id function approve( address spender, uint256 amountOrId ) public virtual returns (bool) { if (amountOrId <= minted && amountOrId > 0) { address owner = _ownerOf[amountOrId]._owner; if (msg.sender != owner && !isApprovedForAll[owner][msg.sender]) { revert Unauthorized(); } getApproved[amountOrId] = spender; emit Approval(owner, spender, amountOrId); } else { allowance[msg.sender][spender] = amountOrId; emit Approval(msg.sender, spender, amountOrId); } return true; } /// @notice Function native approvals function setApprovalForAll(address operator, bool approved) external { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } /// @notice Function for mixed transfers /// @dev This function assumes id / native if amount less than or equal to current max id function transferFrom( address from, address to, uint256 amountOrId ) public virtual { if (amountOrId <= minted) { if (from != _ownerOf[amountOrId]._owner) { revert InvalidSender(); } if (to == address(0)) { revert InvalidRecipient(); } if ( msg.sender != from && !isApprovedForAll[from][msg.sender] && msg.sender != getApproved[amountOrId] ) { revert Unauthorized(); } _balanceOf[from] -= _getUnit(); unchecked { _balanceOf[to] += _getUnit(); } _ownerOf[amountOrId]._owner = to; delete getApproved[amountOrId]; // update _owned for sender uint256 updatedId = _owned[from][_owned[from].length - 1]; _owned[from][_ownedIndex[amountOrId]] = updatedId; // pop _owned[from].pop(); // update index for the moved id _ownedIndex[updatedId] = _ownedIndex[amountOrId]; // push token to to owned _owned[to].push(amountOrId); // update index for to owned _ownedIndex[amountOrId] = _owned[to].length - 1; emit Transfer(from, to, amountOrId); emit ERC20Transfer(from, to, _getUnit()); } else { uint256 allowed = allowance[from][msg.sender]; if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amountOrId; _transfer(from, to, amountOrId); } } /// @notice Function for fractional transfers function transfer( address to, uint256 amount ) public virtual returns (bool) { return _transfer(msg.sender, to, amount); } /// @notice Function for native transfers with contract support function safeTransferFrom( address from, address to, uint256 id ) external virtual { transferFrom(from, to, id); if ( to.code.length != 0 && ERC721Receiver(to).onERC721Received(msg.sender, from, id, "") != ERC721Receiver.onERC721Received.selector ) { revert UnsafeRecipient(); } } /// @notice Function for native transfers with contract support and callback data function safeTransferFrom( address from, address to, uint256 id, bytes calldata data ) external virtual { transferFrom(from, to, id); if ( to.code.length != 0 && ERC721Receiver(to).onERC721Received(msg.sender, from, id, data) != ERC721Receiver.onERC721Received.selector ) { revert UnsafeRecipient(); } } /// @notice Internal function for fractional transfers function _transfer( address from, address to, uint256 amount ) internal returns (bool) { uint256 unit = _getUnit(); require(amount <= getBuyLimit(), "ERC20: buy limit exceeded"); _balanceOf[from] -= amount; unchecked { _balanceOf[to] += amount; } // Skip burn for certain addresses to save gas if (cInfo.mintEnabled && !whitelist[from]) { // address(from) may have insufficient erc721s because we have a mintEnabled flag if (getOwnedCount(from) >= (_balanceOf[from] / unit)) { uint256 tokens_to_burn = getOwnedCount(from) - (_balanceOf[from] / unit); for (uint256 i = 0; i < tokens_to_burn; i++) { _burn(from); } } } // Skip minting for certain addresses to save gas if (cInfo.mintEnabled && !whitelist[to]) { uint256 tokens_to_mint = (_balanceOf[to] / unit) - getOwnedCount(to); for (uint256 i = 0; i < tokens_to_mint; i++) { _mint(to); } } emit ERC20Transfer(from, to, amount); return true; } // Internal utility logic function _getUnit() internal view returns (uint256) { return 22 * 10 ** decimals; } function _mint(address to) internal virtual { if (to == address(0)) { revert InvalidRecipient(); } unchecked { minted++; } uint256 id = minted; if (_ownerOf[id]._owner != address(0)) { revert AlreadyExists(); } _ownerOf[id]._owner = to; _ownerOf[id]._rare = _getRare(id); _owned[to].push(id); _ownedIndex[id] = _owned[to].length - 1; emit Transfer(address(0), to, id); } function _getRare(uint256 id) internal returns (RARE getRare) { uint16 rare = uint16( bytes2( keccak256( abi.encodePacked(id, block.timestamp, block.prevrandao) ) ) ); // %60 bronze, %30 silver, %9 gold, %1 diamond rare = rare % 10000; if (rare <= 100) { if (_rareLimitation._diamond + 1 < _MaxRareLimitation._diamond) { _rareLimitation._diamond++; return RARE.Diamond; } else { rare += 100; } } else if (rare <= 1000) { if (_rareLimitation._gold + 1 < _MaxRareLimitation._gold) { _rareLimitation._gold++; return RARE.Gold; } else { rare += 1000; } } else if (rare <= 4000) { if (_rareLimitation._silver + 1 < _MaxRareLimitation._silver) { _rareLimitation._silver++; return RARE.Silver; } else { rare += 4000; } } else if (rare <= 10000) { if (_rareLimitation._bronze + 1 < _MaxRareLimitation._bronze) { _rareLimitation._bronze++; return RARE.Bronze; } else { revert("No rare left, which should not happen"); } } } function _burn(address from) internal virtual { if (from == address(0)) { revert InvalidSender(); } uint256 id = _owned[from][_owned[from].length - 1]; _owned[from].pop(); delete _ownedIndex[id]; delete _ownerOf[id]; delete getApproved[id]; _releaseRare(_ownerOf[id]._rare); emit Transfer(from, address(0), id); } function _releaseRare(RARE _rare) internal { if (_rare == RARE.Bronze) { _rareLimitation._bronze--; } else if (_rare == RARE.Silver) { _rareLimitation._silver--; } else if (_rare == RARE.Gold) { _rareLimitation._gold--; } else if (_rare == RARE.Diamond) { _rareLimitation._diamond--; } } function _setNameSymbol( string memory _name, string memory _symbol ) internal { name = _name; symbol = _symbol; } function rescureERC20( address _token, address _to, uint256 _amount ) public onlyOwner { IERC20(_token).transfer(_to, _amount); } function rescureETH(address _to, uint256 _amount) public onlyOwner { // use call() to transfer to avoid gas limit (bool ok, ) = _to.call{value: _amount}(""); require(ok, "Transfer failed"); } receive() external payable {} fallback() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } }
{ "optimizer": { "enabled": true, "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"},{"inputs":[],"name":"AlreadyExists","type":"error"},{"inputs":[],"name":"InvalidOwner","type":"error"},{"inputs":[],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"InvalidSender","type":"error"},{"inputs":[],"name":"NotFound","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"UnsafeRecipient","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"ERC721Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cInfo","outputs":[{"internalType":"address","name":"uniswapV2Pair","type":"address"},{"internalType":"bool","name":"tradeEnabled","type":"bool"},{"internalType":"bool","name":"mintEnabled","type":"bool"},{"internalType":"uint8","name":"buyLimitPercent","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableMintERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"name":"enableTrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBuyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getOwned","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getOwnedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rareLevel","outputs":[{"internalType":"enum ERC404.RARE","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"rareOf","outputs":[{"internalType":"enum ERC404.RARE","name":"rare","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescureERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescureETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revokeOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_percent","type":"uint8"}],"name":"setBuyLimitPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_dataURI","type":"string"}],"name":"setDataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"setNameSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"__owner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c060405234801562000010575f80fd5b50604080518082018252600a81526911d95b995cda5ccd0c0d60b21b6020808301919091528251808401909352600583526411d38d0c0d60da1b908301529060126122bd33808062000075576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b03831690811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001620000cb8682620002b5565b506002620000da8582620002b5565b5060ff83166080819052620000f190600a6200048c565b620000fd9083620004a3565b60a052604080516080810182526117708152610bb86020820152610384918101919091526064606090910152600980546001600160401b031916666403840bb817701790556200014f816001620001c1565b6200015c306001620001c1565b5050600f805460ff60b01b1916600160b01b1790555050335f908152600460209081526040918290206901e2172abedddcd40000905581516080810190925260528083529192506200365e90830139601090620001ba9082620002b5565b50620004bd565b5f546001600160a01b03163314620001eb576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091165f908152600e60205260409020805460ff1916911515919091179055565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200023e57607f821691505b6020821081036200025d57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620002b0575f81815260208120601f850160051c810160208610156200028b5750805b601f850160051c820191505b81811015620002ac5782815560010162000297565b5050505b505050565b81516001600160401b03811115620002d157620002d162000215565b620002e981620002e2845462000229565b8462000263565b602080601f8311600181146200031f575f8415620003075750858301515b5f19600386901b1c1916600185901b178555620002ac565b5f85815260208120601f198616915b828110156200034f578886015182559484019460019091019084016200032e565b50858210156200036d57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115620003d157815f1904821115620003b557620003b56200037d565b80851615620003c357918102915b93841c939080029062000396565b509250929050565b5f82620003e95750600162000486565b81620003f757505f62000486565b81600181146200041057600281146200041b576200043b565b600191505062000486565b60ff8411156200042f576200042f6200037d565b50506001821b62000486565b5060208310610133831016604e8410600b841016171562000460575081810a62000486565b6200046c838362000391565b805f19048211156200048257620004826200037d565b0290505b92915050565b5f6200049c60ff841683620003d9565b9392505050565b80820281158282048414176200048657620004866200037d565b60805160a051613163620004fb5f395f81816103220152818161122e015281816116c101526116f901525f81816103d40152611bc901526131635ff3fe608060405260043610610225575f3560e01c80637c68859711610121578063c87b56dd116100a4578063dd62ed3e1161006b578063dd62ed3e14610779578063e0df5b6f146107af578063e985e9c5146107ce578063f28ca1dd14610807578063f2fde38b1461081b57005b8063c87b56dd14610673578063cca3e83214610692578063cff89119146106bd578063d547cfb7146106f2578063d63a9b241461070657005b8063a22cb465116100e8578063a22cb465146105e4578063a9059cbb14610603578063ae5ea75e14610622578063b2bdfa7b14610636578063b88d4fde1461065457005b80637c68859714610546578063828b33c2146105725780638da5cb5b1461058657806395d89b41146105a25780639b19251a146105b657005b8063313ce567116101a957806353d6fd591161017057806353d6fd591461048f5780636352211e146104ae578063640bd1e0146104cd57806370a08231146104ec5780637b2940261461052057005b8063313ce567146103c357806334ee87221461040857806342842e0e1461043c5780634f02c4201461045b578063504334c21461047057005b806318160ddd116101ed57806318160ddd1461031157806318d217c31461035257806323b872dd146103715780632b968958146103905780632cd58a89146103a457005b8062e8bff71461022e57806306fdde031461024d578063081812fc14610277578063095ea7b3146102c3578063102b33a3146102f257005b3661022c57005b005b348015610239575f80fd5b5061022c610248366004612620565b61083a565b348015610258575f80fd5b506102616108fe565b60405161026e919061266c565b60405180910390f35b348015610282575f80fd5b506102ab61029136600461269e565b60066020525f90815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161026e565b3480156102ce575f80fd5b506102e26102dd366004612620565b61098a565b604051901515815260200161026e565b3480156102fd575f80fd5b5061022c61030c3660046126b5565b610ad5565b34801561031c575f80fd5b506103447f000000000000000000000000000000000000000000000000000000000000000081565b60405190815260200161026e565b34801561035d575f80fd5b5061022c61036c366004612772565b610b3c565b34801561037c575f80fd5b5061022c61038b3660046127ac565b610b75565b34801561039b575f80fd5b5061022c610ef0565b3480156103af575f80fd5b5061022c6103be3660046127ac565b610f54565b3480156103ce575f80fd5b506103f67f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161026e565b348015610413575f80fd5b506103446104223660046127ea565b6001600160a01b03165f908152600c602052604090205490565b348015610447575f80fd5b5061022c6104563660046127ac565b610ff3565b348015610466575f80fd5b5061034460035481565b34801561047b575f80fd5b5061022c61048a366004612805565b6110c4565b34801561049a575f80fd5b5061022c6104a9366004612872565b6110f7565b3480156104b9575f80fd5b506102ab6104c836600461269e565b61114a565b3480156104d8575f80fd5b5061022c6104e73660046127ea565b611184565b3480156104f7575f80fd5b506103446105063660046127ea565b6001600160a01b03165f9081526004602052604090205490565b34801561052b575f80fd5b506008546105399060ff1681565b60405161026e91906128bd565b348015610551575f80fd5b506105656105603660046127ea565b61150b565b60405161026e91906128e3565b34801561057d575f80fd5b5061022c611574565b348015610591575f80fd5b505f546001600160a01b03166102ab565b3480156105ad575f80fd5b5061026161160c565b3480156105c1575f80fd5b506102e26105d03660046127ea565b600e6020525f908152604090205460ff1681565b3480156105ef575f80fd5b5061022c6105fe366004612872565b611619565b34801561060e575f80fd5b506102e261061d366004612620565b611684565b34801561062d575f80fd5b50610344611697565b348015610641575f80fd5b505f546102ab906001600160a01b031681565b34801561065f575f80fd5b5061022c61066e366004612926565b61172c565b34801561067e575f80fd5b5061026161068d36600461269e565b6117ec565b34801561069d575f80fd5b506103446106ac3660046127ea565b60046020525f908152604090205481565b3480156106c8575f80fd5b506105396106d736600461269e565b5f908152600b6020526040902054600160a01b900460ff1690565b3480156106fd575f80fd5b50610261611ad9565b348015610711575f80fd5b50600f54610746906001600160a01b0381169060ff600160a01b8204811691600160a81b8104821691600160b01b9091041684565b604080516001600160a01b03909516855292151560208501529015159183019190915260ff16606082015260800161026e565b348015610784575f80fd5b506103446107933660046129bd565b600560209081525f928352604080842090915290825290205481565b3480156107ba575f80fd5b5061022c6107c9366004612772565b611ae6565b3480156107d9575f80fd5b506102e26107e83660046129bd565b600760209081525f928352604080842090915290825290205460ff1681565b348015610812575f80fd5b50610261611b1b565b348015610826575f80fd5b5061022c6108353660046127ea565b611b28565b5f546001600160a01b03163314610863576040516282b42960e81b815260040160405180910390fd5b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f81146108ac576040519150601f19603f3d011682016040523d82523d5f602084013e6108b1565b606091505b50509050806108f95760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064015b60405180910390fd5b505050565b6001805461090b906129e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610937906129e9565b80156109825780601f1061095957610100808354040283529160200191610982565b820191905f5260205f20905b81548152906001019060200180831161096557829003601f168201915b505050505081565b5f600354821115801561099c57505f82115b15610a70575f828152600b60205260409020546001600160a01b03163381148015906109eb57506001600160a01b0381165f90815260076020908152604080832033845290915290205460ff16155b15610a08576040516282b42960e81b815260040160405180910390fd5b5f8381526006602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350610acb565b335f8181526005602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b5f546001600160a01b03163314610afe576040516282b42960e81b815260040160405180910390fd5b60648160ff161115610b0e575060645b8060ff165f03610b1c575060015b600f805460ff909216600160b01b0260ff60b01b19909216919091179055565b5f546001600160a01b03163314610b65576040516282b42960e81b815260040160405180910390fd5b6010610b718282612a68565b5050565b6003548111610e85575f818152600b60205260409020546001600160a01b03848116911614610bb757604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b038216610bde57604051634e46966960e11b815260040160405180910390fd5b336001600160a01b03841614801590610c1a57506001600160a01b0383165f90815260076020908152604080832033845290915290205460ff16155b8015610c3c57505f818152600660205260409020546001600160a01b03163314155b15610c59576040516282b42960e81b815260040160405180910390fd5b610c61611bc3565b6001600160a01b0384165f9081526004602052604081208054909190610c88908490612b38565b90915550610c969050611bc3565b6001600160a01b038084165f8181526004602090815260408083208054909601909555858252600b815284822080546001600160a01b031990811690941790556006815284822080549093169092559186168252600c90529081208054610cff90600190612b38565b81548110610d0f57610d0f612b4b565b5f9182526020808320909101546001600160a01b0387168352600c82526040808420868552600d90935290922054815492935083928110610d5257610d52612b4b565b5f9182526020808320909101929092556001600160a01b0386168152600c90915260409020805480610d8657610d86612b5f565b5f828152602080822083015f19908101839055909201909255838252600d8152604080832054848452818420556001600160a01b038616808452600c83529083208054600181810183558286529385200186905592529054610de89190612b38565b5f838152600d602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610e6e611bc3565b60405190815260200160405180910390a350505050565b6001600160a01b0383165f9081526005602090815260408083203384529091529020545f198114610ede57610eba8282612b38565b6001600160a01b0385165f9081526005602090815260408083203384529091529020555b610ee9848484611bfa565b5050505050565b5f546001600160a01b03163314610f19576040516282b42960e81b815260040160405180910390fd5b5f80546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b5f546001600160a01b03163314610f7d576040516282b42960e81b815260040160405180910390fd5b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303815f875af1158015610fc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fed9190612b73565b50505050565b610ffe838383610b75565b6001600160a01b0382163b158015906110a65750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401525f608484015290919084169063150b7a029060a4016020604051808303815f875af1158015611075573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110999190612b8e565b6001600160e01b03191614155b156108f957604051633da6393160e01b815260040160405180910390fd5b5f546001600160a01b031633146110ed576040516282b42960e81b815260040160405180910390fd5b610b718282611e7b565b5f546001600160a01b03163314611120576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091165f908152600e60205260409020805460ff1916911515919091179055565b5f818152600b60205260409020546001600160a01b03168061117f5760405163c5723b5160e01b815260040160405180910390fd5b919050565b5f546001600160a01b031633146111ad576040516282b42960e81b815260040160405180910390fd5b600f54600160a01b900460ff16156112075760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016108f0565b305f9081526005602090815260408083206001600160a01b038516808552908352928190207f00000000000000000000000000000000000000000000000000000000000000009055805163c45a015560e01b8152905184939263c45a015592600480820193918290030181865afa158015611284573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112a89190612bb5565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113179190612bb5565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015611361573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113859190612bb5565b600f80546001600160a01b0319166001600160a01b039290921691821790556113af9060016110f7565b806001600160a01b031663f305d71947306113de306001600160a01b03165f9081526004602052604090205490565b5f806113f15f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611457573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061147c9190612bd0565b5050600f5460405163095ea7b360e01b81526001600160a01b0384811660048301525f196024830152909116915063095ea7b3906044016020604051808303815f875af11580156114cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f39190612b73565b5050600f805460ff60a01b1916600160a01b17905550565b6001600160a01b0381165f908152600c602090815260409182902080548351818402810184019094528084526060939283018282801561156857602002820191905f5260205f20905b815481526020019060010190808311611554575b50505050509050919050565b5f546001600160a01b0316331461159d576040516282b42960e81b815260040160405180910390fd5b600f54600160a81b900460ff16156115f75760405162461bcd60e51b815260206004820152601760248201527f6d696e74696e6720697320616c7265616479206f70656e00000000000000000060448201526064016108f0565b600f805460ff60a81b1916600160a81b179055565b6002805461090b906129e9565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b5f611690338484611bfa565b9392505050565b5f80546001600160a01b03163314806116b957505f546001600160a01b031632145b156116e357507f000000000000000000000000000000000000000000000000000000000000000090565b600f5460649061171d90600160b01b900460ff167f0000000000000000000000000000000000000000000000000000000000000000612bfb565b6117279190612c26565b905090565b611737858585610b75565b6001600160a01b0384163b158015906117ce5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a02906117819033908a90899089908990600401612c39565b6020604051808303815f875af115801561179d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c19190612b8e565b6001600160e01b03191614155b15610ee957604051633da6393160e01b815260040160405180910390fd5b60605f601180546117fc906129e9565b9050111561183657601161180f83611e94565b604051602001611820929190612cfa565b6040516020818303038152906040529050919050565b60405163cff8911960e01b8152600481018390525f90309063cff8911990602401602060405180830381865afa158015611872573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118969190612d1e565b60038111156118a7576118a76128a9565b60ff1690506060805f839003611900576040518060400160405280600681526020016542726f6e7a6560d01b815250905060106040516020016118ea9190612d3c565b60405160208183030381529060405291506119ce565b8261ffff1660010361193f576040518060400160405280600681526020016529b4b63b32b960d11b815250905060106040516020016118ea9190612d61565b8261ffff1660020361197c576040518060400160405280600481526020016311dbdb1960e21b815250905060106040516020016118ea9190612d86565b8261ffff166003036119ce5760405180604001604052806007815260200166111a585b5bdb9960ca1b815250905060106040516020016119bc9190612da9565b60405160208183030381529060405291505b5f6119d886611e94565b6040516020016119e89190612dcf565b60408051601f1981840301815290829052611a0591602001612e0d565b60408051601f1981840301815290829052611a24918590602001612ee5565b60405160208183030381529060405290505f82604051602001611a479190612f0a565b60408051601f1981840301815282820182526004835263227d5d7d60e01b6020848101919091529151909350611a81918591859101612ee5565b60408051601f1981840301815290829052611aa0918390602001612ee5565b60408051601f1981840301815290829052611abd91602001612f65565b6040516020818303038152906040529650505050505050919050565b6011805461090b906129e9565b5f546001600160a01b03163314611b0f576040516282b42960e81b815260040160405180910390fd5b6011610b718282612a68565b6010805461090b906129e9565b5f546001600160a01b03163314611b51576040516282b42960e81b815260040160405180910390fd5b5f546001600160a01b0316611b79576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b5f611bef7f0000000000000000000000000000000000000000000000000000000000000000600a613089565b611727906016612bfb565b5f80611c04611bc3565b9050611c0e611697565b831115611c5d5760405162461bcd60e51b815260206004820152601960248201527f45524332303a20627579206c696d69742065786365656465640000000000000060448201526064016108f0565b6001600160a01b0385165f9081526004602052604081208054859290611c84908490612b38565b90915550506001600160a01b0384165f908152600460205260409020805484019055600f54600160a81b900460ff168015611cd757506001600160a01b0385165f908152600e602052604090205460ff16155b15611d8b576001600160a01b0385165f90815260046020526040902054611cff908290612c26565b6001600160a01b0386165f908152600c602052604090205410611d8b576001600160a01b0385165f90815260046020526040812054611d3f908390612c26565b6001600160a01b0387165f908152600c6020526040902054611d619190612b38565b90505f5b81811015611d8857611d7687611f24565b80611d8081613097565b915050611d65565b50505b600f54600160a81b900460ff168015611dbc57506001600160a01b0384165f908152600e602052604090205460ff16155b15611e23576001600160a01b0384165f908152600c60209081526040808320546004909252822054611def908490612c26565b611df99190612b38565b90505f5b81811015611e2057611e0e86612063565b80611e1881613097565b915050611dfd565b50505b836001600160a01b0316856001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e03148785604051611e6891815260200190565b60405180910390a3506001949350505050565b6001611e878382612a68565b5060026108f98282612a68565b60605f611ea0836121b1565b60010190505f8167ffffffffffffffff811115611ebf57611ebf6126d5565b6040519080825280601f01601f191660200182016040528015611ee9576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611ef357509392505050565b6001600160a01b038116611f4b57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0381165f908152600c602052604081208054611f7090600190612b38565b81548110611f8057611f80612b4b565b905f5260205f2001549050600c5f836001600160a01b03166001600160a01b031681526020019081526020015f20805480611fbd57611fbd612b5f565b5f828152602080822083015f19908101839055909201909255828252600d81526040808320839055600b80835281842080546001600160a81b0319168155600684529190932080546001600160a01b03191690559190525461202890600160a01b900460ff16612288565b60405181905f906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b03811661208a57604051634e46966960e11b815260040160405180910390fd5b60038054600101908190555f818152600b60205260409020546001600160a01b0316156120ca5760405163119b4fd360e11b815260040160405180910390fd5b5f818152600b6020526040902080546001600160a01b0319166001600160a01b0384161790556120f981612370565b5f828152600b60205260409020805460ff60a01b1916600160a01b836003811115612126576121266128a9565b02179055506001600160a01b0382165f818152600c602090815260408220805460018181018355828552928420018590559290915290546121679190612b38565b5f828152600d602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106121ef5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061221b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061223957662386f26fc10000830492506010015b6305f5e1008310612251576305f5e100830492506008015b612710831061226557612710830492506004015b60648310612277576064830492506002015b600a8310610acf5760010192915050565b5f81600381111561229b5761229b6128a9565b036122d157600a805461ffff16905f6122b3836130af565b91906101000a81548161ffff021916908361ffff1602179055505050565b60018160038111156122e5576122e56128a9565b0361230457600a805462010000900461ffff169060026122b3836130af565b6002816003811115612318576123186128a9565b0361233957600a8054640100000000900461ffff169060046122b3836130af565b600381600381111561234d5761234d6128a9565b0361236d57600a8054600160301b900461ffff169060066122b3836130af565b50565b60408051602080820184905242828401524460608084019190915283518084039091018152608090920190925280519101205f9060f01c6123b3612710826130cb565b905060648161ffff161161243f57600954600a5461ffff600160301b928390048116926123e392041660016130eb565b61ffff16101561242d57600a8054600160301b900461ffff169060066124088361310d565b91906101000a81548161ffff021916908361ffff160217905550506003915050919050565b6124386064826130eb565b9050612606565b6103e88161ffff16116124c657600954600a5461ffff6401000000009283900481169261246f92041660016130eb565b61ffff1610156124ba57600a8054640100000000900461ffff169060046124958361310d565b91906101000a81548161ffff021916908361ffff160217905550506002915050919050565b6124386103e8826130eb565b610fa08161ffff161161254957600954600a5461ffff62010000928390048116926124f492041660016130eb565b61ffff16101561253d57600a805462010000900461ffff169060026125188361310d565b91906101000a81548161ffff021916908361ffff160217905550506001915050919050565b612438610fa0826130eb565b6127108161ffff161161260657600954600a5461ffff9182169161256f911660016130eb565b61ffff1610156125b057600a805461ffff16905f61258c8361310d565b91906101000a81548161ffff021916908361ffff160217905550505f915050919050565b60405162461bcd60e51b815260206004820152602560248201527f4e6f2072617265206c6566742c2077686963682073686f756c64206e6f74206860448201526430b83832b760d91b60648201526084016108f0565b50919050565b6001600160a01b038116811461236d575f80fd5b5f8060408385031215612631575f80fd5b823561263c8161260c565b946020939093013593505050565b5f5b8381101561266457818101518382015260200161264c565b50505f910152565b602081525f825180602084015261268a81604085016020870161264a565b601f01601f19169190910160400192915050565b5f602082840312156126ae575f80fd5b5035919050565b5f602082840312156126c5575f80fd5b813560ff81168114611690575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f82601f8301126126f8575f80fd5b813567ffffffffffffffff80821115612713576127136126d5565b604051601f8301601f19908116603f0116810190828211818310171561273b5761273b6126d5565b81604052838152866020858801011115612753575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f60208284031215612782575f80fd5b813567ffffffffffffffff811115612798575f80fd5b6127a4848285016126e9565b949350505050565b5f805f606084860312156127be575f80fd5b83356127c98161260c565b925060208401356127d98161260c565b929592945050506040919091013590565b5f602082840312156127fa575f80fd5b81356116908161260c565b5f8060408385031215612816575f80fd5b823567ffffffffffffffff8082111561282d575f80fd5b612839868387016126e9565b9350602085013591508082111561284e575f80fd5b5061285b858286016126e9565b9150509250929050565b801515811461236d575f80fd5b5f8060408385031215612883575f80fd5b823561288e8161260c565b9150602083013561289e81612865565b809150509250929050565b634e487b7160e01b5f52602160045260245ffd5b60208101600483106128dd57634e487b7160e01b5f52602160045260245ffd5b91905290565b602080825282518282018190525f9190848201906040850190845b8181101561291a578351835292840192918401916001016128fe565b50909695505050505050565b5f805f805f6080868803121561293a575f80fd5b85356129458161260c565b945060208601356129558161260c565b935060408601359250606086013567ffffffffffffffff80821115612978575f80fd5b818801915088601f83011261298b575f80fd5b813581811115612999575f80fd5b8960208285010111156129aa575f80fd5b9699959850939650602001949392505050565b5f80604083850312156129ce575f80fd5b82356129d98161260c565b9150602083013561289e8161260c565b600181811c908216806129fd57607f821691505b60208210810361260657634e487b7160e01b5f52602260045260245ffd5b601f8211156108f9575f81815260208120601f850160051c81016020861015612a415750805b601f850160051c820191505b81811015612a6057828155600101612a4d565b505050505050565b815167ffffffffffffffff811115612a8257612a826126d5565b612a9681612a9084546129e9565b84612a1b565b602080601f831160018114612ac9575f8415612ab25750858301515b5f19600386901b1c1916600185901b178555612a60565b5f85815260208120601f198616915b82811015612af757888601518255948401946001909101908401612ad8565b5085821015612b1457878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610acf57610acf612b24565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b5f60208284031215612b83575f80fd5b815161169081612865565b5f60208284031215612b9e575f80fd5b81516001600160e01b031981168114611690575f80fd5b5f60208284031215612bc5575f80fd5b81516116908161260c565b5f805f60608486031215612be2575f80fd5b8351925060208401519150604084015190509250925092565b8082028115828204841417610acf57610acf612b24565b634e487b7160e01b5f52601260045260245ffd5b5f82612c3457612c34612c12565b500490565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290525f828460a08401375f60a0848401015260a0601f19601f85011683010190509695505050505050565b5f8154612c97816129e9565b60018281168015612caf5760018114612cc457612cf0565b60ff1984168752821515830287019450612cf0565b855f526020805f205f5b85811015612ce75781548a820152908401908201612cce565b50505082870194505b5050505092915050565b5f612d058285612c8b565b8351612d1581836020880161264a565b01949350505050565b5f60208284031215612d2e575f80fd5b815160048110611690575f80fd5b5f612d478284612c8b565b69313937b73d329733b4b360b11b8152600a019392505050565b5f612d6c8284612c8b565b6939b4b63b32b91733b4b360b11b8152600a019392505050565b5f612d918284612c8b565b6733b7b6321733b4b360c11b81526008019392505050565b5f612db48284612c8b565b6a3234b0b6b7b7321733b4b360a91b8152600b019392505050565b757b226e616d65223a202247656e65736973343034202360501b815281515f90612e0081601685016020870161264a565b9190910160160192915050565b5f8251612e1e81846020870161264a565b7f222c226465736372697074696f6e223a224120636f6c6c656374696f6e206f669201918252507f2031302c303030205265706c6963616e747320656e61626c656420627920455260208201527f433430342c20616e206578706572696d656e74616c20746f6b656e207374616e60408201527f646172642e222c2265787465726e616c5f75726c223a2268747470733a2f2f6760608201527f656e657369733430342e70726f222c22696d616765223a2200000000000000006080820152609801919050565b5f8351612ef681846020880161264a565b835190830190612d1581836020880161264a565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a225281526d30b9329116113b30b63ab2911d1160911b60208201525f8251612f5881602e85016020870161264a565b91909101602e0192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081525f8251612f9c81601b85016020870161264a565b91909101601b0192915050565b600181815b80851115612fe357815f1904821115612fc957612fc9612b24565b80851615612fd657918102915b93841c9390800290612fae565b509250929050565b5f82612ff957506001610acf565b8161300557505f610acf565b816001811461301b576002811461302557613041565b6001915050610acf565b60ff84111561303657613036612b24565b50506001821b610acf565b5060208310610133831016604e8410600b8410161715613064575081810a610acf565b61306e8383612fa9565b805f190482111561308157613081612b24565b029392505050565b5f61169060ff841683612feb565b5f600182016130a8576130a8612b24565b5060010190565b5f61ffff8216806130c2576130c2612b24565b5f190192915050565b5f61ffff808416806130df576130df612c12565b92169190910692915050565b61ffff81811683821601908082111561310657613106612b24565b5092915050565b5f61ffff80831681810361312357613123612b24565b600101939250505056fea26469706673582212205efec57b866bcfbc25ec982c651d443227a22aaa97cb5400d0c393cf7c0fada864736f6c6343000814003368747470733a2f2f62616679626569616467346567376836677476326378706c6979376a36756e6b6e676474676874766875677372753470656c737072327a366761712e697066732e7733732e6c696e6b2f
Deployed Bytecode
0x608060405260043610610225575f3560e01c80637c68859711610121578063c87b56dd116100a4578063dd62ed3e1161006b578063dd62ed3e14610779578063e0df5b6f146107af578063e985e9c5146107ce578063f28ca1dd14610807578063f2fde38b1461081b57005b8063c87b56dd14610673578063cca3e83214610692578063cff89119146106bd578063d547cfb7146106f2578063d63a9b241461070657005b8063a22cb465116100e8578063a22cb465146105e4578063a9059cbb14610603578063ae5ea75e14610622578063b2bdfa7b14610636578063b88d4fde1461065457005b80637c68859714610546578063828b33c2146105725780638da5cb5b1461058657806395d89b41146105a25780639b19251a146105b657005b8063313ce567116101a957806353d6fd591161017057806353d6fd591461048f5780636352211e146104ae578063640bd1e0146104cd57806370a08231146104ec5780637b2940261461052057005b8063313ce567146103c357806334ee87221461040857806342842e0e1461043c5780634f02c4201461045b578063504334c21461047057005b806318160ddd116101ed57806318160ddd1461031157806318d217c31461035257806323b872dd146103715780632b968958146103905780632cd58a89146103a457005b8062e8bff71461022e57806306fdde031461024d578063081812fc14610277578063095ea7b3146102c3578063102b33a3146102f257005b3661022c57005b005b348015610239575f80fd5b5061022c610248366004612620565b61083a565b348015610258575f80fd5b506102616108fe565b60405161026e919061266c565b60405180910390f35b348015610282575f80fd5b506102ab61029136600461269e565b60066020525f90815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161026e565b3480156102ce575f80fd5b506102e26102dd366004612620565b61098a565b604051901515815260200161026e565b3480156102fd575f80fd5b5061022c61030c3660046126b5565b610ad5565b34801561031c575f80fd5b506103447f0000000000000000000000000000000000000000000001e2172abedddcd4000081565b60405190815260200161026e565b34801561035d575f80fd5b5061022c61036c366004612772565b610b3c565b34801561037c575f80fd5b5061022c61038b3660046127ac565b610b75565b34801561039b575f80fd5b5061022c610ef0565b3480156103af575f80fd5b5061022c6103be3660046127ac565b610f54565b3480156103ce575f80fd5b506103f67f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff909116815260200161026e565b348015610413575f80fd5b506103446104223660046127ea565b6001600160a01b03165f908152600c602052604090205490565b348015610447575f80fd5b5061022c6104563660046127ac565b610ff3565b348015610466575f80fd5b5061034460035481565b34801561047b575f80fd5b5061022c61048a366004612805565b6110c4565b34801561049a575f80fd5b5061022c6104a9366004612872565b6110f7565b3480156104b9575f80fd5b506102ab6104c836600461269e565b61114a565b3480156104d8575f80fd5b5061022c6104e73660046127ea565b611184565b3480156104f7575f80fd5b506103446105063660046127ea565b6001600160a01b03165f9081526004602052604090205490565b34801561052b575f80fd5b506008546105399060ff1681565b60405161026e91906128bd565b348015610551575f80fd5b506105656105603660046127ea565b61150b565b60405161026e91906128e3565b34801561057d575f80fd5b5061022c611574565b348015610591575f80fd5b505f546001600160a01b03166102ab565b3480156105ad575f80fd5b5061026161160c565b3480156105c1575f80fd5b506102e26105d03660046127ea565b600e6020525f908152604090205460ff1681565b3480156105ef575f80fd5b5061022c6105fe366004612872565b611619565b34801561060e575f80fd5b506102e261061d366004612620565b611684565b34801561062d575f80fd5b50610344611697565b348015610641575f80fd5b505f546102ab906001600160a01b031681565b34801561065f575f80fd5b5061022c61066e366004612926565b61172c565b34801561067e575f80fd5b5061026161068d36600461269e565b6117ec565b34801561069d575f80fd5b506103446106ac3660046127ea565b60046020525f908152604090205481565b3480156106c8575f80fd5b506105396106d736600461269e565b5f908152600b6020526040902054600160a01b900460ff1690565b3480156106fd575f80fd5b50610261611ad9565b348015610711575f80fd5b50600f54610746906001600160a01b0381169060ff600160a01b8204811691600160a81b8104821691600160b01b9091041684565b604080516001600160a01b03909516855292151560208501529015159183019190915260ff16606082015260800161026e565b348015610784575f80fd5b506103446107933660046129bd565b600560209081525f928352604080842090915290825290205481565b3480156107ba575f80fd5b5061022c6107c9366004612772565b611ae6565b3480156107d9575f80fd5b506102e26107e83660046129bd565b600760209081525f928352604080842090915290825290205460ff1681565b348015610812575f80fd5b50610261611b1b565b348015610826575f80fd5b5061022c6108353660046127ea565b611b28565b5f546001600160a01b03163314610863576040516282b42960e81b815260040160405180910390fd5b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f81146108ac576040519150601f19603f3d011682016040523d82523d5f602084013e6108b1565b606091505b50509050806108f95760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064015b60405180910390fd5b505050565b6001805461090b906129e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610937906129e9565b80156109825780601f1061095957610100808354040283529160200191610982565b820191905f5260205f20905b81548152906001019060200180831161096557829003601f168201915b505050505081565b5f600354821115801561099c57505f82115b15610a70575f828152600b60205260409020546001600160a01b03163381148015906109eb57506001600160a01b0381165f90815260076020908152604080832033845290915290205460ff16155b15610a08576040516282b42960e81b815260040160405180910390fd5b5f8381526006602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350610acb565b335f8181526005602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b5f546001600160a01b03163314610afe576040516282b42960e81b815260040160405180910390fd5b60648160ff161115610b0e575060645b8060ff165f03610b1c575060015b600f805460ff909216600160b01b0260ff60b01b19909216919091179055565b5f546001600160a01b03163314610b65576040516282b42960e81b815260040160405180910390fd5b6010610b718282612a68565b5050565b6003548111610e85575f818152600b60205260409020546001600160a01b03848116911614610bb757604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b038216610bde57604051634e46966960e11b815260040160405180910390fd5b336001600160a01b03841614801590610c1a57506001600160a01b0383165f90815260076020908152604080832033845290915290205460ff16155b8015610c3c57505f818152600660205260409020546001600160a01b03163314155b15610c59576040516282b42960e81b815260040160405180910390fd5b610c61611bc3565b6001600160a01b0384165f9081526004602052604081208054909190610c88908490612b38565b90915550610c969050611bc3565b6001600160a01b038084165f8181526004602090815260408083208054909601909555858252600b815284822080546001600160a01b031990811690941790556006815284822080549093169092559186168252600c90529081208054610cff90600190612b38565b81548110610d0f57610d0f612b4b565b5f9182526020808320909101546001600160a01b0387168352600c82526040808420868552600d90935290922054815492935083928110610d5257610d52612b4b565b5f9182526020808320909101929092556001600160a01b0386168152600c90915260409020805480610d8657610d86612b5f565b5f828152602080822083015f19908101839055909201909255838252600d8152604080832054848452818420556001600160a01b038616808452600c83529083208054600181810183558286529385200186905592529054610de89190612b38565b5f838152600d602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610e6e611bc3565b60405190815260200160405180910390a350505050565b6001600160a01b0383165f9081526005602090815260408083203384529091529020545f198114610ede57610eba8282612b38565b6001600160a01b0385165f9081526005602090815260408083203384529091529020555b610ee9848484611bfa565b5050505050565b5f546001600160a01b03163314610f19576040516282b42960e81b815260040160405180910390fd5b5f80546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b5f546001600160a01b03163314610f7d576040516282b42960e81b815260040160405180910390fd5b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303815f875af1158015610fc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fed9190612b73565b50505050565b610ffe838383610b75565b6001600160a01b0382163b158015906110a65750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401525f608484015290919084169063150b7a029060a4016020604051808303815f875af1158015611075573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110999190612b8e565b6001600160e01b03191614155b156108f957604051633da6393160e01b815260040160405180910390fd5b5f546001600160a01b031633146110ed576040516282b42960e81b815260040160405180910390fd5b610b718282611e7b565b5f546001600160a01b03163314611120576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091165f908152600e60205260409020805460ff1916911515919091179055565b5f818152600b60205260409020546001600160a01b03168061117f5760405163c5723b5160e01b815260040160405180910390fd5b919050565b5f546001600160a01b031633146111ad576040516282b42960e81b815260040160405180910390fd5b600f54600160a01b900460ff16156112075760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016108f0565b305f9081526005602090815260408083206001600160a01b038516808552908352928190207f0000000000000000000000000000000000000000000001e2172abedddcd400009055805163c45a015560e01b8152905184939263c45a015592600480820193918290030181865afa158015611284573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112a89190612bb5565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113179190612bb5565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015611361573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113859190612bb5565b600f80546001600160a01b0319166001600160a01b039290921691821790556113af9060016110f7565b806001600160a01b031663f305d71947306113de306001600160a01b03165f9081526004602052604090205490565b5f806113f15f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611457573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061147c9190612bd0565b5050600f5460405163095ea7b360e01b81526001600160a01b0384811660048301525f196024830152909116915063095ea7b3906044016020604051808303815f875af11580156114cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f39190612b73565b5050600f805460ff60a01b1916600160a01b17905550565b6001600160a01b0381165f908152600c602090815260409182902080548351818402810184019094528084526060939283018282801561156857602002820191905f5260205f20905b815481526020019060010190808311611554575b50505050509050919050565b5f546001600160a01b0316331461159d576040516282b42960e81b815260040160405180910390fd5b600f54600160a81b900460ff16156115f75760405162461bcd60e51b815260206004820152601760248201527f6d696e74696e6720697320616c7265616479206f70656e00000000000000000060448201526064016108f0565b600f805460ff60a81b1916600160a81b179055565b6002805461090b906129e9565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b5f611690338484611bfa565b9392505050565b5f80546001600160a01b03163314806116b957505f546001600160a01b031632145b156116e357507f0000000000000000000000000000000000000000000001e2172abedddcd4000090565b600f5460649061171d90600160b01b900460ff167f0000000000000000000000000000000000000000000001e2172abedddcd40000612bfb565b6117279190612c26565b905090565b611737858585610b75565b6001600160a01b0384163b158015906117ce5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a02906117819033908a90899089908990600401612c39565b6020604051808303815f875af115801561179d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c19190612b8e565b6001600160e01b03191614155b15610ee957604051633da6393160e01b815260040160405180910390fd5b60605f601180546117fc906129e9565b9050111561183657601161180f83611e94565b604051602001611820929190612cfa565b6040516020818303038152906040529050919050565b60405163cff8911960e01b8152600481018390525f90309063cff8911990602401602060405180830381865afa158015611872573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118969190612d1e565b60038111156118a7576118a76128a9565b60ff1690506060805f839003611900576040518060400160405280600681526020016542726f6e7a6560d01b815250905060106040516020016118ea9190612d3c565b60405160208183030381529060405291506119ce565b8261ffff1660010361193f576040518060400160405280600681526020016529b4b63b32b960d11b815250905060106040516020016118ea9190612d61565b8261ffff1660020361197c576040518060400160405280600481526020016311dbdb1960e21b815250905060106040516020016118ea9190612d86565b8261ffff166003036119ce5760405180604001604052806007815260200166111a585b5bdb9960ca1b815250905060106040516020016119bc9190612da9565b60405160208183030381529060405291505b5f6119d886611e94565b6040516020016119e89190612dcf565b60408051601f1981840301815290829052611a0591602001612e0d565b60408051601f1981840301815290829052611a24918590602001612ee5565b60405160208183030381529060405290505f82604051602001611a479190612f0a565b60408051601f1981840301815282820182526004835263227d5d7d60e01b6020848101919091529151909350611a81918591859101612ee5565b60408051601f1981840301815290829052611aa0918390602001612ee5565b60408051601f1981840301815290829052611abd91602001612f65565b6040516020818303038152906040529650505050505050919050565b6011805461090b906129e9565b5f546001600160a01b03163314611b0f576040516282b42960e81b815260040160405180910390fd5b6011610b718282612a68565b6010805461090b906129e9565b5f546001600160a01b03163314611b51576040516282b42960e81b815260040160405180910390fd5b5f546001600160a01b0316611b79576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b5f611bef7f0000000000000000000000000000000000000000000000000000000000000012600a613089565b611727906016612bfb565b5f80611c04611bc3565b9050611c0e611697565b831115611c5d5760405162461bcd60e51b815260206004820152601960248201527f45524332303a20627579206c696d69742065786365656465640000000000000060448201526064016108f0565b6001600160a01b0385165f9081526004602052604081208054859290611c84908490612b38565b90915550506001600160a01b0384165f908152600460205260409020805484019055600f54600160a81b900460ff168015611cd757506001600160a01b0385165f908152600e602052604090205460ff16155b15611d8b576001600160a01b0385165f90815260046020526040902054611cff908290612c26565b6001600160a01b0386165f908152600c602052604090205410611d8b576001600160a01b0385165f90815260046020526040812054611d3f908390612c26565b6001600160a01b0387165f908152600c6020526040902054611d619190612b38565b90505f5b81811015611d8857611d7687611f24565b80611d8081613097565b915050611d65565b50505b600f54600160a81b900460ff168015611dbc57506001600160a01b0384165f908152600e602052604090205460ff16155b15611e23576001600160a01b0384165f908152600c60209081526040808320546004909252822054611def908490612c26565b611df99190612b38565b90505f5b81811015611e2057611e0e86612063565b80611e1881613097565b915050611dfd565b50505b836001600160a01b0316856001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e03148785604051611e6891815260200190565b60405180910390a3506001949350505050565b6001611e878382612a68565b5060026108f98282612a68565b60605f611ea0836121b1565b60010190505f8167ffffffffffffffff811115611ebf57611ebf6126d5565b6040519080825280601f01601f191660200182016040528015611ee9576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611ef357509392505050565b6001600160a01b038116611f4b57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0381165f908152600c602052604081208054611f7090600190612b38565b81548110611f8057611f80612b4b565b905f5260205f2001549050600c5f836001600160a01b03166001600160a01b031681526020019081526020015f20805480611fbd57611fbd612b5f565b5f828152602080822083015f19908101839055909201909255828252600d81526040808320839055600b80835281842080546001600160a81b0319168155600684529190932080546001600160a01b03191690559190525461202890600160a01b900460ff16612288565b60405181905f906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b03811661208a57604051634e46966960e11b815260040160405180910390fd5b60038054600101908190555f818152600b60205260409020546001600160a01b0316156120ca5760405163119b4fd360e11b815260040160405180910390fd5b5f818152600b6020526040902080546001600160a01b0319166001600160a01b0384161790556120f981612370565b5f828152600b60205260409020805460ff60a01b1916600160a01b836003811115612126576121266128a9565b02179055506001600160a01b0382165f818152600c602090815260408220805460018181018355828552928420018590559290915290546121679190612b38565b5f828152600d602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106121ef5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061221b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061223957662386f26fc10000830492506010015b6305f5e1008310612251576305f5e100830492506008015b612710831061226557612710830492506004015b60648310612277576064830492506002015b600a8310610acf5760010192915050565b5f81600381111561229b5761229b6128a9565b036122d157600a805461ffff16905f6122b3836130af565b91906101000a81548161ffff021916908361ffff1602179055505050565b60018160038111156122e5576122e56128a9565b0361230457600a805462010000900461ffff169060026122b3836130af565b6002816003811115612318576123186128a9565b0361233957600a8054640100000000900461ffff169060046122b3836130af565b600381600381111561234d5761234d6128a9565b0361236d57600a8054600160301b900461ffff169060066122b3836130af565b50565b60408051602080820184905242828401524460608084019190915283518084039091018152608090920190925280519101205f9060f01c6123b3612710826130cb565b905060648161ffff161161243f57600954600a5461ffff600160301b928390048116926123e392041660016130eb565b61ffff16101561242d57600a8054600160301b900461ffff169060066124088361310d565b91906101000a81548161ffff021916908361ffff160217905550506003915050919050565b6124386064826130eb565b9050612606565b6103e88161ffff16116124c657600954600a5461ffff6401000000009283900481169261246f92041660016130eb565b61ffff1610156124ba57600a8054640100000000900461ffff169060046124958361310d565b91906101000a81548161ffff021916908361ffff160217905550506002915050919050565b6124386103e8826130eb565b610fa08161ffff161161254957600954600a5461ffff62010000928390048116926124f492041660016130eb565b61ffff16101561253d57600a805462010000900461ffff169060026125188361310d565b91906101000a81548161ffff021916908361ffff160217905550506001915050919050565b612438610fa0826130eb565b6127108161ffff161161260657600954600a5461ffff9182169161256f911660016130eb565b61ffff1610156125b057600a805461ffff16905f61258c8361310d565b91906101000a81548161ffff021916908361ffff160217905550505f915050919050565b60405162461bcd60e51b815260206004820152602560248201527f4e6f2072617265206c6566742c2077686963682073686f756c64206e6f74206860448201526430b83832b760d91b60648201526084016108f0565b50919050565b6001600160a01b038116811461236d575f80fd5b5f8060408385031215612631575f80fd5b823561263c8161260c565b946020939093013593505050565b5f5b8381101561266457818101518382015260200161264c565b50505f910152565b602081525f825180602084015261268a81604085016020870161264a565b601f01601f19169190910160400192915050565b5f602082840312156126ae575f80fd5b5035919050565b5f602082840312156126c5575f80fd5b813560ff81168114611690575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f82601f8301126126f8575f80fd5b813567ffffffffffffffff80821115612713576127136126d5565b604051601f8301601f19908116603f0116810190828211818310171561273b5761273b6126d5565b81604052838152866020858801011115612753575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f60208284031215612782575f80fd5b813567ffffffffffffffff811115612798575f80fd5b6127a4848285016126e9565b949350505050565b5f805f606084860312156127be575f80fd5b83356127c98161260c565b925060208401356127d98161260c565b929592945050506040919091013590565b5f602082840312156127fa575f80fd5b81356116908161260c565b5f8060408385031215612816575f80fd5b823567ffffffffffffffff8082111561282d575f80fd5b612839868387016126e9565b9350602085013591508082111561284e575f80fd5b5061285b858286016126e9565b9150509250929050565b801515811461236d575f80fd5b5f8060408385031215612883575f80fd5b823561288e8161260c565b9150602083013561289e81612865565b809150509250929050565b634e487b7160e01b5f52602160045260245ffd5b60208101600483106128dd57634e487b7160e01b5f52602160045260245ffd5b91905290565b602080825282518282018190525f9190848201906040850190845b8181101561291a578351835292840192918401916001016128fe565b50909695505050505050565b5f805f805f6080868803121561293a575f80fd5b85356129458161260c565b945060208601356129558161260c565b935060408601359250606086013567ffffffffffffffff80821115612978575f80fd5b818801915088601f83011261298b575f80fd5b813581811115612999575f80fd5b8960208285010111156129aa575f80fd5b9699959850939650602001949392505050565b5f80604083850312156129ce575f80fd5b82356129d98161260c565b9150602083013561289e8161260c565b600181811c908216806129fd57607f821691505b60208210810361260657634e487b7160e01b5f52602260045260245ffd5b601f8211156108f9575f81815260208120601f850160051c81016020861015612a415750805b601f850160051c820191505b81811015612a6057828155600101612a4d565b505050505050565b815167ffffffffffffffff811115612a8257612a826126d5565b612a9681612a9084546129e9565b84612a1b565b602080601f831160018114612ac9575f8415612ab25750858301515b5f19600386901b1c1916600185901b178555612a60565b5f85815260208120601f198616915b82811015612af757888601518255948401946001909101908401612ad8565b5085821015612b1457878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610acf57610acf612b24565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b5f60208284031215612b83575f80fd5b815161169081612865565b5f60208284031215612b9e575f80fd5b81516001600160e01b031981168114611690575f80fd5b5f60208284031215612bc5575f80fd5b81516116908161260c565b5f805f60608486031215612be2575f80fd5b8351925060208401519150604084015190509250925092565b8082028115828204841417610acf57610acf612b24565b634e487b7160e01b5f52601260045260245ffd5b5f82612c3457612c34612c12565b500490565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290525f828460a08401375f60a0848401015260a0601f19601f85011683010190509695505050505050565b5f8154612c97816129e9565b60018281168015612caf5760018114612cc457612cf0565b60ff1984168752821515830287019450612cf0565b855f526020805f205f5b85811015612ce75781548a820152908401908201612cce565b50505082870194505b5050505092915050565b5f612d058285612c8b565b8351612d1581836020880161264a565b01949350505050565b5f60208284031215612d2e575f80fd5b815160048110611690575f80fd5b5f612d478284612c8b565b69313937b73d329733b4b360b11b8152600a019392505050565b5f612d6c8284612c8b565b6939b4b63b32b91733b4b360b11b8152600a019392505050565b5f612d918284612c8b565b6733b7b6321733b4b360c11b81526008019392505050565b5f612db48284612c8b565b6a3234b0b6b7b7321733b4b360a91b8152600b019392505050565b757b226e616d65223a202247656e65736973343034202360501b815281515f90612e0081601685016020870161264a565b9190910160160192915050565b5f8251612e1e81846020870161264a565b7f222c226465736372697074696f6e223a224120636f6c6c656374696f6e206f669201918252507f2031302c303030205265706c6963616e747320656e61626c656420627920455260208201527f433430342c20616e206578706572696d656e74616c20746f6b656e207374616e60408201527f646172642e222c2265787465726e616c5f75726c223a2268747470733a2f2f6760608201527f656e657369733430342e70726f222c22696d616765223a2200000000000000006080820152609801919050565b5f8351612ef681846020880161264a565b835190830190612d1581836020880161264a565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a225281526d30b9329116113b30b63ab2911d1160911b60208201525f8251612f5881602e85016020870161264a565b91909101602e0192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081525f8251612f9c81601b85016020870161264a565b91909101601b0192915050565b600181815b80851115612fe357815f1904821115612fc957612fc9612b24565b80851615612fd657918102915b93841c9390800290612fae565b509250929050565b5f82612ff957506001610acf565b8161300557505f610acf565b816001811461301b576002811461302557613041565b6001915050610acf565b60ff84111561303657613036612b24565b50506001821b610acf565b5060208310610133831016604e8410600b8410161715613064575081810a610acf565b61306e8383612fa9565b805f190482111561308157613081612b24565b029392505050565b5f61169060ff841683612feb565b5f600182016130a8576130a8612b24565b5060010190565b5f61ffff8216806130c2576130c2612b24565b5f190192915050565b5f61ffff808416806130df576130df612c12565b92169190910692915050565b61ffff81811683821601908082111561310657613106612b24565b5092915050565b5f61ffff80831681810361312357613123612b24565b600101939250505056fea26469706673582212205efec57b866bcfbc25ec982c651d443227a22aaa97cb5400d0c393cf7c0fada864736f6c63430008140033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.