Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 225 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Safe Transfer Fr... | 19733849 | 234 days ago | IN | 0 ETH | 0.00111878 | ||||
Withdraw | 19597881 | 253 days ago | IN | 0 ETH | 0.00062776 | ||||
Safe Transfer Fr... | 18629322 | 389 days ago | IN | 0 ETH | 0.00286416 | ||||
Special Mint | 18585358 | 395 days ago | IN | 0.019 ETH | 0.00293945 | ||||
Mint | 18584985 | 395 days ago | IN | 0.031 ETH | 0.00215982 | ||||
Mint | 18584577 | 395 days ago | IN | 0.031 ETH | 0.00164996 | ||||
Mint | 18584400 | 395 days ago | IN | 0.031 ETH | 0.00173847 | ||||
Mint | 18584002 | 395 days ago | IN | 0.031 ETH | 0.00133358 | ||||
Mint | 18583173 | 395 days ago | IN | 0.031 ETH | 0.00169056 | ||||
Mint | 18575173 | 397 days ago | IN | 0.031 ETH | 0.00131933 | ||||
Special Mint | 18574120 | 397 days ago | IN | 0.019 ETH | 0.00177694 | ||||
Special Mint | 18569509 | 397 days ago | IN | 0.019 ETH | 0.00220931 | ||||
Edit Tokens | 18568801 | 397 days ago | IN | 0 ETH | 0.0014706 | ||||
Mint | 18568699 | 397 days ago | IN | 0.036 ETH | 0.00186642 | ||||
Edit Tokens | 18568605 | 397 days ago | IN | 0 ETH | 0.00304093 | ||||
Mint | 18568215 | 397 days ago | IN | 0.036 ETH | 0.00139575 | ||||
Special Mint | 18561693 | 398 days ago | IN | 0.019 ETH | 0.00243858 | ||||
Special Mint | 18561403 | 398 days ago | IN | 0.019 ETH | 0.00162879 | ||||
Safe Transfer Fr... | 18553187 | 400 days ago | IN | 0 ETH | 0.00104882 | ||||
Mint | 18550236 | 400 days ago | IN | 0.036 ETH | 0.00223936 | ||||
Set Approval For... | 18546612 | 401 days ago | IN | 0 ETH | 0.00048697 | ||||
Special Mint | 18546401 | 401 days ago | IN | 0.019 ETH | 0.00178612 | ||||
Special Mint | 18538313 | 402 days ago | IN | 0.019 ETH | 0.00246432 | ||||
Mint | 18535027 | 402 days ago | IN | 0.036 ETH | 0.00307058 | ||||
Mint | 18533246 | 402 days ago | IN | 0.036 ETH | 0.00152715 |
Loading...
Loading
Contract Name:
RamenDAO
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; import {ERC1155} from "./ramendao-1155-base.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {ECDSA} from "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract RamenDAO is ERC1155, Ownable { struct Token { string uri; // uri for this token uint256 totalMinted; // how many exist uint256 maxSupply; // how many CAN exist uint256 price; // how much does it cost } mapping(uint256 => Token) public tokens; //ICryptoNomadsClub private immutable CNC = ICryptoNomadsClub(0x951416CB5A9c5379Ae696AcB07CB8E25aEfAD370); //CNC address address signer; uint256 latestNonce; // Events event ChangedSigner(address indexed newSigner); event TokensEdited(uint256[] indexed id, string[] uris, uint256[] maxSupply, uint256[] price); event Withdraw(address indexed to, uint256 indexed amount, uint256 indexed timestamp); // Custom errors error LengthMismatch(); error TransferFailed(); error SoldOut(); error IncorrectMintFunction(); error InsufficientEth(); error Unauthorized(); error NoReplay(); // allows the owner to change the signer address used for specialmint function changeSigner(address newSigner) onlyOwner external { signer = newSigner; emit ChangedSigner(newSigner); } // retrieves the uri of a specific token function uri(uint256 id) public view override returns (string memory){ return tokens[id].uri; } // allows the owner to create or edit tokens to be minted function editTokens(uint256[] calldata id, string[] calldata uris, uint256[] calldata maxSupply, uint256[] calldata price) external onlyOwner { uint256 idsLength = id.length; if (idsLength != uris.length || idsLength != maxSupply.length || idsLength != price.length) { revert LengthMismatch(); } for (uint256 i = 0; i < idsLength; ) { tokens[id[i]].uri = uris[i]; tokens[id[i]].maxSupply = maxSupply[i]; tokens[id[i]].price = price[i]; unchecked { ++i; } } emit TokensEdited(id, uris, maxSupply, price); } // allows the owner to withdraw all eth in contract function withdraw() onlyOwner external { (bool success, ) = msg.sender.call{value: address(this).balance}(""); if (!success) { revert TransferFailed(); } emit Withdraw(msg.sender, address(this).balance, block.timestamp); } // Mint functions // function mint(uint256 id, uint256 amount) payable external { if (tokens[id].totalMinted + amount > tokens[id].maxSupply) { revert SoldOut(); } if (id >= 1000) { revert IncorrectMintFunction(); } if (msg.value < amount * tokens[id].price) { revert InsufficientEth(); } // increment count for total minted tokens[id].totalMinted += amount; _mint(msg.sender, id, amount, ""); } // special mint function. This should use offchain logic to verify ownership // it should use signature verification, checking against the stored "Signer" address function specialMint(uint256 id, uint256 amount, uint256 nonce, bytes calldata signature) payable external { if (_verify(_hash(msg.sender, id, amount, nonce), signature) != signer) { revert Unauthorized(); } if(nonce <= latestNonce) { revert NoReplay(); } if (tokens[id].totalMinted + amount > tokens[id].maxSupply) { revert SoldOut(); } if (id < 1000) { revert IncorrectMintFunction(); } if (msg.value < amount * tokens[id].price ) { revert InsufficientEth(); } // increment count for total minted tokens[id].totalMinted += amount; // update latest nonce latestNonce = nonce; _mint(msg.sender, id, amount, ""); } // Signature functions // // forms the message digest made up of whitelisted address and token Id whitelisted for the token function _hash(address whitelistedWallet, uint256 tokenId, uint256 amount, uint256 nonce) internal pure returns (bytes32) { return ECDSA.toEthSignedMessageHash(keccak256(abi.encodePacked(whitelistedWallet, tokenId, amount, nonce))); } //Returns the address that signed the `digest` to produce `signature` function _verify(bytes32 digest, bytes calldata signature) internal pure returns (address) { return ECDSA.recover(digest, signature); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 message) { // 32 is the length in bytes of hash, // enforced by the type signature above /// @solidity memory-safe-assembly assembly { mstore(0x00, "\x19Ethereum Signed Message:\n32") mstore(0x1c, hash) message := keccak256(0x00, 0x3c) } } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 data) { /// @solidity memory-safe-assembly assembly { let ptr := mload(0x40) mstore(ptr, "\x19\x01") mstore(add(ptr, 0x02), domainSeparator) mstore(add(ptr, 0x22), structHash) data := keccak256(ptr, 0x42) } } /** * @dev Returns an Ethereum Signed Data with intended validator, created from a * `validator` and `data` according to the version 0 of EIP-191. * * See {recover}. */ function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x00", validator, data)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @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 up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (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; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) 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. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 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. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); 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 (rounding == Rounding.Up && 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 down. * * 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 + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * 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 + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * 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 + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * 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 + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; import "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(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) { 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] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); 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 keccak256(bytes(a)) == keccak256(bytes(b)); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Minimalist and gas efficient standard ERC1155 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC1155.sol) abstract contract ERC1155 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event TransferSingle( address indexed operator, address indexed from, address indexed to, uint256 id, uint256 amount ); event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] amounts ); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); event URI(string value, uint256 indexed id); /*////////////////////////////////////////////////////////////// CUSTOM ERRORS //////////////////////////////////////////////////////////////*/ error SoulboundToken(); /*////////////////////////////////////////////////////////////// ERC1155 STORAGE //////////////////////////////////////////////////////////////*/ mapping(address => mapping(uint256 => uint256)) public balanceOf; mapping(address => mapping(address => bool)) public isApprovedForAll; /*////////////////////////////////////////////////////////////// METADATA LOGIC //////////////////////////////////////////////////////////////*/ function uri(uint256 id) public view virtual returns (string memory); /*////////////////////////////////////////////////////////////// ERC1155 LOGIC //////////////////////////////////////////////////////////////*/ function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) public virtual { require(msg.sender == from || isApprovedForAll[from][msg.sender], "NOT_AUTHORIZED"); // if ID is over 1000, the token is soulbound if (id >= 1000) { revert SoulboundToken(); } balanceOf[from][id] -= amount; balanceOf[to][id] += amount; emit TransferSingle(msg.sender, from, to, id, amount); require( to.code.length == 0 ? to != address(0) : ERC1155TokenReceiver(to).onERC1155Received(msg.sender, from, id, amount, data) == ERC1155TokenReceiver.onERC1155Received.selector, "UNSAFE_RECIPIENT" ); } function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) public virtual { require(ids.length == amounts.length, "LENGTH_MISMATCH"); require(msg.sender == from || isApprovedForAll[from][msg.sender], "NOT_AUTHORIZED"); // Storing these outside the loop saves ~15 gas per iteration. uint256 id; uint256 amount; for (uint256 i = 0; i < ids.length; ) { id = ids[i]; // if ID is over 1000, the token is soulbound if (id >= 1000) { revert SoulboundToken(); } amount = amounts[i]; balanceOf[from][id] -= amount; balanceOf[to][id] += amount; // An array can't have a total length // larger than the max uint256 value. unchecked { ++i; } } emit TransferBatch(msg.sender, from, to, ids, amounts); require( to.code.length == 0 ? to != address(0) : ERC1155TokenReceiver(to).onERC1155BatchReceived(msg.sender, from, ids, amounts, data) == ERC1155TokenReceiver.onERC1155BatchReceived.selector, "UNSAFE_RECIPIENT" ); } function balanceOfBatch(address[] calldata owners, uint256[] calldata ids) public view virtual returns (uint256[] memory balances) { require(owners.length == ids.length, "LENGTH_MISMATCH"); balances = new uint256[](owners.length); // Unchecked because the only math done is incrementing // the array index counter which cannot possibly overflow. unchecked { for (uint256 i = 0; i < owners.length; ++i) { balances[i] = balanceOf[owners[i]][ids[i]]; } } } /*////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0xd9b67a26 || // ERC165 Interface ID for ERC1155 interfaceId == 0x0e89341c; // ERC165 Interface ID for ERC1155MetadataURI } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { balanceOf[to][id] += amount; emit TransferSingle(msg.sender, address(0), to, id, amount); require( to.code.length == 0 ? to != address(0) : ERC1155TokenReceiver(to).onERC1155Received(msg.sender, address(0), id, amount, data) == ERC1155TokenReceiver.onERC1155Received.selector, "UNSAFE_RECIPIENT" ); } } /// @notice A generic interface for a contract which properly accepts ERC1155 tokens. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC1155.sol) abstract contract ERC1155TokenReceiver { function onERC1155Received( address, address, uint256, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC1155TokenReceiver.onERC1155Received.selector; } function onERC1155BatchReceived( address, address, uint256[] calldata, uint256[] calldata, bytes calldata ) external virtual returns (bytes4) { return ERC1155TokenReceiver.onERC1155BatchReceived.selector; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"name":"IncorrectMintFunction","type":"error"},{"inputs":[],"name":"InsufficientEth","type":"error"},{"inputs":[],"name":"LengthMismatch","type":"error"},{"inputs":[],"name":"NoReplay","type":"error"},{"inputs":[],"name":"SoldOut","type":"error"},{"inputs":[],"name":"SoulboundToken","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"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":"newSigner","type":"address"}],"name":"ChangedSigner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256[]","name":"id","type":"uint256[]"},{"indexed":false,"internalType":"string[]","name":"uris","type":"string[]"},{"indexed":false,"internalType":"uint256[]","name":"maxSupply","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"price","type":"uint256[]"}],"name":"TokensEdited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"owners","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"balances","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"changeSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"id","type":"uint256[]"},{"internalType":"string[]","name":"uris","type":"string[]"},{"internalType":"uint256[]","name":"maxSupply","type":"uint256[]"},{"internalType":"uint256[]","name":"price","type":"uint256[]"}],"name":"editTokens","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":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","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":"uint256","name":"amount","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":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"specialMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"string","name":"uri","type":"string"},{"internalType":"uint256","name":"totalMinted","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5062000032620000266200003860201b60201c565b6200004060201b60201c565b62000106565b600033905090565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6138f280620001166000396000f3fe6080604052600436106100fd5760003560e01c80634f64b2be11610095578063a22cb46511610064578063a22cb46514610319578063aad2b72314610342578063e985e9c51461036b578063f242432a146103a8578063f2fde38b146103d1576100fd565b80634f64b2be1461026e5780635c7f9035146102ae578063715018a6146102d75780638da5cb5b146102ee576100fd565b80631d820137116100d15780631d820137146101d55780632eb2c2d6146101f15780633ccfd60b1461021a5780634e1273f414610231576100fd565b8062fdd58e1461010257806301ffc9a71461013f5780630e89341c1461017c5780631b2ef1ca146101b9575b600080fd5b34801561010e57600080fd5b506101296004803603810190610124919061209d565b6103fa565b60405161013691906120ec565b60405180910390f35b34801561014b57600080fd5b506101666004803603810190610161919061215f565b61041f565b60405161017391906121a7565b60405180910390f35b34801561018857600080fd5b506101a3600480360381019061019e91906121c2565b6104b1565b6040516101b0919061227f565b60405180910390f35b6101d360048036038101906101ce91906122a1565b610559565b005b6101ef60048036038101906101ea9190612346565b6106ac565b005b3480156101fd57600080fd5b5061021860048036038101906102139190612424565b6108e1565b005b34801561022657600080fd5b5061022f610d78565b005b34801561023d57600080fd5b5061025860048036038101906102539190612556565b610e6b565b6040516102659190612695565b60405180910390f35b34801561027a57600080fd5b50610295600480360381019061029091906121c2565b610fd4565b6040516102a594939291906126b7565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d09190612759565b61108c565b005b3480156102e357600080fd5b506102ec61126d565b005b3480156102fa57600080fd5b50610303611281565b6040516103109190612851565b60405180910390f35b34801561032557600080fd5b50610340600480360381019061033b9190612898565b6112ab565b005b34801561034e57600080fd5b50610369600480360381019061036491906128d8565b6113a8565b005b34801561037757600080fd5b50610392600480360381019061038d9190612905565b611437565b60405161039f91906121a7565b60405180910390f35b3480156103b457600080fd5b506103cf60048036038101906103ca9190612945565b611466565b005b3480156103dd57600080fd5b506103f860048036038101906103f391906128d8565b611854565b005b6000602052816000526040600020602052806000526040600020600091509150505481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061047a575063d9b67a2660e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104aa5750630e89341c60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606003600083815260200190815260200160002060000180546104d490612a0e565b80601f016020809104026020016040519081016040528092919081815260200182805461050090612a0e565b801561054d5780601f106105225761010080835404028352916020019161054d565b820191906000526020600020905b81548152906001019060200180831161053057829003601f168201915b50505050509050919050565b60036000838152602001908152602001600020600201548160036000858152602001908152602001600020600101546105929190612a6e565b11156105ca576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6103e88210610605576040517f47601bea00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6003600083815260200190815260200160002060030154816106279190612aa2565b341015610660576040517fa01a9df600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806003600084815260200190815260200160002060010160008282546106869190612a6e565b925050819055506106a8338383604051806020016040528060008152506118d7565b5050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166106fb6106f433888888611b23565b8484611b64565b73ffffffffffffffffffffffffffffffffffffffff1614610748576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005548311610783576040517f1bff1f9500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60036000868152602001908152602001600020600201548460036000888152602001908152602001600020600101546107bc9190612a6e565b11156107f4576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6103e8851015610830576040517f47601bea00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6003600086815260200190815260200160002060030154846108529190612aa2565b34101561088b576040517fa01a9df600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b836003600087815260200190815260200160002060010160008282546108b19190612a6e565b92505081905550826005819055506108da338686604051806020016040528060008152506118d7565b5050505050565b838390508686905014610929576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092090612b30565b60405180910390fd5b8773ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806109e95750600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1f90612b9c565b60405180910390fd5b60008060005b88889050811015610b8357888882818110610a4c57610a4b612bbc565b5b9050602002013592506103e88310610a90576040517f6e10574900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b868682818110610aa357610aa2612bbc565b5b905060200201359150816000808d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000206000828254610b0b9190612beb565b92505081905550816000808c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000206000828254610b719190612a6e565b92505081905550806001019050610a2e565b508873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8b8b8b8b604051610bfe9493929190612c89565b60405180910390a460008973ffffffffffffffffffffffffffffffffffffffff163b14610cfb5763bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168973ffffffffffffffffffffffffffffffffffffffff1663bc197c81338d8c8c8c8c8c8c6040518963ffffffff1660e01b8152600401610c93989796959493929190612d11565b6020604051808303816000875af1158015610cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd69190612d94565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614610d2d565b600073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614155b610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6390612e0d565b60405180910390fd5b50505050505050505050565b610d80611bbd565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610da690612e5e565b60006040518083038185875af1925050503d8060008114610de3576040519150601f19603f3d011682016040523d82523d6000602084013e610de8565b606091505b5050905080610e23576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b42473373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b56860405160405180910390a450565b6060828290508585905014610eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eac90612b30565b60405180910390fd5b8484905067ffffffffffffffff811115610ed257610ed1612e73565b5b604051908082528060200260200182016040528015610f005781602001602082028036833780820191505090505b50905060005b85859050811015610fcb57600080878784818110610f2757610f26612bbc565b5b9050602002016020810190610f3c91906128d8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858584818110610f8b57610f8a612bbc565b5b90506020020135815260200190815260200160002054828281518110610fb457610fb3612bbc565b5b602002602001018181525050806001019050610f06565b50949350505050565b6003602052806000526040600020600091509050806000018054610ff790612a0e565b80601f016020809104026020016040519081016040528092919081815260200182805461102390612a0e565b80156110705780601f1061104557610100808354040283529160200191611070565b820191906000526020600020905b81548152906001019060200180831161105357829003601f168201915b5050505050908060010154908060020154908060030154905084565b611094611bbd565b600088889050905086869050811415806110b15750848490508114155b806110bf5750828290508114155b156110f6576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156112085787878281811061111457611113612bbc565b5b90506020028101906111269190612eb1565b600360008d8d8681811061113d5761113c612bbc565b5b90506020020135815260200190815260200160002060000191826111629291906130cb565b5085858281811061117657611175612bbc565b5b90506020020135600360008c8c8581811061119457611193612bbc565b5b905060200201358152602001908152602001600020600201819055508383828181106111c3576111c2612bbc565b5b90506020020135600360008c8c858181106111e1576111e0612bbc565b5b905060200201358152602001908152602001600020600301819055508060010190506110f9565b508888604051611219929190613202565b60405180910390207fa9c92eb4a99e4de26e71763842d2d30e6e7794979e417fa1b7ead1de125b825b88888888888860405161125a9695949392919061337f565b60405180910390a2505050505050505050565b611275611bbd565b61127f6000611c3b565b565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b80600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161139c91906121a7565b60405180910390a35050565b6113b0611bbd565b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f5cf1735f1350de7c05f30a25d6fc56e0cd343859cea70b63dafb8d35afb5bc0860405160405180910390a250565b60016020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b8573ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806115265750600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611565576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155c90612b9c565b60405180910390fd5b6103e884106115a0576040517f6e10574900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826000808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086815260200190815260200160002060008282546115ff9190612beb565b92505081905550826000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086815260200190815260200160002060008282546116659190612a6e565b925050819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516116e29291906133d1565b60405180910390a460008573ffffffffffffffffffffffffffffffffffffffff163b146117db5763f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168573ffffffffffffffffffffffffffffffffffffffff1663f23a6e613389888888886040518763ffffffff1660e01b8152600401611773969594939291906133fa565b6020604051808303816000875af1158015611792573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b69190612d94565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461180d565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b61184c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184390612e0d565b60405180910390fd5b505050505050565b61185c611bbd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036118cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c2906134c8565b60405180910390fd5b6118d481611c3b565b50565b816000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060008282546119369190612a6e565b925050819055508373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6286866040516119b49291906133d1565b60405180910390a460008473ffffffffffffffffffffffffffffffffffffffff163b14611aac5763f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663f23a6e613360008787876040518663ffffffff1660e01b8152600401611a4495949392919061352c565b6020604051808303816000875af1158015611a63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a879190612d94565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611ade565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b611b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1490612e0d565b60405180910390fd5b50505050565b6000611b5a85858585604051602001611b3f94939291906135ef565b60405160208183030381529060405280519060200120611d01565b9050949350505050565b6000611bb48484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611d37565b90509392505050565b611bc5611d5e565b73ffffffffffffffffffffffffffffffffffffffff16611be3611281565b73ffffffffffffffffffffffffffffffffffffffff1614611c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3090613689565b60405180910390fd5b565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60007f19457468657265756d205369676e6564204d6573736167653a0a33320000000060005281601c52603c6000209050919050565b6000806000611d468585611d66565b91509150611d5381611db7565b819250505092915050565b600033905090565b6000806041835103611da75760008060006020860151925060408601519150606086015160001a9050611d9b87828585611f1d565b94509450505050611db0565b60006002915091505b9250929050565b60006004811115611dcb57611dca6136a9565b5b816004811115611dde57611ddd6136a9565b5b0315611f1a5760016004811115611df857611df76136a9565b5b816004811115611e0b57611e0a6136a9565b5b03611e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4290613724565b60405180910390fd5b60026004811115611e5f57611e5e6136a9565b5b816004811115611e7257611e716136a9565b5b03611eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea990613790565b60405180910390fd5b60036004811115611ec657611ec56136a9565b5b816004811115611ed957611ed86136a9565b5b03611f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1090613822565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115611f58576000600391509150611ff6565b600060018787878760405160008152602001604052604051611f7d9493929190613877565b6020604051602081039080840390855afa158015611f9f573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611fed57600060019250925050611ff6565b80600092509250505b94509492505050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061203482612009565b9050919050565b61204481612029565b811461204f57600080fd5b50565b6000813590506120618161203b565b92915050565b6000819050919050565b61207a81612067565b811461208557600080fd5b50565b60008135905061209781612071565b92915050565b600080604083850312156120b4576120b3611fff565b5b60006120c285828601612052565b92505060206120d385828601612088565b9150509250929050565b6120e681612067565b82525050565b600060208201905061210160008301846120dd565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61213c81612107565b811461214757600080fd5b50565b60008135905061215981612133565b92915050565b60006020828403121561217557612174611fff565b5b60006121838482850161214a565b91505092915050565b60008115159050919050565b6121a18161218c565b82525050565b60006020820190506121bc6000830184612198565b92915050565b6000602082840312156121d8576121d7611fff565b5b60006121e684828501612088565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561222957808201518184015260208101905061220e565b60008484015250505050565b6000601f19601f8301169050919050565b6000612251826121ef565b61225b81856121fa565b935061226b81856020860161220b565b61227481612235565b840191505092915050565b600060208201905081810360008301526122998184612246565b905092915050565b600080604083850312156122b8576122b7611fff565b5b60006122c685828601612088565b92505060206122d785828601612088565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112612306576123056122e1565b5b8235905067ffffffffffffffff811115612323576123226122e6565b5b60208301915083600182028301111561233f5761233e6122eb565b5b9250929050565b60008060008060006080868803121561236257612361611fff565b5b600061237088828901612088565b955050602061238188828901612088565b945050604061239288828901612088565b935050606086013567ffffffffffffffff8111156123b3576123b2612004565b5b6123bf888289016122f0565b92509250509295509295909350565b60008083601f8401126123e4576123e36122e1565b5b8235905067ffffffffffffffff811115612401576124006122e6565b5b60208301915083602082028301111561241d5761241c6122eb565b5b9250929050565b60008060008060008060008060a0898b03121561244457612443611fff565b5b60006124528b828c01612052565b98505060206124638b828c01612052565b975050604089013567ffffffffffffffff81111561248457612483612004565b5b6124908b828c016123ce565b9650965050606089013567ffffffffffffffff8111156124b3576124b2612004565b5b6124bf8b828c016123ce565b9450945050608089013567ffffffffffffffff8111156124e2576124e1612004565b5b6124ee8b828c016122f0565b92509250509295985092959890939650565b60008083601f840112612516576125156122e1565b5b8235905067ffffffffffffffff811115612533576125326122e6565b5b60208301915083602082028301111561254f5761254e6122eb565b5b9250929050565b600080600080604085870312156125705761256f611fff565b5b600085013567ffffffffffffffff81111561258e5761258d612004565b5b61259a87828801612500565b9450945050602085013567ffffffffffffffff8111156125bd576125bc612004565b5b6125c9878288016123ce565b925092505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61260c81612067565b82525050565b600061261e8383612603565b60208301905092915050565b6000602082019050919050565b6000612642826125d7565b61264c81856125e2565b9350612657836125f3565b8060005b8381101561268857815161266f8882612612565b975061267a8361262a565b92505060018101905061265b565b5085935050505092915050565b600060208201905081810360008301526126af8184612637565b905092915050565b600060808201905081810360008301526126d18187612246565b90506126e060208301866120dd565b6126ed60408301856120dd565b6126fa60608301846120dd565b95945050505050565b60008083601f840112612719576127186122e1565b5b8235905067ffffffffffffffff811115612736576127356122e6565b5b602083019150836020820283011115612752576127516122eb565b5b9250929050565b6000806000806000806000806080898b03121561277957612778611fff565b5b600089013567ffffffffffffffff81111561279757612796612004565b5b6127a38b828c016123ce565b9850985050602089013567ffffffffffffffff8111156127c6576127c5612004565b5b6127d28b828c01612703565b9650965050604089013567ffffffffffffffff8111156127f5576127f4612004565b5b6128018b828c016123ce565b9450945050606089013567ffffffffffffffff81111561282457612823612004565b5b6128308b828c016123ce565b92509250509295985092959890939650565b61284b81612029565b82525050565b60006020820190506128666000830184612842565b92915050565b6128758161218c565b811461288057600080fd5b50565b6000813590506128928161286c565b92915050565b600080604083850312156128af576128ae611fff565b5b60006128bd85828601612052565b92505060206128ce85828601612883565b9150509250929050565b6000602082840312156128ee576128ed611fff565b5b60006128fc84828501612052565b91505092915050565b6000806040838503121561291c5761291b611fff565b5b600061292a85828601612052565b925050602061293b85828601612052565b9150509250929050565b60008060008060008060a0878903121561296257612961611fff565b5b600061297089828a01612052565b965050602061298189828a01612052565b955050604061299289828a01612088565b94505060606129a389828a01612088565b935050608087013567ffffffffffffffff8111156129c4576129c3612004565b5b6129d089828a016122f0565b92509250509295509295509295565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612a2657607f821691505b602082108103612a3957612a386129df565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612a7982612067565b9150612a8483612067565b9250828201905080821115612a9c57612a9b612a3f565b5b92915050565b6000612aad82612067565b9150612ab883612067565b9250828202612ac681612067565b91508282048414831517612add57612adc612a3f565b5b5092915050565b7f4c454e4754485f4d49534d415443480000000000000000000000000000000000600082015250565b6000612b1a600f836121fa565b9150612b2582612ae4565b602082019050919050565b60006020820190508181036000830152612b4981612b0d565b9050919050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b6000612b86600e836121fa565b9150612b9182612b50565b602082019050919050565b60006020820190508181036000830152612bb581612b79565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000612bf682612067565b9150612c0183612067565b9250828203905081811115612c1957612c18612a3f565b5b92915050565b600080fd5b82818337505050565b6000612c3983856125e2565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115612c6c57612c6b612c1f565b5b602083029250612c7d838584612c24565b82840190509392505050565b60006040820190508181036000830152612ca4818688612c2d565b90508181036020830152612cb9818486612c2d565b905095945050505050565b600082825260208201905092915050565b82818337600083830152505050565b6000612cf08385612cc4565b9350612cfd838584612cd5565b612d0683612235565b840190509392505050565b600060a082019050612d26600083018b612842565b612d33602083018a612842565b8181036040830152612d4681888a612c2d565b90508181036060830152612d5b818688612c2d565b90508181036080830152612d70818486612ce4565b90509998505050505050505050565b600081519050612d8e81612133565b92915050565b600060208284031215612daa57612da9611fff565b5b6000612db884828501612d7f565b91505092915050565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b6000612df76010836121fa565b9150612e0282612dc1565b602082019050919050565b60006020820190508181036000830152612e2681612dea565b9050919050565b600081905092915050565b50565b6000612e48600083612e2d565b9150612e5382612e38565b600082019050919050565b6000612e6982612e3b565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112612ece57612ecd612ea2565b5b80840192508235915067ffffffffffffffff821115612ef057612eef612ea7565b5b602083019250600182023603831315612f0c57612f0b612eac565b5b509250929050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612f817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612f44565b612f8b8683612f44565b95508019841693508086168417925050509392505050565b6000819050919050565b6000612fc8612fc3612fbe84612067565b612fa3565b612067565b9050919050565b6000819050919050565b612fe283612fad565b612ff6612fee82612fcf565b848454612f51565b825550505050565b600090565b61300b612ffe565b613016818484612fd9565b505050565b5b8181101561303a5761302f600082613003565b60018101905061301c565b5050565b601f82111561307f5761305081612f1f565b61305984612f34565b81016020851015613068578190505b61307c61307485612f34565b83018261301b565b50505b505050565b600082821c905092915050565b60006130a260001984600802613084565b1980831691505092915050565b60006130bb8383613091565b9150826002028217905092915050565b6130d58383612f14565b67ffffffffffffffff8111156130ee576130ed612e73565b5b6130f88254612a0e565b61310382828561303e565b6000601f8311600181146131325760008415613120578287013590505b61312a85826130af565b865550613192565b601f19841661314086612f1f565b60005b8281101561316857848901358255600182019150602085019450602081019050613143565b868310156131855784890135613181601f891682613091565b8355505b6001600288020188555050505b50505050505050565b600081905092915050565b60006131b2838561319b565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156131e5576131e4612c1f565b5b6020830292506131f6838584612c24565b82840190509392505050565b600061320f8284866131a6565b91508190509392505050565b600082825260208201905092915050565b6000819050919050565b600082825260208201905092915050565b60006132538385613236565b9350613260838584612cd5565b61326983612235565b840190509392505050565b6000613281848484613247565b90509392505050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126132b6576132b5613294565b5b83810192508235915060208301925067ffffffffffffffff8211156132de576132dd61328a565b5b6001820236038313156132f4576132f361328f565b5b509250929050565b6000602082019050919050565b6000613315838561321b565b9350836020840285016133278461322c565b8060005b8781101561336d5784840389526133428284613299565b61334d868284613274565b9550613358846132fc565b935060208b019a50505060018101905061332b565b50829750879450505050509392505050565b6000606082019050818103600083015261339a81888a613309565b905081810360208301526133af818688612c2d565b905081810360408301526133c4818486612c2d565b9050979650505050505050565b60006040820190506133e660008301856120dd565b6133f360208301846120dd565b9392505050565b600060a08201905061340f6000830189612842565b61341c6020830188612842565b61342960408301876120dd565b61343660608301866120dd565b8181036080830152613449818486612ce4565b9050979650505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006134b26026836121fa565b91506134bd82613456565b604082019050919050565b600060208201905081810360008301526134e1816134a5565b9050919050565b600081519050919050565b60006134fe826134e8565b6135088185612cc4565b935061351881856020860161220b565b61352181612235565b840191505092915050565b600060a0820190506135416000830188612842565b61354e6020830187612842565b61355b60408301866120dd565b61356860608301856120dd565b818103608083015261357a81846134f3565b90509695505050505050565b60008160601b9050919050565b600061359e82613586565b9050919050565b60006135b082613593565b9050919050565b6135c86135c382612029565b6135a5565b82525050565b6000819050919050565b6135e96135e482612067565b6135ce565b82525050565b60006135fb82876135b7565b60148201915061360b82866135d8565b60208201915061361b82856135d8565b60208201915061362b82846135d8565b60208201915081905095945050505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006136736020836121fa565b915061367e8261363d565b602082019050919050565b600060208201905081810360008301526136a281613666565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061370e6018836121fa565b9150613719826136d8565b602082019050919050565b6000602082019050818103600083015261373d81613701565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061377a601f836121fa565b915061378582613744565b602082019050919050565b600060208201905081810360008301526137a98161376d565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061380c6022836121fa565b9150613817826137b0565b604082019050919050565b6000602082019050818103600083015261383b816137ff565b9050919050565b6000819050919050565b61385581613842565b82525050565b600060ff82169050919050565b6138718161385b565b82525050565b600060808201905061388c600083018761384c565b6138996020830186613868565b6138a6604083018561384c565b6138b3606083018461384c565b9594505050505056fea26469706673582212200de6df82a999c6314268fa084bb147b93c4bf57aee9e96179d10eb1e4f90faf564736f6c63430008120033
Deployed Bytecode
0x6080604052600436106100fd5760003560e01c80634f64b2be11610095578063a22cb46511610064578063a22cb46514610319578063aad2b72314610342578063e985e9c51461036b578063f242432a146103a8578063f2fde38b146103d1576100fd565b80634f64b2be1461026e5780635c7f9035146102ae578063715018a6146102d75780638da5cb5b146102ee576100fd565b80631d820137116100d15780631d820137146101d55780632eb2c2d6146101f15780633ccfd60b1461021a5780634e1273f414610231576100fd565b8062fdd58e1461010257806301ffc9a71461013f5780630e89341c1461017c5780631b2ef1ca146101b9575b600080fd5b34801561010e57600080fd5b506101296004803603810190610124919061209d565b6103fa565b60405161013691906120ec565b60405180910390f35b34801561014b57600080fd5b506101666004803603810190610161919061215f565b61041f565b60405161017391906121a7565b60405180910390f35b34801561018857600080fd5b506101a3600480360381019061019e91906121c2565b6104b1565b6040516101b0919061227f565b60405180910390f35b6101d360048036038101906101ce91906122a1565b610559565b005b6101ef60048036038101906101ea9190612346565b6106ac565b005b3480156101fd57600080fd5b5061021860048036038101906102139190612424565b6108e1565b005b34801561022657600080fd5b5061022f610d78565b005b34801561023d57600080fd5b5061025860048036038101906102539190612556565b610e6b565b6040516102659190612695565b60405180910390f35b34801561027a57600080fd5b50610295600480360381019061029091906121c2565b610fd4565b6040516102a594939291906126b7565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d09190612759565b61108c565b005b3480156102e357600080fd5b506102ec61126d565b005b3480156102fa57600080fd5b50610303611281565b6040516103109190612851565b60405180910390f35b34801561032557600080fd5b50610340600480360381019061033b9190612898565b6112ab565b005b34801561034e57600080fd5b50610369600480360381019061036491906128d8565b6113a8565b005b34801561037757600080fd5b50610392600480360381019061038d9190612905565b611437565b60405161039f91906121a7565b60405180910390f35b3480156103b457600080fd5b506103cf60048036038101906103ca9190612945565b611466565b005b3480156103dd57600080fd5b506103f860048036038101906103f391906128d8565b611854565b005b6000602052816000526040600020602052806000526040600020600091509150505481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061047a575063d9b67a2660e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104aa5750630e89341c60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606003600083815260200190815260200160002060000180546104d490612a0e565b80601f016020809104026020016040519081016040528092919081815260200182805461050090612a0e565b801561054d5780601f106105225761010080835404028352916020019161054d565b820191906000526020600020905b81548152906001019060200180831161053057829003601f168201915b50505050509050919050565b60036000838152602001908152602001600020600201548160036000858152602001908152602001600020600101546105929190612a6e565b11156105ca576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6103e88210610605576040517f47601bea00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6003600083815260200190815260200160002060030154816106279190612aa2565b341015610660576040517fa01a9df600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806003600084815260200190815260200160002060010160008282546106869190612a6e565b925050819055506106a8338383604051806020016040528060008152506118d7565b5050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166106fb6106f433888888611b23565b8484611b64565b73ffffffffffffffffffffffffffffffffffffffff1614610748576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005548311610783576040517f1bff1f9500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60036000868152602001908152602001600020600201548460036000888152602001908152602001600020600101546107bc9190612a6e565b11156107f4576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6103e8851015610830576040517f47601bea00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6003600086815260200190815260200160002060030154846108529190612aa2565b34101561088b576040517fa01a9df600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b836003600087815260200190815260200160002060010160008282546108b19190612a6e565b92505081905550826005819055506108da338686604051806020016040528060008152506118d7565b5050505050565b838390508686905014610929576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092090612b30565b60405180910390fd5b8773ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806109e95750600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1f90612b9c565b60405180910390fd5b60008060005b88889050811015610b8357888882818110610a4c57610a4b612bbc565b5b9050602002013592506103e88310610a90576040517f6e10574900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b868682818110610aa357610aa2612bbc565b5b905060200201359150816000808d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000206000828254610b0b9190612beb565b92505081905550816000808c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000206000828254610b719190612a6e565b92505081905550806001019050610a2e565b508873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8b8b8b8b604051610bfe9493929190612c89565b60405180910390a460008973ffffffffffffffffffffffffffffffffffffffff163b14610cfb5763bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168973ffffffffffffffffffffffffffffffffffffffff1663bc197c81338d8c8c8c8c8c8c6040518963ffffffff1660e01b8152600401610c93989796959493929190612d11565b6020604051808303816000875af1158015610cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd69190612d94565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614610d2d565b600073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614155b610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6390612e0d565b60405180910390fd5b50505050505050505050565b610d80611bbd565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610da690612e5e565b60006040518083038185875af1925050503d8060008114610de3576040519150601f19603f3d011682016040523d82523d6000602084013e610de8565b606091505b5050905080610e23576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b42473373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b56860405160405180910390a450565b6060828290508585905014610eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eac90612b30565b60405180910390fd5b8484905067ffffffffffffffff811115610ed257610ed1612e73565b5b604051908082528060200260200182016040528015610f005781602001602082028036833780820191505090505b50905060005b85859050811015610fcb57600080878784818110610f2757610f26612bbc565b5b9050602002016020810190610f3c91906128d8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858584818110610f8b57610f8a612bbc565b5b90506020020135815260200190815260200160002054828281518110610fb457610fb3612bbc565b5b602002602001018181525050806001019050610f06565b50949350505050565b6003602052806000526040600020600091509050806000018054610ff790612a0e565b80601f016020809104026020016040519081016040528092919081815260200182805461102390612a0e565b80156110705780601f1061104557610100808354040283529160200191611070565b820191906000526020600020905b81548152906001019060200180831161105357829003601f168201915b5050505050908060010154908060020154908060030154905084565b611094611bbd565b600088889050905086869050811415806110b15750848490508114155b806110bf5750828290508114155b156110f6576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156112085787878281811061111457611113612bbc565b5b90506020028101906111269190612eb1565b600360008d8d8681811061113d5761113c612bbc565b5b90506020020135815260200190815260200160002060000191826111629291906130cb565b5085858281811061117657611175612bbc565b5b90506020020135600360008c8c8581811061119457611193612bbc565b5b905060200201358152602001908152602001600020600201819055508383828181106111c3576111c2612bbc565b5b90506020020135600360008c8c858181106111e1576111e0612bbc565b5b905060200201358152602001908152602001600020600301819055508060010190506110f9565b508888604051611219929190613202565b60405180910390207fa9c92eb4a99e4de26e71763842d2d30e6e7794979e417fa1b7ead1de125b825b88888888888860405161125a9695949392919061337f565b60405180910390a2505050505050505050565b611275611bbd565b61127f6000611c3b565b565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b80600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161139c91906121a7565b60405180910390a35050565b6113b0611bbd565b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f5cf1735f1350de7c05f30a25d6fc56e0cd343859cea70b63dafb8d35afb5bc0860405160405180910390a250565b60016020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b8573ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806115265750600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611565576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155c90612b9c565b60405180910390fd5b6103e884106115a0576040517f6e10574900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826000808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086815260200190815260200160002060008282546115ff9190612beb565b92505081905550826000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086815260200190815260200160002060008282546116659190612a6e565b925050819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516116e29291906133d1565b60405180910390a460008573ffffffffffffffffffffffffffffffffffffffff163b146117db5763f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168573ffffffffffffffffffffffffffffffffffffffff1663f23a6e613389888888886040518763ffffffff1660e01b8152600401611773969594939291906133fa565b6020604051808303816000875af1158015611792573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b69190612d94565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461180d565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b61184c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184390612e0d565b60405180910390fd5b505050505050565b61185c611bbd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036118cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c2906134c8565b60405180910390fd5b6118d481611c3b565b50565b816000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060008282546119369190612a6e565b925050819055508373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6286866040516119b49291906133d1565b60405180910390a460008473ffffffffffffffffffffffffffffffffffffffff163b14611aac5763f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663f23a6e613360008787876040518663ffffffff1660e01b8152600401611a4495949392919061352c565b6020604051808303816000875af1158015611a63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a879190612d94565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611ade565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b611b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1490612e0d565b60405180910390fd5b50505050565b6000611b5a85858585604051602001611b3f94939291906135ef565b60405160208183030381529060405280519060200120611d01565b9050949350505050565b6000611bb48484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611d37565b90509392505050565b611bc5611d5e565b73ffffffffffffffffffffffffffffffffffffffff16611be3611281565b73ffffffffffffffffffffffffffffffffffffffff1614611c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3090613689565b60405180910390fd5b565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60007f19457468657265756d205369676e6564204d6573736167653a0a33320000000060005281601c52603c6000209050919050565b6000806000611d468585611d66565b91509150611d5381611db7565b819250505092915050565b600033905090565b6000806041835103611da75760008060006020860151925060408601519150606086015160001a9050611d9b87828585611f1d565b94509450505050611db0565b60006002915091505b9250929050565b60006004811115611dcb57611dca6136a9565b5b816004811115611dde57611ddd6136a9565b5b0315611f1a5760016004811115611df857611df76136a9565b5b816004811115611e0b57611e0a6136a9565b5b03611e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4290613724565b60405180910390fd5b60026004811115611e5f57611e5e6136a9565b5b816004811115611e7257611e716136a9565b5b03611eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea990613790565b60405180910390fd5b60036004811115611ec657611ec56136a9565b5b816004811115611ed957611ed86136a9565b5b03611f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1090613822565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115611f58576000600391509150611ff6565b600060018787878760405160008152602001604052604051611f7d9493929190613877565b6020604051602081039080840390855afa158015611f9f573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611fed57600060019250925050611ff6565b80600092509250505b94509492505050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061203482612009565b9050919050565b61204481612029565b811461204f57600080fd5b50565b6000813590506120618161203b565b92915050565b6000819050919050565b61207a81612067565b811461208557600080fd5b50565b60008135905061209781612071565b92915050565b600080604083850312156120b4576120b3611fff565b5b60006120c285828601612052565b92505060206120d385828601612088565b9150509250929050565b6120e681612067565b82525050565b600060208201905061210160008301846120dd565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61213c81612107565b811461214757600080fd5b50565b60008135905061215981612133565b92915050565b60006020828403121561217557612174611fff565b5b60006121838482850161214a565b91505092915050565b60008115159050919050565b6121a18161218c565b82525050565b60006020820190506121bc6000830184612198565b92915050565b6000602082840312156121d8576121d7611fff565b5b60006121e684828501612088565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561222957808201518184015260208101905061220e565b60008484015250505050565b6000601f19601f8301169050919050565b6000612251826121ef565b61225b81856121fa565b935061226b81856020860161220b565b61227481612235565b840191505092915050565b600060208201905081810360008301526122998184612246565b905092915050565b600080604083850312156122b8576122b7611fff565b5b60006122c685828601612088565b92505060206122d785828601612088565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112612306576123056122e1565b5b8235905067ffffffffffffffff811115612323576123226122e6565b5b60208301915083600182028301111561233f5761233e6122eb565b5b9250929050565b60008060008060006080868803121561236257612361611fff565b5b600061237088828901612088565b955050602061238188828901612088565b945050604061239288828901612088565b935050606086013567ffffffffffffffff8111156123b3576123b2612004565b5b6123bf888289016122f0565b92509250509295509295909350565b60008083601f8401126123e4576123e36122e1565b5b8235905067ffffffffffffffff811115612401576124006122e6565b5b60208301915083602082028301111561241d5761241c6122eb565b5b9250929050565b60008060008060008060008060a0898b03121561244457612443611fff565b5b60006124528b828c01612052565b98505060206124638b828c01612052565b975050604089013567ffffffffffffffff81111561248457612483612004565b5b6124908b828c016123ce565b9650965050606089013567ffffffffffffffff8111156124b3576124b2612004565b5b6124bf8b828c016123ce565b9450945050608089013567ffffffffffffffff8111156124e2576124e1612004565b5b6124ee8b828c016122f0565b92509250509295985092959890939650565b60008083601f840112612516576125156122e1565b5b8235905067ffffffffffffffff811115612533576125326122e6565b5b60208301915083602082028301111561254f5761254e6122eb565b5b9250929050565b600080600080604085870312156125705761256f611fff565b5b600085013567ffffffffffffffff81111561258e5761258d612004565b5b61259a87828801612500565b9450945050602085013567ffffffffffffffff8111156125bd576125bc612004565b5b6125c9878288016123ce565b925092505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61260c81612067565b82525050565b600061261e8383612603565b60208301905092915050565b6000602082019050919050565b6000612642826125d7565b61264c81856125e2565b9350612657836125f3565b8060005b8381101561268857815161266f8882612612565b975061267a8361262a565b92505060018101905061265b565b5085935050505092915050565b600060208201905081810360008301526126af8184612637565b905092915050565b600060808201905081810360008301526126d18187612246565b90506126e060208301866120dd565b6126ed60408301856120dd565b6126fa60608301846120dd565b95945050505050565b60008083601f840112612719576127186122e1565b5b8235905067ffffffffffffffff811115612736576127356122e6565b5b602083019150836020820283011115612752576127516122eb565b5b9250929050565b6000806000806000806000806080898b03121561277957612778611fff565b5b600089013567ffffffffffffffff81111561279757612796612004565b5b6127a38b828c016123ce565b9850985050602089013567ffffffffffffffff8111156127c6576127c5612004565b5b6127d28b828c01612703565b9650965050604089013567ffffffffffffffff8111156127f5576127f4612004565b5b6128018b828c016123ce565b9450945050606089013567ffffffffffffffff81111561282457612823612004565b5b6128308b828c016123ce565b92509250509295985092959890939650565b61284b81612029565b82525050565b60006020820190506128666000830184612842565b92915050565b6128758161218c565b811461288057600080fd5b50565b6000813590506128928161286c565b92915050565b600080604083850312156128af576128ae611fff565b5b60006128bd85828601612052565b92505060206128ce85828601612883565b9150509250929050565b6000602082840312156128ee576128ed611fff565b5b60006128fc84828501612052565b91505092915050565b6000806040838503121561291c5761291b611fff565b5b600061292a85828601612052565b925050602061293b85828601612052565b9150509250929050565b60008060008060008060a0878903121561296257612961611fff565b5b600061297089828a01612052565b965050602061298189828a01612052565b955050604061299289828a01612088565b94505060606129a389828a01612088565b935050608087013567ffffffffffffffff8111156129c4576129c3612004565b5b6129d089828a016122f0565b92509250509295509295509295565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612a2657607f821691505b602082108103612a3957612a386129df565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612a7982612067565b9150612a8483612067565b9250828201905080821115612a9c57612a9b612a3f565b5b92915050565b6000612aad82612067565b9150612ab883612067565b9250828202612ac681612067565b91508282048414831517612add57612adc612a3f565b5b5092915050565b7f4c454e4754485f4d49534d415443480000000000000000000000000000000000600082015250565b6000612b1a600f836121fa565b9150612b2582612ae4565b602082019050919050565b60006020820190508181036000830152612b4981612b0d565b9050919050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b6000612b86600e836121fa565b9150612b9182612b50565b602082019050919050565b60006020820190508181036000830152612bb581612b79565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000612bf682612067565b9150612c0183612067565b9250828203905081811115612c1957612c18612a3f565b5b92915050565b600080fd5b82818337505050565b6000612c3983856125e2565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115612c6c57612c6b612c1f565b5b602083029250612c7d838584612c24565b82840190509392505050565b60006040820190508181036000830152612ca4818688612c2d565b90508181036020830152612cb9818486612c2d565b905095945050505050565b600082825260208201905092915050565b82818337600083830152505050565b6000612cf08385612cc4565b9350612cfd838584612cd5565b612d0683612235565b840190509392505050565b600060a082019050612d26600083018b612842565b612d33602083018a612842565b8181036040830152612d4681888a612c2d565b90508181036060830152612d5b818688612c2d565b90508181036080830152612d70818486612ce4565b90509998505050505050505050565b600081519050612d8e81612133565b92915050565b600060208284031215612daa57612da9611fff565b5b6000612db884828501612d7f565b91505092915050565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b6000612df76010836121fa565b9150612e0282612dc1565b602082019050919050565b60006020820190508181036000830152612e2681612dea565b9050919050565b600081905092915050565b50565b6000612e48600083612e2d565b9150612e5382612e38565b600082019050919050565b6000612e6982612e3b565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112612ece57612ecd612ea2565b5b80840192508235915067ffffffffffffffff821115612ef057612eef612ea7565b5b602083019250600182023603831315612f0c57612f0b612eac565b5b509250929050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612f817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612f44565b612f8b8683612f44565b95508019841693508086168417925050509392505050565b6000819050919050565b6000612fc8612fc3612fbe84612067565b612fa3565b612067565b9050919050565b6000819050919050565b612fe283612fad565b612ff6612fee82612fcf565b848454612f51565b825550505050565b600090565b61300b612ffe565b613016818484612fd9565b505050565b5b8181101561303a5761302f600082613003565b60018101905061301c565b5050565b601f82111561307f5761305081612f1f565b61305984612f34565b81016020851015613068578190505b61307c61307485612f34565b83018261301b565b50505b505050565b600082821c905092915050565b60006130a260001984600802613084565b1980831691505092915050565b60006130bb8383613091565b9150826002028217905092915050565b6130d58383612f14565b67ffffffffffffffff8111156130ee576130ed612e73565b5b6130f88254612a0e565b61310382828561303e565b6000601f8311600181146131325760008415613120578287013590505b61312a85826130af565b865550613192565b601f19841661314086612f1f565b60005b8281101561316857848901358255600182019150602085019450602081019050613143565b868310156131855784890135613181601f891682613091565b8355505b6001600288020188555050505b50505050505050565b600081905092915050565b60006131b2838561319b565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156131e5576131e4612c1f565b5b6020830292506131f6838584612c24565b82840190509392505050565b600061320f8284866131a6565b91508190509392505050565b600082825260208201905092915050565b6000819050919050565b600082825260208201905092915050565b60006132538385613236565b9350613260838584612cd5565b61326983612235565b840190509392505050565b6000613281848484613247565b90509392505050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126132b6576132b5613294565b5b83810192508235915060208301925067ffffffffffffffff8211156132de576132dd61328a565b5b6001820236038313156132f4576132f361328f565b5b509250929050565b6000602082019050919050565b6000613315838561321b565b9350836020840285016133278461322c565b8060005b8781101561336d5784840389526133428284613299565b61334d868284613274565b9550613358846132fc565b935060208b019a50505060018101905061332b565b50829750879450505050509392505050565b6000606082019050818103600083015261339a81888a613309565b905081810360208301526133af818688612c2d565b905081810360408301526133c4818486612c2d565b9050979650505050505050565b60006040820190506133e660008301856120dd565b6133f360208301846120dd565b9392505050565b600060a08201905061340f6000830189612842565b61341c6020830188612842565b61342960408301876120dd565b61343660608301866120dd565b8181036080830152613449818486612ce4565b9050979650505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006134b26026836121fa565b91506134bd82613456565b604082019050919050565b600060208201905081810360008301526134e1816134a5565b9050919050565b600081519050919050565b60006134fe826134e8565b6135088185612cc4565b935061351881856020860161220b565b61352181612235565b840191505092915050565b600060a0820190506135416000830188612842565b61354e6020830187612842565b61355b60408301866120dd565b61356860608301856120dd565b818103608083015261357a81846134f3565b90509695505050505050565b60008160601b9050919050565b600061359e82613586565b9050919050565b60006135b082613593565b9050919050565b6135c86135c382612029565b6135a5565b82525050565b6000819050919050565b6135e96135e482612067565b6135ce565b82525050565b60006135fb82876135b7565b60148201915061360b82866135d8565b60208201915061361b82856135d8565b60208201915061362b82846135d8565b60208201915081905095945050505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006136736020836121fa565b915061367e8261363d565b602082019050919050565b600060208201905081810360008301526136a281613666565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061370e6018836121fa565b9150613719826136d8565b602082019050919050565b6000602082019050818103600083015261373d81613701565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061377a601f836121fa565b915061378582613744565b602082019050919050565b600060208201905081810360008301526137a98161376d565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061380c6022836121fa565b9150613817826137b0565b604082019050919050565b6000602082019050818103600083015261383b816137ff565b9050919050565b6000819050919050565b61385581613842565b82525050565b600060ff82169050919050565b6138718161385b565b82525050565b600060808201905061388c600083018761384c565b6138996020830186613868565b6138a6604083018561384c565b6138b3606083018461384c565b9594505050505056fea26469706673582212200de6df82a999c6314268fa084bb147b93c4bf57aee9e96179d10eb1e4f90faf564736f6c63430008120033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
POL | 100.00% | $0.604707 | 0.049 | $0.029631 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.