Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 462 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 20305890 | 3 days ago | IN | 0 ETH | 0.000345 | ||||
Set Approval For... | 20289272 | 6 days ago | IN | 0 ETH | 0.00009954 | ||||
Set Approval For... | 20289269 | 6 days ago | IN | 0 ETH | 0.00009999 | ||||
Set Approval For... | 20289265 | 6 days ago | IN | 0 ETH | 0.00009616 | ||||
Set Approval For... | 20289261 | 6 days ago | IN | 0 ETH | 0.00017275 | ||||
Set Approval For... | 20264448 | 9 days ago | IN | 0 ETH | 0.00016939 | ||||
Set Approval For... | 20238746 | 13 days ago | IN | 0 ETH | 0.00068896 | ||||
Set Approval For... | 20226153 | 14 days ago | IN | 0 ETH | 0.00138069 | ||||
Set Approval For... | 20206852 | 17 days ago | IN | 0 ETH | 0.00035898 | ||||
Set Approval For... | 20192253 | 19 days ago | IN | 0 ETH | 0.00013891 | ||||
Set Approval For... | 20192068 | 19 days ago | IN | 0 ETH | 0.00018532 | ||||
Set Approval For... | 20191789 | 19 days ago | IN | 0 ETH | 0.00020937 | ||||
Set Approval For... | 20171110 | 22 days ago | IN | 0 ETH | 0.00034295 | ||||
Set Approval For... | 20082810 | 34 days ago | IN | 0 ETH | 0.00049373 | ||||
Set Approval For... | 20019290 | 43 days ago | IN | 0 ETH | 0.00054586 | ||||
Set Approval For... | 19984274 | 48 days ago | IN | 0 ETH | 0.0013021 | ||||
Set Approval For... | 19971207 | 50 days ago | IN | 0 ETH | 0.00057685 | ||||
Safe Transfer Fr... | 19941214 | 54 days ago | IN | 0 ETH | 0.00077516 | ||||
Set Approval For... | 19932430 | 55 days ago | IN | 0 ETH | 0.00052985 | ||||
Set Approval For... | 19906050 | 59 days ago | IN | 0 ETH | 0.00030986 | ||||
Set Approval For... | 19890420 | 61 days ago | IN | 0 ETH | 0.0005898 | ||||
Set Approval For... | 19762679 | 79 days ago | IN | 0 ETH | 0.00076772 | ||||
Set Approval For... | 19759711 | 80 days ago | IN | 0 ETH | 0.00022705 | ||||
Set Approval For... | 19759707 | 80 days ago | IN | 0 ETH | 0.00036463 | ||||
Set Approval For... | 19740958 | 82 days ago | IN | 0 ETH | 0.00030905 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
T2SNFT
Compiler Version
v0.8.17+commit.8df45f5f
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.17; 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/ERC1155Supply.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; contract T2SNFT is Pausable, ERC1155, AccessControl, ERC1155Supply, ERC1155Burnable { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE"); bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE"); bool public transferPaused; uint256 currentId; mapping(uint256 => uint256) public supplyLeft; mapping(uint256 => uint256) public associatedNumber; mapping(uint256 => bool) public mintAllowed; constructor() ERC1155("") { _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _grantRole(MINTER_ROLE, msg.sender); _grantRole(BURNER_ROLE, msg.sender); _grantRole(ADMIN_ROLE, msg.sender); } modifier whenNotTransferPaused() { require(!transferPaused, "transfer paused"); _; } modifier whenTransferPaused() { require(transferPaused, "transfer unpaused"); _; } modifier whenMintAllowed(uint256[] memory _ids) { for (uint256 i; i < _ids.length; i++) { require(mintAllowed[_ids[i]], "mint of one nft is not allowed"); } _; } function pause() public onlyRole(DEFAULT_ADMIN_ROLE) { _pause(); } function unpause() public onlyRole(DEFAULT_ADMIN_ROLE) { _unpause(); } function pauseTransfer() public whenNotTransferPaused onlyRole(DEFAULT_ADMIN_ROLE) { transferPaused = true; } function unpauseTransfer() public whenTransferPaused onlyRole(DEFAULT_ADMIN_ROLE) { transferPaused = false; } function setURI(string memory newuri) public onlyRole(ADMIN_ROLE) { _setURI(newuri); } function allowSelling(uint256 _id) public onlyRole(ADMIN_ROLE) { require(!mintAllowed[_id], "sell already allowed"); mintAllowed[_id] = true; } function disableSelling(uint256 _id) public onlyRole(ADMIN_ROLE) { require(mintAllowed[_id], "sell already disabled"); mintAllowed[_id] = false; } function addNFT( uint256 _supply, uint256 _number, bool _allowSell ) public onlyRole(ADMIN_ROLE) { currentId += 1; supplyLeft[currentId] = _supply; associatedNumber[currentId] = _number; _setSellStatus(currentId, _allowSell); } function updateSupplyLeft(uint256 _id, uint256 _supply) public onlyRole(ADMIN_ROLE) { require(currentId >= _id, "id doesn't exist"); require(supplyLeft[_id] != _supply, "supply already up to date"); supplyLeft[_id] = _supply; } function mint( address account, uint256 id, uint256 amount, bytes memory data ) public onlyRole(MINTER_ROLE) whenMintAllowed(_asSingletonArr(id)) { _mint(account, id, amount, data); } function mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public onlyRole(MINTER_ROLE) whenMintAllowed(ids) { _mintBatch(to, ids, amounts, data); } function burn( address _account, uint256 _id, uint256 _value ) public override onlyRole(BURNER_ROLE) { super.burn(_account, _id, _value); } function burnBatch( address _account, uint256[] memory _ids, uint256[] memory _values ) public override onlyRole(BURNER_ROLE) { super.burnBatch(_account, _ids, _values); } function _asSingletonArr(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override whenNotTransferPaused { return super.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 whenNotTransferPaused { return super.safeBatchTransferFrom(from, to, ids, amounts, data); } function _setSellStatus(uint256 _id, bool _newStatus) private { mintAllowed[_id] = _newStatus; } // The following functions are overrides required by Solidity. function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal override(ERC1155, ERC1155Supply) whenNotPaused { if (to != address(0)) { for (uint256 i; i < ids.length; i++) { require(supplyLeft[ids[i]] >= amounts[i], "not enough NFT"); supplyLeft[ids[i]] -= amounts[i]; } } ERC1155Supply._beforeTokenTransfer( operator, from, to, ids, amounts, data ); } function supportsInterface(bytes4 interfaceId) public view override(ERC1155, AccessControl) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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); _; } /** * @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 virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @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 virtual { 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 virtual 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. * * May emit a {RoleGranted} event. */ 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. * * May emit a {RoleRevoked} event. */ 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`. * * May emit a {RoleRevoked} event. */ 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. * * May emit a {RoleGranted} event. * * [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. * * May emit a {RoleGranted} event. */ 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. * * May emit a {RoleRevoked} event. */ 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 (last updated v4.7.0) (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 Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { 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 (last updated v4.7.0) (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: address zero is not a valid owner"); 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 token 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: caller is not token 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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, 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); _afterTokenTransfer(operator, from, to, ids, amounts, data); _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); _afterTokenTransfer(operator, from, to, ids, amounts, data); _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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * 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 _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); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Emits a {TransferSingle} event. * * 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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); 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); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * 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); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {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 `ids` and `amounts` 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 {} /** * @dev Hook that is called after 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 _afterTokenTransfer( 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 (last updated v4.6.0) (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) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 supply = _totalSupply[id]; require(supply >= amount, "ERC1155: burn amount exceeds totalSupply"); unchecked { _totalSupply[id] = supply - amount; } } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 token 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 token owner nor approved" ); _burnBatch(account, ids, values); } }
// 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/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // 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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// 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 (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 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 (last updated v4.5.0) (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. * * NOTE: 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. * * NOTE: 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":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":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BURNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"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":[{"internalType":"uint256","name":"_supply","type":"uint256"},{"internalType":"uint256","name":"_number","type":"uint256"},{"internalType":"bool","name":"_allowSell","type":"bool"}],"name":"addNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"allowSelling","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"associatedNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"disableSelling","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":"uint256","name":"","type":"uint256"}],"name":"mintAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"","type":"uint256"}],"name":"supplyLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"transferPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpauseTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"updateSupplyLeft","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
60806040523480156200001157600080fd5b506040518060200160405280600081525060008060006101000a81548160ff0219169083151502179055506200004d81620000ff60201b60201c565b50620000636000801b336200011460201b60201c565b620000957f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200011460201b60201c565b620000c77f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848336200011460201b60201c565b620000f97fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336200011460201b60201c565b620005da565b8060039081620001109190620004f3565b5050565b6200012682826200020660201b60201c565b620002025760016004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001a76200027160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002fb57607f821691505b602082108103620003115762000310620002b3565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200037b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200033c565b6200038786836200033c565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003d4620003ce620003c8846200039f565b620003a9565b6200039f565b9050919050565b6000819050919050565b620003f083620003b3565b62000408620003ff82620003db565b84845462000349565b825550505050565b600090565b6200041f62000410565b6200042c818484620003e5565b505050565b5b8181101562000454576200044860008262000415565b60018101905062000432565b5050565b601f821115620004a3576200046d8162000317565b62000478846200032c565b8101602085101562000488578190505b620004a062000497856200032c565b83018262000431565b50505b505050565b600082821c905092915050565b6000620004c860001984600802620004a8565b1980831691505092915050565b6000620004e38383620004b5565b9150826002028217905092915050565b620004fe8262000279565b67ffffffffffffffff8111156200051a576200051962000284565b5b620005268254620002e2565b6200053382828562000458565b600060209050601f8311600181146200056b576000841562000556578287015190505b620005628582620004d5565b865550620005d2565b601f1984166200057b8662000317565b60005b82811015620005a5578489015182556001820191506020850194506020810190506200057e565b86831015620005c55784890151620005c1601f891682620004b5565b8355505b6001600288020188555050505b505050505050565b61588e80620005ea6000396000f3fe608060405234801561001057600080fd5b50600436106102265760003560e01c8063731133e911610130578063ae464eed116100b8578063e985e9c51161007c578063e985e9c514610649578063f242432a14610679578063f5298aca14610695578063f73eb4ad146106b1578063fb2cb34e146106cd57610226565b8063ae464eed14610593578063bd85b039146105c3578063d5391393146105f3578063d547741f14610611578063e02569741461062d57610226565b806390a70139116100ff57806390a70139146104ef57806391d14854146104f957806398dc60eb14610529578063a217fddf14610559578063a22cb4651461057757610226565b8063731133e91461047b57806375b238fc1461049757806381694a2b146104b55780638456cb59146104e557610226565b80632eb2c2d6116101b35780634cdea20a116101825780634cdea20a146103c55780634e1273f4146103e15780634f558e79146104115780635c975abb146104415780636b20c4541461045f57610226565b80632eb2c2d6146103675780632f2ff15d1461038357806336568abe1461039f5780633f4ba83a146103bb57610226565b80630e89341c116101fa5780630e89341c146102c35780631f7fdffa146102f3578063248a9ca31461030f578063282c51f31461033f5780632bfea0e41461035d57610226565b8062fdd58e1461022b57806301ffc9a71461025b57806302fe53051461028b578063090a424a146102a7575b600080fd5b6102456004803603810190610240919061371d565b6106eb565b604051610252919061376c565b60405180910390f35b610275600480360381019061027091906137df565b6107b4565b6040516102829190613827565b60405180910390f35b6102a560048036038101906102a09190613988565b6107c6565b005b6102c160048036038101906102bc91906139fd565b6107fd565b005b6102dd60048036038101906102d89190613a50565b610887565b6040516102ea9190613afc565b60405180910390f35b61030d60048036038101906103089190613c87565b61091b565b005b61032960048036038101906103249190613d78565b6109f4565b6040516103369190613db4565b60405180910390f35b610347610a14565b6040516103549190613db4565b60405180910390f35b610365610a38565b005b610381600480360381019061037c9190613dcf565b610ab2565b005b61039d60048036038101906103989190613e9e565b610b16565b005b6103b960048036038101906103b49190613e9e565b610b37565b005b6103c3610bba565b005b6103df60048036038101906103da9190613a50565b610bd2565b005b6103fb60048036038101906103f69190613fa1565b610c8d565b60405161040891906140d7565b60405180910390f35b61042b60048036038101906104269190613a50565b610da6565b6040516104389190613827565b60405180910390f35b610449610dba565b6040516104569190613827565b60405180910390f35b610479600480360381019061047491906140f9565b610dd0565b005b61049560048036038101906104909190614184565b610e0b565b005b61049f610eec565b6040516104ac9190613db4565b60405180910390f35b6104cf60048036038101906104ca9190613a50565b610f10565b6040516104dc9190613827565b60405180910390f35b6104ed610f30565b005b6104f7610f48565b005b610513600480360381019061050e9190613e9e565b610fc3565b6040516105209190613827565b60405180910390f35b610543600480360381019061053e9190613a50565b61102e565b604051610550919061376c565b60405180910390f35b610561611046565b60405161056e9190613db4565b60405180910390f35b610591600480360381019061058c9190614207565b61104d565b005b6105ad60048036038101906105a89190613a50565b611063565b6040516105ba919061376c565b60405180910390f35b6105dd60048036038101906105d89190613a50565b61107b565b6040516105ea919061376c565b60405180910390f35b6105fb611098565b6040516106089190613db4565b60405180910390f35b61062b60048036038101906106269190613e9e565b6110bc565b005b61064760048036038101906106429190613a50565b6110dd565b005b610663600480360381019061065e9190614247565b611197565b6040516106709190613827565b60405180910390f35b610693600480360381019061068e9190614287565b61122b565b005b6106af60048036038101906106aa919061431e565b61128f565b005b6106cb60048036038101906106c69190614371565b6112ca565b005b6106d56113ab565b6040516106e29190613827565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361075b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075290614423565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006107bf826113be565b9050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756107f081611438565b6107f98261144c565b5050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561082781611438565b60016007600082825461083a9190614472565b92505081905550836008600060075481526020019081526020016000208190555082600960006007548152602001908152602001600020819055506108816007548361145f565b50505050565b606060038054610896906144d5565b80601f01602080910402602001604051908101604052809291908181526020018280546108c2906144d5565b801561090f5780601f106108e45761010080835404028352916020019161090f565b820191906000526020600020905b8154815290600101906020018083116108f257829003601f168201915b50505050509050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661094581611438565b8360005b81518110156109df57600a600083838151811061096957610968614506565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff166109cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c390614581565b60405180910390fd5b80806109d7906145a1565b915050610949565b506109ec8686868661148e565b505050505050565b600060046000838152602001908152602001600020600101549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b600660009054906101000a900460ff16610a87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7e90614635565b60405180910390fd5b6000801b610a9481611438565b6000600660006101000a81548160ff02191690831515021790555050565b600660009054906101000a900460ff1615610b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af9906146a1565b60405180910390fd5b610b0f85858585856116bb565b5050505050565b610b1f826109f4565b610b2881611438565b610b32838361175c565b505050565b610b3f61183d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba390614733565b60405180910390fd5b610bb68282611845565b5050565b6000801b610bc781611438565b610bcf611927565b50565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610bfc81611438565b600a600083815260200190815260200160002060009054906101000a900460ff1615610c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c549061479f565b60405180910390fd5b6001600a600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60608151835114610cd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cca90614831565b60405180910390fd5b6000835167ffffffffffffffff811115610cf057610cef61385d565b5b604051908082528060200260200182016040528015610d1e5781602001602082028036833780820191505090505b50905060005b8451811015610d9b57610d6b858281518110610d4357610d42614506565b5b6020026020010151858381518110610d5e57610d5d614506565b5b60200260200101516106eb565b828281518110610d7e57610d7d614506565b5b60200260200101818152505080610d94906145a1565b9050610d24565b508091505092915050565b600080610db28361107b565b119050919050565b60008060009054906101000a900460ff16905090565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848610dfa81611438565b610e05848484611989565b50505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e3581611438565b610e3e84611a26565b60005b8151811015610ed757600a6000838381518110610e6157610e60614506565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff16610ec4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebb90614581565b60405180910390fd5b8080610ecf906145a1565b915050610e41565b50610ee486868686611aa0565b505050505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b600a6020528060005260406000206000915054906101000a900460ff1681565b6000801b610f3d81611438565b610f45611c51565b50565b600660009054906101000a900460ff1615610f98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8f906146a1565b60405180910390fd5b6000801b610fa581611438565b6001600660006101000a81548160ff02191690831515021790555050565b60006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60086020528060005260406000206000915090505481565b6000801b81565b61105f61105861183d565b8383611cb3565b5050565b60096020528060005260406000206000915090505481565b600060056000838152602001908152602001600020549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6110c5826109f4565b6110ce81611438565b6110d88383611845565b505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561110781611438565b600a600083815260200190815260200160002060009054906101000a900460ff16611167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115e9061489d565b60405180910390fd5b6000600a600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600660009054906101000a900460ff161561127b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611272906146a1565b60405180910390fd5b6112888585858585611e1f565b5050505050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8486112b981611438565b6112c4848484611ec0565b50505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756112f481611438565b826007541015611339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133090614909565b60405180910390fd5b8160086000858152602001908152602001600020540361138e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138590614975565b60405180910390fd5b816008600085815260200190815260200160002081905550505050565b600660009054906101000a900460ff1681565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611431575061143082611f5d565b5b9050919050565b6114498161144461183d565b61203f565b50565b806003908161145b9190614b41565b5050565b80600a600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036114fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f490614c85565b60405180910390fd5b8151835114611541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153890614d17565b60405180910390fd5b600061154b61183d565b905061155c816000878787876120dc565b60005b84518110156116165783818151811061157b5761157a614506565b5b60200260200101516001600087848151811061159a57611599614506565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115fc9190614472565b92505081905550808061160e906145a1565b91505061155f565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161168e929190614d37565b60405180910390a46116a581600087878787612237565b6116b48160008787878761223f565b5050505050565b6116c361183d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061170957506117088561170361183d565b611197565b5b611748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173f90614de0565b60405180910390fd5b6117558585858585612416565b5050505050565b6117668282610fc3565b6118395760016004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506117de61183d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b61184f8282610fc3565b156119235760006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506118c861183d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b61192f61273a565b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61197261183d565b60405161197f9190614e0f565b60405180910390a1565b61199161183d565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806119d757506119d6836119d161183d565b611197565b5b611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d90614de0565b60405180910390fd5b611a21838383612783565b505050565b60606000600167ffffffffffffffff811115611a4557611a4461385d565b5b604051908082528060200260200182016040528015611a735781602001602082028036833780820191505090505b5090508281600081518110611a8b57611a8a614506565b5b60200260200101818152505080915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0690614c85565b60405180910390fd5b6000611b1961183d565b90506000611b2685612a53565b90506000611b3385612a53565b9050611b44836000898585896120dc565b846001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ba49190614472565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611c22929190614e2a565b60405180910390a4611c3983600089858589612237565b611c4883600089898989612acd565b50505050505050565b611c59612ca4565b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611c9c61183d565b604051611ca99190614e0f565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1890614ec5565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e129190613827565b60405180910390a3505050565b611e2761183d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611e6d5750611e6c85611e6761183d565b611197565b5b611eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea390614de0565b60405180910390fd5b611eb98585858585612cee565b5050505050565b611ec861183d565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611f0e5750611f0d83611f0861183d565b611197565b5b611f4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4490614de0565b60405180910390fd5b611f58838383612f8c565b505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061202857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806120385750612037826131d4565b5b9050919050565b6120498282610fc3565b6120d85761206e8173ffffffffffffffffffffffffffffffffffffffff16601461323e565b61207c8360001c602061323e565b60405160200161208d929190614fb9565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cf9190613afc565b60405180910390fd5b5050565b6120e4612ca4565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146122215760005b835181101561221f5782818151811061213757612136614506565b5b60200260200101516008600086848151811061215657612155614506565b5b602002602001015181526020019081526020016000205410156121ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a59061503f565b60405180910390fd5b8281815181106121c1576121c0614506565b5b6020026020010151600860008684815181106121e0576121df614506565b5b602002602001015181526020019081526020016000206000828254612205919061505f565b925050819055508080612217906145a1565b91505061211b565b505b61222f86868686868661347a565b505050505050565b505050505050565b61225e8473ffffffffffffffffffffffffffffffffffffffff1661364a565b1561240e578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016122a49594939291906150e8565b6020604051808303816000875af19250505080156122e057506040513d601f19601f820116820180604052508101906122dd9190615165565b60015b612385576122ec61519f565b806308c379a00361234857506123006151c1565b8061230b575061234a565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233f9190613afc565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237c906152c3565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461240c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240390615355565b60405180910390fd5b505b505050505050565b815183511461245a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245190614d17565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036124c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c0906153e7565b60405180910390fd5b60006124d361183d565b90506124e38187878787876120dc565b60005b845181101561269757600085828151811061250457612503614506565b5b60200260200101519050600085838151811061252357612522614506565b5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156125c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bc90615479565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461267c9190614472565b9250508190555050505080612690906145a1565b90506124e6565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161270e929190614d37565b60405180910390a4612724818787878787612237565b61273281878787878761223f565b505050505050565b612742610dba565b612781576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612778906154e5565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036127f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e990615577565b60405180910390fd5b8051825114612836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282d90614d17565b60405180910390fd5b600061284061183d565b9050612860818560008686604051806020016040528060008152506120dc565b60005b83518110156129af57600084828151811061288157612880614506565b5b6020026020010151905060008483815181106128a05761289f614506565b5b6020026020010151905060006001600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293990615609565b60405180910390fd5b8181036001600085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806129a7906145a1565b915050612863565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612a27929190614d37565b60405180910390a4612a4d81856000868660405180602001604052806000815250612237565b50505050565b60606000600167ffffffffffffffff811115612a7257612a7161385d565b5b604051908082528060200260200182016040528015612aa05781602001602082028036833780820191505090505b5090508281600081518110612ab857612ab7614506565b5b60200260200101818152505080915050919050565b612aec8473ffffffffffffffffffffffffffffffffffffffff1661364a565b15612c9c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612b32959493929190615629565b6020604051808303816000875af1925050508015612b6e57506040513d601f19601f82011682018060405250810190612b6b9190615165565b60015b612c1357612b7a61519f565b806308c379a003612bd65750612b8e6151c1565b80612b995750612bd8565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcd9190613afc565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0a906152c3565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9190615355565b60405180910390fd5b505b505050505050565b612cac610dba565b15612cec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce3906156cf565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612d5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d54906153e7565b60405180910390fd5b6000612d6761183d565b90506000612d7485612a53565b90506000612d8185612a53565b9050612d918389898585896120dc565b60006001600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2090615479565b60405180910390fd5b8581036001600089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550856001600089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ee09190614472565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612f5d929190614e2a565b60405180910390a4612f73848a8a86868a612237565b612f81848a8a8a8a8a612acd565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff290615577565b60405180910390fd5b600061300561183d565b9050600061301284612a53565b9050600061301f84612a53565b905061303f838760008585604051806020016040528060008152506120dc565b60006001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156130d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ce90615609565b60405180910390fd5b8481036001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516131a5929190614e2a565b60405180910390a46131cb84886000868660405180602001604052806000815250612237565b50505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000600283600261325191906156ef565b61325b9190614472565b67ffffffffffffffff8111156132745761327361385d565b5b6040519080825280601f01601f1916602001820160405280156132a65781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106132de576132dd614506565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061334257613341614506565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261338291906156ef565b61338c9190614472565b90505b600181111561342c577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106133ce576133cd614506565b5b1a60f81b8282815181106133e5576133e4614506565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061342590615731565b905061338f565b5060008414613470576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613467906157a6565b60405180910390fd5b8091505092915050565b61348886868686868661366d565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036135395760005b8351811015613537578281815181106134db576134da614506565b5b6020026020010151600560008684815181106134fa576134f9614506565b5b60200260200101518152602001908152602001600020600082825461351f9190614472565b9250508190555080613530906145a1565b90506134bf565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036136425760005b835181101561364057600084828151811061358e5761358d614506565b5b6020026020010151905060008483815181106135ad576135ac614506565b5b6020026020010151905060006005600084815260200190815260200160002054905081811015613612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161360990615838565b60405180910390fd5b818103600560008581526020019081526020016000208190555050505080613639906145a1565b9050613570565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006136b482613689565b9050919050565b6136c4816136a9565b81146136cf57600080fd5b50565b6000813590506136e1816136bb565b92915050565b6000819050919050565b6136fa816136e7565b811461370557600080fd5b50565b600081359050613717816136f1565b92915050565b600080604083850312156137345761373361367f565b5b6000613742858286016136d2565b925050602061375385828601613708565b9150509250929050565b613766816136e7565b82525050565b6000602082019050613781600083018461375d565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137bc81613787565b81146137c757600080fd5b50565b6000813590506137d9816137b3565b92915050565b6000602082840312156137f5576137f461367f565b5b6000613803848285016137ca565b91505092915050565b60008115159050919050565b6138218161380c565b82525050565b600060208201905061383c6000830184613818565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6138958261384c565b810181811067ffffffffffffffff821117156138b4576138b361385d565b5b80604052505050565b60006138c7613675565b90506138d3828261388c565b919050565b600067ffffffffffffffff8211156138f3576138f261385d565b5b6138fc8261384c565b9050602081019050919050565b82818337600083830152505050565b600061392b613926846138d8565b6138bd565b90508281526020810184848401111561394757613946613847565b5b613952848285613909565b509392505050565b600082601f83011261396f5761396e613842565b5b813561397f848260208601613918565b91505092915050565b60006020828403121561399e5761399d61367f565b5b600082013567ffffffffffffffff8111156139bc576139bb613684565b5b6139c88482850161395a565b91505092915050565b6139da8161380c565b81146139e557600080fd5b50565b6000813590506139f7816139d1565b92915050565b600080600060608486031215613a1657613a1561367f565b5b6000613a2486828701613708565b9350506020613a3586828701613708565b9250506040613a46868287016139e8565b9150509250925092565b600060208284031215613a6657613a6561367f565b5b6000613a7484828501613708565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613ab7578082015181840152602081019050613a9c565b60008484015250505050565b6000613ace82613a7d565b613ad88185613a88565b9350613ae8818560208601613a99565b613af18161384c565b840191505092915050565b60006020820190508181036000830152613b168184613ac3565b905092915050565b600067ffffffffffffffff821115613b3957613b3861385d565b5b602082029050602081019050919050565b600080fd5b6000613b62613b5d84613b1e565b6138bd565b90508083825260208201905060208402830185811115613b8557613b84613b4a565b5b835b81811015613bae5780613b9a8882613708565b845260208401935050602081019050613b87565b5050509392505050565b600082601f830112613bcd57613bcc613842565b5b8135613bdd848260208601613b4f565b91505092915050565b600067ffffffffffffffff821115613c0157613c0061385d565b5b613c0a8261384c565b9050602081019050919050565b6000613c2a613c2584613be6565b6138bd565b905082815260208101848484011115613c4657613c45613847565b5b613c51848285613909565b509392505050565b600082601f830112613c6e57613c6d613842565b5b8135613c7e848260208601613c17565b91505092915050565b60008060008060808587031215613ca157613ca061367f565b5b6000613caf878288016136d2565b945050602085013567ffffffffffffffff811115613cd057613ccf613684565b5b613cdc87828801613bb8565b935050604085013567ffffffffffffffff811115613cfd57613cfc613684565b5b613d0987828801613bb8565b925050606085013567ffffffffffffffff811115613d2a57613d29613684565b5b613d3687828801613c59565b91505092959194509250565b6000819050919050565b613d5581613d42565b8114613d6057600080fd5b50565b600081359050613d7281613d4c565b92915050565b600060208284031215613d8e57613d8d61367f565b5b6000613d9c84828501613d63565b91505092915050565b613dae81613d42565b82525050565b6000602082019050613dc96000830184613da5565b92915050565b600080600080600060a08688031215613deb57613dea61367f565b5b6000613df9888289016136d2565b9550506020613e0a888289016136d2565b945050604086013567ffffffffffffffff811115613e2b57613e2a613684565b5b613e3788828901613bb8565b935050606086013567ffffffffffffffff811115613e5857613e57613684565b5b613e6488828901613bb8565b925050608086013567ffffffffffffffff811115613e8557613e84613684565b5b613e9188828901613c59565b9150509295509295909350565b60008060408385031215613eb557613eb461367f565b5b6000613ec385828601613d63565b9250506020613ed4858286016136d2565b9150509250929050565b600067ffffffffffffffff821115613ef957613ef861385d565b5b602082029050602081019050919050565b6000613f1d613f1884613ede565b6138bd565b90508083825260208201905060208402830185811115613f4057613f3f613b4a565b5b835b81811015613f695780613f5588826136d2565b845260208401935050602081019050613f42565b5050509392505050565b600082601f830112613f8857613f87613842565b5b8135613f98848260208601613f0a565b91505092915050565b60008060408385031215613fb857613fb761367f565b5b600083013567ffffffffffffffff811115613fd657613fd5613684565b5b613fe285828601613f73565b925050602083013567ffffffffffffffff81111561400357614002613684565b5b61400f85828601613bb8565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61404e816136e7565b82525050565b60006140608383614045565b60208301905092915050565b6000602082019050919050565b600061408482614019565b61408e8185614024565b935061409983614035565b8060005b838110156140ca5781516140b18882614054565b97506140bc8361406c565b92505060018101905061409d565b5085935050505092915050565b600060208201905081810360008301526140f18184614079565b905092915050565b6000806000606084860312156141125761411161367f565b5b6000614120868287016136d2565b935050602084013567ffffffffffffffff81111561414157614140613684565b5b61414d86828701613bb8565b925050604084013567ffffffffffffffff81111561416e5761416d613684565b5b61417a86828701613bb8565b9150509250925092565b6000806000806080858703121561419e5761419d61367f565b5b60006141ac878288016136d2565b94505060206141bd87828801613708565b93505060406141ce87828801613708565b925050606085013567ffffffffffffffff8111156141ef576141ee613684565b5b6141fb87828801613c59565b91505092959194509250565b6000806040838503121561421e5761421d61367f565b5b600061422c858286016136d2565b925050602061423d858286016139e8565b9150509250929050565b6000806040838503121561425e5761425d61367f565b5b600061426c858286016136d2565b925050602061427d858286016136d2565b9150509250929050565b600080600080600060a086880312156142a3576142a261367f565b5b60006142b1888289016136d2565b95505060206142c2888289016136d2565b94505060406142d388828901613708565b93505060606142e488828901613708565b925050608086013567ffffffffffffffff81111561430557614304613684565b5b61431188828901613c59565b9150509295509295909350565b6000806000606084860312156143375761433661367f565b5b6000614345868287016136d2565b935050602061435686828701613708565b925050604061436786828701613708565b9150509250925092565b600080604083850312156143885761438761367f565b5b600061439685828601613708565b92505060206143a785828601613708565b9150509250929050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b600061440d602a83613a88565b9150614418826143b1565b604082019050919050565b6000602082019050818103600083015261443c81614400565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061447d826136e7565b9150614488836136e7565b92508282019050808211156144a05761449f614443565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806144ed57607f821691505b602082108103614500576144ff6144a6565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f6d696e74206f66206f6e65206e6674206973206e6f7420616c6c6f7765640000600082015250565b600061456b601e83613a88565b915061457682614535565b602082019050919050565b6000602082019050818103600083015261459a8161455e565b9050919050565b60006145ac826136e7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036145de576145dd614443565b5b600182019050919050565b7f7472616e7366657220756e706175736564000000000000000000000000000000600082015250565b600061461f601183613a88565b915061462a826145e9565b602082019050919050565b6000602082019050818103600083015261464e81614612565b9050919050565b7f7472616e73666572207061757365640000000000000000000000000000000000600082015250565b600061468b600f83613a88565b915061469682614655565b602082019050919050565b600060208201905081810360008301526146ba8161467e565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600061471d602f83613a88565b9150614728826146c1565b604082019050919050565b6000602082019050818103600083015261474c81614710565b9050919050565b7f73656c6c20616c726561647920616c6c6f776564000000000000000000000000600082015250565b6000614789601483613a88565b915061479482614753565b602082019050919050565b600060208201905081810360008301526147b88161477c565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061481b602983613a88565b9150614826826147bf565b604082019050919050565b6000602082019050818103600083015261484a8161480e565b9050919050565b7f73656c6c20616c72656164792064697361626c65640000000000000000000000600082015250565b6000614887601583613a88565b915061489282614851565b602082019050919050565b600060208201905081810360008301526148b68161487a565b9050919050565b7f696420646f65736e277420657869737400000000000000000000000000000000600082015250565b60006148f3601083613a88565b91506148fe826148bd565b602082019050919050565b60006020820190508181036000830152614922816148e6565b9050919050565b7f737570706c7920616c726561647920757020746f206461746500000000000000600082015250565b600061495f601983613a88565b915061496a82614929565b602082019050919050565b6000602082019050818103600083015261498e81614952565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026149f77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826149ba565b614a0186836149ba565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614a3e614a39614a34846136e7565b614a19565b6136e7565b9050919050565b6000819050919050565b614a5883614a23565b614a6c614a6482614a45565b8484546149c7565b825550505050565b600090565b614a81614a74565b614a8c818484614a4f565b505050565b5b81811015614ab057614aa5600082614a79565b600181019050614a92565b5050565b601f821115614af557614ac681614995565b614acf846149aa565b81016020851015614ade578190505b614af2614aea856149aa565b830182614a91565b50505b505050565b600082821c905092915050565b6000614b1860001984600802614afa565b1980831691505092915050565b6000614b318383614b07565b9150826002028217905092915050565b614b4a82613a7d565b67ffffffffffffffff811115614b6357614b6261385d565b5b614b6d82546144d5565b614b78828285614ab4565b600060209050601f831160018114614bab5760008415614b99578287015190505b614ba38582614b25565b865550614c0b565b601f198416614bb986614995565b60005b82811015614be157848901518255600182019150602085019450602081019050614bbc565b86831015614bfe5784890151614bfa601f891682614b07565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c6f602183613a88565b9150614c7a82614c13565b604082019050919050565b60006020820190508181036000830152614c9e81614c62565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614d01602883613a88565b9150614d0c82614ca5565b604082019050919050565b60006020820190508181036000830152614d3081614cf4565b9050919050565b60006040820190508181036000830152614d518185614079565b90508181036020830152614d658184614079565b90509392505050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000614dca602f83613a88565b9150614dd582614d6e565b604082019050919050565b60006020820190508181036000830152614df981614dbd565b9050919050565b614e09816136a9565b82525050565b6000602082019050614e246000830184614e00565b92915050565b6000604082019050614e3f600083018561375d565b614e4c602083018461375d565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614eaf602983613a88565b9150614eba82614e53565b604082019050919050565b60006020820190508181036000830152614ede81614ea2565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614f26601783614ee5565b9150614f3182614ef0565b601782019050919050565b6000614f4782613a7d565b614f518185614ee5565b9350614f61818560208601613a99565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614fa3601183614ee5565b9150614fae82614f6d565b601182019050919050565b6000614fc482614f19565b9150614fd08285614f3c565b9150614fdb82614f96565b9150614fe78284614f3c565b91508190509392505050565b7f6e6f7420656e6f756768204e4654000000000000000000000000000000000000600082015250565b6000615029600e83613a88565b915061503482614ff3565b602082019050919050565b600060208201905081810360008301526150588161501c565b9050919050565b600061506a826136e7565b9150615075836136e7565b925082820390508181111561508d5761508c614443565b5b92915050565b600081519050919050565b600082825260208201905092915050565b60006150ba82615093565b6150c4818561509e565b93506150d4818560208601613a99565b6150dd8161384c565b840191505092915050565b600060a0820190506150fd6000830188614e00565b61510a6020830187614e00565b818103604083015261511c8186614079565b905081810360608301526151308185614079565b9050818103608083015261514481846150af565b90509695505050505050565b60008151905061515f816137b3565b92915050565b60006020828403121561517b5761517a61367f565b5b600061518984828501615150565b91505092915050565b60008160e01c9050919050565b600060033d11156151be5760046000803e6151bb600051615192565b90505b90565b600060443d1061524e576151d3613675565b60043d036004823e80513d602482011167ffffffffffffffff821117156151fb57505061524e565b808201805167ffffffffffffffff811115615219575050505061524e565b80602083010160043d03850181111561523657505050505061524e565b6152458260200185018661388c565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006152ad603483613a88565b91506152b882615251565b604082019050919050565b600060208201905081810360008301526152dc816152a0565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061533f602883613a88565b915061534a826152e3565b604082019050919050565b6000602082019050818103600083015261536e81615332565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006153d1602583613a88565b91506153dc82615375565b604082019050919050565b60006020820190508181036000830152615400816153c4565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000615463602a83613a88565b915061546e82615407565b604082019050919050565b6000602082019050818103600083015261549281615456565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006154cf601483613a88565b91506154da82615499565b602082019050919050565b600060208201905081810360008301526154fe816154c2565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615561602383613a88565b915061556c82615505565b604082019050919050565b6000602082019050818103600083015261559081615554565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b60006155f3602483613a88565b91506155fe82615597565b604082019050919050565b60006020820190508181036000830152615622816155e6565b9050919050565b600060a08201905061563e6000830188614e00565b61564b6020830187614e00565b615658604083018661375d565b615665606083018561375d565b818103608083015261567781846150af565b90509695505050505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006156b9601083613a88565b91506156c482615683565b602082019050919050565b600060208201905081810360008301526156e8816156ac565b9050919050565b60006156fa826136e7565b9150615705836136e7565b9250828202615713816136e7565b9150828204841483151761572a57615729614443565b5b5092915050565b600061573c826136e7565b91506000820361574f5761574e614443565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615790602083613a88565b915061579b8261575a565b602082019050919050565b600060208201905081810360008301526157bf81615783565b9050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b6000615822602883613a88565b915061582d826157c6565b604082019050919050565b6000602082019050818103600083015261585181615815565b905091905056fea26469706673582212204f6d7a0593b9cf1cfeb3d44d46ba24057ef2668bc88baafdb2a82222a9109f8c64736f6c63430008110033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102265760003560e01c8063731133e911610130578063ae464eed116100b8578063e985e9c51161007c578063e985e9c514610649578063f242432a14610679578063f5298aca14610695578063f73eb4ad146106b1578063fb2cb34e146106cd57610226565b8063ae464eed14610593578063bd85b039146105c3578063d5391393146105f3578063d547741f14610611578063e02569741461062d57610226565b806390a70139116100ff57806390a70139146104ef57806391d14854146104f957806398dc60eb14610529578063a217fddf14610559578063a22cb4651461057757610226565b8063731133e91461047b57806375b238fc1461049757806381694a2b146104b55780638456cb59146104e557610226565b80632eb2c2d6116101b35780634cdea20a116101825780634cdea20a146103c55780634e1273f4146103e15780634f558e79146104115780635c975abb146104415780636b20c4541461045f57610226565b80632eb2c2d6146103675780632f2ff15d1461038357806336568abe1461039f5780633f4ba83a146103bb57610226565b80630e89341c116101fa5780630e89341c146102c35780631f7fdffa146102f3578063248a9ca31461030f578063282c51f31461033f5780632bfea0e41461035d57610226565b8062fdd58e1461022b57806301ffc9a71461025b57806302fe53051461028b578063090a424a146102a7575b600080fd5b6102456004803603810190610240919061371d565b6106eb565b604051610252919061376c565b60405180910390f35b610275600480360381019061027091906137df565b6107b4565b6040516102829190613827565b60405180910390f35b6102a560048036038101906102a09190613988565b6107c6565b005b6102c160048036038101906102bc91906139fd565b6107fd565b005b6102dd60048036038101906102d89190613a50565b610887565b6040516102ea9190613afc565b60405180910390f35b61030d60048036038101906103089190613c87565b61091b565b005b61032960048036038101906103249190613d78565b6109f4565b6040516103369190613db4565b60405180910390f35b610347610a14565b6040516103549190613db4565b60405180910390f35b610365610a38565b005b610381600480360381019061037c9190613dcf565b610ab2565b005b61039d60048036038101906103989190613e9e565b610b16565b005b6103b960048036038101906103b49190613e9e565b610b37565b005b6103c3610bba565b005b6103df60048036038101906103da9190613a50565b610bd2565b005b6103fb60048036038101906103f69190613fa1565b610c8d565b60405161040891906140d7565b60405180910390f35b61042b60048036038101906104269190613a50565b610da6565b6040516104389190613827565b60405180910390f35b610449610dba565b6040516104569190613827565b60405180910390f35b610479600480360381019061047491906140f9565b610dd0565b005b61049560048036038101906104909190614184565b610e0b565b005b61049f610eec565b6040516104ac9190613db4565b60405180910390f35b6104cf60048036038101906104ca9190613a50565b610f10565b6040516104dc9190613827565b60405180910390f35b6104ed610f30565b005b6104f7610f48565b005b610513600480360381019061050e9190613e9e565b610fc3565b6040516105209190613827565b60405180910390f35b610543600480360381019061053e9190613a50565b61102e565b604051610550919061376c565b60405180910390f35b610561611046565b60405161056e9190613db4565b60405180910390f35b610591600480360381019061058c9190614207565b61104d565b005b6105ad60048036038101906105a89190613a50565b611063565b6040516105ba919061376c565b60405180910390f35b6105dd60048036038101906105d89190613a50565b61107b565b6040516105ea919061376c565b60405180910390f35b6105fb611098565b6040516106089190613db4565b60405180910390f35b61062b60048036038101906106269190613e9e565b6110bc565b005b61064760048036038101906106429190613a50565b6110dd565b005b610663600480360381019061065e9190614247565b611197565b6040516106709190613827565b60405180910390f35b610693600480360381019061068e9190614287565b61122b565b005b6106af60048036038101906106aa919061431e565b61128f565b005b6106cb60048036038101906106c69190614371565b6112ca565b005b6106d56113ab565b6040516106e29190613827565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361075b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075290614423565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006107bf826113be565b9050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756107f081611438565b6107f98261144c565b5050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561082781611438565b60016007600082825461083a9190614472565b92505081905550836008600060075481526020019081526020016000208190555082600960006007548152602001908152602001600020819055506108816007548361145f565b50505050565b606060038054610896906144d5565b80601f01602080910402602001604051908101604052809291908181526020018280546108c2906144d5565b801561090f5780601f106108e45761010080835404028352916020019161090f565b820191906000526020600020905b8154815290600101906020018083116108f257829003601f168201915b50505050509050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661094581611438565b8360005b81518110156109df57600a600083838151811061096957610968614506565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff166109cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c390614581565b60405180910390fd5b80806109d7906145a1565b915050610949565b506109ec8686868661148e565b505050505050565b600060046000838152602001908152602001600020600101549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b600660009054906101000a900460ff16610a87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7e90614635565b60405180910390fd5b6000801b610a9481611438565b6000600660006101000a81548160ff02191690831515021790555050565b600660009054906101000a900460ff1615610b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af9906146a1565b60405180910390fd5b610b0f85858585856116bb565b5050505050565b610b1f826109f4565b610b2881611438565b610b32838361175c565b505050565b610b3f61183d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba390614733565b60405180910390fd5b610bb68282611845565b5050565b6000801b610bc781611438565b610bcf611927565b50565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610bfc81611438565b600a600083815260200190815260200160002060009054906101000a900460ff1615610c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c549061479f565b60405180910390fd5b6001600a600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60608151835114610cd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cca90614831565b60405180910390fd5b6000835167ffffffffffffffff811115610cf057610cef61385d565b5b604051908082528060200260200182016040528015610d1e5781602001602082028036833780820191505090505b50905060005b8451811015610d9b57610d6b858281518110610d4357610d42614506565b5b6020026020010151858381518110610d5e57610d5d614506565b5b60200260200101516106eb565b828281518110610d7e57610d7d614506565b5b60200260200101818152505080610d94906145a1565b9050610d24565b508091505092915050565b600080610db28361107b565b119050919050565b60008060009054906101000a900460ff16905090565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848610dfa81611438565b610e05848484611989565b50505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e3581611438565b610e3e84611a26565b60005b8151811015610ed757600a6000838381518110610e6157610e60614506565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff16610ec4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebb90614581565b60405180910390fd5b8080610ecf906145a1565b915050610e41565b50610ee486868686611aa0565b505050505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b600a6020528060005260406000206000915054906101000a900460ff1681565b6000801b610f3d81611438565b610f45611c51565b50565b600660009054906101000a900460ff1615610f98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8f906146a1565b60405180910390fd5b6000801b610fa581611438565b6001600660006101000a81548160ff02191690831515021790555050565b60006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60086020528060005260406000206000915090505481565b6000801b81565b61105f61105861183d565b8383611cb3565b5050565b60096020528060005260406000206000915090505481565b600060056000838152602001908152602001600020549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6110c5826109f4565b6110ce81611438565b6110d88383611845565b505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561110781611438565b600a600083815260200190815260200160002060009054906101000a900460ff16611167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115e9061489d565b60405180910390fd5b6000600a600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600660009054906101000a900460ff161561127b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611272906146a1565b60405180910390fd5b6112888585858585611e1f565b5050505050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8486112b981611438565b6112c4848484611ec0565b50505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756112f481611438565b826007541015611339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133090614909565b60405180910390fd5b8160086000858152602001908152602001600020540361138e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138590614975565b60405180910390fd5b816008600085815260200190815260200160002081905550505050565b600660009054906101000a900460ff1681565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611431575061143082611f5d565b5b9050919050565b6114498161144461183d565b61203f565b50565b806003908161145b9190614b41565b5050565b80600a600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036114fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f490614c85565b60405180910390fd5b8151835114611541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153890614d17565b60405180910390fd5b600061154b61183d565b905061155c816000878787876120dc565b60005b84518110156116165783818151811061157b5761157a614506565b5b60200260200101516001600087848151811061159a57611599614506565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115fc9190614472565b92505081905550808061160e906145a1565b91505061155f565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161168e929190614d37565b60405180910390a46116a581600087878787612237565b6116b48160008787878761223f565b5050505050565b6116c361183d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061170957506117088561170361183d565b611197565b5b611748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173f90614de0565b60405180910390fd5b6117558585858585612416565b5050505050565b6117668282610fc3565b6118395760016004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506117de61183d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b61184f8282610fc3565b156119235760006004600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506118c861183d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b61192f61273a565b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61197261183d565b60405161197f9190614e0f565b60405180910390a1565b61199161183d565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806119d757506119d6836119d161183d565b611197565b5b611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d90614de0565b60405180910390fd5b611a21838383612783565b505050565b60606000600167ffffffffffffffff811115611a4557611a4461385d565b5b604051908082528060200260200182016040528015611a735781602001602082028036833780820191505090505b5090508281600081518110611a8b57611a8a614506565b5b60200260200101818152505080915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0690614c85565b60405180910390fd5b6000611b1961183d565b90506000611b2685612a53565b90506000611b3385612a53565b9050611b44836000898585896120dc565b846001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ba49190614472565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611c22929190614e2a565b60405180910390a4611c3983600089858589612237565b611c4883600089898989612acd565b50505050505050565b611c59612ca4565b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611c9c61183d565b604051611ca99190614e0f565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1890614ec5565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e129190613827565b60405180910390a3505050565b611e2761183d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611e6d5750611e6c85611e6761183d565b611197565b5b611eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea390614de0565b60405180910390fd5b611eb98585858585612cee565b5050505050565b611ec861183d565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611f0e5750611f0d83611f0861183d565b611197565b5b611f4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4490614de0565b60405180910390fd5b611f58838383612f8c565b505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061202857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806120385750612037826131d4565b5b9050919050565b6120498282610fc3565b6120d85761206e8173ffffffffffffffffffffffffffffffffffffffff16601461323e565b61207c8360001c602061323e565b60405160200161208d929190614fb9565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cf9190613afc565b60405180910390fd5b5050565b6120e4612ca4565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146122215760005b835181101561221f5782818151811061213757612136614506565b5b60200260200101516008600086848151811061215657612155614506565b5b602002602001015181526020019081526020016000205410156121ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a59061503f565b60405180910390fd5b8281815181106121c1576121c0614506565b5b6020026020010151600860008684815181106121e0576121df614506565b5b602002602001015181526020019081526020016000206000828254612205919061505f565b925050819055508080612217906145a1565b91505061211b565b505b61222f86868686868661347a565b505050505050565b505050505050565b61225e8473ffffffffffffffffffffffffffffffffffffffff1661364a565b1561240e578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016122a49594939291906150e8565b6020604051808303816000875af19250505080156122e057506040513d601f19601f820116820180604052508101906122dd9190615165565b60015b612385576122ec61519f565b806308c379a00361234857506123006151c1565b8061230b575061234a565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233f9190613afc565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237c906152c3565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461240c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240390615355565b60405180910390fd5b505b505050505050565b815183511461245a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245190614d17565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036124c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c0906153e7565b60405180910390fd5b60006124d361183d565b90506124e38187878787876120dc565b60005b845181101561269757600085828151811061250457612503614506565b5b60200260200101519050600085838151811061252357612522614506565b5b6020026020010151905060006001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156125c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bc90615479565b60405180910390fd5b8181036001600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461267c9190614472565b9250508190555050505080612690906145a1565b90506124e6565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161270e929190614d37565b60405180910390a4612724818787878787612237565b61273281878787878761223f565b505050505050565b612742610dba565b612781576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612778906154e5565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036127f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e990615577565b60405180910390fd5b8051825114612836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282d90614d17565b60405180910390fd5b600061284061183d565b9050612860818560008686604051806020016040528060008152506120dc565b60005b83518110156129af57600084828151811061288157612880614506565b5b6020026020010151905060008483815181106128a05761289f614506565b5b6020026020010151905060006001600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293990615609565b60405180910390fd5b8181036001600085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806129a7906145a1565b915050612863565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612a27929190614d37565b60405180910390a4612a4d81856000868660405180602001604052806000815250612237565b50505050565b60606000600167ffffffffffffffff811115612a7257612a7161385d565b5b604051908082528060200260200182016040528015612aa05781602001602082028036833780820191505090505b5090508281600081518110612ab857612ab7614506565b5b60200260200101818152505080915050919050565b612aec8473ffffffffffffffffffffffffffffffffffffffff1661364a565b15612c9c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612b32959493929190615629565b6020604051808303816000875af1925050508015612b6e57506040513d601f19601f82011682018060405250810190612b6b9190615165565b60015b612c1357612b7a61519f565b806308c379a003612bd65750612b8e6151c1565b80612b995750612bd8565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcd9190613afc565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0a906152c3565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9190615355565b60405180910390fd5b505b505050505050565b612cac610dba565b15612cec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce3906156cf565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612d5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d54906153e7565b60405180910390fd5b6000612d6761183d565b90506000612d7485612a53565b90506000612d8185612a53565b9050612d918389898585896120dc565b60006001600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2090615479565b60405180910390fd5b8581036001600089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550856001600089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ee09190614472565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612f5d929190614e2a565b60405180910390a4612f73848a8a86868a612237565b612f81848a8a8a8a8a612acd565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff290615577565b60405180910390fd5b600061300561183d565b9050600061301284612a53565b9050600061301f84612a53565b905061303f838760008585604051806020016040528060008152506120dc565b60006001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156130d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ce90615609565b60405180910390fd5b8481036001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516131a5929190614e2a565b60405180910390a46131cb84886000868660405180602001604052806000815250612237565b50505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000600283600261325191906156ef565b61325b9190614472565b67ffffffffffffffff8111156132745761327361385d565b5b6040519080825280601f01601f1916602001820160405280156132a65781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106132de576132dd614506565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061334257613341614506565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261338291906156ef565b61338c9190614472565b90505b600181111561342c577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106133ce576133cd614506565b5b1a60f81b8282815181106133e5576133e4614506565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061342590615731565b905061338f565b5060008414613470576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613467906157a6565b60405180910390fd5b8091505092915050565b61348886868686868661366d565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036135395760005b8351811015613537578281815181106134db576134da614506565b5b6020026020010151600560008684815181106134fa576134f9614506565b5b60200260200101518152602001908152602001600020600082825461351f9190614472565b9250508190555080613530906145a1565b90506134bf565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036136425760005b835181101561364057600084828151811061358e5761358d614506565b5b6020026020010151905060008483815181106135ad576135ac614506565b5b6020026020010151905060006005600084815260200190815260200160002054905081811015613612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161360990615838565b60405180910390fd5b818103600560008581526020019081526020016000208190555050505080613639906145a1565b9050613570565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006136b482613689565b9050919050565b6136c4816136a9565b81146136cf57600080fd5b50565b6000813590506136e1816136bb565b92915050565b6000819050919050565b6136fa816136e7565b811461370557600080fd5b50565b600081359050613717816136f1565b92915050565b600080604083850312156137345761373361367f565b5b6000613742858286016136d2565b925050602061375385828601613708565b9150509250929050565b613766816136e7565b82525050565b6000602082019050613781600083018461375d565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137bc81613787565b81146137c757600080fd5b50565b6000813590506137d9816137b3565b92915050565b6000602082840312156137f5576137f461367f565b5b6000613803848285016137ca565b91505092915050565b60008115159050919050565b6138218161380c565b82525050565b600060208201905061383c6000830184613818565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6138958261384c565b810181811067ffffffffffffffff821117156138b4576138b361385d565b5b80604052505050565b60006138c7613675565b90506138d3828261388c565b919050565b600067ffffffffffffffff8211156138f3576138f261385d565b5b6138fc8261384c565b9050602081019050919050565b82818337600083830152505050565b600061392b613926846138d8565b6138bd565b90508281526020810184848401111561394757613946613847565b5b613952848285613909565b509392505050565b600082601f83011261396f5761396e613842565b5b813561397f848260208601613918565b91505092915050565b60006020828403121561399e5761399d61367f565b5b600082013567ffffffffffffffff8111156139bc576139bb613684565b5b6139c88482850161395a565b91505092915050565b6139da8161380c565b81146139e557600080fd5b50565b6000813590506139f7816139d1565b92915050565b600080600060608486031215613a1657613a1561367f565b5b6000613a2486828701613708565b9350506020613a3586828701613708565b9250506040613a46868287016139e8565b9150509250925092565b600060208284031215613a6657613a6561367f565b5b6000613a7484828501613708565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613ab7578082015181840152602081019050613a9c565b60008484015250505050565b6000613ace82613a7d565b613ad88185613a88565b9350613ae8818560208601613a99565b613af18161384c565b840191505092915050565b60006020820190508181036000830152613b168184613ac3565b905092915050565b600067ffffffffffffffff821115613b3957613b3861385d565b5b602082029050602081019050919050565b600080fd5b6000613b62613b5d84613b1e565b6138bd565b90508083825260208201905060208402830185811115613b8557613b84613b4a565b5b835b81811015613bae5780613b9a8882613708565b845260208401935050602081019050613b87565b5050509392505050565b600082601f830112613bcd57613bcc613842565b5b8135613bdd848260208601613b4f565b91505092915050565b600067ffffffffffffffff821115613c0157613c0061385d565b5b613c0a8261384c565b9050602081019050919050565b6000613c2a613c2584613be6565b6138bd565b905082815260208101848484011115613c4657613c45613847565b5b613c51848285613909565b509392505050565b600082601f830112613c6e57613c6d613842565b5b8135613c7e848260208601613c17565b91505092915050565b60008060008060808587031215613ca157613ca061367f565b5b6000613caf878288016136d2565b945050602085013567ffffffffffffffff811115613cd057613ccf613684565b5b613cdc87828801613bb8565b935050604085013567ffffffffffffffff811115613cfd57613cfc613684565b5b613d0987828801613bb8565b925050606085013567ffffffffffffffff811115613d2a57613d29613684565b5b613d3687828801613c59565b91505092959194509250565b6000819050919050565b613d5581613d42565b8114613d6057600080fd5b50565b600081359050613d7281613d4c565b92915050565b600060208284031215613d8e57613d8d61367f565b5b6000613d9c84828501613d63565b91505092915050565b613dae81613d42565b82525050565b6000602082019050613dc96000830184613da5565b92915050565b600080600080600060a08688031215613deb57613dea61367f565b5b6000613df9888289016136d2565b9550506020613e0a888289016136d2565b945050604086013567ffffffffffffffff811115613e2b57613e2a613684565b5b613e3788828901613bb8565b935050606086013567ffffffffffffffff811115613e5857613e57613684565b5b613e6488828901613bb8565b925050608086013567ffffffffffffffff811115613e8557613e84613684565b5b613e9188828901613c59565b9150509295509295909350565b60008060408385031215613eb557613eb461367f565b5b6000613ec385828601613d63565b9250506020613ed4858286016136d2565b9150509250929050565b600067ffffffffffffffff821115613ef957613ef861385d565b5b602082029050602081019050919050565b6000613f1d613f1884613ede565b6138bd565b90508083825260208201905060208402830185811115613f4057613f3f613b4a565b5b835b81811015613f695780613f5588826136d2565b845260208401935050602081019050613f42565b5050509392505050565b600082601f830112613f8857613f87613842565b5b8135613f98848260208601613f0a565b91505092915050565b60008060408385031215613fb857613fb761367f565b5b600083013567ffffffffffffffff811115613fd657613fd5613684565b5b613fe285828601613f73565b925050602083013567ffffffffffffffff81111561400357614002613684565b5b61400f85828601613bb8565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61404e816136e7565b82525050565b60006140608383614045565b60208301905092915050565b6000602082019050919050565b600061408482614019565b61408e8185614024565b935061409983614035565b8060005b838110156140ca5781516140b18882614054565b97506140bc8361406c565b92505060018101905061409d565b5085935050505092915050565b600060208201905081810360008301526140f18184614079565b905092915050565b6000806000606084860312156141125761411161367f565b5b6000614120868287016136d2565b935050602084013567ffffffffffffffff81111561414157614140613684565b5b61414d86828701613bb8565b925050604084013567ffffffffffffffff81111561416e5761416d613684565b5b61417a86828701613bb8565b9150509250925092565b6000806000806080858703121561419e5761419d61367f565b5b60006141ac878288016136d2565b94505060206141bd87828801613708565b93505060406141ce87828801613708565b925050606085013567ffffffffffffffff8111156141ef576141ee613684565b5b6141fb87828801613c59565b91505092959194509250565b6000806040838503121561421e5761421d61367f565b5b600061422c858286016136d2565b925050602061423d858286016139e8565b9150509250929050565b6000806040838503121561425e5761425d61367f565b5b600061426c858286016136d2565b925050602061427d858286016136d2565b9150509250929050565b600080600080600060a086880312156142a3576142a261367f565b5b60006142b1888289016136d2565b95505060206142c2888289016136d2565b94505060406142d388828901613708565b93505060606142e488828901613708565b925050608086013567ffffffffffffffff81111561430557614304613684565b5b61431188828901613c59565b9150509295509295909350565b6000806000606084860312156143375761433661367f565b5b6000614345868287016136d2565b935050602061435686828701613708565b925050604061436786828701613708565b9150509250925092565b600080604083850312156143885761438761367f565b5b600061439685828601613708565b92505060206143a785828601613708565b9150509250929050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b600061440d602a83613a88565b9150614418826143b1565b604082019050919050565b6000602082019050818103600083015261443c81614400565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061447d826136e7565b9150614488836136e7565b92508282019050808211156144a05761449f614443565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806144ed57607f821691505b602082108103614500576144ff6144a6565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f6d696e74206f66206f6e65206e6674206973206e6f7420616c6c6f7765640000600082015250565b600061456b601e83613a88565b915061457682614535565b602082019050919050565b6000602082019050818103600083015261459a8161455e565b9050919050565b60006145ac826136e7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036145de576145dd614443565b5b600182019050919050565b7f7472616e7366657220756e706175736564000000000000000000000000000000600082015250565b600061461f601183613a88565b915061462a826145e9565b602082019050919050565b6000602082019050818103600083015261464e81614612565b9050919050565b7f7472616e73666572207061757365640000000000000000000000000000000000600082015250565b600061468b600f83613a88565b915061469682614655565b602082019050919050565b600060208201905081810360008301526146ba8161467e565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600061471d602f83613a88565b9150614728826146c1565b604082019050919050565b6000602082019050818103600083015261474c81614710565b9050919050565b7f73656c6c20616c726561647920616c6c6f776564000000000000000000000000600082015250565b6000614789601483613a88565b915061479482614753565b602082019050919050565b600060208201905081810360008301526147b88161477c565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061481b602983613a88565b9150614826826147bf565b604082019050919050565b6000602082019050818103600083015261484a8161480e565b9050919050565b7f73656c6c20616c72656164792064697361626c65640000000000000000000000600082015250565b6000614887601583613a88565b915061489282614851565b602082019050919050565b600060208201905081810360008301526148b68161487a565b9050919050565b7f696420646f65736e277420657869737400000000000000000000000000000000600082015250565b60006148f3601083613a88565b91506148fe826148bd565b602082019050919050565b60006020820190508181036000830152614922816148e6565b9050919050565b7f737570706c7920616c726561647920757020746f206461746500000000000000600082015250565b600061495f601983613a88565b915061496a82614929565b602082019050919050565b6000602082019050818103600083015261498e81614952565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026149f77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826149ba565b614a0186836149ba565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614a3e614a39614a34846136e7565b614a19565b6136e7565b9050919050565b6000819050919050565b614a5883614a23565b614a6c614a6482614a45565b8484546149c7565b825550505050565b600090565b614a81614a74565b614a8c818484614a4f565b505050565b5b81811015614ab057614aa5600082614a79565b600181019050614a92565b5050565b601f821115614af557614ac681614995565b614acf846149aa565b81016020851015614ade578190505b614af2614aea856149aa565b830182614a91565b50505b505050565b600082821c905092915050565b6000614b1860001984600802614afa565b1980831691505092915050565b6000614b318383614b07565b9150826002028217905092915050565b614b4a82613a7d565b67ffffffffffffffff811115614b6357614b6261385d565b5b614b6d82546144d5565b614b78828285614ab4565b600060209050601f831160018114614bab5760008415614b99578287015190505b614ba38582614b25565b865550614c0b565b601f198416614bb986614995565b60005b82811015614be157848901518255600182019150602085019450602081019050614bbc565b86831015614bfe5784890151614bfa601f891682614b07565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c6f602183613a88565b9150614c7a82614c13565b604082019050919050565b60006020820190508181036000830152614c9e81614c62565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614d01602883613a88565b9150614d0c82614ca5565b604082019050919050565b60006020820190508181036000830152614d3081614cf4565b9050919050565b60006040820190508181036000830152614d518185614079565b90508181036020830152614d658184614079565b90509392505050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000614dca602f83613a88565b9150614dd582614d6e565b604082019050919050565b60006020820190508181036000830152614df981614dbd565b9050919050565b614e09816136a9565b82525050565b6000602082019050614e246000830184614e00565b92915050565b6000604082019050614e3f600083018561375d565b614e4c602083018461375d565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614eaf602983613a88565b9150614eba82614e53565b604082019050919050565b60006020820190508181036000830152614ede81614ea2565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614f26601783614ee5565b9150614f3182614ef0565b601782019050919050565b6000614f4782613a7d565b614f518185614ee5565b9350614f61818560208601613a99565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614fa3601183614ee5565b9150614fae82614f6d565b601182019050919050565b6000614fc482614f19565b9150614fd08285614f3c565b9150614fdb82614f96565b9150614fe78284614f3c565b91508190509392505050565b7f6e6f7420656e6f756768204e4654000000000000000000000000000000000000600082015250565b6000615029600e83613a88565b915061503482614ff3565b602082019050919050565b600060208201905081810360008301526150588161501c565b9050919050565b600061506a826136e7565b9150615075836136e7565b925082820390508181111561508d5761508c614443565b5b92915050565b600081519050919050565b600082825260208201905092915050565b60006150ba82615093565b6150c4818561509e565b93506150d4818560208601613a99565b6150dd8161384c565b840191505092915050565b600060a0820190506150fd6000830188614e00565b61510a6020830187614e00565b818103604083015261511c8186614079565b905081810360608301526151308185614079565b9050818103608083015261514481846150af565b90509695505050505050565b60008151905061515f816137b3565b92915050565b60006020828403121561517b5761517a61367f565b5b600061518984828501615150565b91505092915050565b60008160e01c9050919050565b600060033d11156151be5760046000803e6151bb600051615192565b90505b90565b600060443d1061524e576151d3613675565b60043d036004823e80513d602482011167ffffffffffffffff821117156151fb57505061524e565b808201805167ffffffffffffffff811115615219575050505061524e565b80602083010160043d03850181111561523657505050505061524e565b6152458260200185018661388c565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006152ad603483613a88565b91506152b882615251565b604082019050919050565b600060208201905081810360008301526152dc816152a0565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061533f602883613a88565b915061534a826152e3565b604082019050919050565b6000602082019050818103600083015261536e81615332565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006153d1602583613a88565b91506153dc82615375565b604082019050919050565b60006020820190508181036000830152615400816153c4565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000615463602a83613a88565b915061546e82615407565b604082019050919050565b6000602082019050818103600083015261549281615456565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006154cf601483613a88565b91506154da82615499565b602082019050919050565b600060208201905081810360008301526154fe816154c2565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615561602383613a88565b915061556c82615505565b604082019050919050565b6000602082019050818103600083015261559081615554565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b60006155f3602483613a88565b91506155fe82615597565b604082019050919050565b60006020820190508181036000830152615622816155e6565b9050919050565b600060a08201905061563e6000830188614e00565b61564b6020830187614e00565b615658604083018661375d565b615665606083018561375d565b818103608083015261567781846150af565b90509695505050505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006156b9601083613a88565b91506156c482615683565b602082019050919050565b600060208201905081810360008301526156e8816156ac565b9050919050565b60006156fa826136e7565b9150615705836136e7565b9250828202615713816136e7565b9150828204841483151761572a57615729614443565b5b5092915050565b600061573c826136e7565b91506000820361574f5761574e614443565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615790602083613a88565b915061579b8261575a565b602082019050919050565b600060208201905081810360008301526157bf81615783565b9050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b6000615822602883613a88565b915061582d826157c6565b604082019050919050565b6000602082019050818103600083015261585181615815565b905091905056fea26469706673582212204f6d7a0593b9cf1cfeb3d44d46ba24057ef2668bc88baafdb2a82222a9109f8c64736f6c63430008110033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.