Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
0
Holders
118
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x990efC21...b12E697c8 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
GenTickets
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-04-03 */ // File: @openzeppelin/contracts/introspection/ERC165Checker.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @dev Library used to query support of an interface declared via {IERC165}. * * Note that these functions return the actual result of the query: they do not * `revert` if an interface is not supported. It is up to the caller to decide * what to do in these cases. */ library ERC165Checker { // As per the EIP-165 spec, no interface should ever match 0xffffffff bytes4 private constant _INTERFACE_ID_INVALID = 0xffffffff; /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Returns true if `account` supports the {IERC165} interface, */ function supportsERC165(address account) internal view returns (bool) { // Any contract that implements ERC165 must explicitly indicate support of // InterfaceId_ERC165 and explicitly indicate non-support of InterfaceId_Invalid return _supportsERC165Interface(account, _INTERFACE_ID_ERC165) && !_supportsERC165Interface(account, _INTERFACE_ID_INVALID); } /** * @dev Returns true if `account` supports the interface defined by * `interfaceId`. Support for {IERC165} itself is queried automatically. * * See {IERC165-supportsInterface}. */ function supportsInterface(address account, bytes4 interfaceId) internal view returns (bool) { // query support of both ERC165 as per the spec and support of _interfaceId return supportsERC165(account) && _supportsERC165Interface(account, interfaceId); } /** * @dev Returns a boolean array where each value corresponds to the * interfaces passed in and whether they're supported or not. This allows * you to batch check interfaces for a contract where your expectation * is that some interfaces may not be supported. * * See {IERC165-supportsInterface}. * * _Available since v3.4._ */ function getSupportedInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool[] memory) { // an array of booleans corresponding to interfaceIds and whether they're supported or not bool[] memory interfaceIdsSupported = new bool[](interfaceIds.length); // query support of ERC165 itself if (supportsERC165(account)) { // query support of each interface in interfaceIds for (uint256 i = 0; i < interfaceIds.length; i++) { interfaceIdsSupported[i] = _supportsERC165Interface(account, interfaceIds[i]); } } return interfaceIdsSupported; } /** * @dev Returns true if `account` supports all the interfaces defined in * `interfaceIds`. Support for {IERC165} itself is queried automatically. * * Batch-querying can lead to gas savings by skipping repeated checks for * {IERC165} support. * * See {IERC165-supportsInterface}. */ function supportsAllInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool) { // query support of ERC165 itself if (!supportsERC165(account)) { return false; } // query support of each interface in _interfaceIds for (uint256 i = 0; i < interfaceIds.length; i++) { if (!_supportsERC165Interface(account, interfaceIds[i])) { return false; } } // all interfaces supported return true; } /** * @notice Query if a contract implements an interface, does not check ERC165 support * @param account The address of the contract to query for support of an interface * @param interfaceId The interface identifier, as specified in ERC-165 * @return true if the contract at account indicates support of the interface with * identifier interfaceId, false otherwise * @dev Assumes that account contains a contract that supports ERC165, otherwise * the behavior of this method is undefined. This precondition can be checked * with {supportsERC165}. * Interface identification is specified in ERC-165. */ function _supportsERC165Interface(address account, bytes4 interfaceId) private view returns (bool) { // success determines whether the staticcall succeeded and result determines // whether the contract at account indicates support of _interfaceId (bool success, bool result) = _callERC165SupportsInterface(account, interfaceId); return (success && result); } /** * @notice Calls the function with selector 0x01ffc9a7 (ERC165) and suppresses throw * @param account The address of the contract to query for support of an interface * @param interfaceId The interface identifier, as specified in ERC-165 * @return success true if the STATICCALL succeeded, false otherwise * @return result true if the STATICCALL succeeded and the contract at account * indicates support of the interface with identifier interfaceId, false otherwise */ function _callERC165SupportsInterface(address account, bytes4 interfaceId) private view returns (bool, bool) { bytes memory encodedParams = abi.encodeWithSelector(_INTERFACE_ID_ERC165, interfaceId); (bool success, bytes memory result) = account.staticcall{ gas: 30000 }(encodedParams); if (result.length < 32) return (false, false); return (success, abi.decode(result, (bool))); } } // File: @openzeppelin/contracts/introspection/IERC165.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC1155/IERC1155.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external; } // File: @openzeppelin/contracts/token/ERC1155/IERC1155MetadataURI.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol pragma solidity >=0.6.0 <0.8.0; /** * _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns(bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns(bytes4); } // File: @openzeppelin/contracts/utils/Context.sol pragma solidity >=0.6.0 <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 GSN 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 payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/introspection/ERC165.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC1155/ERC1155.sol pragma solidity >=0.6.0 <0.8.0; /** * * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using SafeMath for uint256; using Address for address; // Mapping from token ID to account balances mapping (uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping (address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /* * bytes4(keccak256('balanceOf(address,uint256)')) == 0x00fdd58e * bytes4(keccak256('balanceOfBatch(address[],uint256[])')) == 0x4e1273f4 * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('safeTransferFrom(address,address,uint256,uint256,bytes)')) == 0xf242432a * bytes4(keccak256('safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)')) == 0x2eb2c2d6 * * => 0x00fdd58e ^ 0x4e1273f4 ^ 0xa22cb465 ^ * 0xe985e9c5 ^ 0xf242432a ^ 0x2eb2c2d6 == 0xd9b67a26 */ bytes4 private constant _INTERFACE_ID_ERC1155 = 0xd9b67a26; /* * bytes4(keccak256('uri(uint256)')) == 0x0e89341c */ bytes4 private constant _INTERFACE_ID_ERC1155_METADATA_URI = 0x0e89341c; /** * @dev See {_setURI}. */ constructor (string memory uri_) public { _setURI(uri_); // register the supported interfaces to conform to ERC1155 via ERC165 _registerInterface(_INTERFACE_ID_ERC1155); // register the supported interfaces to conform to ERC1155MetadataURI via ERC165 _registerInterface(_INTERFACE_ID_ERC1155_METADATA_URI); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) external view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch( address[] memory accounts, uint256[] memory ids ) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(_msgSender() != operator, "ERC1155: setting approval status for self"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require(to != address(0), "ERC1155: transfer to the zero address"); require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][from] = _balances[id][from].sub(amount, "ERC1155: insufficient balance for transfer"); _balances[id][to] = _balances[id][to].add(amount); emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; _balances[id][from] = _balances[id][from].sub( amount, "ERC1155: insufficient balance for transfer" ); _balances[id][to] = _balances[id][to].add(amount); } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`. * * Emits a {TransferSingle} event. * * Requirements: * * - `account` cannot be the zero address. * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual { require(account != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][account] = _balances[id][account].add(amount); emit TransferSingle(operator, address(0), account, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint i = 0; i < ids.length; i++) { _balances[ids[i]][to] = amounts[i].add(_balances[ids[i]][to]); } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `account` * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens of token type `id`. */ function _burn(address account, uint256 id, uint256 amount) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); _balances[id][account] = _balances[id][account].sub( amount, "ERC1155: burn amount exceeds balance" ); emit TransferSingle(operator, account, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch(address account, uint256[] memory ids, uint256[] memory amounts) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), ids, amounts, ""); for (uint i = 0; i < ids.length; i++) { _balances[ids[i]][account] = _balances[ids[i]][account].sub( amounts[i], "ERC1155: burn amount exceeds balance" ); } emit TransferBatch(operator, account, address(0), ids, amounts); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { } function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver(to).onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (bytes4 response) { if (response != IERC1155Receiver(to).onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } } // File: @openzeppelin/contracts/token/ERC1155/ERC1155Receiver.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev _Available since v3.1._ */ abstract contract ERC1155Receiver is ERC165, IERC1155Receiver { constructor() internal { _registerInterface( ERC1155Receiver(address(0)).onERC1155Received.selector ^ ERC1155Receiver(address(0)).onERC1155BatchReceived.selector ); } } // File: contracts/interfaces/IGenFactory.sol pragma solidity >=0.5.0; interface IGenFactory { event TicketCreated(address indexed caller, address indexed genTicket); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getGenTicket(address) external view returns (uint); function genTickets(uint) external view returns (address); function genTicketsLength() external view returns (uint); function createGenTicket( address _underlyingToken, uint256[] memory _numTickets, uint256[] memory _ticketSizes, uint[] memory _totalTranches, uint[] memory _cliffTranches, uint[] memory _trancheLength, string memory _uri ) external returns (address); function setFeeTo(address) external; function setFeeToSetter(address) external; } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: contracts/GenTickets.sol pragma solidity 0.6.12; //import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; contract GenTickets is ERC1155, ERC1155Receiver { using SafeMath for uint; //using SafeERC20 for IERC20; struct GenTicket { uint256 numTickets; uint256 ticketSize; uint totalTranches; uint cliffTranches; // In days uint trancheLength; // Each non-cliff tranche gets ticketsize / (total tranches - cliff tranches) } // Ticket id mod numTicketTypes determines tier // Ticket id div numTicketTypes determines tranche of ticket // When ticket is swapped in for tokens, the next ticket is minted to the user address public underlyingToken; mapping(uint256 => GenTicket) public genTickets; uint8 public numTicketTypes; IGenFactory public factory; address public issuer; bool public active = false; uint256 public balanceNeeded = 0; // Expected TGE timestamp, start at max uint256 uint public TGE = type(uint).max; bytes private constant VALIDATOR = bytes('JC'); constructor ( address _underlyingToken, uint256[] memory _numTickets, uint256[] memory _ticketSizes, uint[] memory _totalTranches, uint[] memory _cliffTranches, uint[] memory _trancheLength, string memory _uri, IGenFactory _factory, address _issuer ) public ERC1155(_uri) { underlyingToken = _underlyingToken; factory = _factory; issuer = _issuer; for (uint8 i = 0; i < 50; i++){ if (_numTickets.length == i){ numTicketTypes = i; break; } balanceNeeded += _numTickets[i].mul(_ticketSizes[i]); genTickets[i] = GenTicket(_numTickets[i], _ticketSizes[i], _totalTranches[i], _cliffTranches[i], _trancheLength[i]); } } function updateTGE(uint timestamp) external { require(msg.sender == issuer, "GenTickets: Only issuer can update TGE"); require(getBlockTimestamp() < TGE, "GenTickets: TGE already occurred"); require(getBlockTimestamp() < timestamp, "GenTickets: New TGE must be in the future"); // Determine whether we want to restrict this or not //require(!active, "Tokens are already active"); TGE = timestamp; } function issue(address _to) external { require(msg.sender == issuer, "GenTickets: Only issuer can issue the tokens"); require(!active, "GenTickets: Token is already active"); //require(IERC20(underlyingToken).balanceOf(address(this)) >= balanceNeeded, "GenTickets: Deposit more of the underlying tokens"); IERC20(underlyingToken).transferFrom(msg.sender, address(this), balanceNeeded); address feeTo = factory.feeTo(); bytes memory data; for (uint8 i = 0; i < 50; i++){ if (numTicketTypes == i){ break; } GenTicket memory ticketType = genTickets[i]; uint256 feeAmount = 0; if (feeTo != address(0)) { // 1% of tickets generated is sent to feeTo address feeAmount = ticketType.numTickets.div(100); if (feeAmount == 0) { feeAmount = 1; } _mint(feeTo, i, feeAmount, data); } _mint(_to, i, ticketType.numTickets - feeAmount, data); } active = true; } function redeemTicket(address _to, uint256 _id, uint256 _amount) public { uint tier = _id.mod(numTicketTypes); GenTicket memory ticketType = genTickets[tier]; // Check that we are past the cliff period for this ticket type require(getBlockTimestamp() > ticketType.trancheLength.mul(ticketType.cliffTranches).add(TGE), "GenTickets: Ticket is still within cliff period"); // Tranche past cliff uint tranche = _id.div(numTicketTypes); require(getBlockTimestamp() > ticketType.trancheLength.mul(ticketType.cliffTranches).add(ticketType.trancheLength.mul(tranche)).add(TGE), "GenTickets: Tokens for this ticket are being vested"); require(tranche < ticketType.totalTranches.sub(ticketType.cliffTranches), "GenTickets: Ticket has redeemed all tokens"); safeTransferFrom(address(msg.sender), address(this), _id, _amount, VALIDATOR); // Transfer underlying tokens with corresponding ticket size IERC20(underlyingToken).transfer(_to, _amount.mul(ticketType.ticketSize).div(ticketType.totalTranches.sub(ticketType.cliffTranches))); bytes memory data; _mint(_to, _id.add(numTicketTypes), _amount, data); } function getBlockTimestamp() internal view returns (uint) { // solium-disable-next-line security/no-block-members return block.timestamp; } /** * ERC1155 Token ERC1155Receiver */ function onERC1155Received(address _operator, address _from, uint256 _id, uint256 _value, bytes calldata _data) override external returns(bytes4) { if(keccak256(_data) == keccak256(VALIDATOR)){ return 0xf23a6e61; } } function onERC1155BatchReceived(address _operator, address _from, uint256[] calldata _ids, uint256[] calldata _values, bytes calldata _data) override external returns(bytes4) { if(keccak256(_data) == keccak256(VALIDATOR)){ return 0xbc197c81; } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_underlyingToken","type":"address"},{"internalType":"uint256[]","name":"_numTickets","type":"uint256[]"},{"internalType":"uint256[]","name":"_ticketSizes","type":"uint256[]"},{"internalType":"uint256[]","name":"_totalTranches","type":"uint256[]"},{"internalType":"uint256[]","name":"_cliffTranches","type":"uint256[]"},{"internalType":"uint256[]","name":"_trancheLength","type":"uint256[]"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"contract IGenFactory","name":"_factory","type":"address"},{"internalType":"address","name":"_issuer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"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":"values","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":"value","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"},{"inputs":[],"name":"TGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceNeeded","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract IGenFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"genTickets","outputs":[{"internalType":"uint256","name":"numTickets","type":"uint256"},{"internalType":"uint256","name":"ticketSize","type":"uint256"},{"internalType":"uint256","name":"totalTranches","type":"uint256"},{"internalType":"uint256","name":"cliffTranches","type":"uint256"},{"internalType":"uint256","name":"trancheLength","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"issue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"issuer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTicketTypes","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_values","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"redeemTicket","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"underlyingToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"updateTGE","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000600760146101000a81548160ff02191690831515021790555060006008557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6009553480156200005557600080fd5b50604051620040173803806200401783398181016040526101208110156200007c57600080fd5b810190808051906020019092919080516040519392919084640100000000821115620000a757600080fd5b83820191506020820185811115620000be57600080fd5b8251866020820283011164010000000082111715620000dc57600080fd5b8083526020830192505050908051906020019060200280838360005b8381101562000115578082015181840152602081019050620000f8565b50505050905001604052602001805160405193929190846401000000008211156200013f57600080fd5b838201915060208201858111156200015657600080fd5b82518660208202830111640100000000821117156200017457600080fd5b8083526020830192505050908051906020019060200280838360005b83811015620001ad57808201518184015260208101905062000190565b5050505090500160405260200180516040519392919084640100000000821115620001d757600080fd5b83820191506020820185811115620001ee57600080fd5b82518660208202830111640100000000821117156200020c57600080fd5b8083526020830192505050908051906020019060200280838360005b838110156200024557808201518184015260208101905062000228565b50505050905001604052602001805160405193929190846401000000008211156200026f57600080fd5b838201915060208201858111156200028657600080fd5b8251866020820283011164010000000082111715620002a457600080fd5b8083526020830192505050908051906020019060200280838360005b83811015620002dd578082015181840152602081019050620002c0565b50505050905001604052602001805160405193929190846401000000008211156200030757600080fd5b838201915060208201858111156200031e57600080fd5b82518660208202830111640100000000821117156200033c57600080fd5b8083526020830192505050908051906020019060200280838360005b838110156200037557808201518184015260208101905062000358565b50505050905001604052602001805160405193929190846401000000008211156200039f57600080fd5b83820191506020820185811115620003b657600080fd5b8251866001820283011164010000000082111715620003d457600080fd5b8083526020830192505050908051906020019080838360005b838110156200040a578082015181840152602081019050620003ed565b50505050905090810190601f168015620004385780820380516001836020036101000a031916815260200191505b506040526020018051906020019092919080519060200190929190505050826200046f6301ffc9a760e01b6200072d60201b60201c565b62000480816200083660201b60201c565b6200049863d9b67a2660e01b6200072d60201b60201c565b620004b0630e89341c60e01b6200072d60201b60201c565b50620004d263bc197c8160e01b63f23a6e6160e01b186200072d60201b60201c565b88600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060005b60328160ff1610156200071d578060ff1689511415620005d35780600660006101000a81548160ff021916908360ff1602179055506200071d565b6200061b888260ff1681518110620005e757fe5b60200260200101518a8360ff1681518110620005ff57fe5b60200260200101516200085260201b6200257c1790919060201c565b6008600082825401925050819055506040518060a001604052808a8360ff16815181106200064557fe5b60200260200101518152602001898360ff16815181106200066257fe5b60200260200101518152602001888360ff16815181106200067f57fe5b60200260200101518152602001878360ff16815181106200069c57fe5b60200260200101518152602001868360ff1681518110620006b957fe5b6020026020010151815250600560008360ff1681526020019081526020016000206000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040155905050808060010191505062000598565b5050505050505050505062000983565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415620007ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b80600390805190602001906200084e929190620008dd565b5050565b600080831415620008675760009050620008d7565b60008284029050828482816200087957fe5b0414620008d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018062003ff66021913960400191505060405180910390fd5b809150505b92915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200092057805160ff191683800117855562000951565b8280016001018555821562000951579182015b828111156200095057825182559160200191906001019062000933565b5b50905062000960919062000964565b5090565b5b808211156200097f57600081600090555060010162000965565b5090565b61366380620009936000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c8063833ce3e1116100b8578063c45a01551161007c578063c45a015514610a1f578063e118658b14610a53578063e985e9c514610a74578063ed61cc9514610aee578063f23a6e6114610b0c578063f242432a14610c0c57610136565b8063833ce3e1146107955780638867596f146107c3578063a22cb465146107e1578063a27c282e14610831578063bc197c811461088957610136565b80632495a599116100ff5780632495a599146102fb5780632eb2c2d61461032f5780634e1273f4146105525780637145a6b2146106f357806371e928af1461075157610136565b8062fdd58e1461013b57806301ffc9a71461019d57806302fb0c5e146102005780630e89341c146102205780631d143848146102c7575b600080fd5b6101876004803603604081101561015157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d1b565b6040518082815260200191505060405180910390f35b6101e8600480360360208110156101b357600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610dfb565b60405180821515815260200191505060405180910390f35b610208610e62565b60405180821515815260200191505060405180910390f35b61024c6004803603602081101561023657600080fd5b8101908080359060200190929190505050610e75565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561028c578082015181840152602081019050610271565b50505050905090810190601f1680156102b95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102cf610f19565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610303610f3f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610550600480360360a081101561034557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156103a257600080fd5b8201836020820111156103b457600080fd5b803590602001918460208302840111640100000000831117156103d657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561043657600080fd5b82018360208201111561044857600080fd5b8035906020019184602083028401116401000000008311171561046a57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803590602001906401000000008111156104ca57600080fd5b8201836020820111156104dc57600080fd5b803590602001918460018302840111640100000000831117156104fe57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610f65565b005b61069c6004803603604081101561056857600080fd5b810190808035906020019064010000000081111561058557600080fd5b82018360208201111561059757600080fd5b803590602001918460208302840111640100000000831117156105b957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561061957600080fd5b82018360208201111561062b57600080fd5b8035906020019184602083028401116401000000008311171561064d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192905050506113f0565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156106df5780820151818401526020810190506106c4565b505050509050019250505060405180910390f35b61071f6004803603602081101561070957600080fd5b8101908080359060200190929190505050611502565b604051808681526020018581526020018481526020018381526020018281526020019550505050505060405180910390f35b6107936004803603602081101561076757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611538565b005b6107c1600480360360208110156107ab57600080fd5b810190808035906020019092919050505061191c565b005b6107cb611aa9565b6040518082815260200191505060405180910390f35b61082f600480360360408110156107f757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611aaf565b005b6108876004803603606081101561084757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050611c48565b005b6109ea600480360360a081101561089f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156108fc57600080fd5b82018360208201111561090e57600080fd5b8035906020019184602083028401116401000000008311171561093057600080fd5b90919293919293908035906020019064010000000081111561095157600080fd5b82018360208201111561096357600080fd5b8035906020019184602083028401116401000000008311171561098557600080fd5b9091929391929390803590602001906401000000008111156109a657600080fd5b8201836020820111156109b857600080fd5b803590602001918460018302840111640100000000831117156109da57600080fd5b9091929391929390505050612036565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b610a276120b6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a5b6120dc565b604051808260ff16815260200191505060405180910390f35b610ad660048036036040811015610a8a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506120ef565b60405180821515815260200191505060405180910390f35b610af6612183565b6040518082815260200191505060405180910390f35b610bd7600480360360a0811015610b2257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190640100000000811115610b9357600080fd5b820183602082011115610ba557600080fd5b80359060200191846001830284011164010000000083111715610bc757600080fd5b9091929391929390505050612189565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b610d19600480360360a0811015610c2257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190640100000000811115610c9357600080fd5b820183602082011115610ca557600080fd5b80359060200191846001830284011164010000000083111715610cc757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612207565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610da2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806133f5602b913960400191505060405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b600760149054906101000a900460ff1681565b606060038054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610f0d5780601f10610ee257610100808354040283529160200191610f0d565b820191906000526020600020905b815481529060010190602001808311610ef057829003601f168201915b50505050509050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8151835114610fbf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806135966028913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611045576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806134496025913960400191505060405180910390fd5b61104d612602565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061109357506110928561108d612602565b6120ef565b5b6110e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603281526020018061346e6032913960400191505060405180910390fd5b60006110f2612602565b905061110281878787878761260a565b60005b84518110156112d357600085828151811061111c57fe5b60200260200101519050600085838151811061113457fe5b602002602001015190506111bb816040518060600160405280602a81526020016134a0602a91396001600086815260200190815260200160002060008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126129092919063ffffffff16565b6001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611272816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126cc90919063ffffffff16565b6001600084815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050806001019050611105565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015611383578082015181840152602081019050611368565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156113c55780820151818401526020810190506113aa565b5050505090500194505050505060405180910390a46113e8818787878787612754565b505050505050565b6060815183511461144c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602981526020018061356d6029913960400191505060405180910390fd5b6060835167ffffffffffffffff8111801561146657600080fd5b506040519080825280602002602001820160405280156114955781602001602082028036833780820191505090505b50905060005b84518110156114f7576114d48582815181106114b357fe5b60200260200101518583815181106114c757fe5b6020026020010151610d1b565b8282815181106114e057fe5b60200260200101818152505080600101905061149b565b508091505092915050565b60056020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040154905085565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115de576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806135be602c913960400191505060405180910390fd5b600760149054906101000a900460ff1615611644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061360b6023913960400191505060405180910390fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33306008546040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156116f757600080fd5b505af115801561170b573d6000803e3d6000fd5b505050506040513d602081101561172157600080fd5b8101908080519060200190929190505050506000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663017e7e586040518163ffffffff1660e01b815260040160206040518083038186803b15801561179d57600080fd5b505afa1580156117b1573d6000803e3d6000fd5b505050506040513d60208110156117c757600080fd5b81019080805190602001909291905050509050606060005b60328160ff1610156118fb578060ff16600660009054906101000a900460ff1660ff16141561180d576118fb565b611815613213565b600560008360ff1681526020019081526020016000206040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905060008073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146118d7576118b760648360000151612ae390919063ffffffff16565b905060008114156118c757600190505b6118d6858460ff168387612b6c565b5b6118ec868460ff168385600001510387612b6c565b505080806001019150506117df565b506001600760146101000a81548160ff021916908315150217905550505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061351e6026913960400191505060405180910390fd5b6009546119cd612d6f565b10611a40576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f47656e5469636b6574733a2054474520616c7265616479206f6363757272656481525060200191505060405180910390fd5b80611a49612d6f565b10611a9f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806133cc6029913960400191505060405180910390fd5b8060098190555050565b60095481565b8173ffffffffffffffffffffffffffffffffffffffff16611ace612602565b73ffffffffffffffffffffffffffffffffffffffff161415611b3b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806135446029913960400191505060405180910390fd5b8060026000611b48612602565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611bf5612602565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6000611c6f600660009054906101000a900460ff1660ff1684612d7790919063ffffffff16565b9050611c79613213565b600560008381526020019081526020016000206040518060a0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820154815250509050611cfa600954611cec8360600151846080015161257c90919063ffffffff16565b6126cc90919063ffffffff16565b611d02612d6f565b11611d58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613373602f913960400191505060405180910390fd5b6000611d7f600660009054906101000a900460ff1660ff1686612ae390919063ffffffff16565b9050611dd8600954611dca611da184866080015161257c90919063ffffffff16565b611dbc8660600151876080015161257c90919063ffffffff16565b6126cc90919063ffffffff16565b6126cc90919063ffffffff16565b611de0612d6f565b11611e36576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806134eb6033913960400191505060405180910390fd5b611e5182606001518360400151612e0090919063ffffffff16565b8110611ea8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806133a2602a913960400191505060405180910390fd5b611eea333087876040518060400160405280600281526020017f4a43000000000000000000000000000000000000000000000000000000000000815250612207565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87611f6c611f4786606001518760400151612e0090919063ffffffff16565b611f5e87602001518a61257c90919063ffffffff16565b612ae390919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611fbf57600080fd5b505af1158015611fd3573d6000803e3d6000fd5b505050506040513d6020811015611fe957600080fd5b810190808051906020019092919050505050606061202d87612026600660009054906101000a900460ff1660ff16896126cc90919063ffffffff16565b8784612b6c565b50505050505050565b60006040518060400160405280600281526020017f4a43000000000000000000000000000000000000000000000000000000000000815250805190602001208383604051808383808284378083019250505092505050604051809103902014156120a95763bc197c8160e01b90506120aa565b5b98975050505050505050565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600660009054906101000a900460ff1681565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60085481565b60006040518060400160405280600281526020017f4a43000000000000000000000000000000000000000000000000000000000000815250805190602001208383604051808383808284378083019250505092505050604051809103902014156121fc5763f23a6e6160e01b90506121fd565b5b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561228d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806134496025913960400191505060405180910390fd5b612295612602565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806122db57506122da856122d5612602565b6120ef565b5b612330576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806134206029913960400191505060405180910390fd5b600061233a612602565b905061235a81878761234b88612e83565b61235488612e83565b8761260a565b6123d7836040518060600160405280602a81526020016134a0602a91396001600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126129092919063ffffffff16565b6001600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061248e836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126cc90919063ffffffff16565b6001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051808381526020018281526020019250505060405180910390a4612574818787878787612ef3565b505050505050565b60008083141561258f57600090506125fc565b60008284029050828482816125a057fe5b04146125f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806134ca6021913960400191505060405180910390fd5b809150505b92915050565b600033905090565b505050505050565b60008383111582906126bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612684578082015181840152602081019050612669565b50505050905090810190601f1680156126b15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082840390509392505050565b60008082840190508381101561274a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6127738473ffffffffffffffffffffffffffffffffffffffff16613200565b15612adb578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b8381101561282b578082015181840152602081019050612810565b50505050905001848103835286818151815260200191508051906020019060200280838360005b8381101561286d578082015181840152602081019050612852565b50505050905001848103825285818151815260200191508051906020019080838360005b838110156128ac578082015181840152602081019050612891565b50505050905090810190601f1680156128d95780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b1580156128fe57600080fd5b505af192505050801561293257506040513d602081101561291e57600080fd5b810190808051906020019092919050505060015b612a3c5761293e613260565b8061294957506129eb565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156129b0578082015181840152602081019050612995565b50505050905090810190601f1680156129dd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806133176034913960400191505060405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612ad9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602881526020018061334b6028913960400191505060405180910390fd5b505b505050505050565b6000808211612b5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381612b6357fe5b04905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612bf2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806135ea6021913960400191505060405180910390fd5b6000612bfc612602565b9050612c1d81600087612c0e88612e83565b612c1788612e83565b8761260a565b612c80836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126cc90919063ffffffff16565b6001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051808381526020018281526020019250505060405180910390a4612d6881600087878787612ef3565b5050505050565b600042905090565b6000808211612dee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f536166654d6174683a206d6f64756c6f206279207a65726f000000000000000081525060200191505060405180910390fd5b818381612df757fe5b06905092915050565b600082821115612e78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b606080600167ffffffffffffffff81118015612e9e57600080fd5b50604051908082528060200260200182016040528015612ecd5781602001602082028036833780820191505090505b5090508281600081518110612ede57fe5b60200260200101818152505080915050919050565b612f128473ffffffffffffffffffffffffffffffffffffffff16613200565b156131f8578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612fcb578082015181840152602081019050612fb0565b50505050905090810190601f168015612ff85780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b15801561301b57600080fd5b505af192505050801561304f57506040513d602081101561303b57600080fd5b810190808051906020019092919050505060015b6131595761305b613260565b806130665750613108565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156130cd5780820151818401526020810190506130b2565b50505050905090810190601f1680156130fa5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806133176034913960400191505060405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146131f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602881526020018061334b6028913960400191505060405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d101561327057613313565b60046000803e613281600051613253565b6308c379a081146132925750613313565b60405160043d036004823e80513d602482011167ffffffffffffffff821117156132be57505050613313565b808201805167ffffffffffffffff8111156132dd575050505050613313565b8060208301013d85018111156132f857505050505050613313565b61330182613242565b60208401016040528296505050505050505b9056fe455243313135353a207472616e7366657220746f206e6f6e2045524331313535526563656976657220696d706c656d656e746572455243313135353a204552433131353552656365697665722072656a656374656420746f6b656e7347656e5469636b6574733a205469636b6574206973207374696c6c2077697468696e20636c69666620706572696f6447656e5469636b6574733a205469636b6574206861732072656465656d656420616c6c20746f6b656e7347656e5469636b6574733a204e657720544745206d75737420626520696e2074686520667574757265455243313135353a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243313135353a207472616e7366657220746f20746865207a65726f2061646472657373455243313135353a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e73666572536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7747656e5469636b6574733a20546f6b656e7320666f722074686973207469636b657420617265206265696e672076657374656447656e5469636b6574733a204f6e6c79206973737565722063616e2075706461746520544745455243313135353a2073657474696e6720617070726f76616c2073746174757320666f722073656c66455243313135353a206163636f756e747320616e6420696473206c656e677468206d69736d61746368455243313135353a2069647320616e6420616d6f756e7473206c656e677468206d69736d6174636847656e5469636b6574733a204f6e6c79206973737565722063616e2069737375652074686520746f6b656e73455243313135353a206d696e7420746f20746865207a65726f206164647265737347656e5469636b6574733a20546f6b656e20697320616c726561647920616374697665a26469706673582212204da9b10f512cffac871beb7e3e6aeca836843f5ae3e9a973b75d0f548faac83564736f6c634300060c0033536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77000000000000000000000000e0b9a2c3e9f40cf74b2c7f591b2b0cca055c3112000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000003a00000000000000000000000000000000000000000000000000000000000000440000000000000000000000000b108c27139ca10462f6f802ee14e3e0cda4ab9f100000000000000000000000024777ae33a6a69c9eb73673d61765014618cd6340000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000068200000000000000000000000000000000000000000000000000000000000004e200000000000000000000000000000000000000000000000000000000000004110000000000000000000000000000000000000000000000000000000000000341000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003568747470733a2f2f636c6f756466726f6e742e67656e7368617264732e636f6d2f67656e7469636b6574732f7b69647d2e6a736f6e0000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101365760003560e01c8063833ce3e1116100b8578063c45a01551161007c578063c45a015514610a1f578063e118658b14610a53578063e985e9c514610a74578063ed61cc9514610aee578063f23a6e6114610b0c578063f242432a14610c0c57610136565b8063833ce3e1146107955780638867596f146107c3578063a22cb465146107e1578063a27c282e14610831578063bc197c811461088957610136565b80632495a599116100ff5780632495a599146102fb5780632eb2c2d61461032f5780634e1273f4146105525780637145a6b2146106f357806371e928af1461075157610136565b8062fdd58e1461013b57806301ffc9a71461019d57806302fb0c5e146102005780630e89341c146102205780631d143848146102c7575b600080fd5b6101876004803603604081101561015157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d1b565b6040518082815260200191505060405180910390f35b6101e8600480360360208110156101b357600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610dfb565b60405180821515815260200191505060405180910390f35b610208610e62565b60405180821515815260200191505060405180910390f35b61024c6004803603602081101561023657600080fd5b8101908080359060200190929190505050610e75565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561028c578082015181840152602081019050610271565b50505050905090810190601f1680156102b95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102cf610f19565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610303610f3f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610550600480360360a081101561034557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156103a257600080fd5b8201836020820111156103b457600080fd5b803590602001918460208302840111640100000000831117156103d657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561043657600080fd5b82018360208201111561044857600080fd5b8035906020019184602083028401116401000000008311171561046a57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803590602001906401000000008111156104ca57600080fd5b8201836020820111156104dc57600080fd5b803590602001918460018302840111640100000000831117156104fe57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610f65565b005b61069c6004803603604081101561056857600080fd5b810190808035906020019064010000000081111561058557600080fd5b82018360208201111561059757600080fd5b803590602001918460208302840111640100000000831117156105b957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561061957600080fd5b82018360208201111561062b57600080fd5b8035906020019184602083028401116401000000008311171561064d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192905050506113f0565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156106df5780820151818401526020810190506106c4565b505050509050019250505060405180910390f35b61071f6004803603602081101561070957600080fd5b8101908080359060200190929190505050611502565b604051808681526020018581526020018481526020018381526020018281526020019550505050505060405180910390f35b6107936004803603602081101561076757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611538565b005b6107c1600480360360208110156107ab57600080fd5b810190808035906020019092919050505061191c565b005b6107cb611aa9565b6040518082815260200191505060405180910390f35b61082f600480360360408110156107f757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611aaf565b005b6108876004803603606081101561084757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050611c48565b005b6109ea600480360360a081101561089f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156108fc57600080fd5b82018360208201111561090e57600080fd5b8035906020019184602083028401116401000000008311171561093057600080fd5b90919293919293908035906020019064010000000081111561095157600080fd5b82018360208201111561096357600080fd5b8035906020019184602083028401116401000000008311171561098557600080fd5b9091929391929390803590602001906401000000008111156109a657600080fd5b8201836020820111156109b857600080fd5b803590602001918460018302840111640100000000831117156109da57600080fd5b9091929391929390505050612036565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b610a276120b6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a5b6120dc565b604051808260ff16815260200191505060405180910390f35b610ad660048036036040811015610a8a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506120ef565b60405180821515815260200191505060405180910390f35b610af6612183565b6040518082815260200191505060405180910390f35b610bd7600480360360a0811015610b2257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190640100000000811115610b9357600080fd5b820183602082011115610ba557600080fd5b80359060200191846001830284011164010000000083111715610bc757600080fd5b9091929391929390505050612189565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b610d19600480360360a0811015610c2257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190640100000000811115610c9357600080fd5b820183602082011115610ca557600080fd5b80359060200191846001830284011164010000000083111715610cc757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612207565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610da2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806133f5602b913960400191505060405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b600760149054906101000a900460ff1681565b606060038054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610f0d5780601f10610ee257610100808354040283529160200191610f0d565b820191906000526020600020905b815481529060010190602001808311610ef057829003601f168201915b50505050509050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8151835114610fbf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806135966028913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611045576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806134496025913960400191505060405180910390fd5b61104d612602565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061109357506110928561108d612602565b6120ef565b5b6110e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603281526020018061346e6032913960400191505060405180910390fd5b60006110f2612602565b905061110281878787878761260a565b60005b84518110156112d357600085828151811061111c57fe5b60200260200101519050600085838151811061113457fe5b602002602001015190506111bb816040518060600160405280602a81526020016134a0602a91396001600086815260200190815260200160002060008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126129092919063ffffffff16565b6001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611272816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126cc90919063ffffffff16565b6001600084815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050806001019050611105565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015611383578082015181840152602081019050611368565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156113c55780820151818401526020810190506113aa565b5050505090500194505050505060405180910390a46113e8818787878787612754565b505050505050565b6060815183511461144c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602981526020018061356d6029913960400191505060405180910390fd5b6060835167ffffffffffffffff8111801561146657600080fd5b506040519080825280602002602001820160405280156114955781602001602082028036833780820191505090505b50905060005b84518110156114f7576114d48582815181106114b357fe5b60200260200101518583815181106114c757fe5b6020026020010151610d1b565b8282815181106114e057fe5b60200260200101818152505080600101905061149b565b508091505092915050565b60056020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040154905085565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115de576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806135be602c913960400191505060405180910390fd5b600760149054906101000a900460ff1615611644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061360b6023913960400191505060405180910390fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33306008546040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156116f757600080fd5b505af115801561170b573d6000803e3d6000fd5b505050506040513d602081101561172157600080fd5b8101908080519060200190929190505050506000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663017e7e586040518163ffffffff1660e01b815260040160206040518083038186803b15801561179d57600080fd5b505afa1580156117b1573d6000803e3d6000fd5b505050506040513d60208110156117c757600080fd5b81019080805190602001909291905050509050606060005b60328160ff1610156118fb578060ff16600660009054906101000a900460ff1660ff16141561180d576118fb565b611815613213565b600560008360ff1681526020019081526020016000206040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905060008073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146118d7576118b760648360000151612ae390919063ffffffff16565b905060008114156118c757600190505b6118d6858460ff168387612b6c565b5b6118ec868460ff168385600001510387612b6c565b505080806001019150506117df565b506001600760146101000a81548160ff021916908315150217905550505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061351e6026913960400191505060405180910390fd5b6009546119cd612d6f565b10611a40576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f47656e5469636b6574733a2054474520616c7265616479206f6363757272656481525060200191505060405180910390fd5b80611a49612d6f565b10611a9f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806133cc6029913960400191505060405180910390fd5b8060098190555050565b60095481565b8173ffffffffffffffffffffffffffffffffffffffff16611ace612602565b73ffffffffffffffffffffffffffffffffffffffff161415611b3b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806135446029913960400191505060405180910390fd5b8060026000611b48612602565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611bf5612602565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6000611c6f600660009054906101000a900460ff1660ff1684612d7790919063ffffffff16565b9050611c79613213565b600560008381526020019081526020016000206040518060a0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820154815250509050611cfa600954611cec8360600151846080015161257c90919063ffffffff16565b6126cc90919063ffffffff16565b611d02612d6f565b11611d58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613373602f913960400191505060405180910390fd5b6000611d7f600660009054906101000a900460ff1660ff1686612ae390919063ffffffff16565b9050611dd8600954611dca611da184866080015161257c90919063ffffffff16565b611dbc8660600151876080015161257c90919063ffffffff16565b6126cc90919063ffffffff16565b6126cc90919063ffffffff16565b611de0612d6f565b11611e36576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806134eb6033913960400191505060405180910390fd5b611e5182606001518360400151612e0090919063ffffffff16565b8110611ea8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806133a2602a913960400191505060405180910390fd5b611eea333087876040518060400160405280600281526020017f4a43000000000000000000000000000000000000000000000000000000000000815250612207565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87611f6c611f4786606001518760400151612e0090919063ffffffff16565b611f5e87602001518a61257c90919063ffffffff16565b612ae390919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611fbf57600080fd5b505af1158015611fd3573d6000803e3d6000fd5b505050506040513d6020811015611fe957600080fd5b810190808051906020019092919050505050606061202d87612026600660009054906101000a900460ff1660ff16896126cc90919063ffffffff16565b8784612b6c565b50505050505050565b60006040518060400160405280600281526020017f4a43000000000000000000000000000000000000000000000000000000000000815250805190602001208383604051808383808284378083019250505092505050604051809103902014156120a95763bc197c8160e01b90506120aa565b5b98975050505050505050565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600660009054906101000a900460ff1681565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60085481565b60006040518060400160405280600281526020017f4a43000000000000000000000000000000000000000000000000000000000000815250805190602001208383604051808383808284378083019250505092505050604051809103902014156121fc5763f23a6e6160e01b90506121fd565b5b9695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561228d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806134496025913960400191505060405180910390fd5b612295612602565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806122db57506122da856122d5612602565b6120ef565b5b612330576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806134206029913960400191505060405180910390fd5b600061233a612602565b905061235a81878761234b88612e83565b61235488612e83565b8761260a565b6123d7836040518060600160405280602a81526020016134a0602a91396001600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126129092919063ffffffff16565b6001600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061248e836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126cc90919063ffffffff16565b6001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051808381526020018281526020019250505060405180910390a4612574818787878787612ef3565b505050505050565b60008083141561258f57600090506125fc565b60008284029050828482816125a057fe5b04146125f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806134ca6021913960400191505060405180910390fd5b809150505b92915050565b600033905090565b505050505050565b60008383111582906126bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612684578082015181840152602081019050612669565b50505050905090810190601f1680156126b15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082840390509392505050565b60008082840190508381101561274a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6127738473ffffffffffffffffffffffffffffffffffffffff16613200565b15612adb578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b8381101561282b578082015181840152602081019050612810565b50505050905001848103835286818151815260200191508051906020019060200280838360005b8381101561286d578082015181840152602081019050612852565b50505050905001848103825285818151815260200191508051906020019080838360005b838110156128ac578082015181840152602081019050612891565b50505050905090810190601f1680156128d95780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b1580156128fe57600080fd5b505af192505050801561293257506040513d602081101561291e57600080fd5b810190808051906020019092919050505060015b612a3c5761293e613260565b8061294957506129eb565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156129b0578082015181840152602081019050612995565b50505050905090810190601f1680156129dd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806133176034913960400191505060405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612ad9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602881526020018061334b6028913960400191505060405180910390fd5b505b505050505050565b6000808211612b5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381612b6357fe5b04905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612bf2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806135ea6021913960400191505060405180910390fd5b6000612bfc612602565b9050612c1d81600087612c0e88612e83565b612c1788612e83565b8761260a565b612c80836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126cc90919063ffffffff16565b6001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051808381526020018281526020019250505060405180910390a4612d6881600087878787612ef3565b5050505050565b600042905090565b6000808211612dee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f536166654d6174683a206d6f64756c6f206279207a65726f000000000000000081525060200191505060405180910390fd5b818381612df757fe5b06905092915050565b600082821115612e78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b606080600167ffffffffffffffff81118015612e9e57600080fd5b50604051908082528060200260200182016040528015612ecd5781602001602082028036833780820191505090505b5090508281600081518110612ede57fe5b60200260200101818152505080915050919050565b612f128473ffffffffffffffffffffffffffffffffffffffff16613200565b156131f8578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612fcb578082015181840152602081019050612fb0565b50505050905090810190601f168015612ff85780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b15801561301b57600080fd5b505af192505050801561304f57506040513d602081101561303b57600080fd5b810190808051906020019092919050505060015b6131595761305b613260565b806130665750613108565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156130cd5780820151818401526020810190506130b2565b50505050905090810190601f1680156130fa5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806133176034913960400191505060405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146131f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602881526020018061334b6028913960400191505060405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d101561327057613313565b60046000803e613281600051613253565b6308c379a081146132925750613313565b60405160043d036004823e80513d602482011167ffffffffffffffff821117156132be57505050613313565b808201805167ffffffffffffffff8111156132dd575050505050613313565b8060208301013d85018111156132f857505050505050613313565b61330182613242565b60208401016040528296505050505050505b9056fe455243313135353a207472616e7366657220746f206e6f6e2045524331313535526563656976657220696d706c656d656e746572455243313135353a204552433131353552656365697665722072656a656374656420746f6b656e7347656e5469636b6574733a205469636b6574206973207374696c6c2077697468696e20636c69666620706572696f6447656e5469636b6574733a205469636b6574206861732072656465656d656420616c6c20746f6b656e7347656e5469636b6574733a204e657720544745206d75737420626520696e2074686520667574757265455243313135353a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243313135353a207472616e7366657220746f20746865207a65726f2061646472657373455243313135353a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e73666572536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7747656e5469636b6574733a20546f6b656e7320666f722074686973207469636b657420617265206265696e672076657374656447656e5469636b6574733a204f6e6c79206973737565722063616e2075706461746520544745455243313135353a2073657474696e6720617070726f76616c2073746174757320666f722073656c66455243313135353a206163636f756e747320616e6420696473206c656e677468206d69736d61746368455243313135353a2069647320616e6420616d6f756e7473206c656e677468206d69736d6174636847656e5469636b6574733a204f6e6c79206973737565722063616e2069737375652074686520746f6b656e73455243313135353a206d696e7420746f20746865207a65726f206164647265737347656e5469636b6574733a20546f6b656e20697320616c726561647920616374697665a26469706673582212204da9b10f512cffac871beb7e3e6aeca836843f5ae3e9a973b75d0f548faac83564736f6c634300060c0033
Deployed Bytecode Sourcemap
50694:5552:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34805:231;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;15683:150;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;51490:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;34547:107;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51462:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;51304:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;37448:1220;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35202:549;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51341:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53067:1169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52600:459;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51615:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35824:311;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;54244:1224;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;55962:281;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;51429:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;51395:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;36207:168;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;51523:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;55702:252;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;36447:924;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34805:231;34891:7;34938:1;34919:21;;:7;:21;;;;34911:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35006:9;:13;35016:2;35006:13;;;;;;;;;;;:22;35020:7;35006:22;;;;;;;;;;;;;;;;34999:29;;34805:231;;;;:::o;15683:150::-;15768:4;15792:20;:33;15813:11;15792:33;;;;;;;;;;;;;;;;;;;;;;;;;;;15785:40;;15683:150;;;:::o;51490:26::-;;;;;;;;;;;;;:::o;34547:107::-;34609:13;34642:4;34635:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34547:107;;;:::o;51462:21::-;;;;;;;;;;;;;:::o;51304:30::-;;;;;;;;;;;;;:::o;37448:1220::-;37713:7;:14;37699:3;:10;:28;37691:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37805:1;37791:16;;:2;:16;;;;37783:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37890:12;:10;:12::i;:::-;37882:20;;:4;:20;;;:60;;;;37906:36;37923:4;37929:12;:10;:12::i;:::-;37906:16;:36::i;:::-;37882:60;37860:160;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38033:16;38052:12;:10;:12::i;:::-;38033:31;;38077:60;38098:8;38108:4;38114:2;38118:3;38123:7;38132:4;38077:20;:60::i;:::-;38155:9;38150:358;38174:3;:10;38170:1;:14;38150:358;;;38206:10;38219:3;38223:1;38219:6;;;;;;;;;;;;;;38206:19;;38240:14;38257:7;38265:1;38257:10;;;;;;;;;;;;;;38240:27;;38306:126;38348:6;38306:126;;;;;;;;;;;;;;;;;:9;:13;38316:2;38306:13;;;;;;;;;;;:19;38320:4;38306:19;;;;;;;;;;;;;;;;:23;;:126;;;;;:::i;:::-;38284:9;:13;38294:2;38284:13;;;;;;;;;;;:19;38298:4;38284:19;;;;;;;;;;;;;;;:148;;;;38467:29;38489:6;38467:9;:13;38477:2;38467:13;;;;;;;;;;;:17;38481:2;38467:17;;;;;;;;;;;;;;;;:21;;:29;;;;:::i;:::-;38447:9;:13;38457:2;38447:13;;;;;;;;;;;:17;38461:2;38447:17;;;;;;;;;;;;;;;:49;;;;38150:358;;38186:3;;;;;38150:358;;;;38555:2;38525:47;;38549:4;38525:47;;38539:8;38525:47;;;38559:3;38564:7;38525:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38585:75;38621:8;38631:4;38637:2;38641:3;38646:7;38655:4;38585:35;:75::i;:::-;37448:1220;;;;;;:::o;35202:549::-;35383:16;35444:3;:10;35425:8;:15;:29;35417:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35513:30;35560:8;:15;35546:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35513:63;;35594:9;35589:122;35613:8;:15;35609:1;:19;35589:122;;;35669:30;35679:8;35688:1;35679:11;;;;;;;;;;;;;;35692:3;35696:1;35692:6;;;;;;;;;;;;;;35669:9;:30::i;:::-;35650:13;35664:1;35650:16;;;;;;;;;;;;;:49;;;;;35630:3;;;;;35589:122;;;;35730:13;35723:20;;;35202:549;;;;:::o;51341:47::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;53067:1169::-;53137:6;;;;;;;;;;;53123:20;;:10;:20;;;53115:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53212:6;;;;;;;;;;;53211:7;53203:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53416:15;;;;;;;;;;;53409:36;;;53446:10;53466:4;53473:13;;53409:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53500:13;53516:7;;;;;;;;;;;:13;;;:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53500:31;;53542:17;53577:7;53572:631;53594:2;53590:1;:6;;;53572:631;;;53639:1;53621:19;;:14;;;;;;;;;;;:19;;;53617:64;;;53660:5;;53617:64;53697:27;;:::i;:::-;53727:10;:13;53738:1;53727:13;;;;;;;;;;;;;53697:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53769:17;53826:1;53809:19;;:5;:19;;;53805:316;;53930:30;53956:3;53930:10;:21;;;:25;;:30;;;;:::i;:::-;53918:42;;53996:1;53983:9;:14;53979:76;;;54034:1;54022:13;;53979:76;54073:32;54079:5;54086:1;54073:32;;54089:9;54100:4;54073:5;:32::i;:::-;53805:316;54137:54;54143:3;54148:1;54137:54;;54175:9;54151:10;:21;;;:33;54186:4;54137:5;:54::i;:::-;53572:631;;53598:3;;;;;;;53572:631;;;;54224:4;54215:6;;:13;;;;;;;;;;;;;;;;;;53067:1169;;;:::o;52600:459::-;52677:6;;;;;;;;;;;52663:20;;:10;:20;;;52655:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52767:3;;52745:19;:17;:19::i;:::-;:25;52737:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52848:9;52826:19;:17;:19::i;:::-;:31;52818:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53042:9;53036:3;:15;;;;52600:459;:::o;51615:32::-;;;;:::o;35824:311::-;35943:8;35927:24;;:12;:10;:12::i;:::-;:24;;;;35919:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36055:8;36010:18;:32;36029:12;:10;:12::i;:::-;36010:32;;;;;;;;;;;;;;;:42;36043:8;36010:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;36108:8;36079:48;;36094:12;:10;:12::i;:::-;36079:48;;;36118:8;36079:48;;;;;;;;;;;;;;;;;;;;35824:311;;:::o;54244:1224::-;54327:9;54339:23;54347:14;;;;;;;;;;;54339:23;;:3;:7;;:23;;;;:::i;:::-;54327:35;;54373:27;;:::i;:::-;54403:10;:16;54414:4;54403:16;;;;;;;;;;;54373:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54535:63;54594:3;;54535:54;54564:10;:24;;;54535:10;:24;;;:28;;:54;;;;:::i;:::-;:58;;:63;;;;:::i;:::-;54513:19;:17;:19::i;:::-;:85;54505:145;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54692:12;54707:23;54715:14;;;;;;;;;;;54707:23;;:3;:7;;:23;;;;:::i;:::-;54692:38;;54771:106;54873:3;;54771:97;54830:37;54859:7;54830:10;:24;;;:28;;:37;;;;:::i;:::-;54771:54;54800:10;:24;;;54771:10;:24;;;:28;;:54;;;;:::i;:::-;:58;;:97;;;;:::i;:::-;:101;;:106;;;;:::i;:::-;54749:19;:17;:19::i;:::-;:128;54741:192;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54962:54;54991:10;:24;;;54962:10;:24;;;:28;;:54;;;;:::i;:::-;54952:7;:64;54944:119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55076:77;55101:10;55122:4;55129:3;55134:7;51691:11;;;;;;;;;;;;;;;;;55076:16;:77::i;:::-;55243:15;;;;;;;;;;;55236:32;;;55269:3;55274:94;55313:54;55342:10;:24;;;55313:10;:24;;;:28;;:54;;;;:::i;:::-;55274:34;55286:10;:21;;;55274:7;:11;;:34;;;;:::i;:::-;:38;;:94;;;;:::i;:::-;55236:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55382:17;55410:50;55416:3;55421:23;55429:14;;;;;;;;;;;55421:23;;:3;:7;;:23;;;;:::i;:::-;55446:7;55455:4;55410:5;:50::i;:::-;54244:1224;;;;;;;:::o;55962:281::-;56129:6;51691:11;;;;;;;;;;;;;;;;;56171:20;;;;;;56161:5;;56151:16;;;;;;;;;;;;;;;;;;;;;;;;;;;:40;56148:88;;;56214:10;56207:17;;;;;;56148:88;55962:281;;;;;;;;;;;:::o;51429:26::-;;;;;;;;;;;;;:::o;51395:27::-;;;;;;;;;;;;;:::o;36207:168::-;36306:4;36330:18;:27;36349:7;36330:27;;;;;;;;;;;;;;;:37;36358:8;36330:37;;;;;;;;;;;;;;;;;;;;;;;;;36323:44;;36207:168;;;;:::o;51523:32::-;;;;:::o;55702:252::-;55840:6;51691:11;;;;;;;;;;;;;;;;;55882:20;;;;;;55872:5;;55862:16;;;;;;;;;;;;;;;;;;;;;;;;;;;:40;55859:88;;;55925:10;55918:17;;;;;;55859:88;55702:252;;;;;;;;;:::o;36447:924::-;36687:1;36673:16;;:2;:16;;;;36665:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36772:12;:10;:12::i;:::-;36764:20;;:4;:20;;;:60;;;;36788:36;36805:4;36811:12;:10;:12::i;:::-;36788:16;:36::i;:::-;36764:60;36742:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36906:16;36925:12;:10;:12::i;:::-;36906:31;;36950:96;36971:8;36981:4;36987:2;36991:21;37009:2;36991:17;:21::i;:::-;37014:25;37032:6;37014:17;:25::i;:::-;37041:4;36950:20;:96::i;:::-;37081:77;37105:6;37081:77;;;;;;;;;;;;;;;;;:9;:13;37091:2;37081:13;;;;;;;;;;;:19;37095:4;37081:19;;;;;;;;;;;;;;;;:23;;:77;;;;;:::i;:::-;37059:9;:13;37069:2;37059:13;;;;;;;;;;;:19;37073:4;37059:19;;;;;;;;;;;;;;;:99;;;;37189:29;37211:6;37189:9;:13;37199:2;37189:13;;;;;;;;;;;:17;37203:2;37189:17;;;;;;;;;;;;;;;;:21;;:29;;;;:::i;:::-;37169:9;:13;37179:2;37169:13;;;;;;;;;;;:17;37183:2;37169:17;;;;;;;;;;;;;;;:49;;;;37267:2;37236:46;;37261:4;37236:46;;37251:8;37236:46;;;37271:2;37275:6;37236:46;;;;;;;;;;;;;;;;;;;;;;;;37295:68;37326:8;37336:4;37342:2;37346;37350:6;37358:4;37295:30;:68::i;:::-;36447:924;;;;;;:::o;20124:220::-;20182:7;20211:1;20206;:6;20202:20;;;20221:1;20214:8;;;;20202:20;20233:9;20249:1;20245;:5;20233:17;;20278:1;20273;20269;:5;;;;;;:10;20261:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20335:1;20328:8;;;20124:220;;;;;:::o;14325:106::-;14378:15;14413:10;14406:17;;14325:106;:::o;44345:245::-;;;;;;;:::o;22072:166::-;22158:7;22191:1;22186;:6;;22194:12;22178:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22229:1;22225;:5;22218:12;;22072:166;;;;;:::o;19245:179::-;19303:7;19323:9;19339:1;19335;:5;19323:17;;19364:1;19359;:6;;19351:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19415:1;19408:8;;;19245:179;;;;:::o;45368:799::-;45622:15;:2;:13;;;:15::i;:::-;45618:542;;;45675:2;45658:43;;;45702:8;45712:4;45718:3;45723:7;45732:4;45658:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45654:495;;;;:::i;:::-;;;;;;;;46022:6;46015:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45654:495;46071:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45654:495;45799:52;;;45787:64;;;:8;:64;;;;45783:163;;45876:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45783:163;45738:223;45618:542;45368:799;;;;;;:::o;20822:153::-;20880:7;20912:1;20908;:5;20900:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20966:1;20962;:5;;;;;;20955:12;;20822:153;;;;:::o;40001:583::-;40135:1;40116:21;;:7;:21;;;;40108:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40188:16;40207:12;:10;:12::i;:::-;40188:31;;40232:107;40253:8;40271:1;40275:7;40284:21;40302:2;40284:17;:21::i;:::-;40307:25;40325:6;40307:17;:25::i;:::-;40334:4;40232:20;:107::i;:::-;40377:34;40404:6;40377:9;:13;40387:2;40377:13;;;;;;;;;;;:22;40391:7;40377:22;;;;;;;;;;;;;;;;:26;;:34;;;;:::i;:::-;40352:9;:13;40362:2;40352:13;;;;;;;;;;;:22;40366:7;40352:22;;;;;;;;;;;;;;;:59;;;;40464:7;40427:57;;40460:1;40427:57;;40442:8;40427:57;;;40473:2;40477:6;40427:57;;;;;;;;;;;;;;;;;;;;;;;;40497:79;40528:8;40546:1;40550:7;40559:2;40563:6;40571:4;40497:30;:79::i;:::-;40001:583;;;;;:::o;55476:162::-;55528:4;55615:15;55608:22;;55476:162;:::o;21442:151::-;21500:7;21532:1;21528;:5;21520:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21584:1;21580;:5;;;;;;21573:12;;21442:151;;;;:::o;19707:158::-;19765:7;19798:1;19793;:6;;19785:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19856:1;19852;:5;19845:12;;19707:158;;;;:::o;46175:198::-;46241:16;46270:22;46309:1;46295:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46270:41;;46333:7;46322:5;46328:1;46322:8;;;;;;;;;;;;;:18;;;;;46360:5;46353:12;;;46175:198;;;:::o;44598:762::-;44827:15;:2;:13;;;:15::i;:::-;44823:530;;;44880:2;44863:38;;;44902:8;44912:4;44918:2;44922:6;44930:4;44863:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44859:483;;;;:::i;:::-;;;;;;;;45215:6;45208:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44859:483;45264:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44859:483;44997:47;;;44985:59;;;:8;:59;;;;44981:158;;45069:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44981:158;44936:218;44823:530;44598:762;;;;;;:::o;24686:422::-;24746:4;24954:12;25065:7;25053:20;25045:28;;25099:1;25092:4;:8;25085:15;;;24686:422;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5:97::-;;93:2;89:7;84:2;77:5;73:14;69:28;59:38;;53:49;;;:::o;110:106::-;;200:5;195:3;191:15;169:37;;163:53;;;:::o;224:739::-;;297:4;279:16;276:26;273:2;;;305:5;;273:2;339:1;336;333;318:23;357:34;388:1;382:8;357:34;:::i;:::-;414:10;409:3;406:19;396:2;;429:5;;;396:2;460;454:9;514:1;496:16;492:24;489:1;483:4;468:49;543:4;537:11;624:16;617:4;609:6;605:17;602:39;576:18;568:6;565:30;556:91;553:2;;;655:5;;;;;553:2;693:6;687:4;683:17;725:3;719:10;748:18;740:6;737:30;734:2;;;770:5;;;;;;;734:2;814:6;807:4;802:3;798:14;794:27;847:16;841:4;837:27;832:3;829:36;826:2;;;868:5;;;;;;;;826:2;912:29;934:6;912:29;:::i;:::-;905:4;900:3;896:14;892:50;888:2;881:62;955:3;948:10;;267:696;;;;;;;;:::o
Swarm Source
ipfs://4da9b10f512cffac871beb7e3e6aeca836843f5ae3e9a973b75d0f548faac835
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.