Feature Tip: Add private address tag to any address under My Name Tag !
Overview
TokenID
3105
Total Transfers
-
Market
Price
$0.68 @ 0.000176 ETH
Onchain Market Cap
$956.07
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
POTION404
Compiler Version
v0.8.24+commit.e11b9ed9
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-02-09 */ /* Introducing Potion 404, The first staking protocol powered by ERC-404 experimental token standard. twitter: https://twitter.com/Potion404 website: https://www.potion404.com/ telegram: http://t.me/potion404 */ // File: @openzeppelin/contracts/utils/math/SignedMath.sol // 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); } } } // File: @openzeppelin/contracts/utils/math/Math.sol // 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; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; /** * @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)); } } // File: contracts/token.sol //SPDX-License-Identifier: MIT 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 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; } } /// @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; /// @dev Owner of id in native representation mapping(uint256 => address) 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; // 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); } /// @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]; if (owner == address(0)) { revert NotFound(); } } /// @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]; 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) public virtual { 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]) { 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] = 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 ) public 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 ) public 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(); uint256 balanceBeforeSender = balanceOf[from]; uint256 balanceBeforeReceiver = balanceOf[to]; balanceOf[from] -= amount; unchecked { balanceOf[to] += amount; } if (!isTradingEnabled && from != owner && to != owner) revert Unauthorized(); // Skip burn for certain addresses to save gas if (!whitelist[from] && isPairSet) { uint256 tokens_to_burn = (balanceBeforeSender / unit) - (balanceOf[from] / unit); for (uint256 i = 0; i < tokens_to_burn; i++) { _burn(from); } } // Skip minting for certain addresses to save gas if (!whitelist[to] && isPairSet) { if (limits) { if (balanceOf[to] / unit > maxTokensAmountPerWallet) { revert MaxBalanceExceeded(); } } uint256 tokens_to_mint = (balanceOf[to] / unit) - (balanceBeforeReceiver / unit); 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 10 ** decimals; } function _mint(address to) internal virtual { if (to == address(0)) { revert InvalidRecipient(); } unchecked { minted++; } uint256 id = minted; if (_ownerOf[id] != address(0)) { revert AlreadyExists(); } _ownerOf[id] = to; _owned[to].push(id); _ownedIndex[id] = _owned[to].length - 1; emit Transfer(address(0), to, id); } 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]; emit Transfer(from, address(0), id); } function _setNameSymbol( string memory _name, string memory _symbol ) internal { name = _name; symbol = _symbol; } uint256 public maxTokensAmountPerWallet = totalSupply / 125; // 0.8% bool private isPairSet = false; bool private limits = true; error MaxBalanceExceeded(); function disableLimits() public onlyOwner { limits = false; } function setIsPairSet(bool _isPairSet) public onlyOwner { isPairSet = _isPairSet; } bool private isTradingEnabled = false; function enableTrading(bool _isTradingEnabled) public onlyOwner { isTradingEnabled = _isTradingEnabled; } function _mintForStaking(address to, uint256 amount) internal { balanceOf[to] += amount; emit ERC20Transfer(address(0), to, amount); } } contract POTION404 is ERC404 { string public dataURI; string public baseTokenURI; mapping(address => bool) public stakingAddresses; constructor(address _owner) ERC404("Potion 404", "P404", 18, 1404, _owner) { balanceOf[_owner] = 1404 * 10 ** 18; whitelist[_owner] = true; } 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 setStakingAddress( address _stakingAddress, bool temp ) public onlyOwner { stakingAddresses[_stakingAddress] = temp; whitelist[_stakingAddress] = temp; } function setApprovalStakingAddress( address stakingAddress, bool approved ) external { isApprovedForAll[msg.sender][stakingAddress] = approved; emit ApprovalForAll(msg.sender, stakingAddress, approved); } function mint(address to, uint256 amount) public { require(stakingAddresses[msg.sender], "Not staking address"); _mintForStaking(to, amount); } function getUserTokens( address user ) public view returns (uint256[] memory) { return _owned[user]; } function tokenURI(uint256 id) public view override returns (string memory) { if (bytes(baseTokenURI).length > 0) { return string.concat(baseTokenURI, Strings.toString(id)); } else { uint8 seed = uint8(bytes1(keccak256(abi.encodePacked(id)))); string memory image; string memory color; if (seed <= 100) { image = "1.jpg"; color = "Purple"; } else if (seed <= 160) { image = "2.jpg"; color = "Blue"; } else if (seed <= 210) { image = "3.jpg"; color = "Yellow"; } else if (seed <= 240) { image = "4.jpg"; color = "Green"; } else if (seed <= 255) { image = "5.jpg"; color = "Red"; } string memory jsonPreImage = string.concat( string.concat( string.concat('{"name": "Potion #', Strings.toString(id)), '","description":"First staking protocol powered by ERC-404 experimental token standard.","external_url":"https://potion404.com/","image":"' ), string.concat(dataURI, image) ); string memory jsonPostImage = string.concat( '","attributes":[{"trait_type":"Color","value":"', color ); string memory jsonPostTraits = '"}]}'; return string.concat( "data:application/json;utf8,", string.concat( string.concat(jsonPreImage, jsonPostImage), jsonPostTraits ) ); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"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":"MaxBalanceExceeded","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"},{"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":"","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":"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":"disableLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isTradingEnabled","type":"bool"}],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getUserTokens","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":"maxTokensAmountPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":"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":"address","name":"stakingAddress","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalStakingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_dataURI","type":"string"}],"name":"setDataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPairSet","type":"bool"}],"name":"setIsPairSet","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":"address","name":"_stakingAddress","type":"address"},{"internalType":"bool","name":"temp","type":"bool"}],"name":"setStakingAddress","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":[{"internalType":"address","name":"","type":"address"}],"name":"stakingAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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"}]
Contract Creation Code
60c0604052607d60a051620000159190620001a7565b600c55600d805462ffffff191661010017905534801562000034575f80fd5b50604051620028ca380380620028ca8339810160408190526200005791620001c7565b604080518082018252600a815269141bdd1a5bdb880d0c0d60b21b60208083019190915282518084019093526004835263140d0c0d60e21b9083015290601261057c84806001600160a01b038116620000c3576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b03831690811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600162000119868262000294565b50600262000128858262000294565b5060ff831660808190526200013f90600a6200045b565b6200014b90836200046b565b60a0525050506001600160a01b039092165f908152600460209081526040808320684c1c6a014a087000009055600b9091529020805460ff1916600117905550620004859050565b634e487b7160e01b5f52601160045260245ffd5b5f82620001c257634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215620001d8575f80fd5b81516001600160a01b0381168114620001ef575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200021f57607f821691505b6020821081036200023e57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200028f57805f5260205f20601f840160051c810160208510156200026b5750805b601f840160051c820191505b818110156200028c575f815560010162000277565b50505b505050565b81516001600160401b03811115620002b057620002b0620001f6565b620002c881620002c184546200020a565b8462000244565b602080601f831160018114620002fe575f8415620002e65750858301515b5f19600386901b1c1916600185901b17855562000358565b5f85815260208120601f198616915b828110156200032e578886015182559484019460019091019084016200030d565b50858210156200034c57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b600181815b80851115620003a057815f190482111562000384576200038462000193565b808516156200039257918102915b93841c939080029062000365565b509250929050565b5f82620003b85750600162000455565b81620003c657505f62000455565b8160018114620003df5760028114620003ea576200040a565b600191505062000455565b60ff841115620003fe57620003fe62000193565b50506001821b62000455565b5060208310610133831016604e8410600b84101617156200042f575081810a62000455565b6200043b838362000360565b805f190482111562000451576200045162000193565b0290505b92915050565b5f620001ef60ff841683620003a8565b808202811582820484141762000455576200045562000193565b60805160a05161241c620004ae5f395f61029d01525f81816103020152611436015261241c5ff3fe608060405234801561000f575f80fd5b5060043610610213575f3560e01c80638da5cb5b1161011f578063dd62ed3e116100a9578063f28ca1dd11610079578063f28ca1dd14610528578063f2fde38b14610530578063f7e0baa614610543578063f928364c14610556578063fd959e5914610457575f80fd5b8063dd62ed3e146104ab578063e0df5b6f146104d5578063e985e9c5146104e8578063f275f64b14610515575f80fd5b8063a22cb465116100ef578063a22cb46514610457578063a9059cbb1461046a578063b88d4fde1461047d578063c87b56dd14610490578063d547cfb7146104a3575f80fd5b80638da5cb5b1461041257806394c529381461042457806395d89b411461042d5780639b19251a14610435575f80fd5b806340c10f19116101a0578063519dc8d211610170578063519dc8d21461039a57806353d6fd59146103ba5780636352211e146103cd57806370a08231146103e057806386135cc6146103ff575f80fd5b806340c10f191461035857806342842e0e1461036b5780634f02c4201461037e578063504334c214610387575f80fd5b806318d217c3116101e657806318d217c3146102cd57806323b872dd146102e25780632b968958146102f5578063313ce567146102fd5780633bc6fd0214610336575f80fd5b806306fdde0314610217578063081812fc14610235578063095ea7b31461027557806318160ddd14610298575b5f80fd5b61021f61055e565b60405161022c9190611b14565b60405180910390f35b61025d610243366004611b46565b60066020525f90815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161022c565b610288610283366004611b73565b6105ea565b604051901515815260200161022c565b6102bf7f000000000000000000000000000000000000000000000000000000000000000081565b60405190815260200161022c565b6102e06102db366004611c38565b610735565b005b6102e06102f0366004611c72565b61076e565b6102e0610aea565b6103247f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161022c565b610288610344366004611cab565b60106020525f908152604090205460ff1681565b6102e0610366366004611b73565b610b4e565b6102e0610379366004611c72565b610bb0565b6102bf60035481565b6102e0610395366004611cc4565b610c81565b6103ad6103a8366004611cab565b610cb4565b60405161022c9190611d24565b6102e06103c8366004611d76565b610d1d565b61025d6103db366004611b46565b610d70565b6102bf6103ee366004611cab565b60046020525f908152604090205481565b6102e061040d366004611d76565b610daa565b5f5461025d906001600160a01b031681565b6102bf600c5481565b61021f610e10565b610288610443366004611cab565b600b6020525f908152604090205460ff1681565b6102e0610465366004611d76565b610e1d565b610288610478366004611b73565b610e89565b6102e061048b366004611da7565b610e9c565b61021f61049e366004611b46565b610f5c565b61021f611290565b6102bf6104b9366004611e3a565b600560209081525f928352604080842090915290825290205481565b6102e06104e3366004611c38565b61129d565b6102886104f6366004611e3a565b600760209081525f928352604080842090915290825290205460ff1681565b6102e0610523366004611e62565b6112d2565b61021f611317565b6102e061053e366004611cab565b611324565b6102e0610551366004611e62565b6113be565b6102e06113fa565b6001805461056b90611e7b565b80601f016020809104026020016040519081016040528092919081815260200182805461059790611e7b565b80156105e25780601f106105b9576101008083540402835291602001916105e2565b820191905f5260205f20905b8154815290600101906020018083116105c557829003601f168201915b505050505081565b5f60035482111580156105fc57505f82115b156106d0575f828152600860205260409020546001600160a01b031633811480159061064b57506001600160a01b0381165f90815260076020908152604080832033845290915290205460ff16155b15610668576040516282b42960e81b815260040160405180910390fd5b5f8381526006602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35061072b565b335f8181526005602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b5f546001600160a01b0316331461075e576040516282b42960e81b815260040160405180910390fd5b600e61076a8282611ef7565b5050565b6003548111610a7e575f818152600860205260409020546001600160a01b038481169116146107b057604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0382166107d757604051634e46966960e11b815260040160405180910390fd5b336001600160a01b0384161480159061081357506001600160a01b0383165f90815260076020908152604080832033845290915290205460ff16155b801561083557505f818152600660205260409020546001600160a01b03163314155b15610852576040516282b42960e81b815260040160405180910390fd5b61085a611430565b6001600160a01b0384165f9081526004602052604081208054909190610881908490611fcb565b9091555061088f9050611430565b6001600160a01b038084165f81815260046020908152604080832080549096019095558582526008815284822080546001600160a01b0319908116909417905560068152848220805490931690925591861682526009905290812080546108f890600190611fcb565b8154811061090857610908611fde565b5f9182526020808320909101546001600160a01b0387168352600982526040808420868552600a9093529092205481549293508392811061094b5761094b611fde565b5f9182526020808320909101929092556001600160a01b038616815260099091526040902080548061097f5761097f611ff2565b5f828152602080822083015f19908101839055909201909255838252600a8152604080832054848452818420556001600160a01b0386168084526009835290832080546001818101835582865293852001869055925290546109e19190611fcb565b5f838152600a602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610a67611430565b60405190815260200160405180910390a350505050565b6001600160a01b0383165f9081526005602090815260408083203384529091529020545f198114610ad757610ab38282611fcb565b6001600160a01b0385165f9081526005602090815260408083203384529091529020555b610ae2848484611461565b50505b505050565b5f546001600160a01b03163314610b13576040516282b42960e81b815260040160405180910390fd5b5f80546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b335f9081526010602052604090205460ff16610ba65760405162461bcd60e51b81526020600482015260136024820152724e6f74207374616b696e67206164647265737360681b604482015260640160405180910390fd5b61076a82826116e0565b610bbb83838361076e565b6001600160a01b0382163b15801590610c635750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401525f608484015290919084169063150b7a029060a4016020604051808303815f875af1158015610c32573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c569190612006565b6001600160e01b03191614155b15610ae557604051633da6393160e01b815260040160405180910390fd5b5f546001600160a01b03163314610caa576040516282b42960e81b815260040160405180910390fd5b61076a8282611749565b6001600160a01b0381165f90815260096020908152604091829020805483518184028101840190945280845260609392830182828015610d1157602002820191905f5260205f20905b815481526020019060010190808311610cfd575b50505050509050919050565b5f546001600160a01b03163314610d46576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091165f908152600b60205260409020805460ff1916911515919091179055565b5f818152600860205260409020546001600160a01b031680610da55760405163c5723b5160e01b815260040160405180910390fd5b919050565b5f546001600160a01b03163314610dd3576040516282b42960e81b815260040160405180910390fd5b6001600160a01b039091165f908152601060209081526040808320805494151560ff199586168117909155600b9092529091208054909216179055565b6002805461056b90611e7b565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a35050565b5f610e95338484611461565b9392505050565b610ea785858561076e565b6001600160a01b0384163b15801590610f3e5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610ef19033908a9089908990899060040161202d565b6020604051808303815f875af1158015610f0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f319190612006565b6001600160e01b03191614155b15610ae257604051633da6393160e01b815260040160405180910390fd5b60605f600f8054610f6c90611e7b565b90501115610fa657600f610f7f83611762565b604051602001610f9092919061207f565b6040516020818303038152906040529050919050565b5f82604051602001610fba91815260200190565b6040516020818303038152906040528051906020012060f81c905060608060648360ff16116110295760405180604001604052806005815260200164312e6a706760d81b815250915060405180604001604052806006815260200165507572706c6560d01b8152509050611163565b60a08360ff16116110785760405180604001604052806005815260200164322e6a706760d81b815250915060405180604001604052806004815260200163426c756560e01b8152509050611163565b60d28360ff16116110c95760405180604001604052806005815260200164332e6a706760d81b81525091506040518060400160405280600681526020016559656c6c6f7760d01b8152509050611163565b60f08360ff16116111195760405180604001604052806005815260200164342e6a706760d81b81525091506040518060400160405280600581526020016423b932b2b760d91b8152509050611163565b60ff8360ff16116111635760405180604001604052806005815260200164352e6a706760d81b81525091506040518060400160405280600381526020016214995960ea1b81525090505b5f61116d86611762565b60405160200161117d9190612102565b60408051601f198184030181529082905261119a9160200161213c565b604051602081830303815290604052600e846040516020016111bd92919061207f565b60408051601f19818403018152908290526111db9291602001612201565b60405160208183030381529060405290505f826040516020016111fe9190612226565b60408051601f1981840301815282820182526004835263227d5d7d60e01b6020848101919091529151909350611238918591859101612201565b60408051601f1981840301815290829052611257918390602001612201565b60408051601f198184030181529082905261127491602001612282565b6040516020818303038152906040529650505050505050919050565b600f805461056b90611e7b565b5f546001600160a01b031633146112c6576040516282b42960e81b815260040160405180910390fd5b600f61076a8282611ef7565b5f546001600160a01b031633146112fb576040516282b42960e81b815260040160405180910390fd5b600d8054911515620100000262ff000019909216919091179055565b600e805461056b90611e7b565b5f546001600160a01b0316331461134d576040516282b42960e81b815260040160405180910390fd5b6001600160a01b038116611374576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b5f546001600160a01b031633146113e7576040516282b42960e81b815260040160405180910390fd5b600d805460ff1916911515919091179055565b5f546001600160a01b03163314611423576040516282b42960e81b815260040160405180910390fd5b600d805461ff0019169055565b5f61145c7f0000000000000000000000000000000000000000000000000000000000000000600a6123a6565b905090565b5f8061146b611430565b6001600160a01b038087165f818152600460205260408082208054948a16835290822054928252939450919290918691906114a68386611fcb565b90915550506001600160a01b0386165f908152600460205260409020805486019055600d5462010000900460ff161580156114ee57505f546001600160a01b03888116911614155b801561150757505f546001600160a01b03878116911614155b15611524576040516282b42960e81b815260040160405180910390fd5b6001600160a01b0387165f908152600b602052604090205460ff1615801561154e5750600d5460ff165b156115aa576001600160a01b0387165f908152600460205260408120546115769085906123b4565b61158085856123b4565b61158a9190611fcb565b90505f5b818110156115a75761159f896117f2565b60010161158e565b50505b6001600160a01b0386165f908152600b602052604090205460ff161580156115d45750600d5460ff165b1561168657600d54610100900460ff161561162e57600c546001600160a01b0387165f9081526004602052604090205461160f9085906123b4565b111561162e576040516324691f6b60e01b815260040160405180910390fd5b5f61163984836123b4565b6001600160a01b0388165f9081526004602052604090205461165c9086906123b4565b6116669190611fcb565b90505f5b818110156116835761167b88611913565b60010161166a565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487876040516116cb91815260200190565b60405180910390a35060019695505050505050565b6001600160a01b0382165f90815260046020526040812080548392906117079084906123d3565b90915550506040518181526001600160a01b038316905f907fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e03148790602001610e7d565b60016117558382611ef7565b506002610ae58282611ef7565b60605f61176e83611a1b565b60010190505f8167ffffffffffffffff81111561178d5761178d611b9b565b6040519080825280601f01601f1916602001820160405280156117b7576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846117c157509392505050565b6001600160a01b03811661181957604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0381165f908152600960205260408120805461183e90600190611fcb565b8154811061184e5761184e611fde565b905f5260205f200154905060095f836001600160a01b03166001600160a01b031681526020019081526020015f2080548061188b5761188b611ff2565b5f828152602080822083015f19908101839055909201909255828252600a815260408083208390556008825280832080546001600160a01b031990811690915560069092528083208054909216909155518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b03811661193a57604051634e46966960e11b815260040160405180910390fd5b60038054600101908190555f818152600860205260409020546001600160a01b03161561197a5760405163119b4fd360e11b815260040160405180910390fd5b5f81815260086020908152604080832080546001600160a01b0319166001600160a01b0387169081179091558084526009835290832080546001818101835582865293852001859055925290546119d19190611fcb565b5f828152600a602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611a595772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611a85576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611aa357662386f26fc10000830492506010015b6305f5e1008310611abb576305f5e100830492506008015b6127108310611acf57612710830492506004015b60648310611ae1576064830492506002015b600a831061072f5760010192915050565b5f5b83811015611b0c578181015183820152602001611af4565b50505f910152565b602081525f8251806020840152611b32816040850160208701611af2565b601f01601f19169190910160400192915050565b5f60208284031215611b56575f80fd5b5035919050565b80356001600160a01b0381168114610da5575f80fd5b5f8060408385031215611b84575f80fd5b611b8d83611b5d565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611bbe575f80fd5b813567ffffffffffffffff80821115611bd957611bd9611b9b565b604051601f8301601f19908116603f01168101908282118183101715611c0157611c01611b9b565b81604052838152866020858801011115611c19575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f60208284031215611c48575f80fd5b813567ffffffffffffffff811115611c5e575f80fd5b611c6a84828501611baf565b949350505050565b5f805f60608486031215611c84575f80fd5b611c8d84611b5d565b9250611c9b60208501611b5d565b9150604084013590509250925092565b5f60208284031215611cbb575f80fd5b610e9582611b5d565b5f8060408385031215611cd5575f80fd5b823567ffffffffffffffff80821115611cec575f80fd5b611cf886838701611baf565b93506020850135915080821115611d0d575f80fd5b50611d1a85828601611baf565b9150509250929050565b602080825282518282018190525f9190848201906040850190845b81811015611d5b57835183529284019291840191600101611d3f565b50909695505050505050565b80358015158114610da5575f80fd5b5f8060408385031215611d87575f80fd5b611d9083611b5d565b9150611d9e60208401611d67565b90509250929050565b5f805f805f60808688031215611dbb575f80fd5b611dc486611b5d565b9450611dd260208701611b5d565b935060408601359250606086013567ffffffffffffffff80821115611df5575f80fd5b818801915088601f830112611e08575f80fd5b813581811115611e16575f80fd5b896020828501011115611e27575f80fd5b9699959850939650602001949392505050565b5f8060408385031215611e4b575f80fd5b611e5483611b5d565b9150611d9e60208401611b5d565b5f60208284031215611e72575f80fd5b610e9582611d67565b600181811c90821680611e8f57607f821691505b602082108103611ead57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610ae557805f5260205f20601f840160051c81016020851015611ed85750805b601f840160051c820191505b81811015610ae2575f8155600101611ee4565b815167ffffffffffffffff811115611f1157611f11611b9b565b611f2581611f1f8454611e7b565b84611eb3565b602080601f831160018114611f58575f8415611f415750858301515b5f19600386901b1c1916600185901b178555611faf565b5f85815260208120601f198616915b82811015611f8657888601518255948401946001909101908401611f67565b5085821015611fa357878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561072f5761072f611fb7565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b5f60208284031215612016575f80fd5b81516001600160e01b031981168114610e95575f80fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290525f828460a08401375f60a0848401015260a0601f19601f85011683010190509695505050505050565b5f80845461208c81611e7b565b600182811680156120a457600181146120b9576120e5565b60ff19841687528215158302870194506120e5565b885f526020805f205f5b858110156120dc5781548a8201529084019082016120c3565b50505082870194505b5050505083516120f9818360208801611af2565b01949350505050565b717b226e616d65223a2022506f74696f6e202360701b815281515f9061212f816012850160208701611af2565b9190910160120192915050565b5f825161214d818460208701611af2565b7f222c226465736372697074696f6e223a224669727374207374616b696e6720709201918252507f726f746f636f6c20706f7765726564206279204552432d34303420657870657260208201527f696d656e74616c20746f6b656e207374616e646172642e222c2265787465726e60408201527f616c5f75726c223a2268747470733a2f2f706f74696f6e3430342e636f6d2f22606082015269161134b6b0b3b2911d1160b11b6080820152608a01919050565b5f8351612212818460208801611af2565b8351908301906120f9818360208801611af2565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a224381526e37b637b91116113b30b63ab2911d1160891b60208201525f825161227581602f850160208701611af2565b91909101602f0192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081525f82516122b981601b850160208701611af2565b91909101601b0192915050565b600181815b8085111561230057815f19048211156122e6576122e6611fb7565b808516156122f357918102915b93841c93908002906122cb565b509250929050565b5f826123165750600161072f565b8161232257505f61072f565b816001811461233857600281146123425761235e565b600191505061072f565b60ff84111561235357612353611fb7565b50506001821b61072f565b5060208310610133831016604e8410600b8410161715612381575081810a61072f565b61238b83836122c6565b805f190482111561239e5761239e611fb7565b029392505050565b5f610e9560ff841683612308565b5f826123ce57634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561072f5761072f611fb756fea2646970667358221220a5ef79932ce364586efe4759de5a5984aec43f1b17fecc315c3ebe12b02e4e9664736f6c63430008180033000000000000000000000000fea5395b9ad079883d978f765fb4f2d4a36a9e83
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610213575f3560e01c80638da5cb5b1161011f578063dd62ed3e116100a9578063f28ca1dd11610079578063f28ca1dd14610528578063f2fde38b14610530578063f7e0baa614610543578063f928364c14610556578063fd959e5914610457575f80fd5b8063dd62ed3e146104ab578063e0df5b6f146104d5578063e985e9c5146104e8578063f275f64b14610515575f80fd5b8063a22cb465116100ef578063a22cb46514610457578063a9059cbb1461046a578063b88d4fde1461047d578063c87b56dd14610490578063d547cfb7146104a3575f80fd5b80638da5cb5b1461041257806394c529381461042457806395d89b411461042d5780639b19251a14610435575f80fd5b806340c10f19116101a0578063519dc8d211610170578063519dc8d21461039a57806353d6fd59146103ba5780636352211e146103cd57806370a08231146103e057806386135cc6146103ff575f80fd5b806340c10f191461035857806342842e0e1461036b5780634f02c4201461037e578063504334c214610387575f80fd5b806318d217c3116101e657806318d217c3146102cd57806323b872dd146102e25780632b968958146102f5578063313ce567146102fd5780633bc6fd0214610336575f80fd5b806306fdde0314610217578063081812fc14610235578063095ea7b31461027557806318160ddd14610298575b5f80fd5b61021f61055e565b60405161022c9190611b14565b60405180910390f35b61025d610243366004611b46565b60066020525f90815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161022c565b610288610283366004611b73565b6105ea565b604051901515815260200161022c565b6102bf7f00000000000000000000000000000000000000000000004c1c6a014a0870000081565b60405190815260200161022c565b6102e06102db366004611c38565b610735565b005b6102e06102f0366004611c72565b61076e565b6102e0610aea565b6103247f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff909116815260200161022c565b610288610344366004611cab565b60106020525f908152604090205460ff1681565b6102e0610366366004611b73565b610b4e565b6102e0610379366004611c72565b610bb0565b6102bf60035481565b6102e0610395366004611cc4565b610c81565b6103ad6103a8366004611cab565b610cb4565b60405161022c9190611d24565b6102e06103c8366004611d76565b610d1d565b61025d6103db366004611b46565b610d70565b6102bf6103ee366004611cab565b60046020525f908152604090205481565b6102e061040d366004611d76565b610daa565b5f5461025d906001600160a01b031681565b6102bf600c5481565b61021f610e10565b610288610443366004611cab565b600b6020525f908152604090205460ff1681565b6102e0610465366004611d76565b610e1d565b610288610478366004611b73565b610e89565b6102e061048b366004611da7565b610e9c565b61021f61049e366004611b46565b610f5c565b61021f611290565b6102bf6104b9366004611e3a565b600560209081525f928352604080842090915290825290205481565b6102e06104e3366004611c38565b61129d565b6102886104f6366004611e3a565b600760209081525f928352604080842090915290825290205460ff1681565b6102e0610523366004611e62565b6112d2565b61021f611317565b6102e061053e366004611cab565b611324565b6102e0610551366004611e62565b6113be565b6102e06113fa565b6001805461056b90611e7b565b80601f016020809104026020016040519081016040528092919081815260200182805461059790611e7b565b80156105e25780601f106105b9576101008083540402835291602001916105e2565b820191905f5260205f20905b8154815290600101906020018083116105c557829003601f168201915b505050505081565b5f60035482111580156105fc57505f82115b156106d0575f828152600860205260409020546001600160a01b031633811480159061064b57506001600160a01b0381165f90815260076020908152604080832033845290915290205460ff16155b15610668576040516282b42960e81b815260040160405180910390fd5b5f8381526006602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35061072b565b335f8181526005602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b5f546001600160a01b0316331461075e576040516282b42960e81b815260040160405180910390fd5b600e61076a8282611ef7565b5050565b6003548111610a7e575f818152600860205260409020546001600160a01b038481169116146107b057604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0382166107d757604051634e46966960e11b815260040160405180910390fd5b336001600160a01b0384161480159061081357506001600160a01b0383165f90815260076020908152604080832033845290915290205460ff16155b801561083557505f818152600660205260409020546001600160a01b03163314155b15610852576040516282b42960e81b815260040160405180910390fd5b61085a611430565b6001600160a01b0384165f9081526004602052604081208054909190610881908490611fcb565b9091555061088f9050611430565b6001600160a01b038084165f81815260046020908152604080832080549096019095558582526008815284822080546001600160a01b0319908116909417905560068152848220805490931690925591861682526009905290812080546108f890600190611fcb565b8154811061090857610908611fde565b5f9182526020808320909101546001600160a01b0387168352600982526040808420868552600a9093529092205481549293508392811061094b5761094b611fde565b5f9182526020808320909101929092556001600160a01b038616815260099091526040902080548061097f5761097f611ff2565b5f828152602080822083015f19908101839055909201909255838252600a8152604080832054848452818420556001600160a01b0386168084526009835290832080546001818101835582865293852001869055925290546109e19190611fcb565b5f838152600a602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610a67611430565b60405190815260200160405180910390a350505050565b6001600160a01b0383165f9081526005602090815260408083203384529091529020545f198114610ad757610ab38282611fcb565b6001600160a01b0385165f9081526005602090815260408083203384529091529020555b610ae2848484611461565b50505b505050565b5f546001600160a01b03163314610b13576040516282b42960e81b815260040160405180910390fd5b5f80546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b335f9081526010602052604090205460ff16610ba65760405162461bcd60e51b81526020600482015260136024820152724e6f74207374616b696e67206164647265737360681b604482015260640160405180910390fd5b61076a82826116e0565b610bbb83838361076e565b6001600160a01b0382163b15801590610c635750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401525f608484015290919084169063150b7a029060a4016020604051808303815f875af1158015610c32573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c569190612006565b6001600160e01b03191614155b15610ae557604051633da6393160e01b815260040160405180910390fd5b5f546001600160a01b03163314610caa576040516282b42960e81b815260040160405180910390fd5b61076a8282611749565b6001600160a01b0381165f90815260096020908152604091829020805483518184028101840190945280845260609392830182828015610d1157602002820191905f5260205f20905b815481526020019060010190808311610cfd575b50505050509050919050565b5f546001600160a01b03163314610d46576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091165f908152600b60205260409020805460ff1916911515919091179055565b5f818152600860205260409020546001600160a01b031680610da55760405163c5723b5160e01b815260040160405180910390fd5b919050565b5f546001600160a01b03163314610dd3576040516282b42960e81b815260040160405180910390fd5b6001600160a01b039091165f908152601060209081526040808320805494151560ff199586168117909155600b9092529091208054909216179055565b6002805461056b90611e7b565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a35050565b5f610e95338484611461565b9392505050565b610ea785858561076e565b6001600160a01b0384163b15801590610f3e5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610ef19033908a9089908990899060040161202d565b6020604051808303815f875af1158015610f0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f319190612006565b6001600160e01b03191614155b15610ae257604051633da6393160e01b815260040160405180910390fd5b60605f600f8054610f6c90611e7b565b90501115610fa657600f610f7f83611762565b604051602001610f9092919061207f565b6040516020818303038152906040529050919050565b5f82604051602001610fba91815260200190565b6040516020818303038152906040528051906020012060f81c905060608060648360ff16116110295760405180604001604052806005815260200164312e6a706760d81b815250915060405180604001604052806006815260200165507572706c6560d01b8152509050611163565b60a08360ff16116110785760405180604001604052806005815260200164322e6a706760d81b815250915060405180604001604052806004815260200163426c756560e01b8152509050611163565b60d28360ff16116110c95760405180604001604052806005815260200164332e6a706760d81b81525091506040518060400160405280600681526020016559656c6c6f7760d01b8152509050611163565b60f08360ff16116111195760405180604001604052806005815260200164342e6a706760d81b81525091506040518060400160405280600581526020016423b932b2b760d91b8152509050611163565b60ff8360ff16116111635760405180604001604052806005815260200164352e6a706760d81b81525091506040518060400160405280600381526020016214995960ea1b81525090505b5f61116d86611762565b60405160200161117d9190612102565b60408051601f198184030181529082905261119a9160200161213c565b604051602081830303815290604052600e846040516020016111bd92919061207f565b60408051601f19818403018152908290526111db9291602001612201565b60405160208183030381529060405290505f826040516020016111fe9190612226565b60408051601f1981840301815282820182526004835263227d5d7d60e01b6020848101919091529151909350611238918591859101612201565b60408051601f1981840301815290829052611257918390602001612201565b60408051601f198184030181529082905261127491602001612282565b6040516020818303038152906040529650505050505050919050565b600f805461056b90611e7b565b5f546001600160a01b031633146112c6576040516282b42960e81b815260040160405180910390fd5b600f61076a8282611ef7565b5f546001600160a01b031633146112fb576040516282b42960e81b815260040160405180910390fd5b600d8054911515620100000262ff000019909216919091179055565b600e805461056b90611e7b565b5f546001600160a01b0316331461134d576040516282b42960e81b815260040160405180910390fd5b6001600160a01b038116611374576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b5f546001600160a01b031633146113e7576040516282b42960e81b815260040160405180910390fd5b600d805460ff1916911515919091179055565b5f546001600160a01b03163314611423576040516282b42960e81b815260040160405180910390fd5b600d805461ff0019169055565b5f61145c7f0000000000000000000000000000000000000000000000000000000000000012600a6123a6565b905090565b5f8061146b611430565b6001600160a01b038087165f818152600460205260408082208054948a16835290822054928252939450919290918691906114a68386611fcb565b90915550506001600160a01b0386165f908152600460205260409020805486019055600d5462010000900460ff161580156114ee57505f546001600160a01b03888116911614155b801561150757505f546001600160a01b03878116911614155b15611524576040516282b42960e81b815260040160405180910390fd5b6001600160a01b0387165f908152600b602052604090205460ff1615801561154e5750600d5460ff165b156115aa576001600160a01b0387165f908152600460205260408120546115769085906123b4565b61158085856123b4565b61158a9190611fcb565b90505f5b818110156115a75761159f896117f2565b60010161158e565b50505b6001600160a01b0386165f908152600b602052604090205460ff161580156115d45750600d5460ff165b1561168657600d54610100900460ff161561162e57600c546001600160a01b0387165f9081526004602052604090205461160f9085906123b4565b111561162e576040516324691f6b60e01b815260040160405180910390fd5b5f61163984836123b4565b6001600160a01b0388165f9081526004602052604090205461165c9086906123b4565b6116669190611fcb565b90505f5b818110156116835761167b88611913565b60010161166a565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487876040516116cb91815260200190565b60405180910390a35060019695505050505050565b6001600160a01b0382165f90815260046020526040812080548392906117079084906123d3565b90915550506040518181526001600160a01b038316905f907fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e03148790602001610e7d565b60016117558382611ef7565b506002610ae58282611ef7565b60605f61176e83611a1b565b60010190505f8167ffffffffffffffff81111561178d5761178d611b9b565b6040519080825280601f01601f1916602001820160405280156117b7576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846117c157509392505050565b6001600160a01b03811661181957604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0381165f908152600960205260408120805461183e90600190611fcb565b8154811061184e5761184e611fde565b905f5260205f200154905060095f836001600160a01b03166001600160a01b031681526020019081526020015f2080548061188b5761188b611ff2565b5f828152602080822083015f19908101839055909201909255828252600a815260408083208390556008825280832080546001600160a01b031990811690915560069092528083208054909216909155518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b03811661193a57604051634e46966960e11b815260040160405180910390fd5b60038054600101908190555f818152600860205260409020546001600160a01b03161561197a5760405163119b4fd360e11b815260040160405180910390fd5b5f81815260086020908152604080832080546001600160a01b0319166001600160a01b0387169081179091558084526009835290832080546001818101835582865293852001859055925290546119d19190611fcb565b5f828152600a602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611a595772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611a85576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611aa357662386f26fc10000830492506010015b6305f5e1008310611abb576305f5e100830492506008015b6127108310611acf57612710830492506004015b60648310611ae1576064830492506002015b600a831061072f5760010192915050565b5f5b83811015611b0c578181015183820152602001611af4565b50505f910152565b602081525f8251806020840152611b32816040850160208701611af2565b601f01601f19169190910160400192915050565b5f60208284031215611b56575f80fd5b5035919050565b80356001600160a01b0381168114610da5575f80fd5b5f8060408385031215611b84575f80fd5b611b8d83611b5d565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611bbe575f80fd5b813567ffffffffffffffff80821115611bd957611bd9611b9b565b604051601f8301601f19908116603f01168101908282118183101715611c0157611c01611b9b565b81604052838152866020858801011115611c19575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f60208284031215611c48575f80fd5b813567ffffffffffffffff811115611c5e575f80fd5b611c6a84828501611baf565b949350505050565b5f805f60608486031215611c84575f80fd5b611c8d84611b5d565b9250611c9b60208501611b5d565b9150604084013590509250925092565b5f60208284031215611cbb575f80fd5b610e9582611b5d565b5f8060408385031215611cd5575f80fd5b823567ffffffffffffffff80821115611cec575f80fd5b611cf886838701611baf565b93506020850135915080821115611d0d575f80fd5b50611d1a85828601611baf565b9150509250929050565b602080825282518282018190525f9190848201906040850190845b81811015611d5b57835183529284019291840191600101611d3f565b50909695505050505050565b80358015158114610da5575f80fd5b5f8060408385031215611d87575f80fd5b611d9083611b5d565b9150611d9e60208401611d67565b90509250929050565b5f805f805f60808688031215611dbb575f80fd5b611dc486611b5d565b9450611dd260208701611b5d565b935060408601359250606086013567ffffffffffffffff80821115611df5575f80fd5b818801915088601f830112611e08575f80fd5b813581811115611e16575f80fd5b896020828501011115611e27575f80fd5b9699959850939650602001949392505050565b5f8060408385031215611e4b575f80fd5b611e5483611b5d565b9150611d9e60208401611b5d565b5f60208284031215611e72575f80fd5b610e9582611d67565b600181811c90821680611e8f57607f821691505b602082108103611ead57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610ae557805f5260205f20601f840160051c81016020851015611ed85750805b601f840160051c820191505b81811015610ae2575f8155600101611ee4565b815167ffffffffffffffff811115611f1157611f11611b9b565b611f2581611f1f8454611e7b565b84611eb3565b602080601f831160018114611f58575f8415611f415750858301515b5f19600386901b1c1916600185901b178555611faf565b5f85815260208120601f198616915b82811015611f8657888601518255948401946001909101908401611f67565b5085821015611fa357878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561072f5761072f611fb7565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b5f60208284031215612016575f80fd5b81516001600160e01b031981168114610e95575f80fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290525f828460a08401375f60a0848401015260a0601f19601f85011683010190509695505050505050565b5f80845461208c81611e7b565b600182811680156120a457600181146120b9576120e5565b60ff19841687528215158302870194506120e5565b885f526020805f205f5b858110156120dc5781548a8201529084019082016120c3565b50505082870194505b5050505083516120f9818360208801611af2565b01949350505050565b717b226e616d65223a2022506f74696f6e202360701b815281515f9061212f816012850160208701611af2565b9190910160120192915050565b5f825161214d818460208701611af2565b7f222c226465736372697074696f6e223a224669727374207374616b696e6720709201918252507f726f746f636f6c20706f7765726564206279204552432d34303420657870657260208201527f696d656e74616c20746f6b656e207374616e646172642e222c2265787465726e60408201527f616c5f75726c223a2268747470733a2f2f706f74696f6e3430342e636f6d2f22606082015269161134b6b0b3b2911d1160b11b6080820152608a01919050565b5f8351612212818460208801611af2565b8351908301906120f9818360208801611af2565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a224381526e37b637b91116113b30b63ab2911d1160891b60208201525f825161227581602f850160208701611af2565b91909101602f0192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081525f82516122b981601b850160208701611af2565b91909101601b0192915050565b600181815b8085111561230057815f19048211156122e6576122e6611fb7565b808516156122f357918102915b93841c93908002906122cb565b509250929050565b5f826123165750600161072f565b8161232257505f61072f565b816001811461233857600281146123425761235e565b600191505061072f565b60ff84111561235357612353611fb7565b50506001821b61072f565b5060208310610133831016604e8410600b8410161715612381575081810a61072f565b61238b83836122c6565b805f190482111561239e5761239e611fb7565b029392505050565b5f610e9560ff841683612308565b5f826123ce57634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561072f5761072f611fb756fea2646970667358221220a5ef79932ce364586efe4759de5a5984aec43f1b17fecc315c3ebe12b02e4e9664736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000fea5395b9ad079883d978f765fb4f2d4a36a9e83
-----Decoded View---------------
Arg [0] : _owner (address): 0xFeA5395b9AD079883d978f765Fb4f2d4a36a9e83
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000fea5395b9ad079883d978f765fb4f2d4a36a9e83
Deployed Bytecode Sourcemap
33636:3346:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23750:18;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;24461:46;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;24461:46:0;;;;;;-1:-1:-1;;;;;1019:32:1;;;1001:51;;989:2;974:18;24461:46:0;855:203:1;26292:642:0;;;;;;:::i;:::-;;:::i;:::-;;;1665:14:1;;1658:22;1640:41;;1628:2;1613:18;26292:642:0;1500:187:1;23986:36:0;;;;;;;;1838:25:1;;;1826:2;1811:18;23986:36:0;1692:177:1;33964:98:0;;;;;;:::i;:::-;;:::i;:::-;;27341:1716;;;;;;:::i;:::-;;:::i;21747:151::-;;;:::i;23886:31::-;;;;;;;;3562:4:1;3550:17;;;3532:36;;3520:2;3505:18;23886:31:0;3390:184:1;33735:48:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;34824:166;;;;;;:::i;:::-;;:::i;29353:405::-;;;;;;:::i;:::-;;:::i;24121:21::-;;;;;;34184:158;;;;;;:::i;:::-;;:::i;34998:130::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;25621:111::-;;;;;;:::i;:::-;;:::i;25804:193::-;;;;;;:::i;:::-;;:::i;24227:44::-;;;;;;:::i;:::-;;;;;;;;;;;;;;34350:208;;;;;;:::i;:::-;;:::i;21188:20::-;;;;;-1:-1:-1;;;;;21188:20:0;;;32930:59;;;;;;23804:20;;;:::i;25072:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;26985:207;;;;;;:::i;:::-;;:::i;29116:160::-;;;;;;:::i;:::-;;:::i;29853:437::-;;;;;;:::i;:::-;;:::i;35136:1843::-;;;;;;:::i;:::-;;:::i;33700:26::-;;;:::i;24341:64::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;34070:106;;;;;;:::i;:::-;;:::i;24572:68::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;33343:119;;;;;;:::i;:::-;;:::i;33672:21::-;;;:::i;21520:219::-;;;;;;:::i;:::-;;:::i;33192:97::-;;;;;;:::i;:::-;;:::i;33109:75::-;;;:::i;23750:18::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;26292:642::-;26395:4;26430:6;;26416:10;:20;;:38;;;;;26453:1;26440:10;:14;26416:38;26412:491;;;26471:13;26487:20;;;:8;:20;;;;;;-1:-1:-1;;;;;26487:20:0;26528:10;:19;;;;;:59;;-1:-1:-1;;;;;;26552:23:0;;;;;;:16;:23;;;;;;;;26576:10;26552:35;;;;;;;;;;26551:36;26528:59;26524:121;;;26615:14;;-1:-1:-1;;;26615:14:0;;;;;;;;;;;26524:121;26661:23;;;;:11;:23;;;;;;;;;:33;;-1:-1:-1;;;;;;26661:33:0;-1:-1:-1;;;;;26661:33:0;;;;;;;;;26716:36;;1838:25:1;;;26716:36:0;;;;;;1811:18:1;26716:36:0;;;;;;;26456:308;26412:491;;;26795:10;26785:21;;;;:9;:21;;;;;;;;-1:-1:-1;;;;;26785:30:0;;;;;;;;;;;;:43;;;26850:41;1838:25:1;;;26785:30:0;;26795:10;26850:41;;1811:18:1;26850:41:0;;;;;;;26412:491;-1:-1:-1;26922:4:0;26292:642;;;;;:::o;33964:98::-;21275:5;;-1:-1:-1;;;;;21275:5:0;21261:10;:19;21257:46;;21289:14;;-1:-1:-1;;;21289:14:0;;;;;;;;;;;21257:46;34036:7:::1;:18;34046:8:::0;34036:7;:18:::1;:::i;:::-;;33964:98:::0;:::o;27341:1716::-;27487:6;;27473:10;:20;27469:1581;;27522:20;;;;:8;:20;;;;;;-1:-1:-1;;;;;27514:28:0;;;27522:20;;27514:28;27510:91;;27570:15;;-1:-1:-1;;;27570:15:0;;;;;;;;;;;27510:91;-1:-1:-1;;;;;27621:16:0;;27617:82;;27665:18;;-1:-1:-1;;;27665:18:0;;;;;;;;;;;27617:82;27737:10;-1:-1:-1;;;;;27737:18:0;;;;;;:74;;-1:-1:-1;;;;;;27777:22:0;;;;;;:16;:22;;;;;;;;27800:10;27777:34;;;;;;;;;;27776:35;27737:74;:132;;;;-1:-1:-1;27846:23:0;;;;:11;:23;;;;;;-1:-1:-1;;;;;27846:23:0;27832:10;:37;;27737:132;27715:226;;;27911:14;;-1:-1:-1;;;27911:14:0;;;;;;;;;;;27715:226;27976:10;:8;:10::i;:::-;-1:-1:-1;;;;;27957:15:0;;;;;;:9;:15;;;;;:29;;:15;;;:29;;;;;:::i;:::-;;;;-1:-1:-1;28049:10:0;;-1:-1:-1;28049:8:0;:10::i;:::-;-1:-1:-1;;;;;28032:13:0;;;;;;;:9;:13;;;;;;;;:27;;;;;;;;28091:20;;;:8;:20;;;;;:25;;-1:-1:-1;;;;;;28091:25:0;;;;;;;;28138:11;:23;;;;;28131:30;;;;;;;;28239:12;;;;;:6;:12;;;;;28252:19;;:23;;-1:-1:-1;;28252:23:0;:::i;:::-;28239:37;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;28291:12:0;;;;:6;:12;;;;;;28304:23;;;:11;:23;;;;;;;28291:37;;28239;;-1:-1:-1;28239:37:0;;28291;;;;;;:::i;:::-;;;;;;;;;;;;:49;;;;-1:-1:-1;;;;;28375:12:0;;;;:6;:12;;;;;;:18;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;28375:18:0;;;;;;;;;;;;28479:23;;;:11;:23;;;;;;;28454:22;;;;;;:48;-1:-1:-1;;;;;28556:10:0;;;;;:6;:10;;;;;:27;;28375:18;28556:27;;;;;;;;;;;;;;;28666:10;;:17;;:21;;28375:18;28666:21;:::i;:::-;28640:23;;;;:11;:23;;;;;;:47;;;;28709:30;;28652:10;;-1:-1:-1;;;;;28709:30:0;;;;;;;;;;;28779:2;-1:-1:-1;;;;;28759:35:0;28773:4;-1:-1:-1;;;;;28759:35:0;;28783:10;:8;:10::i;:::-;28759:35;;1838:25:1;;;1826:2;1811:18;28759:35:0;;;;;;;27495:1311;27341:1716;;;:::o;27469:1581::-;-1:-1:-1;;;;;28845:15:0;;28827;28845;;;:9;:15;;;;;;;;28861:10;28845:27;;;;;;;;-1:-1:-1;;28893:28:0;;28889:101;;28970:20;28980:10;28970:7;:20;:::i;:::-;-1:-1:-1;;;;;28940:15:0;;;;;;:9;:15;;;;;;;;28956:10;28940:27;;;;;;;:50;28889:101;29007:31;29017:4;29023:2;29027:10;29007:9;:31::i;:::-;;28812:238;27469:1581;27341:1716;;;:::o;21747:151::-;21275:5;;-1:-1:-1;;;;;21275:5:0;21261:10;:19;21257:46;;21289:14;;-1:-1:-1;;;21289:14:0;;;;;;;;;;;21257:46;21826:1:::1;21810:18:::0;;-1:-1:-1;;;;;;21810:18:0::1;::::0;;21846:44:::1;::::0;21867:10:::1;::::0;21846:44:::1;::::0;21826:1;;21846:44:::1;21747:151::o:0;34824:166::-;34909:10;34892:28;;;;:16;:28;;;;;;;;34884:60;;;;-1:-1:-1;;;34884:60:0;;9928:2:1;34884:60:0;;;9910:21:1;9967:2;9947:18;;;9940:30;-1:-1:-1;;;9986:18:1;;;9979:49;10045:18;;34884:60:0;;;;;;;;34955:27;34971:2;34975:6;34955:15;:27::i;29353:405::-;29477:26;29490:4;29496:2;29500;29477:12;:26::i;:::-;-1:-1:-1;;;;;29534:14:0;;;:19;;;;:154;;-1:-1:-1;29570:61:0;;-1:-1:-1;;;29570:61:0;;;29606:10;29570:61;;;10379:34:1;-1:-1:-1;;;;;10449:15:1;;;10429:18;;;10422:43;10481:18;;;10474:34;;;10544:3;10524:18;;;10517:31;-1:-1:-1;10564:19:1;;;10557:30;29648:40:0;;29570:35;;;;29648:40;;10604:19:1;;29570:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;29570:118:0;;;29534:154;29516:235;;;29722:17;;-1:-1:-1;;;29722:17:0;;;;;;;;;;;34184:158;21275:5;;-1:-1:-1;;;;;21275:5:0;21261:10;:19;21257:46;;21289:14;;-1:-1:-1;;;21289:14:0;;;;;;;;;;;21257:46;34304:30:::1;34319:5;34326:7;34304:14;:30::i;34998:130::-:0;-1:-1:-1;;;;;35108:12:0;;;;;;:6;:12;;;;;;;;;35101:19;;;;;;;;;;;;;;;;;35072:16;;35101:19;;;35108:12;35101:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34998:130;;;:::o;25621:111::-;21275:5;;-1:-1:-1;;;;;21275:5:0;21261:10;:19;21257:46;;21289:14;;-1:-1:-1;;;21289:14:0;;;;;;;;;;;21257:46;-1:-1:-1;;;;;25699:17:0;;;::::1;;::::0;;;:9:::1;:17;::::0;;;;:25;;-1:-1:-1;;25699:25:0::1;::::0;::::1;;::::0;;;::::1;::::0;;25621:111::o;25804:193::-;25862:13;25896:12;;;:8;:12;;;;;;-1:-1:-1;;;;;25896:12:0;;25921:69;;25968:10;;-1:-1:-1;;;25968:10:0;;;;;;;;;;;25921:69;25804:193;;;:::o;34350:208::-;21275:5;;-1:-1:-1;;;;;21275:5:0;21261:10;:19;21257:46;;21289:14;;-1:-1:-1;;;21289:14:0;;;;;;;;;;;21257:46;-1:-1:-1;;;;;34466:33:0;;::::1;;::::0;;;:16:::1;:33;::::0;;;;;;;:40;;;::::1;;-1:-1:-1::0;;34466:40:0;;::::1;::::0;::::1;::::0;;;34517:9:::1;:26:::0;;;;;;:33;;;;::::1;;::::0;;34350:208::o;23804:20::-;;;;;;;:::i;26985:207::-;27088:10;27071:28;;;;:16;:28;;;;;;;;-1:-1:-1;;;;;27071:38:0;;;;;;;;;;;;:49;;-1:-1:-1;;27071:49:0;;;;;;;;;;27138:46;;1640:41:1;;;27071:38:0;;27088:10;27138:46;;1613:18:1;27138:46:0;;;;;;;;26985:207;;:::o;29116:160::-;29211:4;29235:33;29245:10;29257:2;29261:6;29235:9;:33::i;:::-;29228:40;29116:160;-1:-1:-1;;;29116:160:0:o;29853:437::-;30007:26;30020:4;30026:2;30030;30007:12;:26::i;:::-;-1:-1:-1;;;;;30064:14:0;;;:19;;;;:156;;-1:-1:-1;30100:63:0;;-1:-1:-1;;;30100:63:0;;;30180:40;-1:-1:-1;;;;;30100:35:0;;;30180:40;;30100:63;;30136:10;;30148:4;;30154:2;;30158:4;;;;30100:63;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;30100:120:0;;;30064:156;30046:237;;;30254:17;;-1:-1:-1;;;30254:17:0;;;;;;;;;;;35136:1843;35196:13;35255:1;35232:12;35226:26;;;;;:::i;:::-;;;:30;35222:1750;;;35294:12;35308:20;35325:2;35308:16;:20::i;:::-;35280:49;;;;;;;;;:::i;:::-;;;;;;;;;;;;;35273:56;;35136:1843;;;:::o;35222:1750::-;35362:10;35415:2;35398:20;;;;;;12751:19:1;;12795:2;12786:12;;12622:182;35398:20:0;;;;;;;;;;;;;35388:31;;;;;;35375:46;;35362:59;;35436:19;35470;35518:3;35510:4;:11;;;35506:528;;35542:15;;;;;;;;;;;;;-1:-1:-1;;;35542:15:0;;;;;35576:16;;;;;;;;;;;;;-1:-1:-1;;;35576:16:0;;;;;35506:528;;;35626:3;35618:4;:11;;;35614:420;;35650:15;;;;;;;;;;;;;-1:-1:-1;;;35650:15:0;;;;;35684:14;;;;;;;;;;;;;-1:-1:-1;;;35684:14:0;;;;;35614:420;;;35732:3;35724:4;:11;;;35720:314;;35756:15;;;;;;;;;;;;;-1:-1:-1;;;35756:15:0;;;;;35790:16;;;;;;;;;;;;;-1:-1:-1;;;35790:16:0;;;;;35720:314;;;35840:3;35832:4;:11;;;35828:206;;35864:15;;;;;;;;;;;;;-1:-1:-1;;;35864:15:0;;;;;35898;;;;;;;;;;;;;-1:-1:-1;;;35898:15:0;;;;;35828:206;;;35947:3;35939:4;:11;;;35935:99;;35971:15;;;;;;;;;;;;;-1:-1:-1;;;35971:15:0;;;;;36005:13;;;;;;;;;;;;;-1:-1:-1;;;36005:13:0;;;;;35935:99;36050:26;36183:20;36200:2;36183:16;:20::i;:::-;36147:57;;;;;;;;:::i;:::-;;;;-1:-1:-1;;36147:57:0;;;;;;;;;;36111:275;;36147:57;36111:275;;:::i;:::-;;;;;;;;;;;;;36419:7;36428:5;36405:29;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;36405:29:0;;;;;;;;;;36079:370;;;36405:29;36079:370;;:::i;:::-;;;;;;;;;;;;;36050:399;;36464:27;36594:5;36494:120;;;;;;;;:::i;:::-;;;;-1:-1:-1;;36494:120:0;;;;;;36629:37;;;;;;;;-1:-1:-1;;;36494:120:0;36629:37;;;;;;;36835:42;;36494:120;;-1:-1:-1;36835:42:0;;36849:12;;36494:120;;36835:42;;:::i;:::-;;;;-1:-1:-1;;36835:42:0;;;;;;;;;;36795:146;;36904:14;;36835:42;36795:146;;:::i;:::-;;;;-1:-1:-1;;36795:146:0;;;;;;;;;;36707:253;;36795:146;36707:253;;:::i;:::-;;;;;;;;;;;;;36683:277;;;;;;;;35136:1843;;;:::o;33700:26::-;;;;;;;:::i;34070:106::-;21275:5;;-1:-1:-1;;;;;21275:5:0;21261:10;:19;21257:46;;21289:14;;-1:-1:-1;;;21289:14:0;;;;;;;;;;;21257:46;34144:12:::1;:24;34159:9:::0;34144:12;:24:::1;:::i;33343:119::-:0;21275:5;;-1:-1:-1;;;;;21275:5:0;21261:10;:19;21257:46;;21289:14;;-1:-1:-1;;;21289:14:0;;;;;;;;;;;21257:46;33418:16:::1;:36:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;33418:36:0;;::::1;::::0;;;::::1;::::0;;33343:119::o;33672:21::-;;;;;;;:::i;21520:219::-;21275:5;;-1:-1:-1;;;;;21275:5:0;21261:10;:19;21257:46;;21289:14;;-1:-1:-1;;;21289:14:0;;;;;;;;;;;21257:46;-1:-1:-1;;;;;21603:20:0;::::1;21599:47;;21632:14;;-1:-1:-1::0;;;21632:14:0::1;;;;;;;;;;;21599:47;21659:5;:14:::0;;-1:-1:-1;;;;;;21659:14:0::1;-1:-1:-1::0;;;;;21659:14:0;::::1;::::0;;::::1;::::0;;21691:40:::1;::::0;21659:14;;21712:10:::1;::::0;21691:40:::1;::::0;21659:5;21691:40:::1;21520:219:::0;:::o;33192:97::-;21275:5;;-1:-1:-1;;;;;21275:5:0;21261:10;:19;21257:46;;21289:14;;-1:-1:-1;;;21289:14:0;;;;;;;;;;;21257:46;33259:9:::1;:22:::0;;-1:-1:-1;;33259:22:0::1;::::0;::::1;;::::0;;;::::1;::::0;;33192:97::o;33109:75::-;21275:5;;-1:-1:-1;;;;;21275:5:0;21261:10;:19;21257:46;;21289:14;;-1:-1:-1;;;21289:14:0;;;;;;;;;;;21257:46;33162:6:::1;:14:::0;;-1:-1:-1;;33162:14:0::1;::::0;;33109:75::o;31799:92::-;31842:7;31869:14;31875:8;31869:2;:14;:::i;:::-;31862:21;;31799:92;:::o;30358:1402::-;30471:4;30488:12;30503:10;:8;:10::i;:::-;-1:-1:-1;;;;;30554:15:0;;;30524:27;30554:15;;;:9;:15;;;;;;;;30612:13;;;;;;;;;30638:15;;;30488:25;;-1:-1:-1;30554:15:0;;30612:13;;30657:6;;30554:15;30638:25;30657:6;30554:15;30638:25;:::i;:::-;;;;-1:-1:-1;;;;;;;30701:13:0;;;;;;:9;:13;;;;;:23;;;;;;30753:16;;;;;;;30752:17;:34;;;;-1:-1:-1;30781:5:0;;-1:-1:-1;;;;;30773:13:0;;;30781:5;;30773:13;;30752:34;:49;;;;-1:-1:-1;30796:5:0;;-1:-1:-1;;;;;30790:11:0;;;30796:5;;30790:11;;30752:49;30748:89;;;30823:14;;-1:-1:-1;;;30823:14:0;;;;;;;;;;;30748:89;-1:-1:-1;;;;;30911:15:0;;;;;;:9;:15;;;;;;;;30910:16;:29;;;;-1:-1:-1;30930:9:0;;;;30910:29;30906:264;;;-1:-1:-1;;;;;31030:15:0;;30956:22;31030:15;;;:9;:15;;;;;;:22;;31048:4;;31030:22;:::i;:::-;30982:26;31004:4;30982:19;:26;:::i;:::-;30981:72;;;;:::i;:::-;30956:97;;31073:9;31068:91;31092:14;31088:1;:18;31068:91;;;31132:11;31138:4;31132:5;:11::i;:::-;31108:3;;31068:91;;;;30941:229;30906:264;-1:-1:-1;;;;;31244:13:0;;;;;;:9;:13;;;;;;;;31243:14;:27;;;;-1:-1:-1;31261:9:0;;;;31243:27;31239:443;;;31291:6;;;;;;;31287:169;;;31345:24;;-1:-1:-1;;;;;31322:13:0;;;;;;:9;:13;;;;;;:20;;31338:4;;31322:20;:::i;:::-;:47;31318:123;;;31401:20;;-1:-1:-1;;;31401:20:0;;;;;;;;;;;31318:123;31470:22;31538:28;31562:4;31538:21;:28;:::i;:::-;-1:-1:-1;;;;;31496:13:0;;;;;;:9;:13;;;;;;:20;;31512:4;;31496:20;:::i;:::-;31495:72;;;;:::i;:::-;31470:97;;31587:9;31582:89;31606:14;31602:1;:18;31582:89;;;31646:9;31652:2;31646:5;:9::i;:::-;31622:3;;31582:89;;;;31272:410;31239:443;31719:2;-1:-1:-1;;;;;31699:31:0;31713:4;-1:-1:-1;;;;;31699:31:0;;31723:6;31699:31;;;;1838:25:1;;1826:2;1811:18;;1692:177;31699:31:0;;;;;;;;-1:-1:-1;31748:4:0;;30358:1402;-1:-1:-1;;;;;;30358:1402:0:o;33470:159::-;-1:-1:-1;;;;;33543:13:0;;;;;;:9;:13;;;;;:23;;33560:6;;33543:13;:23;;33560:6;;33543:23;:::i;:::-;;;;-1:-1:-1;;33584:37:0;;1838:25:1;;;-1:-1:-1;;;;;33584:37:0;;;33606:1;;33584:37;;1826:2:1;1811:18;33584:37:0;1692:177:1;32762:160:0;32875:4;:12;32882:5;32875:4;:12;:::i;:::-;-1:-1:-1;32898:6:0;:16;32907:7;32898:6;:16;:::i;18236:718::-;18292:13;18343:14;18360:17;18371:5;18360:10;:17::i;:::-;18380:1;18360:21;18343:38;;18396:20;18430:6;18419:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18419:18:0;-1:-1:-1;18396:41:0;-1:-1:-1;18561:28:0;;;18577:2;18561:28;18618:290;-1:-1:-1;;18650:5:0;-1:-1:-1;;;18787:2:0;18776:14;;18771:32;18650:5;18758:46;18850:2;18841:11;;;-1:-1:-1;18871:21:0;18618:290;18871:21;-1:-1:-1;18929:6:0;18236:718;-1:-1:-1;;;18236:718:0:o;32381:373::-;-1:-1:-1;;;;;32442:18:0;;32438:73;;32484:15;;-1:-1:-1;;;32484:15:0;;;;;;;;;;;32438:73;-1:-1:-1;;;;;32536:12:0;;32523:10;32536:12;;;:6;:12;;;;;32549:19;;:23;;32571:1;;32549:23;:::i;:::-;32536:37;;;;;;;;:::i;:::-;;;;;;;;;32523:50;;32584:6;:12;32591:4;-1:-1:-1;;;;;32584:12:0;-1:-1:-1;;;;;32584:12:0;;;;;;;;;;;;:18;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;32584:18:0;;;;;;;;;;;;32620:15;;;:11;:15;;;;;;32613:22;;;32653:8;:12;;;;;32646:19;;-1:-1:-1;;;;;;32646:19:0;;;;;;32683:11;:15;;;;;;32676:22;;;;;;;;32716:30;32632:2;;32584:18;-1:-1:-1;;;;;32716:30:0;;;;;32584:18;;32716:30;32427:327;32381:373;:::o;31899:474::-;-1:-1:-1;;;;;31958:16:0;;31954:74;;31998:18;;-1:-1:-1;;;31998:18:0;;;;;;;;;;;31954:74;32065:6;:8;;;;;;;;:6;32133:12;;;:8;:12;;;;;;-1:-1:-1;;;;;32133:12:0;:26;32129:81;;32183:15;;-1:-1:-1;;;32183:15:0;;;;;;;;;;;32129:81;32222:12;;;;:8;:12;;;;;;;;:17;;-1:-1:-1;;;;;;32222:17:0;-1:-1:-1;;;;;32222:17:0;;;;;;;;32250:10;;;:6;:10;;;;;:19;;-1:-1:-1;32250:19:0;;;;;;;;;;;;;;;32298:10;;:17;;:21;;-1:-1:-1;32298:21:0;:::i;:::-;32280:15;;;;:11;:15;;;;;;:39;;;;32337:28;;32292:2;;-1:-1:-1;;;;;32337:28:0;;;;;32280:15;;32337:28;31943:430;31899:474;:::o;14438:948::-;14491:7;;-1:-1:-1;;;14569:17:0;;14565:106;;-1:-1:-1;;;14607:17:0;;;-1:-1:-1;14653:2:0;14643:12;14565:106;14698:8;14689:5;:17;14685:106;;14736:8;14727:17;;;-1:-1:-1;14773:2:0;14763:12;14685:106;14818:8;14809:5;:17;14805:106;;14856:8;14847:17;;;-1:-1:-1;14893:2:0;14883:12;14805:106;14938:7;14929:5;:16;14925:103;;14975:7;14966:16;;;-1:-1:-1;15011:1:0;15001:11;14925:103;15055:7;15046:5;:16;15042:103;;15092:7;15083:16;;;-1:-1:-1;15128:1:0;15118:11;15042:103;15172:7;15163:5;:16;15159:103;;15209:7;15200:16;;;-1:-1:-1;15245:1:0;15235:11;15159:103;15289:7;15280:5;:16;15276:68;;15327:1;15317:11;15372:6;14438:948;-1:-1:-1;;14438:948:0:o;14:250:1:-;99:1;109:113;123:6;120:1;117:13;109:113;;;199:11;;;193:18;180:11;;;173:39;145:2;138:10;109:113;;;-1:-1:-1;;256:1:1;238:16;;231:27;14:250::o;269:396::-;418:2;407:9;400:21;381:4;450:6;444:13;493:6;488:2;477:9;473:18;466:34;509:79;581:6;576:2;565:9;561:18;556:2;548:6;544:15;509:79;:::i;:::-;649:2;628:15;-1:-1:-1;;624:29:1;609:45;;;;656:2;605:54;;269:396;-1:-1:-1;;269:396:1:o;670:180::-;729:6;782:2;770:9;761:7;757:23;753:32;750:52;;;798:1;795;788:12;750:52;-1:-1:-1;821:23:1;;670:180;-1:-1:-1;670:180:1:o;1063:173::-;1131:20;;-1:-1:-1;;;;;1180:31:1;;1170:42;;1160:70;;1226:1;1223;1216:12;1241:254;1309:6;1317;1370:2;1358:9;1349:7;1345:23;1341:32;1338:52;;;1386:1;1383;1376:12;1338:52;1409:29;1428:9;1409:29;:::i;:::-;1399:39;1485:2;1470:18;;;;1457:32;;-1:-1:-1;;;1241:254:1:o;1874:127::-;1935:10;1930:3;1926:20;1923:1;1916:31;1966:4;1963:1;1956:15;1990:4;1987:1;1980:15;2006:719;2049:5;2102:3;2095:4;2087:6;2083:17;2079:27;2069:55;;2120:1;2117;2110:12;2069:55;2156:6;2143:20;2182:18;2219:2;2215;2212:10;2209:36;;;2225:18;;:::i;:::-;2300:2;2294:9;2268:2;2354:13;;-1:-1:-1;;2350:22:1;;;2374:2;2346:31;2342:40;2330:53;;;2398:18;;;2418:22;;;2395:46;2392:72;;;2444:18;;:::i;:::-;2484:10;2480:2;2473:22;2519:2;2511:6;2504:18;2565:3;2558:4;2553:2;2545:6;2541:15;2537:26;2534:35;2531:55;;;2582:1;2579;2572:12;2531:55;2646:2;2639:4;2631:6;2627:17;2620:4;2612:6;2608:17;2595:54;2693:1;2686:4;2681:2;2673:6;2669:15;2665:26;2658:37;2713:6;2704:15;;;;;;2006:719;;;;:::o;2730:322::-;2799:6;2852:2;2840:9;2831:7;2827:23;2823:32;2820:52;;;2868:1;2865;2858:12;2820:52;2908:9;2895:23;2941:18;2933:6;2930:30;2927:50;;;2973:1;2970;2963:12;2927:50;2996;3038:7;3029:6;3018:9;3014:22;2996:50;:::i;:::-;2986:60;2730:322;-1:-1:-1;;;;2730:322:1:o;3057:328::-;3134:6;3142;3150;3203:2;3191:9;3182:7;3178:23;3174:32;3171:52;;;3219:1;3216;3209:12;3171:52;3242:29;3261:9;3242:29;:::i;:::-;3232:39;;3290:38;3324:2;3313:9;3309:18;3290:38;:::i;:::-;3280:48;;3375:2;3364:9;3360:18;3347:32;3337:42;;3057:328;;;;;:::o;3579:186::-;3638:6;3691:2;3679:9;3670:7;3666:23;3662:32;3659:52;;;3707:1;3704;3697:12;3659:52;3730:29;3749:9;3730:29;:::i;3770:543::-;3858:6;3866;3919:2;3907:9;3898:7;3894:23;3890:32;3887:52;;;3935:1;3932;3925:12;3887:52;3975:9;3962:23;4004:18;4045:2;4037:6;4034:14;4031:34;;;4061:1;4058;4051:12;4031:34;4084:50;4126:7;4117:6;4106:9;4102:22;4084:50;:::i;:::-;4074:60;;4187:2;4176:9;4172:18;4159:32;4143:48;;4216:2;4206:8;4203:16;4200:36;;;4232:1;4229;4222:12;4200:36;;4255:52;4299:7;4288:8;4277:9;4273:24;4255:52;:::i;:::-;4245:62;;;3770:543;;;;;:::o;4318:632::-;4489:2;4541:21;;;4611:13;;4514:18;;;4633:22;;;4460:4;;4489:2;4712:15;;;;4686:2;4671:18;;;4460:4;4755:169;4769:6;4766:1;4763:13;4755:169;;;4830:13;;4818:26;;4899:15;;;;4864:12;;;;4791:1;4784:9;4755:169;;;-1:-1:-1;4941:3:1;;4318:632;-1:-1:-1;;;;;;4318:632:1:o;4955:160::-;5020:20;;5076:13;;5069:21;5059:32;;5049:60;;5105:1;5102;5095:12;5120:254;5185:6;5193;5246:2;5234:9;5225:7;5221:23;5217:32;5214:52;;;5262:1;5259;5252:12;5214:52;5285:29;5304:9;5285:29;:::i;:::-;5275:39;;5333:35;5364:2;5353:9;5349:18;5333:35;:::i;:::-;5323:45;;5120:254;;;;;:::o;5379:808::-;5476:6;5484;5492;5500;5508;5561:3;5549:9;5540:7;5536:23;5532:33;5529:53;;;5578:1;5575;5568:12;5529:53;5601:29;5620:9;5601:29;:::i;:::-;5591:39;;5649:38;5683:2;5672:9;5668:18;5649:38;:::i;:::-;5639:48;;5734:2;5723:9;5719:18;5706:32;5696:42;;5789:2;5778:9;5774:18;5761:32;5812:18;5853:2;5845:6;5842:14;5839:34;;;5869:1;5866;5859:12;5839:34;5907:6;5896:9;5892:22;5882:32;;5952:7;5945:4;5941:2;5937:13;5933:27;5923:55;;5974:1;5971;5964:12;5923:55;6014:2;6001:16;6040:2;6032:6;6029:14;6026:34;;;6056:1;6053;6046:12;6026:34;6101:7;6096:2;6087:6;6083:2;6079:15;6075:24;6072:37;6069:57;;;6122:1;6119;6112:12;6069:57;5379:808;;;;-1:-1:-1;5379:808:1;;-1:-1:-1;6153:2:1;6145:11;;6175:6;5379:808;-1:-1:-1;;;5379:808:1:o;6192:260::-;6260:6;6268;6321:2;6309:9;6300:7;6296:23;6292:32;6289:52;;;6337:1;6334;6327:12;6289:52;6360:29;6379:9;6360:29;:::i;:::-;6350:39;;6408:38;6442:2;6431:9;6427:18;6408:38;:::i;6457:180::-;6513:6;6566:2;6554:9;6545:7;6541:23;6537:32;6534:52;;;6582:1;6579;6572:12;6534:52;6605:26;6621:9;6605:26;:::i;6642:380::-;6721:1;6717:12;;;;6764;;;6785:61;;6839:4;6831:6;6827:17;6817:27;;6785:61;6892:2;6884:6;6881:14;6861:18;6858:38;6855:161;;6938:10;6933:3;6929:20;6926:1;6919:31;6973:4;6970:1;6963:15;7001:4;6998:1;6991:15;6855:161;;6642:380;;;:::o;7153:518::-;7255:2;7250:3;7247:11;7244:421;;;7291:5;7288:1;7281:16;7335:4;7332:1;7322:18;7405:2;7393:10;7389:19;7386:1;7382:27;7376:4;7372:38;7441:4;7429:10;7426:20;7423:47;;;-1:-1:-1;7464:4:1;7423:47;7519:2;7514:3;7510:12;7507:1;7503:20;7497:4;7493:31;7483:41;;7574:81;7592:2;7585:5;7582:13;7574:81;;;7651:1;7637:16;;7618:1;7607:13;7574:81;;7847:1345;7973:3;7967:10;8000:18;7992:6;7989:30;7986:56;;;8022:18;;:::i;:::-;8051:97;8141:6;8101:38;8133:4;8127:11;8101:38;:::i;:::-;8095:4;8051:97;:::i;:::-;8203:4;;8260:2;8249:14;;8277:1;8272:663;;;;8979:1;8996:6;8993:89;;;-1:-1:-1;9048:19:1;;;9042:26;8993:89;-1:-1:-1;;7804:1:1;7800:11;;;7796:24;7792:29;7782:40;7828:1;7824:11;;;7779:57;9095:81;;8242:944;;8272:663;7100:1;7093:14;;;7137:4;7124:18;;-1:-1:-1;;8308:20:1;;;8426:236;8440:7;8437:1;8434:14;8426:236;;;8529:19;;;8523:26;8508:42;;8621:27;;;;8589:1;8577:14;;;;8456:19;;8426:236;;;8430:3;8690:6;8681:7;8678:19;8675:201;;;8751:19;;;8745:26;-1:-1:-1;;8834:1:1;8830:14;;;8846:3;8826:24;8822:37;8818:42;8803:58;8788:74;;8675:201;;;8922:1;8913:6;8910:1;8906:14;8902:22;8896:4;8889:36;8242:944;;;;;7847:1345;;:::o;9197:127::-;9258:10;9253:3;9249:20;9246:1;9239:31;9289:4;9286:1;9279:15;9313:4;9310:1;9303:15;9329:128;9396:9;;;9417:11;;;9414:37;;;9431:18;;:::i;9462:127::-;9523:10;9518:3;9514:20;9511:1;9504:31;9554:4;9551:1;9544:15;9578:4;9575:1;9568:15;9594:127;9655:10;9650:3;9646:20;9643:1;9636:31;9686:4;9683:1;9676:15;9710:4;9707:1;9700:15;10634:290;10703:6;10756:2;10744:9;10735:7;10731:23;10727:32;10724:52;;;10772:1;10769;10762:12;10724:52;10798:16;;-1:-1:-1;;;;;;10843:32:1;;10833:43;;10823:71;;10890:1;10887;10880:12;10929:662;-1:-1:-1;;;;;11208:15:1;;;11190:34;;11260:15;;11255:2;11240:18;;11233:43;11307:2;11292:18;;11285:34;;;11355:3;11350:2;11335:18;;11328:31;;;11375:19;;11368:35;;;11133:4;11396:6;11446;11170:3;11425:19;;11412:49;11511:1;11505:3;11496:6;11485:9;11481:22;11477:32;11470:43;11581:3;11574:2;11570:7;11565:2;11557:6;11553:15;11549:29;11538:9;11534:45;11530:55;11522:63;;10929:662;;;;;;;;:::o;11596:1021::-;11772:3;11801:1;11834:6;11828:13;11864:36;11890:9;11864:36;:::i;:::-;11919:1;11936:17;;;11962:133;;;;12109:1;12104:358;;;;11929:533;;11962:133;-1:-1:-1;;11995:24:1;;11983:37;;12068:14;;12061:22;12049:35;;12040:45;;;-1:-1:-1;11962:133:1;;12104:358;12135:6;12132:1;12125:17;12165:4;12210;12207:1;12197:18;12237:1;12251:165;12265:6;12262:1;12259:13;12251:165;;;12343:14;;12330:11;;;12323:35;12386:16;;;;12280:10;;12251:165;;;12255:3;;;12445:6;12440:3;12436:16;12429:23;;11929:533;;;;;12493:6;12487:13;12509:68;12568:8;12563:3;12556:4;12548:6;12544:17;12509:68;:::i;:::-;12593:18;;11596:1021;-1:-1:-1;;;;11596:1021:1:o;12809:468::-;-1:-1:-1;;;13049:61:1;;13133:13;;13031:3;;13155:75;13133:13;13218:2;13209:12;;13202:4;13190:17;;13155:75;:::i;:::-;13250:16;;;;13268:2;13246:25;;12809:468;-1:-1:-1;;12809:468:1:o;13282:850::-;13514:3;13552:6;13546:13;13568:66;13627:6;13622:3;13615:4;13607:6;13603:17;13568:66;:::i;:::-;13695;13656:16;;13681:81;;;-1:-1:-1;13796:34:1;13789:4;13778:16;;13771:60;13863:66;13858:2;13847:14;;13840:90;13962:66;13957:2;13946:14;;13939:90;-1:-1:-1;;;14056:3:1;14045:15;;14038:57;14122:3;14111:15;;13282:850;-1:-1:-1;13282:850:1:o;14137:496::-;14316:3;14354:6;14348:13;14370:66;14429:6;14424:3;14417:4;14409:6;14405:17;14370:66;:::i;:::-;14499:13;;14458:16;;;;14521:70;14499:13;14458:16;14568:4;14556:17;;14521:70;:::i;14638:567::-;14900:66;14895:3;14888:79;15006:32;15001:3;14997:42;14992:2;14987:3;14983:12;14976:64;14870:3;15069:6;15063:13;15085:73;15151:6;15146:2;15141:3;15137:12;15132:2;15124:6;15120:15;15085:73;:::i;:::-;15178:16;;;;15196:2;15174:25;;14638:567;-1:-1:-1;;14638:567:1:o;15210:449::-;15462:29;15457:3;15450:42;15432:3;15521:6;15515:13;15537:75;15605:6;15600:2;15595:3;15591:12;15584:4;15576:6;15572:17;15537:75;:::i;:::-;15632:16;;;;15650:2;15628:25;;15210:449;-1:-1:-1;;15210:449:1:o;15664:416::-;15753:1;15790:5;15753:1;15804:270;15825:7;15815:8;15812:21;15804:270;;;15884:4;15880:1;15876:6;15872:17;15866:4;15863:27;15860:53;;;15893:18;;:::i;:::-;15943:7;15933:8;15929:22;15926:55;;;15963:16;;;;15926:55;16042:22;;;;16002:15;;;;15804:270;;;15808:3;15664:416;;;;;:::o;16085:806::-;16134:5;16164:8;16154:80;;-1:-1:-1;16205:1:1;16219:5;;16154:80;16253:4;16243:76;;-1:-1:-1;16290:1:1;16304:5;;16243:76;16335:4;16353:1;16348:59;;;;16421:1;16416:130;;;;16328:218;;16348:59;16378:1;16369:10;;16392:5;;;16416:130;16453:3;16443:8;16440:17;16437:43;;;16460:18;;:::i;:::-;-1:-1:-1;;16516:1:1;16502:16;;16531:5;;16328:218;;16630:2;16620:8;16617:16;16611:3;16605:4;16602:13;16598:36;16592:2;16582:8;16579:16;16574:2;16568:4;16565:12;16561:35;16558:77;16555:159;;;-1:-1:-1;16667:19:1;;;16699:5;;16555:159;16746:34;16771:8;16765:4;16746:34;:::i;:::-;16816:6;16812:1;16808:6;16804:19;16795:7;16792:32;16789:58;;;16827:18;;:::i;:::-;16865:20;;16085:806;-1:-1:-1;;;16085:806:1:o;16896:140::-;16954:5;16983:47;17024:4;17014:8;17010:19;17004:4;16983:47;:::i;17173:217::-;17213:1;17239;17229:132;;17283:10;17278:3;17274:20;17271:1;17264:31;17318:4;17315:1;17308:15;17346:4;17343:1;17336:15;17229:132;-1:-1:-1;17375:9:1;;17173:217::o;17395:125::-;17460:9;;;17481:10;;;17478:36;;;17494:18;;:::i
Swarm Source
ipfs://a5ef79932ce364586efe4759de5a5984aec43f1b17fecc315c3ebe12b02e4e96
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.