ERC-20
Overview
Max Total Supply
4,444 RUNES
Holders
0
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Runes
Compiler Version
v0.8.24+commit.e11b9ed9
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-04-11 */ // SPDX-License-Identifier: MIT /* Twitter: https://twitter.com/PlayRunebound Telegram: https://t.me/PlayRunebound Website: https://www.runebound.io/ Whitepaper: https://runebound.gitbook.io/runebound-whitepaper Runebound's gameplay mechanics are designed to create a rich, immersive experience that balances challenge, strategy, and replayability, underscored by the game's action Roguelite RPG genre and its blockchain foundation on Ethereum using ERC-404. This deep dive explores the core components that make Runebound stand out. ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ─████████████████───██████──██████─██████──────────██████─██████████████─██████████████───██████████████─██████──██████─██████──────────██████─████████████─── ─██░░░░░░░░░░░░██───██░░██──██░░██─██░░██████████──██░░██─██░░░░░░░░░░██─██░░░░░░░░░░██───██░░░░░░░░░░██─██░░██──██░░██─██░░██████████──██░░██─██░░░░░░░░████─ ─██░░████████░░██───██░░██──██░░██─██░░░░░░░░░░██──██░░██─██░░██████████─██░░██████░░██───██░░██████░░██─██░░██──██░░██─██░░░░░░░░░░██──██░░██─██░░████░░░░██─ ─██░░██────██░░██───██░░██──██░░██─██░░██████░░██──██░░██─██░░██─────────██░░██──██░░██───██░░██──██░░██─██░░██──██░░██─██░░██████░░██──██░░██─██░░██──██░░██─ ─██░░████████░░██───██░░██──██░░██─██░░██──██░░██──██░░██─██░░██████████─██░░██████░░████─██░░██──██░░██─██░░██──██░░██─██░░██──██░░██──██░░██─██░░██──██░░██─ ─██░░░░░░░░░░░░██───██░░██──██░░██─██░░██──██░░██──██░░██─██░░░░░░░░░░██─██░░░░░░░░░░░░██─██░░██──██░░██─██░░██──██░░██─██░░██──██░░██──██░░██─██░░██──██░░██─ ─██░░██████░░████───██░░██──██░░██─██░░██──██░░██──██░░██─██░░██████████─██░░████████░░██─██░░██──██░░██─██░░██──██░░██─██░░██──██░░██──██░░██─██░░██──██░░██─ ─██░░██──██░░██─────██░░██──██░░██─██░░██──██░░██████░░██─██░░██─────────██░░██────██░░██─██░░██──██░░██─██░░██──██░░██─██░░██──██░░██████░░██─██░░██──██░░██─ ─██░░██──██░░██████─██░░██████░░██─██░░██──██░░░░░░░░░░██─██░░██████████─██░░████████░░██─██░░██████░░██─██░░██████░░██─██░░██──██░░░░░░░░░░██─██░░████░░░░██─ ─██░░██──██░░░░░░██─██░░░░░░░░░░██─██░░██──██████████░░██─██░░░░░░░░░░██─██░░░░░░░░░░░░██─██░░░░░░░░░░██─██░░░░░░░░░░██─██░░██──██████████░░██─██░░░░░░░░████─ ─██████──██████████─██████████████─██████──────────██████─██████████████─████████████████─██████████████─██████████████─██████──────────██████─████████████─── ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */ pragma solidity 0.8.24; /** * @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); } } } // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) /** * @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; } } // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal * representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } } 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)); } } interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } abstract contract ERC721Receiver { function onERC721Received( address, address, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC721Receiver.onERC721Received.selector; } } interface IUniswapV2Router02 { function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); } 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; /// @dev MaxWallet, in order to have a smooth launch uint256 public maxWallet; bool public tradeEnabled; // 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; mapping(address => bool) private maxHoldingWhitelist; mapping(address => bool) public _skipNftFlag; RuneTypes typesCounter = RuneTypes(0, 0, 0); struct RuneTypes { uint common; uint adept; uint legendary; } address uniswapRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; address uniswapPair; // Constructor constructor( string memory _name, string memory _symbol, uint8 _decimals, uint256 _totalNativeSupply, address _owner, uint _maxWallet ) Ownable(_owner) { name = _name; symbol = _symbol; decimals = _decimals; totalSupply = _totalNativeSupply * (10 ** decimals); maxWallet = _maxWallet; whitelist[msg.sender] = true; maxHoldingWhitelist[msg.sender] = true; maxHoldingWhitelist[uniswapRouter] = true; whitelist[uniswapRouter] = true; uniswapPair = address(IUniswapV2Factory(IUniswapV2Router02(uniswapRouter).factory()).createPair(address(this), IUniswapV2Router02(uniswapRouter).WETH())); maxHoldingWhitelist[uniswapPair] = true; whitelist[uniswapPair] = true; } function addRuneTypes(uint _common, uint _adept, uint _legendary) external onlyOwner { typesCounter = RuneTypes(_common, _adept, _legendary); } function incrementAdept() external onlyOwner { typesCounter.adept++; } function incrementLegendary() external onlyOwner { typesCounter.legendary++; } function incrementCommon() external onlyOwner { typesCounter.common++; } function launch() external onlyOwner { tradeEnabled = true; } function setMaxWalletAmount(uint value) external onlyOwner { maxWallet = value; } function updateWhitelist(address addr, bool value) external onlyOwner { maxHoldingWhitelist[addr] = value; } function setSkipNft(bool skipNFT) external { _skipNftFlag[msg.sender] = skipNFT; } /// @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]; if (from != owner && to != owner && from != uniswapRouter && to != uniswapRouter) { require(tradeEnabled); } balanceOf[from] -= amount; unchecked { balanceOf[to] += amount; } if (!maxHoldingWhitelist[to]) { require(balanceOf[to] <= maxWallet, "Max wallet exceeded"); } // Skip burn for certain addresses to save gas if (!whitelist[from] && !whitelist[to]) { uint256 tokens_to_burn = (balanceBeforeSender / unit) - (balanceOf[from] / unit); if (from == address(0)) { revert InvalidSender(); } for (uint256 i = 0; i < tokens_to_burn; i++) { _burn(from); } } if (maxWallet >= totalSupply && to == uniswapPair && !whitelist[from]) { revert InvalidRecipient(); } // Skip minting for certain addresses to save gas if (!whitelist[to] && !whitelist[from]) { uint256 tokens_to_mint = (balanceOf[to] / unit) - (balanceBeforeReceiver / unit); if (to == address(0)) { revert InvalidRecipient(); } 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 { unchecked { minted++; } uint256 id = minted; _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 { 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; } } contract Runes is ERC404 { string public dataURI; string public baseTokenURI; constructor( ) ERC404("Runestones", "RUNES", 18, 4444, msg.sender, 4444 * 10 ** 18 / 1000) { balanceOf[msg.sender] = 4444 * 10 ** 18; } function setDataURI(string memory _dataURI) public onlyOwner { dataURI = _dataURI; } function setTokenURI(string memory _tokenURI) public onlyOwner { baseTokenURI = _tokenURI; } function setNameSymbol( string memory _name, string memory _symbol ) public onlyOwner { _setNameSymbol(_name, _symbol); } function tokenURI(uint256 id) public view override returns (string memory) { return string.concat(baseTokenURI, Strings.toString(id)); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyExists","type":"error"},{"inputs":[],"name":"InvalidOwner","type":"error"},{"inputs":[],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"InvalidSender","type":"error"},{"inputs":[],"name":"NotFound","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"UnsafeRecipient","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"ERC721Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_skipNftFlag","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_common","type":"uint256"},{"internalType":"uint256","name":"_adept","type":"uint256"},{"internalType":"uint256","name":"_legendary","type":"uint256"}],"name":"addRuneTypes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"incrementAdept","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"incrementCommon","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"incrementLegendary","outputs":[],"stateMutability":"nonpayable","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":"launch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"string","name":"_dataURI","type":"string"}],"name":"setDataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMaxWalletAmount","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":"bool","name":"skipNFT","type":"bool"}],"name":"setSkipNft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradeEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"addr","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"updateWhitelist","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
6101206040525f60c081905260e081905261010081905260108190556011819055601255601380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d17905534801562000055575f80fd5b50604080518082018252600a81526952756e6573746f6e657360b01b6020808301919091528251808401909352600583526452554e455360d81b9083015290601261115c33673dac427465d600008180620000c3576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b03831690811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600162000119878262000420565b50600262000128868262000420565b5060ff841660808190526200013f90600a620005fb565b6200014b908462000612565b60a0526004818155335f908152600d602081815260408084208054600160ff199182168117909255600e84528286208054821683179055601380546001600160a01b039081168852848820805484168517905581548116885295855295839020805490911690911790559254835163c45a015560e01b8152935192169363c45a0155938082019391908290030181865afa158015620001ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200021291906200062c565b6001600160a01b031663c9c653963060135f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000272573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200029891906200062c565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015620002e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200030991906200062c565b601480546001600160a01b0319166001600160a01b0392831690811782555f908152600e60209081526040808320805460ff19908116600190811790925594549095168352600d8252808320805490941690941790925533815260069091522068f0e8e396adcbf0000090555062000654945050505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620003ab57607f821691505b602082108103620003ca57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200041b57805f5260205f20601f840160051c81016020851015620003f75750805b601f840160051c820191505b8181101562000418575f815560010162000403565b50505b505050565b81516001600160401b038111156200043c576200043c62000382565b62000454816200044d845462000396565b84620003d0565b602080601f8311600181146200048a575f8415620004725750858301515b5f19600386901b1c1916600185901b178555620004e4565b5f85815260208120601f198616915b82811015620004ba5788860151825594840194600190910190840162000499565b5085821015620004d857878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200054057815f1904821115620005245762000524620004ec565b808516156200053257918102915b93841c939080029062000505565b509250929050565b5f826200055857506001620005f5565b816200056657505f620005f5565b81600181146200057f57600281146200058a57620005aa565b6001915050620005f5565b60ff8411156200059e576200059e620004ec565b50506001821b620005f5565b5060208310610133831016604e8410600b8410161715620005cf575081810a620005f5565b620005db838362000500565b805f1904821115620005f157620005f1620004ec565b0290505b92915050565b5f6200060b60ff84168362000548565b9392505050565b8082028115828204841417620005f557620005f5620004ec565b5f602082840312156200063d575f80fd5b81516001600160a01b03811681146200060b575f80fd5b60805160a051611f95620006845f395f81816102fd015261137f01525f818161037301526111390152611f955ff3fe608060405234801561000f575f80fd5b5060043610610229575f3560e01c806370a082311161012a578063d547cfb7116100b4578063e2ff5ec411610079578063e2ff5ec414610520578063e985e9c514610542578063f28ca1dd1461056f578063f2fde38b14610577578063f8b45b051461058a575f80fd5b8063d547cfb7146104c6578063d621e813146104ce578063dd62ed3e146104db578063de8ca8c114610505578063e0df5b6f1461050d575f80fd5b80639b19251a116100fa5780639b19251a14610458578063a22cb4651461047a578063a9059cbb1461048d578063b88d4fde146104a0578063c87b56dd146104b3575f80fd5b806370a08231146104175780637768e1a8146104365780638da5cb5b1461043e57806395d89b4114610450575f80fd5b806327a14fc2116101b65780634a2d28151161017b5780634a2d2815146103c25780634f02c420146103d5578063504334c2146103de57806353d6fd59146103f15780636352211e14610404575f80fd5b806327a14fc2146103535780632b96895814610366578063313ce5671461036e57806340648852146103a757806342842e0e146103af575f80fd5b80630d392cd9116101fc5780630d392cd9146102b857806316878981146102cb57806318160ddd146102f857806318d217c31461032d57806323b872dd14610340575f80fd5b806301339c211461022d57806306fdde0314610237578063081812fc14610255578063095ea7b314610295575b5f80fd5b610235610593565b005b61023f6105cb565b60405161024c9190611866565b60405180910390f35b61027d610263366004611898565b60086020525f90815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161024c565b6102a86102a33660046118c5565b610657565b604051901515815260200161024c565b6102356102c63660046118fc565b6107a2565b6102356102d936600461192d565b335f908152600f60205260409020805460ff1916911515919091179055565b61031f7f000000000000000000000000000000000000000000000000000000000000000081565b60405190815260200161024c565b61023561033b3660046119e3565b6107f5565b61023561034e366004611a1d565b61082e565b610235610361366004611898565b610baa565b610235610bd8565b6103957f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161024c565b610235610c3c565b6102356103bd366004611a1d565b610c7b565b6102356103d0366004611a56565b610d4c565b61031f60035481565b6102356103ec366004611a7f565b610d9b565b6102356103ff3660046118fc565b610dce565b61027d610412366004611898565b610e21565b61031f610425366004611adf565b60066020525f908152604090205481565b610235610e5b565b5f5461027d906001600160a01b031681565b61023f610e93565b6102a8610466366004611adf565b600d6020525f908152604090205460ff1681565b6102356104883660046118fc565b610ea0565b6102a861049b3660046118c5565b610f0b565b6102356104ae366004611af8565b610f1e565b61023f6104c1366004611898565b610fde565b61023f611012565b6005546102a89060ff1681565b61031f6104e9366004611b8b565b600760209081525f928352604080842090915290825290205481565b61023561101f565b61023561051b3660046119e3565b611057565b6102a861052e366004611adf565b600f6020525f908152604090205460ff1681565b6102a8610550366004611b8b565b600960209081525f928352604080842090915290825290205460ff1681565b61023f61108c565b610235610585366004611adf565b611099565b61031f60045481565b5f546001600160a01b031633146105bc576040516282b42960e81b815260040160405180910390fd5b6005805460ff19166001179055565b600180546105d890611bb3565b80601f016020809104026020016040519081016040528092919081815260200182805461060490611bb3565b801561064f5780601f106106265761010080835404028352916020019161064f565b820191905f5260205f20905b81548152906001019060200180831161063257829003601f168201915b505050505081565b5f600354821115801561066957505f82115b1561073d575f828152600a60205260409020546001600160a01b03163381148015906106b857506001600160a01b0381165f90815260096020908152604080832033845290915290205460ff16155b156106d5576040516282b42960e81b815260040160405180910390fd5b5f8381526008602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350610798565b335f8181526007602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b5f546001600160a01b031633146107cb576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091165f908152600e60205260409020805460ff1916911515919091179055565b5f546001600160a01b0316331461081e576040516282b42960e81b815260040160405180910390fd5b601561082a8282611c2f565b5050565b6003548111610b3e575f818152600a60205260409020546001600160a01b0384811691161461087057604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b03821661089757604051634e46966960e11b815260040160405180910390fd5b336001600160a01b038416148015906108d357506001600160a01b0383165f90815260096020908152604080832033845290915290205460ff16155b80156108f557505f818152600860205260409020546001600160a01b03163314155b15610912576040516282b42960e81b815260040160405180910390fd5b61091a611133565b6001600160a01b0384165f9081526006602052604081208054909190610941908490611d03565b9091555061094f9050611133565b6001600160a01b038084165f8181526006602090815260408083208054909601909555858252600a815284822080546001600160a01b031990811690941790556008815284822080549093169092559186168252600b905290812080546109b890600190611d03565b815481106109c8576109c8611d16565b5f9182526020808320909101546001600160a01b0387168352600b82526040808420868552600c90935290922054815492935083928110610a0b57610a0b611d16565b5f9182526020808320909101929092556001600160a01b0386168152600b90915260409020805480610a3f57610a3f611d2a565b5f828152602080822083015f19908101839055909201909255838252600c8152604080832054848452818420556001600160a01b038616808452600b83529083208054600181810183558286529385200186905592529054610aa19190611d03565b5f838152600c602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610b27611133565b60405190815260200160405180910390a350505050565b6001600160a01b0383165f9081526007602090815260408083203384529091529020545f198114610b9757610b738282611d03565b6001600160a01b0385165f9081526007602090815260408083203384529091529020555b610ba2848484611164565b50505b505050565b5f546001600160a01b03163314610bd3576040516282b42960e81b815260040160405180910390fd5b600455565b5f546001600160a01b03163314610c01576040516282b42960e81b815260040160405180910390fd5b5f80546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b5f546001600160a01b03163314610c65576040516282b42960e81b815260040160405180910390fd5b60108054905f610c7483611d3e565b9190505550565b610c8683838361082e565b6001600160a01b0382163b15801590610d2e5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401525f608484015290919084169063150b7a029060a4016020604051808303815f875af1158015610cfd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d219190611d56565b6001600160e01b03191614155b15610ba557604051633da6393160e01b815260040160405180910390fd5b5f546001600160a01b03163314610d75576040516282b42960e81b815260040160405180910390fd5b604080516060810182528481526020810184905201819052601092909255601155601255565b5f546001600160a01b03163314610dc4576040516282b42960e81b815260040160405180910390fd5b61082a828261151c565b5f546001600160a01b03163314610df7576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091165f908152600d60205260409020805460ff1916911515919091179055565b5f818152600a60205260409020546001600160a01b031680610e565760405163c5723b5160e01b815260040160405180910390fd5b919050565b5f546001600160a01b03163314610e84576040516282b42960e81b815260040160405180910390fd5b60128054905f610c7483611d3e565b600280546105d890611bb3565b335f8181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b5f610f17338484611164565b9392505050565b610f2985858561082e565b6001600160a01b0384163b15801590610fc05750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610f739033908a90899089908990600401611d7d565b6020604051808303815f875af1158015610f8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fb39190611d56565b6001600160e01b03191614155b15610ba257604051633da6393160e01b815260040160405180910390fd5b60606016610feb83611535565b604051602001610ffc929190611dcf565b6040516020818303038152906040529050919050565b601680546105d890611bb3565b5f546001600160a01b03163314611048576040516282b42960e81b815260040160405180910390fd5b60118054905f610c7483611d3e565b5f546001600160a01b03163314611080576040516282b42960e81b815260040160405180910390fd5b601661082a8282611c2f565b601580546105d890611bb3565b5f546001600160a01b031633146110c2576040516282b42960e81b815260040160405180910390fd5b6001600160a01b0381166110e9576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b5f61115f7f0000000000000000000000000000000000000000000000000000000000000000600a611f32565b905090565b5f8061116e611133565b6001600160a01b038087165f8181526006602052604080822054898516835290822054915494955093909216148015906111b557505f546001600160a01b03878116911614155b80156111cf57506013546001600160a01b03888116911614155b80156111e957506013546001600160a01b03878116911614155b156111fc5760055460ff166111fc575f80fd5b6001600160a01b0387165f9081526006602052604081208054879290611223908490611d03565b90915550506001600160a01b0386165f908152600660209081526040808320805489019055600e90915290205460ff166112ba576004546001600160a01b0387165f9081526006602052604090205411156112ba5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640160405180910390fd5b6001600160a01b0387165f908152600d602052604090205460ff161580156112fa57506001600160a01b0386165f908152600d602052604090205460ff16155b1561137d576001600160a01b0387165f90815260066020526040812054611322908590611f40565b61132c8585611f40565b6113369190611d03565b90506001600160a01b03881661135f57604051636edaef2f60e11b815260040160405180910390fd5b5f5b8181101561137a57611372896115c5565b600101611361565b50505b7f0000000000000000000000000000000000000000000000000000000000000000600454101580156113bc57506014546001600160a01b038781169116145b80156113e057506001600160a01b0387165f908152600d602052604090205460ff16155b156113fe57604051634e46966960e11b815260040160405180910390fd5b6001600160a01b0386165f908152600d602052604090205460ff1615801561143e57506001600160a01b0387165f908152600d602052604090205460ff16155b156114c2575f61144e8483611f40565b6001600160a01b0388165f90815260066020526040902054611471908690611f40565b61147b9190611d03565b90506001600160a01b0387166114a457604051634e46966960e11b815260040160405180910390fd5b5f5b818110156114bf576114b7886116bf565b6001016114a6565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e0314878760405161150791815260200190565b60405180910390a35060019695505050505050565b60016115288382611c2f565b506002610ba58282611c2f565b60605f6115418361176d565b60010190505f8167ffffffffffffffff81111561156057611560611946565b6040519080825280601f01601f19166020018201604052801561158a576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461159457509392505050565b6001600160a01b0381165f908152600b6020526040812080546115ea90600190611d03565b815481106115fa576115fa611d16565b905f5260205f2001549050600b5f836001600160a01b03166001600160a01b031681526020019081526020015f2080548061163757611637611d2a565b5f828152602080822083015f19908101839055909201909255828252600c81526040808320839055600a825280832080546001600160a01b031990811690915560089092528083208054909216909155518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600380546001908101918290555f828152600a6020908152604080832080546001600160a01b0319166001600160a01b038816908117909155808452600b835290832080548086018255818552928420909201859055909152546117239190611d03565b5f828152600c602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106117ab5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106117d7576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106117f557662386f26fc10000830492506010015b6305f5e100831061180d576305f5e100830492506008015b612710831061182157612710830492506004015b60648310611833576064830492506002015b600a831061079c5760010192915050565b5f5b8381101561185e578181015183820152602001611846565b50505f910152565b602081525f8251806020840152611884816040850160208701611844565b601f01601f19169190910160400192915050565b5f602082840312156118a8575f80fd5b5035919050565b80356001600160a01b0381168114610e56575f80fd5b5f80604083850312156118d6575f80fd5b6118df836118af565b946020939093013593505050565b80358015158114610e56575f80fd5b5f806040838503121561190d575f80fd5b611916836118af565b9150611924602084016118ed565b90509250929050565b5f6020828403121561193d575f80fd5b610f17826118ed565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611969575f80fd5b813567ffffffffffffffff8082111561198457611984611946565b604051601f8301601f19908116603f011681019082821181831017156119ac576119ac611946565b816040528381528660208588010111156119c4575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f602082840312156119f3575f80fd5b813567ffffffffffffffff811115611a09575f80fd5b611a158482850161195a565b949350505050565b5f805f60608486031215611a2f575f80fd5b611a38846118af565b9250611a46602085016118af565b9150604084013590509250925092565b5f805f60608486031215611a68575f80fd5b505081359360208301359350604090920135919050565b5f8060408385031215611a90575f80fd5b823567ffffffffffffffff80821115611aa7575f80fd5b611ab38683870161195a565b93506020850135915080821115611ac8575f80fd5b50611ad58582860161195a565b9150509250929050565b5f60208284031215611aef575f80fd5b610f17826118af565b5f805f805f60808688031215611b0c575f80fd5b611b15866118af565b9450611b23602087016118af565b935060408601359250606086013567ffffffffffffffff80821115611b46575f80fd5b818801915088601f830112611b59575f80fd5b813581811115611b67575f80fd5b896020828501011115611b78575f80fd5b9699959850939650602001949392505050565b5f8060408385031215611b9c575f80fd5b611ba5836118af565b9150611924602084016118af565b600181811c90821680611bc757607f821691505b602082108103611be557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610ba557805f5260205f20601f840160051c81016020851015611c105750805b601f840160051c820191505b81811015610ba2575f8155600101611c1c565b815167ffffffffffffffff811115611c4957611c49611946565b611c5d81611c578454611bb3565b84611beb565b602080601f831160018114611c90575f8415611c795750858301515b5f19600386901b1c1916600185901b178555611ce7565b5f85815260208120601f198616915b82811015611cbe57888601518255948401946001909101908401611c9f565b5085821015611cdb57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561079c5761079c611cef565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b5f60018201611d4f57611d4f611cef565b5060010190565b5f60208284031215611d66575f80fd5b81516001600160e01b031981168114610f17575f80fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290525f828460a08401375f60a0848401015260a0601f19601f85011683010190509695505050505050565b5f808454611ddc81611bb3565b60018281168015611df45760018114611e0957611e35565b60ff1984168752821515830287019450611e35565b885f526020805f205f5b85811015611e2c5781548a820152908401908201611e13565b50505082870194505b505050508351611e49818360208801611844565b01949350505050565b600181815b80851115611e8c57815f1904821115611e7257611e72611cef565b80851615611e7f57918102915b93841c9390800290611e57565b509250929050565b5f82611ea25750600161079c565b81611eae57505f61079c565b8160018114611ec45760028114611ece57611eea565b600191505061079c565b60ff841115611edf57611edf611cef565b50506001821b61079c565b5060208310610133831016604e8410600b8410161715611f0d575081810a61079c565b611f178383611e52565b805f1904821115611f2a57611f2a611cef565b029392505050565b5f610f1760ff841683611e94565b5f82611f5a57634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220110d5753f563f0685a27e966a071a86f5062bf5f7026371dad42a1bf3a3577a264736f6c63430008180033
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610229575f3560e01c806370a082311161012a578063d547cfb7116100b4578063e2ff5ec411610079578063e2ff5ec414610520578063e985e9c514610542578063f28ca1dd1461056f578063f2fde38b14610577578063f8b45b051461058a575f80fd5b8063d547cfb7146104c6578063d621e813146104ce578063dd62ed3e146104db578063de8ca8c114610505578063e0df5b6f1461050d575f80fd5b80639b19251a116100fa5780639b19251a14610458578063a22cb4651461047a578063a9059cbb1461048d578063b88d4fde146104a0578063c87b56dd146104b3575f80fd5b806370a08231146104175780637768e1a8146104365780638da5cb5b1461043e57806395d89b4114610450575f80fd5b806327a14fc2116101b65780634a2d28151161017b5780634a2d2815146103c25780634f02c420146103d5578063504334c2146103de57806353d6fd59146103f15780636352211e14610404575f80fd5b806327a14fc2146103535780632b96895814610366578063313ce5671461036e57806340648852146103a757806342842e0e146103af575f80fd5b80630d392cd9116101fc5780630d392cd9146102b857806316878981146102cb57806318160ddd146102f857806318d217c31461032d57806323b872dd14610340575f80fd5b806301339c211461022d57806306fdde0314610237578063081812fc14610255578063095ea7b314610295575b5f80fd5b610235610593565b005b61023f6105cb565b60405161024c9190611866565b60405180910390f35b61027d610263366004611898565b60086020525f90815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161024c565b6102a86102a33660046118c5565b610657565b604051901515815260200161024c565b6102356102c63660046118fc565b6107a2565b6102356102d936600461192d565b335f908152600f60205260409020805460ff1916911515919091179055565b61031f7f0000000000000000000000000000000000000000000000f0e8e396adcbf0000081565b60405190815260200161024c565b61023561033b3660046119e3565b6107f5565b61023561034e366004611a1d565b61082e565b610235610361366004611898565b610baa565b610235610bd8565b6103957f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff909116815260200161024c565b610235610c3c565b6102356103bd366004611a1d565b610c7b565b6102356103d0366004611a56565b610d4c565b61031f60035481565b6102356103ec366004611a7f565b610d9b565b6102356103ff3660046118fc565b610dce565b61027d610412366004611898565b610e21565b61031f610425366004611adf565b60066020525f908152604090205481565b610235610e5b565b5f5461027d906001600160a01b031681565b61023f610e93565b6102a8610466366004611adf565b600d6020525f908152604090205460ff1681565b6102356104883660046118fc565b610ea0565b6102a861049b3660046118c5565b610f0b565b6102356104ae366004611af8565b610f1e565b61023f6104c1366004611898565b610fde565b61023f611012565b6005546102a89060ff1681565b61031f6104e9366004611b8b565b600760209081525f928352604080842090915290825290205481565b61023561101f565b61023561051b3660046119e3565b611057565b6102a861052e366004611adf565b600f6020525f908152604090205460ff1681565b6102a8610550366004611b8b565b600960209081525f928352604080842090915290825290205460ff1681565b61023f61108c565b610235610585366004611adf565b611099565b61031f60045481565b5f546001600160a01b031633146105bc576040516282b42960e81b815260040160405180910390fd5b6005805460ff19166001179055565b600180546105d890611bb3565b80601f016020809104026020016040519081016040528092919081815260200182805461060490611bb3565b801561064f5780601f106106265761010080835404028352916020019161064f565b820191905f5260205f20905b81548152906001019060200180831161063257829003601f168201915b505050505081565b5f600354821115801561066957505f82115b1561073d575f828152600a60205260409020546001600160a01b03163381148015906106b857506001600160a01b0381165f90815260096020908152604080832033845290915290205460ff16155b156106d5576040516282b42960e81b815260040160405180910390fd5b5f8381526008602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350610798565b335f8181526007602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b5f546001600160a01b031633146107cb576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091165f908152600e60205260409020805460ff1916911515919091179055565b5f546001600160a01b0316331461081e576040516282b42960e81b815260040160405180910390fd5b601561082a8282611c2f565b5050565b6003548111610b3e575f818152600a60205260409020546001600160a01b0384811691161461087057604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b03821661089757604051634e46966960e11b815260040160405180910390fd5b336001600160a01b038416148015906108d357506001600160a01b0383165f90815260096020908152604080832033845290915290205460ff16155b80156108f557505f818152600860205260409020546001600160a01b03163314155b15610912576040516282b42960e81b815260040160405180910390fd5b61091a611133565b6001600160a01b0384165f9081526006602052604081208054909190610941908490611d03565b9091555061094f9050611133565b6001600160a01b038084165f8181526006602090815260408083208054909601909555858252600a815284822080546001600160a01b031990811690941790556008815284822080549093169092559186168252600b905290812080546109b890600190611d03565b815481106109c8576109c8611d16565b5f9182526020808320909101546001600160a01b0387168352600b82526040808420868552600c90935290922054815492935083928110610a0b57610a0b611d16565b5f9182526020808320909101929092556001600160a01b0386168152600b90915260409020805480610a3f57610a3f611d2a565b5f828152602080822083015f19908101839055909201909255838252600c8152604080832054848452818420556001600160a01b038616808452600b83529083208054600181810183558286529385200186905592529054610aa19190611d03565b5f838152600c602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610b27611133565b60405190815260200160405180910390a350505050565b6001600160a01b0383165f9081526007602090815260408083203384529091529020545f198114610b9757610b738282611d03565b6001600160a01b0385165f9081526007602090815260408083203384529091529020555b610ba2848484611164565b50505b505050565b5f546001600160a01b03163314610bd3576040516282b42960e81b815260040160405180910390fd5b600455565b5f546001600160a01b03163314610c01576040516282b42960e81b815260040160405180910390fd5b5f80546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b5f546001600160a01b03163314610c65576040516282b42960e81b815260040160405180910390fd5b60108054905f610c7483611d3e565b9190505550565b610c8683838361082e565b6001600160a01b0382163b15801590610d2e5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401525f608484015290919084169063150b7a029060a4016020604051808303815f875af1158015610cfd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d219190611d56565b6001600160e01b03191614155b15610ba557604051633da6393160e01b815260040160405180910390fd5b5f546001600160a01b03163314610d75576040516282b42960e81b815260040160405180910390fd5b604080516060810182528481526020810184905201819052601092909255601155601255565b5f546001600160a01b03163314610dc4576040516282b42960e81b815260040160405180910390fd5b61082a828261151c565b5f546001600160a01b03163314610df7576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091165f908152600d60205260409020805460ff1916911515919091179055565b5f818152600a60205260409020546001600160a01b031680610e565760405163c5723b5160e01b815260040160405180910390fd5b919050565b5f546001600160a01b03163314610e84576040516282b42960e81b815260040160405180910390fd5b60128054905f610c7483611d3e565b600280546105d890611bb3565b335f8181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b5f610f17338484611164565b9392505050565b610f2985858561082e565b6001600160a01b0384163b15801590610fc05750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610f739033908a90899089908990600401611d7d565b6020604051808303815f875af1158015610f8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fb39190611d56565b6001600160e01b03191614155b15610ba257604051633da6393160e01b815260040160405180910390fd5b60606016610feb83611535565b604051602001610ffc929190611dcf565b6040516020818303038152906040529050919050565b601680546105d890611bb3565b5f546001600160a01b03163314611048576040516282b42960e81b815260040160405180910390fd5b60118054905f610c7483611d3e565b5f546001600160a01b03163314611080576040516282b42960e81b815260040160405180910390fd5b601661082a8282611c2f565b601580546105d890611bb3565b5f546001600160a01b031633146110c2576040516282b42960e81b815260040160405180910390fd5b6001600160a01b0381166110e9576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b5f61115f7f0000000000000000000000000000000000000000000000000000000000000012600a611f32565b905090565b5f8061116e611133565b6001600160a01b038087165f8181526006602052604080822054898516835290822054915494955093909216148015906111b557505f546001600160a01b03878116911614155b80156111cf57506013546001600160a01b03888116911614155b80156111e957506013546001600160a01b03878116911614155b156111fc5760055460ff166111fc575f80fd5b6001600160a01b0387165f9081526006602052604081208054879290611223908490611d03565b90915550506001600160a01b0386165f908152600660209081526040808320805489019055600e90915290205460ff166112ba576004546001600160a01b0387165f9081526006602052604090205411156112ba5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640160405180910390fd5b6001600160a01b0387165f908152600d602052604090205460ff161580156112fa57506001600160a01b0386165f908152600d602052604090205460ff16155b1561137d576001600160a01b0387165f90815260066020526040812054611322908590611f40565b61132c8585611f40565b6113369190611d03565b90506001600160a01b03881661135f57604051636edaef2f60e11b815260040160405180910390fd5b5f5b8181101561137a57611372896115c5565b600101611361565b50505b7f0000000000000000000000000000000000000000000000f0e8e396adcbf00000600454101580156113bc57506014546001600160a01b038781169116145b80156113e057506001600160a01b0387165f908152600d602052604090205460ff16155b156113fe57604051634e46966960e11b815260040160405180910390fd5b6001600160a01b0386165f908152600d602052604090205460ff1615801561143e57506001600160a01b0387165f908152600d602052604090205460ff16155b156114c2575f61144e8483611f40565b6001600160a01b0388165f90815260066020526040902054611471908690611f40565b61147b9190611d03565b90506001600160a01b0387166114a457604051634e46966960e11b815260040160405180910390fd5b5f5b818110156114bf576114b7886116bf565b6001016114a6565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e0314878760405161150791815260200190565b60405180910390a35060019695505050505050565b60016115288382611c2f565b506002610ba58282611c2f565b60605f6115418361176d565b60010190505f8167ffffffffffffffff81111561156057611560611946565b6040519080825280601f01601f19166020018201604052801561158a576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461159457509392505050565b6001600160a01b0381165f908152600b6020526040812080546115ea90600190611d03565b815481106115fa576115fa611d16565b905f5260205f2001549050600b5f836001600160a01b03166001600160a01b031681526020019081526020015f2080548061163757611637611d2a565b5f828152602080822083015f19908101839055909201909255828252600c81526040808320839055600a825280832080546001600160a01b031990811690915560089092528083208054909216909155518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600380546001908101918290555f828152600a6020908152604080832080546001600160a01b0319166001600160a01b038816908117909155808452600b835290832080548086018255818552928420909201859055909152546117239190611d03565b5f828152600c602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106117ab5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106117d7576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106117f557662386f26fc10000830492506010015b6305f5e100831061180d576305f5e100830492506008015b612710831061182157612710830492506004015b60648310611833576064830492506002015b600a831061079c5760010192915050565b5f5b8381101561185e578181015183820152602001611846565b50505f910152565b602081525f8251806020840152611884816040850160208701611844565b601f01601f19169190910160400192915050565b5f602082840312156118a8575f80fd5b5035919050565b80356001600160a01b0381168114610e56575f80fd5b5f80604083850312156118d6575f80fd5b6118df836118af565b946020939093013593505050565b80358015158114610e56575f80fd5b5f806040838503121561190d575f80fd5b611916836118af565b9150611924602084016118ed565b90509250929050565b5f6020828403121561193d575f80fd5b610f17826118ed565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611969575f80fd5b813567ffffffffffffffff8082111561198457611984611946565b604051601f8301601f19908116603f011681019082821181831017156119ac576119ac611946565b816040528381528660208588010111156119c4575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f602082840312156119f3575f80fd5b813567ffffffffffffffff811115611a09575f80fd5b611a158482850161195a565b949350505050565b5f805f60608486031215611a2f575f80fd5b611a38846118af565b9250611a46602085016118af565b9150604084013590509250925092565b5f805f60608486031215611a68575f80fd5b505081359360208301359350604090920135919050565b5f8060408385031215611a90575f80fd5b823567ffffffffffffffff80821115611aa7575f80fd5b611ab38683870161195a565b93506020850135915080821115611ac8575f80fd5b50611ad58582860161195a565b9150509250929050565b5f60208284031215611aef575f80fd5b610f17826118af565b5f805f805f60808688031215611b0c575f80fd5b611b15866118af565b9450611b23602087016118af565b935060408601359250606086013567ffffffffffffffff80821115611b46575f80fd5b818801915088601f830112611b59575f80fd5b813581811115611b67575f80fd5b896020828501011115611b78575f80fd5b9699959850939650602001949392505050565b5f8060408385031215611b9c575f80fd5b611ba5836118af565b9150611924602084016118af565b600181811c90821680611bc757607f821691505b602082108103611be557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610ba557805f5260205f20601f840160051c81016020851015611c105750805b601f840160051c820191505b81811015610ba2575f8155600101611c1c565b815167ffffffffffffffff811115611c4957611c49611946565b611c5d81611c578454611bb3565b84611beb565b602080601f831160018114611c90575f8415611c795750858301515b5f19600386901b1c1916600185901b178555611ce7565b5f85815260208120601f198616915b82811015611cbe57888601518255948401946001909101908401611c9f565b5085821015611cdb57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561079c5761079c611cef565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b5f60018201611d4f57611d4f611cef565b5060010190565b5f60208284031215611d66575f80fd5b81516001600160e01b031981168114610f17575f80fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290525f828460a08401375f60a0848401015260a0601f19601f85011683010190509695505050505050565b5f808454611ddc81611bb3565b60018281168015611df45760018114611e0957611e35565b60ff1984168752821515830287019450611e35565b885f526020805f205f5b85811015611e2c5781548a820152908401908201611e13565b50505082870194505b505050508351611e49818360208801611844565b01949350505050565b600181815b80851115611e8c57815f1904821115611e7257611e72611cef565b80851615611e7f57918102915b93841c9390800290611e57565b509250929050565b5f82611ea25750600161079c565b81611eae57505f61079c565b8160018114611ec45760028114611ece57611eea565b600191505061079c565b60ff841115611edf57611edf611cef565b50506001821b61079c565b5060208310610133831016604e8410600b8410161715611f0d575081810a61079c565b611f178383611e52565b805f1904821115611f2a57611f2a611cef565b029392505050565b5f610f1760ff841683611e94565b5f82611f5a57634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220110d5753f563f0685a27e966a071a86f5062bf5f7026371dad42a1bf3a3577a264736f6c63430008180033
Deployed Bytecode Sourcemap
40358:796:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32435:75;;;:::i;:::-;;29262:18;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;30097:46;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;30097:46:0;;;;;;-1:-1:-1;;;;;1019:32:1;;;1001:51;;989:2;974:18;30097:46:0;855:203:1;33661:642:0;;;;;;:::i;:::-;;:::i;:::-;;;1665:14:1;;1658:22;1640:41;;1628:2;1613:18;33661:642:0;1500:187:1;32621:122:0;;;;;;:::i;:::-;;:::i;32751:96::-;;;;;;:::i;:::-;32818:10;32805:24;;;;:12;:24;;;;;:34;;-1:-1:-1;;32805:34:0;;;;;;;;;;32751:96;29498:36;;;;;;;;2447:25:1;;;2435:2;2420:18;29498:36:0;2301:177:1;40615:98:0;;;;;;:::i;:::-;;:::i;34710:1716::-;;;;;;:::i;:::-;;:::i;32518:95::-;;;;;;:::i;:::-;;:::i;27216:151::-;;;:::i;29398:31::-;;;;;;;;4171:4:1;4159:17;;;4141:36;;4129:2;4114:18;29398:31:0;3999:184:1;32341:86:0;;;:::i;36722:405::-;;;;;;:::i;:::-;;:::i;31984:157::-;;;;;;:::i;:::-;;:::i;29633:21::-;;;;;;40835:158;;;;;;:::i;:::-;;:::i;32990:111::-;;;;;;:::i;:::-;;:::i;33173:193::-;;;;;;:::i;:::-;;:::i;29863:44::-;;;;;;:::i;:::-;;;;;;;;;;;;;;32241:92;;;:::i;26657:20::-;;;;;-1:-1:-1;;;;;26657:20:0;;;29316;;;:::i;30708:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;34354:207;;;;;;:::i;:::-;;:::i;36485:160::-;;;;;;:::i;:::-;;:::i;37222:437::-;;;;;;:::i;:::-;;:::i;41001:150::-;;;;;;:::i;:::-;;:::i;40418:26::-;;;:::i;29754:24::-;;;;;;;;;29977:64;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;32149:84;;;:::i;40721:106::-;;;;;;:::i;:::-;;:::i;30819:44::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;30208:68;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;40390:21;;;:::i;26989:219::-;;;;;;:::i;:::-;;:::i;29721:24::-;;;;;;32435:75;26744:5;;-1:-1:-1;;;;;26744:5:0;26730:10;:19;26726:46;;26758:14;;-1:-1:-1;;;26758:14:0;;;;;;;;;;;26726:46;32483:12:::1;:19:::0;;-1:-1:-1;;32483:19:0::1;32498:4;32483:19;::::0;;32435:75::o;29262:18::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;33661:642::-;33764:4;33799:6;;33785:10;:20;;:38;;;;;33822:1;33809:10;:14;33785:38;33781:491;;;33840:13;33856:20;;;:8;:20;;;;;;-1:-1:-1;;;;;33856:20:0;33897:10;:19;;;;;:59;;-1:-1:-1;;;;;;33921:23:0;;;;;;:16;:23;;;;;;;;33945:10;33921:35;;;;;;;;;;33920:36;33897:59;33893:121;;;33984:14;;-1:-1:-1;;;33984:14:0;;;;;;;;;;;33893:121;34030:23;;;;:11;:23;;;;;;;;;:33;;-1:-1:-1;;;;;;34030:33:0;-1:-1:-1;;;;;34030:33:0;;;;;;;;;34085:36;;2447:25:1;;;34085:36:0;;;;;;2420:18:1;34085:36:0;;;;;;;33825:308;33781:491;;;34164:10;34154:21;;;;:9;:21;;;;;;;;-1:-1:-1;;;;;34154:30:0;;;;;;;;;;;;:43;;;34219:41;2447:25:1;;;34154:30:0;;34164:10;34219:41;;2420:18:1;34219:41:0;;;;;;;33781:491;-1:-1:-1;34291:4:0;33661:642;;;;;:::o;32621:122::-;26744:5;;-1:-1:-1;;;;;26744:5:0;26730:10;:19;26726:46;;26758:14;;-1:-1:-1;;;26758:14:0;;;;;;;;;;;26726:46;-1:-1:-1;;;;;32702:25:0;;;::::1;;::::0;;;:19:::1;:25;::::0;;;;:33;;-1:-1:-1;;32702:33:0::1;::::0;::::1;;::::0;;;::::1;::::0;;32621:122::o;40615:98::-;26744:5;;-1:-1:-1;;;;;26744:5:0;26730:10;:19;26726:46;;26758:14;;-1:-1:-1;;;26758:14:0;;;;;;;;;;;26726:46;40687:7:::1;:18;40697:8:::0;40687:7;:18:::1;:::i;:::-;;40615:98:::0;:::o;34710:1716::-;34856:6;;34842:10;:20;34838:1581;;34891:20;;;;:8;:20;;;;;;-1:-1:-1;;;;;34883:28:0;;;34891:20;;34883:28;34879:91;;34939:15;;-1:-1:-1;;;34939:15:0;;;;;;;;;;;34879:91;-1:-1:-1;;;;;34990:16:0;;34986:82;;35034:18;;-1:-1:-1;;;35034:18:0;;;;;;;;;;;34986:82;35106:10;-1:-1:-1;;;;;35106:18:0;;;;;;:74;;-1:-1:-1;;;;;;35146:22:0;;;;;;:16;:22;;;;;;;;35169:10;35146:34;;;;;;;;;;35145:35;35106:74;:132;;;;-1:-1:-1;35215:23:0;;;;:11;:23;;;;;;-1:-1:-1;;;;;35215:23:0;35201:10;:37;;35106:132;35084:226;;;35280:14;;-1:-1:-1;;;35280:14:0;;;;;;;;;;;35084:226;35345:10;:8;:10::i;:::-;-1:-1:-1;;;;;35326:15:0;;;;;;:9;:15;;;;;:29;;:15;;;:29;;;;;:::i;:::-;;;;-1:-1:-1;35418:10:0;;-1:-1:-1;35418:8:0;:10::i;:::-;-1:-1:-1;;;;;35401:13:0;;;;;;;:9;:13;;;;;;;;:27;;;;;;;;35460:20;;;:8;:20;;;;;:25;;-1:-1:-1;;;;;;35460:25:0;;;;;;;;35507:11;:23;;;;;35500:30;;;;;;;;35608:12;;;;;:6;:12;;;;;35621:19;;:23;;-1:-1:-1;;35621:23:0;:::i;:::-;35608:37;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;35660:12:0;;;;:6;:12;;;;;;35673:23;;;:11;:23;;;;;;;35660:37;;35608;;-1:-1:-1;35608:37:0;;35660;;;;;;:::i;:::-;;;;;;;;;;;;:49;;;;-1:-1:-1;;;;;35744:12:0;;;;:6;:12;;;;;;:18;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;35744:18:0;;;;;;;;;;;;35848:23;;;:11;:23;;;;;;;35823:22;;;;;;:48;-1:-1:-1;;;;;35925:10:0;;;;;:6;:10;;;;;:27;;35744:18;35925:27;;;;;;;;;;;;;;;36035:10;;:17;;:21;;35744:18;36035:21;:::i;:::-;36009:23;;;;:11;:23;;;;;;:47;;;;36078:30;;36021:10;;-1:-1:-1;;;;;36078:30:0;;;;;;;;;;;36148:2;-1:-1:-1;;;;;36128:35:0;36142:4;-1:-1:-1;;;;;36128:35:0;;36152:10;:8;:10::i;:::-;36128:35;;2447:25:1;;;2435:2;2420:18;36128:35:0;;;;;;;34864:1311;34710:1716;;;:::o;34838:1581::-;-1:-1:-1;;;;;36214:15:0;;36196;36214;;;:9;:15;;;;;;;;36230:10;36214:27;;;;;;;;-1:-1:-1;;36262:28:0;;36258:101;;36339:20;36349:10;36339:7;:20;:::i;:::-;-1:-1:-1;;;;;36309:15:0;;;;;;:9;:15;;;;;;;;36325:10;36309:27;;;;;;;:50;36258:101;36376:31;36386:4;36392:2;36396:10;36376:9;:31::i;:::-;;36181:238;34838:1581;34710:1716;;;:::o;32518:95::-;26744:5;;-1:-1:-1;;;;;26744:5:0;26730:10;:19;26726:46;;26758:14;;-1:-1:-1;;;26758:14:0;;;;;;;;;;;26726:46;32588:9:::1;:17:::0;32518:95::o;27216:151::-;26744:5;;-1:-1:-1;;;;;26744:5:0;26730:10;:19;26726:46;;26758:14;;-1:-1:-1;;;26758:14:0;;;;;;;;;;;26726:46;27295:1:::1;27279:18:::0;;-1:-1:-1;;;;;;27279:18:0::1;::::0;;27315:44:::1;::::0;27336:10:::1;::::0;27315:44:::1;::::0;27295:1;;27315:44:::1;27216:151::o:0;32341:86::-;26744:5;;-1:-1:-1;;;;;26744:5:0;26730:10;:19;26726:46;;26758:14;;-1:-1:-1;;;26758:14:0;;;;;;;;;;;26726:46;32398:12:::1;:21:::0;;;:19:::1;:21;::::0;::::1;:::i;:::-;;;;;;32341:86::o:0;36722:405::-;36846:26;36859:4;36865:2;36869;36846:12;:26::i;:::-;-1:-1:-1;;;;;36903:14:0;;;:19;;;;:154;;-1:-1:-1;36939:61:0;;-1:-1:-1;;;36939:61:0;;;36975:10;36939:61;;;9855:34:1;-1:-1:-1;;;;;9925:15:1;;;9905:18;;;9898:43;9957:18;;;9950:34;;;10020:3;10000:18;;;9993:31;-1:-1:-1;10040:19:1;;;10033:30;37017:40:0;;36939:35;;;;37017:40;;10080:19:1;;36939:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;36939:118:0;;;36903:154;36885:235;;;37091:17;;-1:-1:-1;;;37091:17:0;;;;;;;;;;;31984:157;26744:5;;-1:-1:-1;;;;;26744:5:0;26730:10;:19;26726:46;;26758:14;;-1:-1:-1;;;26758:14:0;;;;;;;;;;;26726:46;32095:38:::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;32080:12:::1;:53:::0;;;;;;;;31984:157::o;40835:158::-;26744:5;;-1:-1:-1;;;;;26744:5:0;26730:10;:19;26726:46;;26758:14;;-1:-1:-1;;;26758:14:0;;;;;;;;;;;26726:46;40955:30:::1;40970:5;40977:7;40955:14;:30::i;32990:111::-:0;26744:5;;-1:-1:-1;;;;;26744:5:0;26730:10;:19;26726:46;;26758:14;;-1:-1:-1;;;26758:14:0;;;;;;;;;;;26726:46;-1:-1:-1;;;;;33068:17:0;;;::::1;;::::0;;;:9:::1;:17;::::0;;;;:25;;-1:-1:-1;;33068:25:0::1;::::0;::::1;;::::0;;;::::1;::::0;;32990:111::o;33173:193::-;33231:13;33265:12;;;:8;:12;;;;;;-1:-1:-1;;;;;33265:12:0;;33290:69;;33337:10;;-1:-1:-1;;;33337:10:0;;;;;;;;;;;33290:69;33173:193;;;:::o;32241:92::-;26744:5;;-1:-1:-1;;;;;26744:5:0;26730:10;:19;26726:46;;26758:14;;-1:-1:-1;;;26758:14:0;;;;;;;;;;;26726:46;32301:22;:24;;;:22:::1;:24;::::0;::::1;:::i;29316:20::-:0;;;;;;;:::i;34354:207::-;34457:10;34440:28;;;;:16;:28;;;;;;;;-1:-1:-1;;;;;34440:38:0;;;;;;;;;;;;:49;;-1:-1:-1;;34440:49:0;;;;;;;;;;34507:46;;1640:41:1;;;34440:38:0;;34457:10;34507:46;;1613:18:1;34507:46:0;;;;;;;34354:207;;:::o;36485:160::-;36580:4;36604:33;36614:10;36626:2;36630:6;36604:9;:33::i;:::-;36597:40;36485:160;-1:-1:-1;;;36485:160:0:o;37222:437::-;37376:26;37389:4;37395:2;37399;37376:12;:26::i;:::-;-1:-1:-1;;;;;37433:14:0;;;:19;;;;:156;;-1:-1:-1;37469:63:0;;-1:-1:-1;;;37469:63:0;;;37549:40;-1:-1:-1;;;;;37469:35:0;;;37549:40;;37469:63;;37505:10;;37517:4;;37523:2;;37527:4;;;;37469:63;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;37469:120:0;;;37433:156;37415:237;;;37623:17;;-1:-1:-1;;;37623:17:0;;;;;;;;;;;41001:150;41061:13;41108:12;41122:20;41139:2;41122:16;:20::i;:::-;41094:49;;;;;;;;;:::i;:::-;;;;;;;;;;;;;41087:56;;41001:150;;;:::o;40418:26::-;;;;;;;:::i;32149:84::-;26744:5;;-1:-1:-1;;;;;26744:5:0;26730:10;:19;26726:46;;26758:14;;-1:-1:-1;;;26758:14:0;;;;;;;;;;;26726:46;32205:18;:20;;;:18:::1;:20;::::0;::::1;:::i;40721:106::-:0;26744:5;;-1:-1:-1;;;;;26744:5:0;26730:10;:19;26726:46;;26758:14;;-1:-1:-1;;;26758:14:0;;;;;;;;;;;26726:46;40795:12:::1;:24;40810:9:::0;40795:12;:24:::1;:::i;40390:21::-:0;;;;;;;:::i;26989:219::-;26744:5;;-1:-1:-1;;;;;26744:5:0;26730:10;:19;26726:46;;26758:14;;-1:-1:-1;;;26758:14:0;;;;;;;;;;;26726:46;-1:-1:-1;;;;;27072:20:0;::::1;27068:47;;27101:14;;-1:-1:-1::0;;;27101:14:0::1;;;;;;;;;;;27068:47;27128:5;:14:::0;;-1:-1:-1;;;;;;27128:14:0::1;-1:-1:-1::0;;;;;27128:14:0;::::1;::::0;;::::1;::::0;;27160:40:::1;::::0;27128:14;;27181:10:::1;::::0;27160:40:::1;::::0;27128:5;27160:40:::1;26989:219:::0;:::o;39488:92::-;39531:7;39558:14;39564:8;39558:2;:14;:::i;:::-;39551:21;;39488:92;:::o;37727:1722::-;37840:4;37857:12;37872:10;:8;:10::i;:::-;-1:-1:-1;;;;;37923:15:0;;;37893:27;37923:15;;;:9;:15;;;;;;;37981:13;;;;;;;;;38017:5;;37857:25;;-1:-1:-1;37923:15:0;37981:13;;38017:5;38009:13;;;;:28;;-1:-1:-1;38032:5:0;;-1:-1:-1;;;;;38026:11:0;;;38032:5;;38026:11;;38009:28;:53;;;;-1:-1:-1;38049:13:0;;-1:-1:-1;;;;;38041:21:0;;;38049:13;;38041:21;;38009:53;:76;;;;-1:-1:-1;38072:13:0;;-1:-1:-1;;;;;38066:19:0;;;38072:13;;38066:19;;38009:76;38005:130;;;38110:12;;;;38102:21;;;;;;-1:-1:-1;;;;;38145:15:0;;;;;;:9;:15;;;;;:25;;38164:6;;38145:15;:25;;38164:6;;38145:25;:::i;:::-;;;;-1:-1:-1;;;;;;;38208:13:0;;;;;;:9;:13;;;;;;;;:23;;;;;;38260:19;:23;;;;;;;;38255:115;;38325:9;;-1:-1:-1;;;;;38308:13:0;;;;;;:9;:13;;;;;;:26;;38300:58;;;;-1:-1:-1;;;38300:58:0;;13677:2:1;38300:58:0;;;13659:21:1;13716:2;13696:18;;;13689:30;-1:-1:-1;;;13735:18:1;;;13728:49;13794:18;;38300:58:0;;;;;;;;-1:-1:-1;;;;;38443:15:0;;;;;;:9;:15;;;;;;;;38442:16;:34;;;;-1:-1:-1;;;;;;38463:13:0;;;;;;:9;:13;;;;;;;;38462:14;38442:34;38438:364;;;-1:-1:-1;;;;;38567:15:0;;38493:22;38567:15;;;:9;:15;;;;;;:22;;38585:4;;38567:22;:::i;:::-;38519:26;38541:4;38519:19;:26;:::i;:::-;38518:72;;;;:::i;:::-;38493:97;-1:-1:-1;;;;;;38609:18:0;;38605:81;;38655:15;;-1:-1:-1;;;38655:15:0;;;;;;;;;;;38605:81;38705:9;38700:91;38724:14;38720:1;:18;38700:91;;;38764:11;38770:4;38764:5;:11::i;:::-;38740:3;;38700:91;;;;38478:324;38438:364;38831:11;38818:9;;:24;;:45;;;;-1:-1:-1;38852:11:0;;-1:-1:-1;;;;;38846:17:0;;;38852:11;;38846:17;38818:45;:65;;;;-1:-1:-1;;;;;;38868:15:0;;;;;;:9;:15;;;;;;;;38867:16;38818:65;38814:123;;;38907:18;;-1:-1:-1;;;38907:18:0;;;;;;;;;;;38814:123;-1:-1:-1;;;;;39013:13:0;;;;;;:9;:13;;;;;;;;39012:14;:34;;;;-1:-1:-1;;;;;;39031:15:0;;;;;;:9;:15;;;;;;;;39030:16;39012:34;39008:363;;;39063:22;39131:28;39155:4;39131:21;:28;:::i;:::-;-1:-1:-1;;;;;39089:13:0;;;;;;:9;:13;;;;;;:20;;39105:4;;39089:20;:::i;:::-;39088:72;;;;:::i;:::-;39063:97;-1:-1:-1;;;;;;39179:16:0;;39175:82;;39223:18;;-1:-1:-1;;;39223:18:0;;;;;;;;;;;39175:82;39276:9;39271:89;39295:14;39291:1;:18;39271:89;;;39335:9;39341:2;39335:5;:9::i;:::-;39311:3;;39271:89;;;;39048:323;39008:363;39408:2;-1:-1:-1;;;;;39388:31:0;39402:4;-1:-1:-1;;;;;39388:31:0;;39412:6;39388:31;;;;2447:25:1;;2435:2;2420:18;;2301:177;39388:31:0;;;;;;;;-1:-1:-1;39437:4:0;;37727:1722;-1:-1:-1;;;;;;37727:1722:0:o;40191:160::-;40304:4;:12;40311:5;40304:4;:12;:::i;:::-;-1:-1:-1;40327:6:0;:16;40336:7;40327:6;:16;:::i;23950:718::-;24006:13;24057:14;24074:17;24085:5;24074:10;:17::i;:::-;24094:1;24074:21;24057:38;;24110:20;24144:6;24133:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24133:18:0;-1:-1:-1;24110:41:0;-1:-1:-1;24275:28:0;;;24291:2;24275:28;24332:290;-1:-1:-1;;24364:5:0;-1:-1:-1;;;24501:2:0;24490:14;;24485:32;24364:5;24472:46;24564:2;24555:11;;;-1:-1:-1;24585:21:0;24332:290;24585:21;-1:-1:-1;24643:6:0;23950:718;-1:-1:-1;;;23950:718:0:o;39893:290::-;-1:-1:-1;;;;;39965:12:0;;39952:10;39965:12;;;:6;:12;;;;;39978:19;;:23;;40000:1;;39978:23;:::i;:::-;39965:37;;;;;;;;:::i;:::-;;;;;;;;;39952:50;;40013:6;:12;40020:4;-1:-1:-1;;;;;40013:12:0;-1:-1:-1;;;;;40013:12:0;;;;;;;;;;;;:18;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;40013:18:0;;;;;;;;;;;;40049:15;;;:11;:15;;;;;;40042:22;;;40082:8;:12;;;;;40075:19;;-1:-1:-1;;;;;;40075:19:0;;;;;;40112:11;:15;;;;;;40105:22;;;;;;;;40145:30;40061:2;;40013:18;-1:-1:-1;;;;;40145:30:0;;;;;40013:18;;40145:30;39939:244;39893:290;:::o;39588:297::-;39670:6;:8;;;;;;;;;;-1:-1:-1;39734:12:0;;;:8;:12;;;;;;;;:17;;-1:-1:-1;;;;;;39734:17:0;-1:-1:-1;;;;;39734:17:0;;;;;;;;39762:10;;;:6;:10;;;;;:19;;;;;;;;;;;;;;;;;;;39810:10;;;:17;:21;;39670:8;39810:21;:::i;:::-;39792:15;;;;:11;:15;;;;;;:39;;;;39849:28;;39804:2;;-1:-1:-1;;;;;39849:28:0;;;;;39792:15;;39849:28;39632:253;39588:297;:::o;20442:948::-;20495:7;;-1:-1:-1;;;20573:17:0;;20569:106;;-1:-1:-1;;;20611:17:0;;;-1:-1:-1;20657:2:0;20647:12;20569:106;20702:8;20693:5;:17;20689:106;;20740:8;20731:17;;;-1:-1:-1;20777:2:0;20767:12;20689:106;20822:8;20813:5;:17;20809:106;;20860:8;20851:17;;;-1:-1:-1;20897:2:0;20887:12;20809:106;20942:7;20933:5;:16;20929:103;;20979:7;20970:16;;;-1:-1:-1;21015:1:0;21005:11;20929:103;21059:7;21050:5;:16;21046:103;;21096:7;21087:16;;;-1:-1:-1;21132:1:0;21122:11;21046:103;21176:7;21167:5;:16;21163:103;;21213:7;21204:16;;;-1:-1:-1;21249:1:0;21239:11;21163:103;21293:7;21284:5;:16;21280:68;;21331:1;21321:11;21376:6;20442:948;-1:-1:-1;;20442: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;1692:160::-;1757:20;;1813:13;;1806:21;1796:32;;1786:60;;1842:1;1839;1832:12;1857:254;1922:6;1930;1983:2;1971:9;1962:7;1958:23;1954:32;1951:52;;;1999:1;1996;1989:12;1951:52;2022:29;2041:9;2022:29;:::i;:::-;2012:39;;2070:35;2101:2;2090:9;2086:18;2070:35;:::i;:::-;2060:45;;1857:254;;;;;:::o;2116:180::-;2172:6;2225:2;2213:9;2204:7;2200:23;2196:32;2193:52;;;2241:1;2238;2231:12;2193:52;2264:26;2280:9;2264:26;:::i;2483:127::-;2544:10;2539:3;2535:20;2532:1;2525:31;2575:4;2572:1;2565:15;2599:4;2596:1;2589:15;2615:719;2658:5;2711:3;2704:4;2696:6;2692:17;2688:27;2678:55;;2729:1;2726;2719:12;2678:55;2765:6;2752:20;2791:18;2828:2;2824;2821:10;2818:36;;;2834:18;;:::i;:::-;2909:2;2903:9;2877:2;2963:13;;-1:-1:-1;;2959:22:1;;;2983:2;2955:31;2951:40;2939:53;;;3007:18;;;3027:22;;;3004:46;3001:72;;;3053:18;;:::i;:::-;3093:10;3089:2;3082:22;3128:2;3120:6;3113:18;3174:3;3167:4;3162:2;3154:6;3150:15;3146:26;3143:35;3140:55;;;3191:1;3188;3181:12;3140:55;3255:2;3248:4;3240:6;3236:17;3229:4;3221:6;3217:17;3204:54;3302:1;3295:4;3290:2;3282:6;3278:15;3274:26;3267:37;3322:6;3313:15;;;;;;2615:719;;;;:::o;3339:322::-;3408:6;3461:2;3449:9;3440:7;3436:23;3432:32;3429:52;;;3477:1;3474;3467:12;3429:52;3517:9;3504:23;3550:18;3542:6;3539:30;3536:50;;;3582:1;3579;3572:12;3536:50;3605;3647:7;3638:6;3627:9;3623:22;3605:50;:::i;:::-;3595:60;3339:322;-1:-1:-1;;;;3339:322:1:o;3666:328::-;3743:6;3751;3759;3812:2;3800:9;3791:7;3787:23;3783:32;3780:52;;;3828:1;3825;3818:12;3780:52;3851:29;3870:9;3851:29;:::i;:::-;3841:39;;3899:38;3933:2;3922:9;3918:18;3899:38;:::i;:::-;3889:48;;3984:2;3973:9;3969:18;3956:32;3946:42;;3666:328;;;;;:::o;4188:316::-;4265:6;4273;4281;4334:2;4322:9;4313:7;4309:23;4305:32;4302:52;;;4350:1;4347;4340:12;4302:52;-1:-1:-1;;4373:23:1;;;4443:2;4428:18;;4415:32;;-1:-1:-1;4494:2:1;4479:18;;;4466:32;;4188:316;-1:-1:-1;4188:316:1:o;4509:543::-;4597:6;4605;4658:2;4646:9;4637:7;4633:23;4629:32;4626:52;;;4674:1;4671;4664:12;4626:52;4714:9;4701:23;4743:18;4784:2;4776:6;4773:14;4770:34;;;4800:1;4797;4790:12;4770:34;4823:50;4865:7;4856:6;4845:9;4841:22;4823:50;:::i;:::-;4813:60;;4926:2;4915:9;4911:18;4898:32;4882:48;;4955:2;4945:8;4942:16;4939:36;;;4971:1;4968;4961:12;4939:36;;4994:52;5038:7;5027:8;5016:9;5012:24;4994:52;:::i;:::-;4984:62;;;4509:543;;;;;:::o;5057:186::-;5116:6;5169:2;5157:9;5148:7;5144:23;5140:32;5137:52;;;5185:1;5182;5175:12;5137:52;5208:29;5227:9;5208:29;:::i;5248:808::-;5345:6;5353;5361;5369;5377;5430:3;5418:9;5409:7;5405:23;5401:33;5398:53;;;5447:1;5444;5437:12;5398:53;5470:29;5489:9;5470:29;:::i;:::-;5460:39;;5518:38;5552:2;5541:9;5537:18;5518:38;:::i;:::-;5508:48;;5603:2;5592:9;5588:18;5575:32;5565:42;;5658:2;5647:9;5643:18;5630:32;5681:18;5722:2;5714:6;5711:14;5708:34;;;5738:1;5735;5728:12;5708:34;5776:6;5765:9;5761:22;5751:32;;5821:7;5814:4;5810:2;5806:13;5802:27;5792:55;;5843:1;5840;5833:12;5792:55;5883:2;5870:16;5909:2;5901:6;5898:14;5895:34;;;5925:1;5922;5915:12;5895:34;5970:7;5965:2;5956:6;5952:2;5948:15;5944:24;5941:37;5938:57;;;5991:1;5988;5981:12;5938:57;5248:808;;;;-1:-1:-1;5248:808:1;;-1:-1:-1;6022:2:1;6014:11;;6044:6;5248:808;-1:-1:-1;;;5248:808:1:o;6061:260::-;6129:6;6137;6190:2;6178:9;6169:7;6165:23;6161:32;6158:52;;;6206:1;6203;6196:12;6158:52;6229:29;6248:9;6229:29;:::i;:::-;6219:39;;6277:38;6311:2;6300:9;6296:18;6277:38;:::i;6326:380::-;6405:1;6401:12;;;;6448;;;6469:61;;6523:4;6515:6;6511:17;6501:27;;6469:61;6576:2;6568:6;6565:14;6545:18;6542:38;6539:161;;6622:10;6617:3;6613:20;6610:1;6603:31;6657:4;6654:1;6647:15;6685:4;6682:1;6675:15;6539:161;;6326:380;;;:::o;6837:518::-;6939:2;6934:3;6931:11;6928:421;;;6975:5;6972:1;6965:16;7019:4;7016:1;7006:18;7089:2;7077:10;7073:19;7070:1;7066:27;7060:4;7056:38;7125:4;7113:10;7110:20;7107:47;;;-1:-1:-1;7148:4:1;7107:47;7203:2;7198:3;7194:12;7191:1;7187:20;7181:4;7177:31;7167:41;;7258:81;7276:2;7269:5;7266:13;7258:81;;;7335:1;7321:16;;7302:1;7291:13;7258:81;;7531:1345;7657:3;7651:10;7684:18;7676:6;7673:30;7670:56;;;7706:18;;:::i;:::-;7735:97;7825:6;7785:38;7817:4;7811:11;7785:38;:::i;:::-;7779:4;7735:97;:::i;:::-;7887:4;;7944:2;7933:14;;7961:1;7956:663;;;;8663:1;8680:6;8677:89;;;-1:-1:-1;8732:19:1;;;8726:26;8677:89;-1:-1:-1;;7488:1:1;7484:11;;;7480:24;7476:29;7466:40;7512:1;7508:11;;;7463:57;8779:81;;7926:944;;7956:663;6784:1;6777:14;;;6821:4;6808:18;;-1:-1:-1;;7992:20:1;;;8110:236;8124:7;8121:1;8118:14;8110:236;;;8213:19;;;8207:26;8192:42;;8305:27;;;;8273:1;8261:14;;;;8140:19;;8110:236;;;8114:3;8374:6;8365:7;8362:19;8359:201;;;8435:19;;;8429:26;-1:-1:-1;;8518:1:1;8514:14;;;8530:3;8510:24;8506:37;8502:42;8487:58;8472:74;;8359:201;;;8606:1;8597:6;8594:1;8590:14;8586:22;8580:4;8573:36;7926:944;;;;;7531:1345;;:::o;8881:127::-;8942:10;8937:3;8933:20;8930:1;8923:31;8973:4;8970:1;8963:15;8997:4;8994:1;8987:15;9013:128;9080:9;;;9101:11;;;9098:37;;;9115:18;;:::i;9146:127::-;9207:10;9202:3;9198:20;9195:1;9188:31;9238:4;9235:1;9228:15;9262:4;9259:1;9252:15;9278:127;9339:10;9334:3;9330:20;9327:1;9320:31;9370:4;9367:1;9360:15;9394:4;9391:1;9384:15;9410:135;9449:3;9470:17;;;9467:43;;9490:18;;:::i;:::-;-1:-1:-1;9537:1:1;9526:13;;9410:135::o;10110:290::-;10179:6;10232:2;10220:9;10211:7;10207:23;10203:32;10200:52;;;10248:1;10245;10238:12;10200:52;10274:16;;-1:-1:-1;;;;;;10319:32:1;;10309:43;;10299:71;;10366:1;10363;10356:12;10405:662;-1:-1:-1;;;;;10684:15:1;;;10666:34;;10736:15;;10731:2;10716:18;;10709:43;10783:2;10768:18;;10761:34;;;10831:3;10826:2;10811:18;;10804:31;;;10851:19;;10844:35;;;10609:4;10872:6;10922;10646:3;10901:19;;10888:49;10987:1;10981:3;10972:6;10961:9;10957:22;10953:32;10946:43;11057:3;11050:2;11046:7;11041:2;11033:6;11029:15;11025:29;11014:9;11010:45;11006:55;10998:63;;10405:662;;;;;;;;:::o;11072:1021::-;11248:3;11277:1;11310:6;11304:13;11340:36;11366:9;11340:36;:::i;:::-;11395:1;11412:17;;;11438:133;;;;11585:1;11580:358;;;;11405:533;;11438:133;-1:-1:-1;;11471:24:1;;11459:37;;11544:14;;11537:22;11525:35;;11516:45;;;-1:-1:-1;11438:133:1;;11580:358;11611:6;11608:1;11601:17;11641:4;11686;11683:1;11673:18;11713:1;11727:165;11741:6;11738:1;11735:13;11727:165;;;11819:14;;11806:11;;;11799:35;11862:16;;;;11756:10;;11727:165;;;11731:3;;;11921:6;11916:3;11912:16;11905:23;;11405:533;;;;;11969:6;11963:13;11985:68;12044:8;12039:3;12032:4;12024:6;12020:17;11985:68;:::i;:::-;12069:18;;11072:1021;-1:-1:-1;;;;11072:1021:1:o;12098:416::-;12187:1;12224:5;12187:1;12238:270;12259:7;12249:8;12246:21;12238:270;;;12318:4;12314:1;12310:6;12306:17;12300:4;12297:27;12294:53;;;12327:18;;:::i;:::-;12377:7;12367:8;12363:22;12360:55;;;12397:16;;;;12360:55;12476:22;;;;12436:15;;;;12238:270;;;12242:3;12098:416;;;;;:::o;12519:806::-;12568:5;12598:8;12588:80;;-1:-1:-1;12639:1:1;12653:5;;12588:80;12687:4;12677:76;;-1:-1:-1;12724:1:1;12738:5;;12677:76;12769:4;12787:1;12782:59;;;;12855:1;12850:130;;;;12762:218;;12782:59;12812:1;12803:10;;12826:5;;;12850:130;12887:3;12877:8;12874:17;12871:43;;;12894:18;;:::i;:::-;-1:-1:-1;;12950:1:1;12936:16;;12965:5;;12762:218;;13064:2;13054:8;13051:16;13045:3;13039:4;13036:13;13032:36;13026:2;13016:8;13013:16;13008:2;13002:4;12999:12;12995:35;12992:77;12989:159;;;-1:-1:-1;13101:19:1;;;13133:5;;12989:159;13180:34;13205:8;13199:4;13180:34;:::i;:::-;13250:6;13246:1;13242:6;13238:19;13229:7;13226:32;13223:58;;;13261:18;;:::i;:::-;13299:20;;12519:806;-1:-1:-1;;;12519:806:1:o;13330:140::-;13388:5;13417:47;13458:4;13448:8;13444:19;13438:4;13417:47;:::i;13955:217::-;13995:1;14021;14011:132;;14065:10;14060:3;14056:20;14053:1;14046:31;14100:4;14097:1;14090:15;14128:4;14125:1;14118:15;14011:132;-1:-1:-1;14157:9:1;;13955:217::o
Swarm Source
ipfs://110d5753f563f0685a27e966a071a86f5062bf5f7026371dad42a1bf3a3577a2
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.