Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 33 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 18635966 | 447 days ago | IN | 0 ETH | 0.00089284 | ||||
Safe Transfer Fr... | 16460200 | 753 days ago | IN | 0 ETH | 0.00091165 | ||||
Safe Transfer Fr... | 16275318 | 778 days ago | IN | 0 ETH | 0.00073128 | ||||
Safe Transfer Fr... | 16275297 | 778 days ago | IN | 0 ETH | 0.00075726 | ||||
Set Approval For... | 15979562 | 820 days ago | IN | 0 ETH | 0.00075368 | ||||
Set Approval For... | 15775270 | 848 days ago | IN | 0 ETH | 0.00073241 | ||||
Set Approval For... | 15759961 | 850 days ago | IN | 0 ETH | 0.00057983 | ||||
Safe Transfer Fr... | 15754134 | 851 days ago | IN | 0 ETH | 0.00063415 | ||||
Set Approval For... | 15754078 | 851 days ago | IN | 0 ETH | 0.00064524 | ||||
Set Approval For... | 15251507 | 927 days ago | IN | 0 ETH | 0.00150547 | ||||
Set Approval For... | 15251384 | 927 days ago | IN | 0 ETH | 0.00025772 | ||||
Set Approval For... | 15251035 | 927 days ago | IN | 0 ETH | 0.00034296 | ||||
Safe Transfer Fr... | 15202674 | 935 days ago | IN | 0 ETH | 0.00044788 | ||||
Mint Batch | 15176527 | 939 days ago | IN | 0 ETH | 0.00211023 | ||||
Mint | 15176503 | 939 days ago | IN | 0 ETH | 0.00219738 | ||||
Mint | 15118217 | 948 days ago | IN | 0 ETH | 0.00083069 | ||||
Set Approval For... | 15117908 | 948 days ago | IN | 0 ETH | 0.00047818 | ||||
Safe Transfer Fr... | 15114370 | 948 days ago | IN | 0 ETH | 0.00055717 | ||||
Safe Transfer Fr... | 15114368 | 948 days ago | IN | 0 ETH | 0.00053718 | ||||
Set Approval For... | 15114047 | 948 days ago | IN | 0 ETH | 0.00051763 | ||||
Set Approval For... | 15113744 | 949 days ago | IN | 0 ETH | 0.00036332 | ||||
Set Approval For... | 15113743 | 949 days ago | IN | 0 ETH | 0.00057024 | ||||
Mint Batch | 15113532 | 949 days ago | IN | 0 ETH | 0.00171234 | ||||
Mint Batch | 15113497 | 949 days ago | IN | 0 ETH | 0.00235184 | ||||
Set Approval For... | 15113403 | 949 days ago | IN | 0 ETH | 0.00051152 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
BadgeDagenItems
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.15; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract BadgeDagenItems is ERC1155, Ownable, AccessControl, Pausable, ERC1155Burnable, ERC1155Supply { using SafeMath for uint256; bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); string public name = "BadgeGen"; mapping(uint256 => uint256) public preset; constructor() ERC1155("https://dagen.io/badge/{id}.json") { _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _grantRole(PAUSER_ROLE, msg.sender); _grantRole(MINTER_ROLE, msg.sender); } function setupPreset(uint256[] calldata ids, uint256[] calldata amounts) external onlyRole(DEFAULT_ADMIN_ROLE) { for (uint256 i = 0; i < ids.length; i++) { preset[ids[i]] = amounts[i]; } } function setURI(string memory newuri) public onlyRole(DEFAULT_ADMIN_ROLE) { _setURI(newuri); } function pause() public onlyRole(PAUSER_ROLE) { _pause(); } function unpause() public onlyRole(PAUSER_ROLE) { _unpause(); } function mint( address account, uint256 id, uint256 amount, bytes memory data ) public onlyRole(MINTER_ROLE) { require(totalSupply(id) + amount <= preset[id], "exceed preset"); _mint(account, id, amount, data); } function mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public onlyRole(MINTER_ROLE) { for (uint256 i = 0; i < ids.length; i++) { require(totalSupply(ids[i]) + amounts[i] <= preset[ids[i]], "exceed preset"); } _mintBatch(to, ids, amounts, data); } function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal override(ERC1155, ERC1155Supply) whenNotPaused { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); } // The following functions are overrides required by Solidity. function supportsInterface(bytes4 interfaceId) public view override(ERC1155, AccessControl) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @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 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; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @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) public 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 { _setApprovalForAll(_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( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(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( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `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 memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - 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[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); 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]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += 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 `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, 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 (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } 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 `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, 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 from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @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.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.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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Burnable.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burnBatch(account, ids, values); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Supply.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } if (to == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] -= amounts[i]; } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ 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) { unchecked { 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) { unchecked { 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) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the 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) { return a + b; } /** * @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) { 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) { return a * b; } /** * @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. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { 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) { 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) { unchecked { 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. * * 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) { unchecked { 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) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^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; 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"); (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"); (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"); (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"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal 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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"preset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"setupPreset","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":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","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
60806040526040518060400160405280600881526020017f426164676547656e000000000000000000000000000000000000000000000000815250600790816200004a919062000615565b503480156200005857600080fd5b506040518060400160405280602081526020017f68747470733a2f2f646167656e2e696f2f62616467652f7b69647d2e6a736f6e815250620000a0816200015b60201b60201c565b50620000c1620000b56200017060201b60201c565b6200017860201b60201c565b6000600560006101000a81548160ff021916908315150217905550620000f16000801b336200023e60201b60201c565b620001237f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336200023e60201b60201c565b620001557f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200023e60201b60201c565b620006fc565b80600290816200016c919062000615565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200025082826200033060201b60201c565b6200032c5760016004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002d16200017060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200041d57607f821691505b602082108103620004335762000432620003d5565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200049d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200045e565b620004a986836200045e565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620004f6620004f0620004ea84620004c1565b620004cb565b620004c1565b9050919050565b6000819050919050565b6200051283620004d5565b6200052a6200052182620004fd565b8484546200046b565b825550505050565b600090565b6200054162000532565b6200054e81848462000507565b505050565b5b8181101562000576576200056a60008262000537565b60018101905062000554565b5050565b601f821115620005c5576200058f8162000439565b6200059a846200044e565b81016020851015620005aa578190505b620005c2620005b9856200044e565b83018262000553565b50505b505050565b600082821c905092915050565b6000620005ea60001984600802620005ca565b1980831691505092915050565b6000620006058383620005d7565b9150826002028217905092915050565b62000620826200039b565b67ffffffffffffffff8111156200063c576200063b620003a6565b5b62000648825462000404565b620006558282856200057a565b600060209050601f8311600181146200068d576000841562000678578287015190505b620006848582620005f7565b865550620006f4565b601f1984166200069d8662000439565b60005b82811015620006c757848901518255600182019150602085019450602081019050620006a0565b86831015620006e75784890151620006e3601f891682620005d7565b8355505b6001600288020188555050505b505050505050565b6151ee806200070c6000396000f3fe608060405234801561001057600080fd5b50600436106101ef5760003560e01c8063715018a61161010f578063bd85b039116100a2578063e985e9c511610071578063e985e9c51461058e578063f242432a146105be578063f2fde38b146105da578063f5298aca146105f6576101ef565b8063bd85b03914610506578063d539139314610536578063d547741f14610554578063e63ab1e914610570576101ef565b806391d14854116100de57806391d148541461046c5780639221d6cf1461049c578063a217fddf146104cc578063a22cb465146104ea576101ef565b8063715018a61461041e578063731133e9146104285780638456cb59146104445780638da5cb5b1461044e576101ef565b80632f2ff15d116101875780634f558e79116101565780634f558e791461039857806354547342146103c85780635c975abb146103e45780636b20c45414610402576101ef565b80632f2ff15d1461032657806336568abe146103425780633f4ba83a1461035e5780634e1273f414610368576101ef565b80630e89341c116101c35780630e89341c1461028e5780631f7fdffa146102be578063248a9ca3146102da5780632eb2c2d61461030a576101ef565b8062fdd58e146101f457806301ffc9a71461022457806302fe53051461025457806306fdde0314610270575b600080fd5b61020e600480360381019061020991906131ba565b610612565b60405161021b9190613209565b60405180910390f35b61023e6004803603810190610239919061327c565b6106da565b60405161024b91906132c4565b60405180910390f35b61026e60048036038101906102699190613425565b6106ec565b005b61027861070e565b60405161028591906134f6565b60405180910390f35b6102a860048036038101906102a39190613518565b61079c565b6040516102b591906134f6565b60405180910390f35b6102d860048036038101906102d391906136ae565b610830565b005b6102f460048036038101906102ef919061379f565b61094c565b60405161030191906137db565b60405180910390f35b610324600480360381019061031f91906137f6565b61096c565b005b610340600480360381019061033b91906138c5565b610a0d565b005b61035c600480360381019061035791906138c5565b610a36565b005b610366610ab9565b005b610382600480360381019061037d91906139c8565b610af6565b60405161038f9190613afe565b60405180910390f35b6103b260048036038101906103ad9190613518565b610c0f565b6040516103bf91906132c4565b60405180910390f35b6103e260048036038101906103dd9190613b7b565b610c23565b005b6103ec610cab565b6040516103f991906132c4565b60405180910390f35b61041c60048036038101906104179190613bfc565b610cc2565b005b610426610d5f565b005b610442600480360381019061043d9190613c87565b610de7565b005b61044c610e95565b005b610456610ed2565b6040516104639190613d19565b60405180910390f35b610486600480360381019061048191906138c5565b610efc565b60405161049391906132c4565b60405180910390f35b6104b660048036038101906104b19190613518565b610f67565b6040516104c39190613209565b60405180910390f35b6104d4610f7f565b6040516104e191906137db565b60405180910390f35b61050460048036038101906104ff9190613d60565b610f86565b005b610520600480360381019061051b9190613518565b610f9c565b60405161052d9190613209565b60405180910390f35b61053e610fb9565b60405161054b91906137db565b60405180910390f35b61056e600480360381019061056991906138c5565b610fdd565b005b610578611006565b60405161058591906137db565b60405180910390f35b6105a860048036038101906105a39190613da0565b61102a565b6040516105b591906132c4565b60405180910390f35b6105d860048036038101906105d39190613de0565b6110be565b005b6105f460048036038101906105ef9190613e77565b61115f565b005b610610600480360381019061060b9190613ea4565b611256565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610682576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067990613f69565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006106e5826112f3565b9050919050565b6000801b610701816106fc61136d565b611375565b61070a82611412565b5050565b6007805461071b90613fb8565b80601f016020809104026020016040519081016040528092919081815260200182805461074790613fb8565b80156107945780601f1061076957610100808354040283529160200191610794565b820191906000526020600020905b81548152906001019060200180831161077757829003601f168201915b505050505081565b6060600280546107ab90613fb8565b80601f01602080910402602001604051908101604052809291908181526020018280546107d790613fb8565b80156108245780601f106107f957610100808354040283529160200191610824565b820191906000526020600020905b81548152906001019060200180831161080757829003601f168201915b50505050509050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66108628161085d61136d565b611375565b60005b8451811015610938576008600086838151811061088557610884613fe9565b5b60200260200101518152602001908152602001600020548482815181106108af576108ae613fe9565b5b60200260200101516108da8784815181106108cd576108cc613fe9565b5b6020026020010151610f9c565b6108e49190614047565b1115610925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091c906140e9565b60405180910390fd5b808061093090614109565b915050610865565b5061094585858585611425565b5050505050565b600060046000838152602001908152602001600020600101549050919050565b61097461136d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806109ba57506109b9856109b461136d565b61102a565b5b6109f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f0906141c3565b60405180910390fd5b610a068585858585611642565b5050505050565b610a168261094c565b610a2781610a2261136d565b611375565b610a318383611955565b505050565b610a3e61136d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610aab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa290614255565b60405180910390fd5b610ab58282611a36565b5050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610aeb81610ae661136d565b611375565b610af3611b18565b50565b60608151835114610b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b33906142e7565b60405180910390fd5b6000835167ffffffffffffffff811115610b5957610b586132fa565b5b604051908082528060200260200182016040528015610b875781602001602082028036833780820191505090505b50905060005b8451811015610c0457610bd4858281518110610bac57610bab613fe9565b5b6020026020010151858381518110610bc757610bc6613fe9565b5b6020026020010151610612565b828281518110610be757610be6613fe9565b5b60200260200101818152505080610bfd90614109565b9050610b8d565b508091505092915050565b600080610c1b83610f9c565b119050919050565b6000801b610c3881610c3361136d565b611375565b60005b85859050811015610ca357838382818110610c5957610c58613fe9565b5b9050602002013560086000888885818110610c7757610c76613fe9565b5b905060200201358152602001908152602001600020819055508080610c9b90614109565b915050610c3b565b505050505050565b6000600560009054906101000a900460ff16905090565b610cca61136d565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610d105750610d0f83610d0a61136d565b61102a565b5b610d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4690614379565b60405180910390fd5b610d5a838383611bba565b505050565b610d6761136d565b73ffffffffffffffffffffffffffffffffffffffff16610d85610ed2565b73ffffffffffffffffffffffffffffffffffffffff1614610ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd2906143e5565b60405180910390fd5b610de56000611e6a565b565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e1981610e1461136d565b611375565b600860008581526020019081526020016000205483610e3786610f9c565b610e419190614047565b1115610e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e79906140e9565b60405180910390fd5b610e8e85858585611f30565b5050505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610ec781610ec261136d565b611375565b610ecf6120c5565b50565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60086020528060005260406000206000915090505481565b6000801b81565b610f98610f9161136d565b8383612168565b5050565b600060066000838152602001908152602001600020549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610fe68261094c565b610ff781610ff261136d565b611375565b6110018383611a36565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110c661136d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061110c575061110b8561110661136d565b61102a565b5b61114b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114290614379565b60405180910390fd5b61115885858585856122d4565b5050505050565b61116761136d565b73ffffffffffffffffffffffffffffffffffffffff16611185610ed2565b73ffffffffffffffffffffffffffffffffffffffff16146111db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d2906143e5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361124a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124190614477565b60405180910390fd5b61125381611e6a565b50565b61125e61136d565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806112a457506112a38361129e61136d565b61102a565b5b6112e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112da90614379565b60405180910390fd5b6112ee838383612555565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611366575061136582612771565b5b9050919050565b600033905090565b61137f8282610efc565b61140e576113a48173ffffffffffffffffffffffffffffffffffffffff166014612853565b6113b28360001c6020612853565b6040516020016113c392919061456b565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140591906134f6565b60405180910390fd5b5050565b80600290816114219190614751565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b90614895565b60405180910390fd5b81518351146114d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cf90614927565b60405180910390fd5b60006114e261136d565b90506114f381600087878787612a8f565b60005b84518110156115ac5783818151811061151257611511613fe9565b5b60200260200101516000808784815181106115305761152f613fe9565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115929190614047565b9250508190555080806115a490614109565b9150506114f6565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611624929190614947565b60405180910390a461163b81600087878787612aed565b5050505050565b8151835114611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d90614927565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036116f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ec906149f0565b60405180910390fd5b60006116ff61136d565b905061170f818787878787612a8f565b60005b84518110156118c05760008582815181106117305761172f613fe9565b5b60200260200101519050600085838151811061174f5761174e613fe9565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156117f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e790614a82565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118a59190614047565b92505081905550505050806118b990614109565b9050611712565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611937929190614947565b60405180910390a461194d818787878787612aed565b505050505050565b61195f8282610efc565b611a325760016004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506119d761136d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611a408282610efc565b15611b145760006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611ab961136d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611b20610cab565b611b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5690614aee565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611ba361136d565b604051611bb09190613d19565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2090614b80565b60405180910390fd5b8051825114611c6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6490614927565b60405180910390fd5b6000611c7761136d565b9050611c9781856000868660405180602001604052806000815250612a8f565b60005b8351811015611de4576000848281518110611cb857611cb7613fe9565b5b602002602001015190506000848381518110611cd757611cd6613fe9565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6f90614c12565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611ddc90614109565b915050611c9a565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611e5c929190614947565b60405180910390a450505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9690614895565b60405180910390fd5b6000611fa961136d565b9050611fca81600087611fbb88612cc4565b611fc488612cc4565b87612a8f565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120299190614047565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516120a7929190614c32565b60405180910390a46120be81600087878787612d3e565b5050505050565b6120cd610cab565b1561210d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210490614ca7565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861215161136d565b60405161215e9190613d19565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036121d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cd90614d39565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122c791906132c4565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233a906149f0565b60405180910390fd5b600061234d61136d565b905061236d81878761235e88612cc4565b61236788612cc4565b87612a8f565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612404576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fb90614a82565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124b99190614047565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612536929190614c32565b60405180910390a461254c828888888888612d3e565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036125c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bb90614b80565b60405180910390fd5b60006125ce61136d565b90506125fe818560006125e087612cc4565b6125e987612cc4565b60405180602001604052806000815250612a8f565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268c90614c12565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612762929190614c32565b60405180910390a45050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061283c57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061284c575061284b82612f15565b5b9050919050565b6060600060028360026128669190614d59565b6128709190614047565b67ffffffffffffffff811115612889576128886132fa565b5b6040519080825280601f01601f1916602001820160405280156128bb5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106128f3576128f2613fe9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061295757612956613fe9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026129979190614d59565b6129a19190614047565b90505b6001811115612a41577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106129e3576129e2613fe9565b5b1a60f81b8282815181106129fa576129f9613fe9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612a3a90614db3565b90506129a4565b5060008414612a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7c90614e28565b60405180910390fd5b8091505092915050565b612a97610cab565b15612ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ace90614ca7565b60405180910390fd5b612ae5868686868686612f7f565b505050505050565b612b0c8473ffffffffffffffffffffffffffffffffffffffff166130f7565b15612cbc578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612b52959493929190614e9d565b6020604051808303816000875af1925050508015612b8e57506040513d601f19601f82011682018060405250810190612b8b9190614f1a565b60015b612c3357612b9a614f54565b806308c379a003612bf65750612bae614f76565b80612bb95750612bf8565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bed91906134f6565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2a90615078565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb19061510a565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612ce357612ce26132fa565b5b604051908082528060200260200182016040528015612d115781602001602082028036833780820191505090505b5090508281600081518110612d2957612d28613fe9565b5b60200260200101818152505080915050919050565b612d5d8473ffffffffffffffffffffffffffffffffffffffff166130f7565b15612f0d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612da395949392919061512a565b6020604051808303816000875af1925050508015612ddf57506040513d601f19601f82011682018060405250810190612ddc9190614f1a565b60015b612e8457612deb614f54565b806308c379a003612e475750612dff614f76565b80612e0a5750612e49565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3e91906134f6565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7b90615078565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612f0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f029061510a565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f8d86868686868661310a565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361303e5760005b835181101561303c57828181518110612fe057612fdf613fe9565b5b602002602001015160066000868481518110612fff57612ffe613fe9565b5b6020026020010151815260200190815260200160002060008282546130249190614047565b925050819055508061303590614109565b9050612fc4565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036130ef5760005b83518110156130ed5782818151811061309157613090613fe9565b5b6020026020010151600660008684815181106130b0576130af613fe9565b5b6020026020010151815260200190815260200160002060008282546130d59190615184565b92505081905550806130e690614109565b9050613075565b505b505050505050565b600080823b905060008111915050919050565b505050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061315182613126565b9050919050565b61316181613146565b811461316c57600080fd5b50565b60008135905061317e81613158565b92915050565b6000819050919050565b61319781613184565b81146131a257600080fd5b50565b6000813590506131b48161318e565b92915050565b600080604083850312156131d1576131d061311c565b5b60006131df8582860161316f565b92505060206131f0858286016131a5565b9150509250929050565b61320381613184565b82525050565b600060208201905061321e60008301846131fa565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61325981613224565b811461326457600080fd5b50565b60008135905061327681613250565b92915050565b6000602082840312156132925761329161311c565b5b60006132a084828501613267565b91505092915050565b60008115159050919050565b6132be816132a9565b82525050565b60006020820190506132d960008301846132b5565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613332826132e9565b810181811067ffffffffffffffff82111715613351576133506132fa565b5b80604052505050565b6000613364613112565b90506133708282613329565b919050565b600067ffffffffffffffff8211156133905761338f6132fa565b5b613399826132e9565b9050602081019050919050565b82818337600083830152505050565b60006133c86133c384613375565b61335a565b9050828152602081018484840111156133e4576133e36132e4565b5b6133ef8482856133a6565b509392505050565b600082601f83011261340c5761340b6132df565b5b813561341c8482602086016133b5565b91505092915050565b60006020828403121561343b5761343a61311c565b5b600082013567ffffffffffffffff81111561345957613458613121565b5b613465848285016133f7565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134a857808201518184015260208101905061348d565b838111156134b7576000848401525b50505050565b60006134c88261346e565b6134d28185613479565b93506134e281856020860161348a565b6134eb816132e9565b840191505092915050565b6000602082019050818103600083015261351081846134bd565b905092915050565b60006020828403121561352e5761352d61311c565b5b600061353c848285016131a5565b91505092915050565b600067ffffffffffffffff8211156135605761355f6132fa565b5b602082029050602081019050919050565b600080fd5b600061358961358484613545565b61335a565b905080838252602082019050602084028301858111156135ac576135ab613571565b5b835b818110156135d557806135c188826131a5565b8452602084019350506020810190506135ae565b5050509392505050565b600082601f8301126135f4576135f36132df565b5b8135613604848260208601613576565b91505092915050565b600067ffffffffffffffff821115613628576136276132fa565b5b613631826132e9565b9050602081019050919050565b600061365161364c8461360d565b61335a565b90508281526020810184848401111561366d5761366c6132e4565b5b6136788482856133a6565b509392505050565b600082601f830112613695576136946132df565b5b81356136a584826020860161363e565b91505092915050565b600080600080608085870312156136c8576136c761311c565b5b60006136d68782880161316f565b945050602085013567ffffffffffffffff8111156136f7576136f6613121565b5b613703878288016135df565b935050604085013567ffffffffffffffff81111561372457613723613121565b5b613730878288016135df565b925050606085013567ffffffffffffffff81111561375157613750613121565b5b61375d87828801613680565b91505092959194509250565b6000819050919050565b61377c81613769565b811461378757600080fd5b50565b60008135905061379981613773565b92915050565b6000602082840312156137b5576137b461311c565b5b60006137c38482850161378a565b91505092915050565b6137d581613769565b82525050565b60006020820190506137f060008301846137cc565b92915050565b600080600080600060a086880312156138125761381161311c565b5b60006138208882890161316f565b95505060206138318882890161316f565b945050604086013567ffffffffffffffff81111561385257613851613121565b5b61385e888289016135df565b935050606086013567ffffffffffffffff81111561387f5761387e613121565b5b61388b888289016135df565b925050608086013567ffffffffffffffff8111156138ac576138ab613121565b5b6138b888828901613680565b9150509295509295909350565b600080604083850312156138dc576138db61311c565b5b60006138ea8582860161378a565b92505060206138fb8582860161316f565b9150509250929050565b600067ffffffffffffffff8211156139205761391f6132fa565b5b602082029050602081019050919050565b600061394461393f84613905565b61335a565b9050808382526020820190506020840283018581111561396757613966613571565b5b835b81811015613990578061397c888261316f565b845260208401935050602081019050613969565b5050509392505050565b600082601f8301126139af576139ae6132df565b5b81356139bf848260208601613931565b91505092915050565b600080604083850312156139df576139de61311c565b5b600083013567ffffffffffffffff8111156139fd576139fc613121565b5b613a098582860161399a565b925050602083013567ffffffffffffffff811115613a2a57613a29613121565b5b613a36858286016135df565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613a7581613184565b82525050565b6000613a878383613a6c565b60208301905092915050565b6000602082019050919050565b6000613aab82613a40565b613ab58185613a4b565b9350613ac083613a5c565b8060005b83811015613af1578151613ad88882613a7b565b9750613ae383613a93565b925050600181019050613ac4565b5085935050505092915050565b60006020820190508181036000830152613b188184613aa0565b905092915050565b600080fd5b60008083601f840112613b3b57613b3a6132df565b5b8235905067ffffffffffffffff811115613b5857613b57613b20565b5b602083019150836020820283011115613b7457613b73613571565b5b9250929050565b60008060008060408587031215613b9557613b9461311c565b5b600085013567ffffffffffffffff811115613bb357613bb2613121565b5b613bbf87828801613b25565b9450945050602085013567ffffffffffffffff811115613be257613be1613121565b5b613bee87828801613b25565b925092505092959194509250565b600080600060608486031215613c1557613c1461311c565b5b6000613c238682870161316f565b935050602084013567ffffffffffffffff811115613c4457613c43613121565b5b613c50868287016135df565b925050604084013567ffffffffffffffff811115613c7157613c70613121565b5b613c7d868287016135df565b9150509250925092565b60008060008060808587031215613ca157613ca061311c565b5b6000613caf8782880161316f565b9450506020613cc0878288016131a5565b9350506040613cd1878288016131a5565b925050606085013567ffffffffffffffff811115613cf257613cf1613121565b5b613cfe87828801613680565b91505092959194509250565b613d1381613146565b82525050565b6000602082019050613d2e6000830184613d0a565b92915050565b613d3d816132a9565b8114613d4857600080fd5b50565b600081359050613d5a81613d34565b92915050565b60008060408385031215613d7757613d7661311c565b5b6000613d858582860161316f565b9250506020613d9685828601613d4b565b9150509250929050565b60008060408385031215613db757613db661311c565b5b6000613dc58582860161316f565b9250506020613dd68582860161316f565b9150509250929050565b600080600080600060a08688031215613dfc57613dfb61311c565b5b6000613e0a8882890161316f565b9550506020613e1b8882890161316f565b9450506040613e2c888289016131a5565b9350506060613e3d888289016131a5565b925050608086013567ffffffffffffffff811115613e5e57613e5d613121565b5b613e6a88828901613680565b9150509295509295909350565b600060208284031215613e8d57613e8c61311c565b5b6000613e9b8482850161316f565b91505092915050565b600080600060608486031215613ebd57613ebc61311c565b5b6000613ecb8682870161316f565b9350506020613edc868287016131a5565b9250506040613eed868287016131a5565b9150509250925092565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613f53602b83613479565b9150613f5e82613ef7565b604082019050919050565b60006020820190508181036000830152613f8281613f46565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fd057607f821691505b602082108103613fe357613fe2613f89565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061405282613184565b915061405d83613184565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561409257614091614018565b5b828201905092915050565b7f6578636565642070726573657400000000000000000000000000000000000000600082015250565b60006140d3600d83613479565b91506140de8261409d565b602082019050919050565b60006020820190508181036000830152614102816140c6565b9050919050565b600061411482613184565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361414657614145614018565b5b600182019050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006141ad603283613479565b91506141b882614151565b604082019050919050565b600060208201905081810360008301526141dc816141a0565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600061423f602f83613479565b915061424a826141e3565b604082019050919050565b6000602082019050818103600083015261426e81614232565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006142d1602983613479565b91506142dc82614275565b604082019050919050565b60006020820190508181036000830152614300816142c4565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614363602983613479565b915061436e82614307565b604082019050919050565b6000602082019050818103600083015261439281614356565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006143cf602083613479565b91506143da82614399565b602082019050919050565b600060208201905081810360008301526143fe816143c2565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614461602683613479565b915061446c82614405565b604082019050919050565b6000602082019050818103600083015261449081614454565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006144d8601783614497565b91506144e3826144a2565b601782019050919050565b60006144f98261346e565b6145038185614497565b935061451381856020860161348a565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614555601183614497565b91506145608261451f565b601182019050919050565b6000614576826144cb565b915061458282856144ee565b915061458d82614548565b915061459982846144ee565b91508190509392505050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026146077fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826145ca565b61461186836145ca565b95508019841693508086168417925050509392505050565b6000819050919050565b600061464e61464961464484613184565b614629565b613184565b9050919050565b6000819050919050565b61466883614633565b61467c61467482614655565b8484546145d7565b825550505050565b600090565b614691614684565b61469c81848461465f565b505050565b5b818110156146c0576146b5600082614689565b6001810190506146a2565b5050565b601f821115614705576146d6816145a5565b6146df846145ba565b810160208510156146ee578190505b6147026146fa856145ba565b8301826146a1565b50505b505050565b600082821c905092915050565b60006147286000198460080261470a565b1980831691505092915050565b60006147418383614717565b9150826002028217905092915050565b61475a8261346e565b67ffffffffffffffff811115614773576147726132fa565b5b61477d8254613fb8565b6147888282856146c4565b600060209050601f8311600181146147bb57600084156147a9578287015190505b6147b38582614735565b86555061481b565b601f1984166147c9866145a5565b60005b828110156147f1578489015182556001820191506020850194506020810190506147cc565b8683101561480e578489015161480a601f891682614717565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061487f602183613479565b915061488a82614823565b604082019050919050565b600060208201905081810360008301526148ae81614872565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614911602883613479565b915061491c826148b5565b604082019050919050565b6000602082019050818103600083015261494081614904565b9050919050565b600060408201905081810360008301526149618185613aa0565b905081810360208301526149758184613aa0565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006149da602583613479565b91506149e58261497e565b604082019050919050565b60006020820190508181036000830152614a09816149cd565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614a6c602a83613479565b9150614a7782614a10565b604082019050919050565b60006020820190508181036000830152614a9b81614a5f565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614ad8601483613479565b9150614ae382614aa2565b602082019050919050565b60006020820190508181036000830152614b0781614acb565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614b6a602383613479565b9150614b7582614b0e565b604082019050919050565b60006020820190508181036000830152614b9981614b5d565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614bfc602483613479565b9150614c0782614ba0565b604082019050919050565b60006020820190508181036000830152614c2b81614bef565b9050919050565b6000604082019050614c4760008301856131fa565b614c5460208301846131fa565b9392505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614c91601083613479565b9150614c9c82614c5b565b602082019050919050565b60006020820190508181036000830152614cc081614c84565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614d23602983613479565b9150614d2e82614cc7565b604082019050919050565b60006020820190508181036000830152614d5281614d16565b9050919050565b6000614d6482613184565b9150614d6f83613184565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614da857614da7614018565b5b828202905092915050565b6000614dbe82613184565b915060008203614dd157614dd0614018565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614e12602083613479565b9150614e1d82614ddc565b602082019050919050565b60006020820190508181036000830152614e4181614e05565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614e6f82614e48565b614e798185614e53565b9350614e8981856020860161348a565b614e92816132e9565b840191505092915050565b600060a082019050614eb26000830188613d0a565b614ebf6020830187613d0a565b8181036040830152614ed18186613aa0565b90508181036060830152614ee58185613aa0565b90508181036080830152614ef98184614e64565b90509695505050505050565b600081519050614f1481613250565b92915050565b600060208284031215614f3057614f2f61311c565b5b6000614f3e84828501614f05565b91505092915050565b60008160e01c9050919050565b600060033d1115614f735760046000803e614f70600051614f47565b90505b90565b600060443d1061500357614f88613112565b60043d036004823e80513d602482011167ffffffffffffffff82111715614fb0575050615003565b808201805167ffffffffffffffff811115614fce5750505050615003565b80602083010160043d038501811115614feb575050505050615003565b614ffa82602001850186613329565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615062603483613479565b915061506d82615006565b604082019050919050565b6000602082019050818103600083015261509181615055565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006150f4602883613479565b91506150ff82615098565b604082019050919050565b60006020820190508181036000830152615123816150e7565b9050919050565b600060a08201905061513f6000830188613d0a565b61514c6020830187613d0a565b61515960408301866131fa565b61516660608301856131fa565b81810360808301526151788184614e64565b90509695505050505050565b600061518f82613184565b915061519a83613184565b9250828210156151ad576151ac614018565b5b82820390509291505056fea2646970667358221220c8942c0ae73206d20aba62a52bf9fa3bebb2916ff5b8609c53cc5e3c01120f6564736f6c634300080f0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101ef5760003560e01c8063715018a61161010f578063bd85b039116100a2578063e985e9c511610071578063e985e9c51461058e578063f242432a146105be578063f2fde38b146105da578063f5298aca146105f6576101ef565b8063bd85b03914610506578063d539139314610536578063d547741f14610554578063e63ab1e914610570576101ef565b806391d14854116100de57806391d148541461046c5780639221d6cf1461049c578063a217fddf146104cc578063a22cb465146104ea576101ef565b8063715018a61461041e578063731133e9146104285780638456cb59146104445780638da5cb5b1461044e576101ef565b80632f2ff15d116101875780634f558e79116101565780634f558e791461039857806354547342146103c85780635c975abb146103e45780636b20c45414610402576101ef565b80632f2ff15d1461032657806336568abe146103425780633f4ba83a1461035e5780634e1273f414610368576101ef565b80630e89341c116101c35780630e89341c1461028e5780631f7fdffa146102be578063248a9ca3146102da5780632eb2c2d61461030a576101ef565b8062fdd58e146101f457806301ffc9a71461022457806302fe53051461025457806306fdde0314610270575b600080fd5b61020e600480360381019061020991906131ba565b610612565b60405161021b9190613209565b60405180910390f35b61023e6004803603810190610239919061327c565b6106da565b60405161024b91906132c4565b60405180910390f35b61026e60048036038101906102699190613425565b6106ec565b005b61027861070e565b60405161028591906134f6565b60405180910390f35b6102a860048036038101906102a39190613518565b61079c565b6040516102b591906134f6565b60405180910390f35b6102d860048036038101906102d391906136ae565b610830565b005b6102f460048036038101906102ef919061379f565b61094c565b60405161030191906137db565b60405180910390f35b610324600480360381019061031f91906137f6565b61096c565b005b610340600480360381019061033b91906138c5565b610a0d565b005b61035c600480360381019061035791906138c5565b610a36565b005b610366610ab9565b005b610382600480360381019061037d91906139c8565b610af6565b60405161038f9190613afe565b60405180910390f35b6103b260048036038101906103ad9190613518565b610c0f565b6040516103bf91906132c4565b60405180910390f35b6103e260048036038101906103dd9190613b7b565b610c23565b005b6103ec610cab565b6040516103f991906132c4565b60405180910390f35b61041c60048036038101906104179190613bfc565b610cc2565b005b610426610d5f565b005b610442600480360381019061043d9190613c87565b610de7565b005b61044c610e95565b005b610456610ed2565b6040516104639190613d19565b60405180910390f35b610486600480360381019061048191906138c5565b610efc565b60405161049391906132c4565b60405180910390f35b6104b660048036038101906104b19190613518565b610f67565b6040516104c39190613209565b60405180910390f35b6104d4610f7f565b6040516104e191906137db565b60405180910390f35b61050460048036038101906104ff9190613d60565b610f86565b005b610520600480360381019061051b9190613518565b610f9c565b60405161052d9190613209565b60405180910390f35b61053e610fb9565b60405161054b91906137db565b60405180910390f35b61056e600480360381019061056991906138c5565b610fdd565b005b610578611006565b60405161058591906137db565b60405180910390f35b6105a860048036038101906105a39190613da0565b61102a565b6040516105b591906132c4565b60405180910390f35b6105d860048036038101906105d39190613de0565b6110be565b005b6105f460048036038101906105ef9190613e77565b61115f565b005b610610600480360381019061060b9190613ea4565b611256565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610682576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067990613f69565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006106e5826112f3565b9050919050565b6000801b610701816106fc61136d565b611375565b61070a82611412565b5050565b6007805461071b90613fb8565b80601f016020809104026020016040519081016040528092919081815260200182805461074790613fb8565b80156107945780601f1061076957610100808354040283529160200191610794565b820191906000526020600020905b81548152906001019060200180831161077757829003601f168201915b505050505081565b6060600280546107ab90613fb8565b80601f01602080910402602001604051908101604052809291908181526020018280546107d790613fb8565b80156108245780601f106107f957610100808354040283529160200191610824565b820191906000526020600020905b81548152906001019060200180831161080757829003601f168201915b50505050509050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66108628161085d61136d565b611375565b60005b8451811015610938576008600086838151811061088557610884613fe9565b5b60200260200101518152602001908152602001600020548482815181106108af576108ae613fe9565b5b60200260200101516108da8784815181106108cd576108cc613fe9565b5b6020026020010151610f9c565b6108e49190614047565b1115610925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091c906140e9565b60405180910390fd5b808061093090614109565b915050610865565b5061094585858585611425565b5050505050565b600060046000838152602001908152602001600020600101549050919050565b61097461136d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806109ba57506109b9856109b461136d565b61102a565b5b6109f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f0906141c3565b60405180910390fd5b610a068585858585611642565b5050505050565b610a168261094c565b610a2781610a2261136d565b611375565b610a318383611955565b505050565b610a3e61136d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610aab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa290614255565b60405180910390fd5b610ab58282611a36565b5050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610aeb81610ae661136d565b611375565b610af3611b18565b50565b60608151835114610b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b33906142e7565b60405180910390fd5b6000835167ffffffffffffffff811115610b5957610b586132fa565b5b604051908082528060200260200182016040528015610b875781602001602082028036833780820191505090505b50905060005b8451811015610c0457610bd4858281518110610bac57610bab613fe9565b5b6020026020010151858381518110610bc757610bc6613fe9565b5b6020026020010151610612565b828281518110610be757610be6613fe9565b5b60200260200101818152505080610bfd90614109565b9050610b8d565b508091505092915050565b600080610c1b83610f9c565b119050919050565b6000801b610c3881610c3361136d565b611375565b60005b85859050811015610ca357838382818110610c5957610c58613fe9565b5b9050602002013560086000888885818110610c7757610c76613fe9565b5b905060200201358152602001908152602001600020819055508080610c9b90614109565b915050610c3b565b505050505050565b6000600560009054906101000a900460ff16905090565b610cca61136d565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610d105750610d0f83610d0a61136d565b61102a565b5b610d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4690614379565b60405180910390fd5b610d5a838383611bba565b505050565b610d6761136d565b73ffffffffffffffffffffffffffffffffffffffff16610d85610ed2565b73ffffffffffffffffffffffffffffffffffffffff1614610ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd2906143e5565b60405180910390fd5b610de56000611e6a565b565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e1981610e1461136d565b611375565b600860008581526020019081526020016000205483610e3786610f9c565b610e419190614047565b1115610e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e79906140e9565b60405180910390fd5b610e8e85858585611f30565b5050505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610ec781610ec261136d565b611375565b610ecf6120c5565b50565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60086020528060005260406000206000915090505481565b6000801b81565b610f98610f9161136d565b8383612168565b5050565b600060066000838152602001908152602001600020549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610fe68261094c565b610ff781610ff261136d565b611375565b6110018383611a36565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110c661136d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061110c575061110b8561110661136d565b61102a565b5b61114b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114290614379565b60405180910390fd5b61115885858585856122d4565b5050505050565b61116761136d565b73ffffffffffffffffffffffffffffffffffffffff16611185610ed2565b73ffffffffffffffffffffffffffffffffffffffff16146111db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d2906143e5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361124a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124190614477565b60405180910390fd5b61125381611e6a565b50565b61125e61136d565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806112a457506112a38361129e61136d565b61102a565b5b6112e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112da90614379565b60405180910390fd5b6112ee838383612555565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611366575061136582612771565b5b9050919050565b600033905090565b61137f8282610efc565b61140e576113a48173ffffffffffffffffffffffffffffffffffffffff166014612853565b6113b28360001c6020612853565b6040516020016113c392919061456b565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140591906134f6565b60405180910390fd5b5050565b80600290816114219190614751565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b90614895565b60405180910390fd5b81518351146114d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cf90614927565b60405180910390fd5b60006114e261136d565b90506114f381600087878787612a8f565b60005b84518110156115ac5783818151811061151257611511613fe9565b5b60200260200101516000808784815181106115305761152f613fe9565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115929190614047565b9250508190555080806115a490614109565b9150506114f6565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611624929190614947565b60405180910390a461163b81600087878787612aed565b5050505050565b8151835114611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d90614927565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036116f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ec906149f0565b60405180910390fd5b60006116ff61136d565b905061170f818787878787612a8f565b60005b84518110156118c05760008582815181106117305761172f613fe9565b5b60200260200101519050600085838151811061174f5761174e613fe9565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156117f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e790614a82565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118a59190614047565b92505081905550505050806118b990614109565b9050611712565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611937929190614947565b60405180910390a461194d818787878787612aed565b505050505050565b61195f8282610efc565b611a325760016004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506119d761136d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611a408282610efc565b15611b145760006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611ab961136d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611b20610cab565b611b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5690614aee565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611ba361136d565b604051611bb09190613d19565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2090614b80565b60405180910390fd5b8051825114611c6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6490614927565b60405180910390fd5b6000611c7761136d565b9050611c9781856000868660405180602001604052806000815250612a8f565b60005b8351811015611de4576000848281518110611cb857611cb7613fe9565b5b602002602001015190506000848381518110611cd757611cd6613fe9565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6f90614c12565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611ddc90614109565b915050611c9a565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611e5c929190614947565b60405180910390a450505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9690614895565b60405180910390fd5b6000611fa961136d565b9050611fca81600087611fbb88612cc4565b611fc488612cc4565b87612a8f565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120299190614047565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516120a7929190614c32565b60405180910390a46120be81600087878787612d3e565b5050505050565b6120cd610cab565b1561210d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210490614ca7565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861215161136d565b60405161215e9190613d19565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036121d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cd90614d39565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122c791906132c4565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233a906149f0565b60405180910390fd5b600061234d61136d565b905061236d81878761235e88612cc4565b61236788612cc4565b87612a8f565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612404576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fb90614a82565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124b99190614047565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612536929190614c32565b60405180910390a461254c828888888888612d3e565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036125c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bb90614b80565b60405180910390fd5b60006125ce61136d565b90506125fe818560006125e087612cc4565b6125e987612cc4565b60405180602001604052806000815250612a8f565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268c90614c12565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612762929190614c32565b60405180910390a45050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061283c57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061284c575061284b82612f15565b5b9050919050565b6060600060028360026128669190614d59565b6128709190614047565b67ffffffffffffffff811115612889576128886132fa565b5b6040519080825280601f01601f1916602001820160405280156128bb5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106128f3576128f2613fe9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061295757612956613fe9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026129979190614d59565b6129a19190614047565b90505b6001811115612a41577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106129e3576129e2613fe9565b5b1a60f81b8282815181106129fa576129f9613fe9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612a3a90614db3565b90506129a4565b5060008414612a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7c90614e28565b60405180910390fd5b8091505092915050565b612a97610cab565b15612ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ace90614ca7565b60405180910390fd5b612ae5868686868686612f7f565b505050505050565b612b0c8473ffffffffffffffffffffffffffffffffffffffff166130f7565b15612cbc578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612b52959493929190614e9d565b6020604051808303816000875af1925050508015612b8e57506040513d601f19601f82011682018060405250810190612b8b9190614f1a565b60015b612c3357612b9a614f54565b806308c379a003612bf65750612bae614f76565b80612bb95750612bf8565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bed91906134f6565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2a90615078565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb19061510a565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612ce357612ce26132fa565b5b604051908082528060200260200182016040528015612d115781602001602082028036833780820191505090505b5090508281600081518110612d2957612d28613fe9565b5b60200260200101818152505080915050919050565b612d5d8473ffffffffffffffffffffffffffffffffffffffff166130f7565b15612f0d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612da395949392919061512a565b6020604051808303816000875af1925050508015612ddf57506040513d601f19601f82011682018060405250810190612ddc9190614f1a565b60015b612e8457612deb614f54565b806308c379a003612e475750612dff614f76565b80612e0a5750612e49565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3e91906134f6565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7b90615078565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612f0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f029061510a565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f8d86868686868661310a565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361303e5760005b835181101561303c57828181518110612fe057612fdf613fe9565b5b602002602001015160066000868481518110612fff57612ffe613fe9565b5b6020026020010151815260200190815260200160002060008282546130249190614047565b925050819055508061303590614109565b9050612fc4565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036130ef5760005b83518110156130ed5782818151811061309157613090613fe9565b5b6020026020010151600660008684815181106130b0576130af613fe9565b5b6020026020010151815260200190815260200160002060008282546130d59190615184565b92505081905550806130e690614109565b9050613075565b505b505050505050565b600080823b905060008111915050919050565b505050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061315182613126565b9050919050565b61316181613146565b811461316c57600080fd5b50565b60008135905061317e81613158565b92915050565b6000819050919050565b61319781613184565b81146131a257600080fd5b50565b6000813590506131b48161318e565b92915050565b600080604083850312156131d1576131d061311c565b5b60006131df8582860161316f565b92505060206131f0858286016131a5565b9150509250929050565b61320381613184565b82525050565b600060208201905061321e60008301846131fa565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61325981613224565b811461326457600080fd5b50565b60008135905061327681613250565b92915050565b6000602082840312156132925761329161311c565b5b60006132a084828501613267565b91505092915050565b60008115159050919050565b6132be816132a9565b82525050565b60006020820190506132d960008301846132b5565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613332826132e9565b810181811067ffffffffffffffff82111715613351576133506132fa565b5b80604052505050565b6000613364613112565b90506133708282613329565b919050565b600067ffffffffffffffff8211156133905761338f6132fa565b5b613399826132e9565b9050602081019050919050565b82818337600083830152505050565b60006133c86133c384613375565b61335a565b9050828152602081018484840111156133e4576133e36132e4565b5b6133ef8482856133a6565b509392505050565b600082601f83011261340c5761340b6132df565b5b813561341c8482602086016133b5565b91505092915050565b60006020828403121561343b5761343a61311c565b5b600082013567ffffffffffffffff81111561345957613458613121565b5b613465848285016133f7565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134a857808201518184015260208101905061348d565b838111156134b7576000848401525b50505050565b60006134c88261346e565b6134d28185613479565b93506134e281856020860161348a565b6134eb816132e9565b840191505092915050565b6000602082019050818103600083015261351081846134bd565b905092915050565b60006020828403121561352e5761352d61311c565b5b600061353c848285016131a5565b91505092915050565b600067ffffffffffffffff8211156135605761355f6132fa565b5b602082029050602081019050919050565b600080fd5b600061358961358484613545565b61335a565b905080838252602082019050602084028301858111156135ac576135ab613571565b5b835b818110156135d557806135c188826131a5565b8452602084019350506020810190506135ae565b5050509392505050565b600082601f8301126135f4576135f36132df565b5b8135613604848260208601613576565b91505092915050565b600067ffffffffffffffff821115613628576136276132fa565b5b613631826132e9565b9050602081019050919050565b600061365161364c8461360d565b61335a565b90508281526020810184848401111561366d5761366c6132e4565b5b6136788482856133a6565b509392505050565b600082601f830112613695576136946132df565b5b81356136a584826020860161363e565b91505092915050565b600080600080608085870312156136c8576136c761311c565b5b60006136d68782880161316f565b945050602085013567ffffffffffffffff8111156136f7576136f6613121565b5b613703878288016135df565b935050604085013567ffffffffffffffff81111561372457613723613121565b5b613730878288016135df565b925050606085013567ffffffffffffffff81111561375157613750613121565b5b61375d87828801613680565b91505092959194509250565b6000819050919050565b61377c81613769565b811461378757600080fd5b50565b60008135905061379981613773565b92915050565b6000602082840312156137b5576137b461311c565b5b60006137c38482850161378a565b91505092915050565b6137d581613769565b82525050565b60006020820190506137f060008301846137cc565b92915050565b600080600080600060a086880312156138125761381161311c565b5b60006138208882890161316f565b95505060206138318882890161316f565b945050604086013567ffffffffffffffff81111561385257613851613121565b5b61385e888289016135df565b935050606086013567ffffffffffffffff81111561387f5761387e613121565b5b61388b888289016135df565b925050608086013567ffffffffffffffff8111156138ac576138ab613121565b5b6138b888828901613680565b9150509295509295909350565b600080604083850312156138dc576138db61311c565b5b60006138ea8582860161378a565b92505060206138fb8582860161316f565b9150509250929050565b600067ffffffffffffffff8211156139205761391f6132fa565b5b602082029050602081019050919050565b600061394461393f84613905565b61335a565b9050808382526020820190506020840283018581111561396757613966613571565b5b835b81811015613990578061397c888261316f565b845260208401935050602081019050613969565b5050509392505050565b600082601f8301126139af576139ae6132df565b5b81356139bf848260208601613931565b91505092915050565b600080604083850312156139df576139de61311c565b5b600083013567ffffffffffffffff8111156139fd576139fc613121565b5b613a098582860161399a565b925050602083013567ffffffffffffffff811115613a2a57613a29613121565b5b613a36858286016135df565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613a7581613184565b82525050565b6000613a878383613a6c565b60208301905092915050565b6000602082019050919050565b6000613aab82613a40565b613ab58185613a4b565b9350613ac083613a5c565b8060005b83811015613af1578151613ad88882613a7b565b9750613ae383613a93565b925050600181019050613ac4565b5085935050505092915050565b60006020820190508181036000830152613b188184613aa0565b905092915050565b600080fd5b60008083601f840112613b3b57613b3a6132df565b5b8235905067ffffffffffffffff811115613b5857613b57613b20565b5b602083019150836020820283011115613b7457613b73613571565b5b9250929050565b60008060008060408587031215613b9557613b9461311c565b5b600085013567ffffffffffffffff811115613bb357613bb2613121565b5b613bbf87828801613b25565b9450945050602085013567ffffffffffffffff811115613be257613be1613121565b5b613bee87828801613b25565b925092505092959194509250565b600080600060608486031215613c1557613c1461311c565b5b6000613c238682870161316f565b935050602084013567ffffffffffffffff811115613c4457613c43613121565b5b613c50868287016135df565b925050604084013567ffffffffffffffff811115613c7157613c70613121565b5b613c7d868287016135df565b9150509250925092565b60008060008060808587031215613ca157613ca061311c565b5b6000613caf8782880161316f565b9450506020613cc0878288016131a5565b9350506040613cd1878288016131a5565b925050606085013567ffffffffffffffff811115613cf257613cf1613121565b5b613cfe87828801613680565b91505092959194509250565b613d1381613146565b82525050565b6000602082019050613d2e6000830184613d0a565b92915050565b613d3d816132a9565b8114613d4857600080fd5b50565b600081359050613d5a81613d34565b92915050565b60008060408385031215613d7757613d7661311c565b5b6000613d858582860161316f565b9250506020613d9685828601613d4b565b9150509250929050565b60008060408385031215613db757613db661311c565b5b6000613dc58582860161316f565b9250506020613dd68582860161316f565b9150509250929050565b600080600080600060a08688031215613dfc57613dfb61311c565b5b6000613e0a8882890161316f565b9550506020613e1b8882890161316f565b9450506040613e2c888289016131a5565b9350506060613e3d888289016131a5565b925050608086013567ffffffffffffffff811115613e5e57613e5d613121565b5b613e6a88828901613680565b9150509295509295909350565b600060208284031215613e8d57613e8c61311c565b5b6000613e9b8482850161316f565b91505092915050565b600080600060608486031215613ebd57613ebc61311c565b5b6000613ecb8682870161316f565b9350506020613edc868287016131a5565b9250506040613eed868287016131a5565b9150509250925092565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613f53602b83613479565b9150613f5e82613ef7565b604082019050919050565b60006020820190508181036000830152613f8281613f46565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fd057607f821691505b602082108103613fe357613fe2613f89565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061405282613184565b915061405d83613184565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561409257614091614018565b5b828201905092915050565b7f6578636565642070726573657400000000000000000000000000000000000000600082015250565b60006140d3600d83613479565b91506140de8261409d565b602082019050919050565b60006020820190508181036000830152614102816140c6565b9050919050565b600061411482613184565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361414657614145614018565b5b600182019050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006141ad603283613479565b91506141b882614151565b604082019050919050565b600060208201905081810360008301526141dc816141a0565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600061423f602f83613479565b915061424a826141e3565b604082019050919050565b6000602082019050818103600083015261426e81614232565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006142d1602983613479565b91506142dc82614275565b604082019050919050565b60006020820190508181036000830152614300816142c4565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614363602983613479565b915061436e82614307565b604082019050919050565b6000602082019050818103600083015261439281614356565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006143cf602083613479565b91506143da82614399565b602082019050919050565b600060208201905081810360008301526143fe816143c2565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614461602683613479565b915061446c82614405565b604082019050919050565b6000602082019050818103600083015261449081614454565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006144d8601783614497565b91506144e3826144a2565b601782019050919050565b60006144f98261346e565b6145038185614497565b935061451381856020860161348a565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614555601183614497565b91506145608261451f565b601182019050919050565b6000614576826144cb565b915061458282856144ee565b915061458d82614548565b915061459982846144ee565b91508190509392505050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026146077fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826145ca565b61461186836145ca565b95508019841693508086168417925050509392505050565b6000819050919050565b600061464e61464961464484613184565b614629565b613184565b9050919050565b6000819050919050565b61466883614633565b61467c61467482614655565b8484546145d7565b825550505050565b600090565b614691614684565b61469c81848461465f565b505050565b5b818110156146c0576146b5600082614689565b6001810190506146a2565b5050565b601f821115614705576146d6816145a5565b6146df846145ba565b810160208510156146ee578190505b6147026146fa856145ba565b8301826146a1565b50505b505050565b600082821c905092915050565b60006147286000198460080261470a565b1980831691505092915050565b60006147418383614717565b9150826002028217905092915050565b61475a8261346e565b67ffffffffffffffff811115614773576147726132fa565b5b61477d8254613fb8565b6147888282856146c4565b600060209050601f8311600181146147bb57600084156147a9578287015190505b6147b38582614735565b86555061481b565b601f1984166147c9866145a5565b60005b828110156147f1578489015182556001820191506020850194506020810190506147cc565b8683101561480e578489015161480a601f891682614717565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061487f602183613479565b915061488a82614823565b604082019050919050565b600060208201905081810360008301526148ae81614872565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614911602883613479565b915061491c826148b5565b604082019050919050565b6000602082019050818103600083015261494081614904565b9050919050565b600060408201905081810360008301526149618185613aa0565b905081810360208301526149758184613aa0565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006149da602583613479565b91506149e58261497e565b604082019050919050565b60006020820190508181036000830152614a09816149cd565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614a6c602a83613479565b9150614a7782614a10565b604082019050919050565b60006020820190508181036000830152614a9b81614a5f565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614ad8601483613479565b9150614ae382614aa2565b602082019050919050565b60006020820190508181036000830152614b0781614acb565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614b6a602383613479565b9150614b7582614b0e565b604082019050919050565b60006020820190508181036000830152614b9981614b5d565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614bfc602483613479565b9150614c0782614ba0565b604082019050919050565b60006020820190508181036000830152614c2b81614bef565b9050919050565b6000604082019050614c4760008301856131fa565b614c5460208301846131fa565b9392505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614c91601083613479565b9150614c9c82614c5b565b602082019050919050565b60006020820190508181036000830152614cc081614c84565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614d23602983613479565b9150614d2e82614cc7565b604082019050919050565b60006020820190508181036000830152614d5281614d16565b9050919050565b6000614d6482613184565b9150614d6f83613184565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614da857614da7614018565b5b828202905092915050565b6000614dbe82613184565b915060008203614dd157614dd0614018565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614e12602083613479565b9150614e1d82614ddc565b602082019050919050565b60006020820190508181036000830152614e4181614e05565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614e6f82614e48565b614e798185614e53565b9350614e8981856020860161348a565b614e92816132e9565b840191505092915050565b600060a082019050614eb26000830188613d0a565b614ebf6020830187613d0a565b8181036040830152614ed18186613aa0565b90508181036060830152614ee58185613aa0565b90508181036080830152614ef98184614e64565b90509695505050505050565b600081519050614f1481613250565b92915050565b600060208284031215614f3057614f2f61311c565b5b6000614f3e84828501614f05565b91505092915050565b60008160e01c9050919050565b600060033d1115614f735760046000803e614f70600051614f47565b90505b90565b600060443d1061500357614f88613112565b60043d036004823e80513d602482011167ffffffffffffffff82111715614fb0575050615003565b808201805167ffffffffffffffff811115614fce5750505050615003565b80602083010160043d038501811115614feb575050505050615003565b614ffa82602001850186613329565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615062603483613479565b915061506d82615006565b604082019050919050565b6000602082019050818103600083015261509181615055565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006150f4602883613479565b91506150ff82615098565b604082019050919050565b60006020820190508181036000830152615123816150e7565b9050919050565b600060a08201905061513f6000830188613d0a565b61514c6020830187613d0a565b61515960408301866131fa565b61516660608301856131fa565b81810360808301526151788184614e64565b90509695505050505050565b600061518f82613184565b915061519a83613184565b9250828210156151ad576151ac614018565b5b82820390509291505056fea2646970667358221220c8942c0ae73206d20aba62a52bf9fa3bebb2916ff5b8609c53cc5e3c01120f6564736f6c634300080f0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.