Polygon Sponsored slots available. Book your slot here!
ERC-1155
Overview
Max Total Supply
0 CFW
Holders
11,549
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
BulldogSft
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.9; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "./BulldogStructuresSft.sol"; /** _____ _ _ _ _ _ _ _ | __ \ | | | | | | | | | | | | | | |__) |____ _____ _ __ ___ __| | | |__ _ _ __ _ ___| |_| |__ _ _| | | __| | ___ __ _ __ ___ _ ____ | ___/ _ \ \ /\ / / _ \ '__/ _ \/ _` | | '_ \| | | | / _` |/ _ \ __| '_ \| | | | | |/ _` |/ _ \ / _` | \ \/ / | | |_ / | | | (_) \ V V / __/ | | __/ (_| | | |_) | |_| | | (_| | __/ |_| |_) | |_| | | | (_| | (_) | (_| |_ > <| |_| |/ / |_| \___/ \_/\_/ \___|_| \___|\__,_| |_.__/ \__, | \__, |\___|\__|_.__/ \__,_|_|_|\__,_|\___/ \__, (_)_/\_\\__, /___| __/ | __/ | __/ | __/ | |___/ |___/ |___/ |___/ */ contract BulldogSft is ERC1155, AccessControl, ERC1155Burnable, ERC1155Supply, Ownable { bytes32 public constant AIRDROP_ROLE = keccak256("AIRDROP_ROLE"); uint256 public constant COIN_INDEX = 0; Features private _features; string public name; string public symbol; constructor( InitParams memory initParams_ ) ERC1155(initParams_.tokenInfo.baseUri) { _setupRole(DEFAULT_ADMIN_ROLE, tx.origin); _setupRole(AIRDROP_ROLE, initParams_.roles.airdrop); _features = initParams_.features; name = initParams_.tokenInfo.name; symbol = initParams_.tokenInfo.symbol; } function airdrop(RecipientAmount[] memory recipientAmounts) public { require( hasRole(AIRDROP_ROLE, msg.sender), "Only an account with the airdrop role can airdrop tokens" ); require(_features.airdrop.enabled, "Airdrop has been disabled"); for (uint i = 0; i < recipientAmounts.length; i++) { RecipientAmount memory recipientAmount = recipientAmounts[i]; _mint( recipientAmount.recipient, COIN_INDEX, recipientAmount.amount, "" ); } } function publicMint(uint256 amount) public payable { require(_features.publicMint.enabled, "Public mint has been disabled"); require( msg.value >= _features.publicMint.price * amount, "The transaction value is under the tokens price" ); _mint(msg.sender, COIN_INDEX, amount, ""); } function flipAirdropEnabled() public onlyRole(DEFAULT_ADMIN_ROLE) { _features.airdrop.enabled = !_features.airdrop.enabled; } function setURI(string memory newuri) public onlyRole(DEFAULT_ADMIN_ROLE) { _setURI(newuri); } function withdraw(uint256 _amount) public onlyRole(DEFAULT_ADMIN_ROLE) { require(_amount > 0, "The amount must be greater than zero"); require( address(this).balance > _amount, "The contract ether balance is insufficient" ); payable(msg.sender).transfer(_amount); } fallback() external payable {} receive() external payable {} function flipPublicMintEnabled() public onlyRole(DEFAULT_ADMIN_ROLE) { _features.publicMint.enabled = !_features.publicMint.enabled; } function setPublicMintPrice( uint256 newPrice_ ) public onlyRole(DEFAULT_ADMIN_ROLE) { _features.publicMint.price = newPrice_; } function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal override(ERC1155, ERC1155Supply) { super._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: Unlicensed pragma solidity ^0.8.17; /** _____ _ _ _ _ _ _ _ | __ \ | | | | | | | | | | | | | | |__) |____ _____ _ __ ___ __| | | |__ _ _ __ _ ___| |_| |__ _ _| | | __| | ___ __ _ __ ___ _ ____ | ___/ _ \ \ /\ / / _ \ '__/ _ \/ _` | | '_ \| | | | / _` |/ _ \ __| '_ \| | | | | |/ _` |/ _ \ / _` | \ \/ / | | |_ / | | | (_) \ V V / __/ | | __/ (_| | | |_) | |_| | | (_| | __/ |_| |_) | |_| | | | (_| | (_) | (_| |_ > <| |_| |/ / |_| \___/ \_/\_/ \___|_| \___|\__,_| |_.__/ \__, | \__, |\___|\__|_.__/ \__,_|_|_|\__,_|\___/ \__, (_)_/\_\\__, /___| __/ | __/ | __/ | __/ | |___/ |___/ |___/ |___/ */ struct Airdrop { bool enabled; } struct InitParams { TokenInfo tokenInfo; Roles roles; Features features; } struct TokenInfo { string name; string symbol; string baseUri; } struct Roles { address airdrop; } struct Features { Airdrop airdrop; PublicMint publicMint; } struct RecipientAmount { address recipient; uint256 amount; } struct PublicMint { bool enabled; uint256 price; }
// 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) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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.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 (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 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 (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/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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.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 (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 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":[{"components":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseUri","type":"string"}],"internalType":"struct TokenInfo","name":"tokenInfo","type":"tuple"},{"components":[{"internalType":"address","name":"airdrop","type":"address"}],"internalType":"struct Roles","name":"roles","type":"tuple"},{"components":[{"components":[{"internalType":"bool","name":"enabled","type":"bool"}],"internalType":"struct Airdrop","name":"airdrop","type":"tuple"},{"components":[{"internalType":"bool","name":"enabled","type":"bool"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct PublicMint","name":"publicMint","type":"tuple"}],"internalType":"struct Features","name":"features","type":"tuple"}],"internalType":"struct InitParams","name":"initParams_","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"AIRDROP_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COIN_INDEX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct RecipientAmount[]","name":"recipientAmounts","type":"tuple[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipAirdropEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPublicMintEnabled","outputs":[],"stateMutability":"nonpayable","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice_","type":"uint256"}],"name":"setPublicMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162005e3238038062005e328339818101604052810190620000379190620008c8565b80600001516040015162000051816200016660201b60201c565b5062000072620000666200017b60201b60201c565b6200018360201b60201c565b620000876000801b326200024960201b60201c565b620000c17f3a2f235c9daaf33349d300aadff2f15078a89df81bcfdd45ba11c8f816bddc6f8260200151600001516200024960201b60201c565b8060400151600660008201518160000160008201518160000160006101000a81548160ff021916908315150217905550505060208201518160010160008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015550509050508060000151600001516009908162000144919062000b5a565b50806000015160200151600a90816200015e919062000b5a565b505062000c41565b806002908162000177919062000b5a565b5050565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200025b82826200025f60201b60201c565b5050565b6200027182826200035160201b60201c565b6200034d5760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002f26200017b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200042082620003d5565b810181811067ffffffffffffffff82111715620004425762000441620003e6565b5b80604052505050565b600062000457620003bc565b905062000465828262000415565b919050565b600080fd5b600080fd5b600080fd5b600067ffffffffffffffff821115620004975762000496620003e6565b5b620004a282620003d5565b9050602081019050919050565b60005b83811015620004cf578082015181840152602081019050620004b2565b60008484015250505050565b6000620004f2620004ec8462000479565b6200044b565b90508281526020810184848401111562000511576200051062000474565b5b6200051e848285620004af565b509392505050565b600082601f8301126200053e576200053d6200046f565b5b815162000550848260208601620004db565b91505092915050565b600060608284031215620005725762000571620003d0565b5b6200057e60606200044b565b9050600082015167ffffffffffffffff811115620005a157620005a06200046a565b5b620005af8482850162000526565b600083015250602082015167ffffffffffffffff811115620005d657620005d56200046a565b5b620005e48482850162000526565b602083015250604082015167ffffffffffffffff8111156200060b576200060a6200046a565b5b620006198482850162000526565b60408301525092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006528262000625565b9050919050565b620006648162000645565b81146200067057600080fd5b50565b600081519050620006848162000659565b92915050565b600060208284031215620006a357620006a2620003d0565b5b620006af60206200044b565b90506000620006c18482850162000673565b60008301525092915050565b60008115159050919050565b620006e481620006cd565b8114620006f057600080fd5b50565b6000815190506200070481620006d9565b92915050565b600060208284031215620007235762000722620003d0565b5b6200072f60206200044b565b905060006200074184828501620006f3565b60008301525092915050565b6000819050919050565b62000762816200074d565b81146200076e57600080fd5b50565b600081519050620007828162000757565b92915050565b600060408284031215620007a157620007a0620003d0565b5b620007ad60406200044b565b90506000620007bf84828501620006f3565b6000830152506020620007d58482850162000771565b60208301525092915050565b600060608284031215620007fa57620007f9620003d0565b5b6200080660406200044b565b9050600062000818848285016200070a565b60008301525060206200082e8482850162000788565b60208301525092915050565b600060a08284031215620008535762000852620003d0565b5b6200085f60606200044b565b9050600082015167ffffffffffffffff8111156200088257620008816200046a565b5b620008908482850162000559565b6000830152506020620008a6848285016200068a565b6020830152506040620008bc84828501620007e1565b60408301525092915050565b600060208284031215620008e157620008e0620003c6565b5b600082015167ffffffffffffffff811115620009025762000901620003cb565b5b62000910848285016200083a565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200096c57607f821691505b60208210810362000982576200098162000924565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620009ec7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620009ad565b620009f88683620009ad565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000a3b62000a3562000a2f846200074d565b62000a10565b6200074d565b9050919050565b6000819050919050565b62000a578362000a1a565b62000a6f62000a668262000a42565b848454620009ba565b825550505050565b600090565b62000a8662000a77565b62000a9381848462000a4c565b505050565b5b8181101562000abb5762000aaf60008262000a7c565b60018101905062000a99565b5050565b601f82111562000b0a5762000ad48162000988565b62000adf846200099d565b8101602085101562000aef578190505b62000b0762000afe856200099d565b83018262000a98565b50505b505050565b600082821c905092915050565b600062000b2f6000198460080262000b0f565b1980831691505092915050565b600062000b4a838362000b1c565b9150826002028217905092915050565b62000b658262000919565b67ffffffffffffffff81111562000b815762000b80620003e6565b5b62000b8d825462000953565b62000b9a82828562000abf565b600060209050601f83116001811462000bd2576000841562000bbd578287015190505b62000bc9858262000b3c565b86555062000c39565b601f19841662000be28662000988565b60005b8281101562000c0c5784890151825560018201915060208501945060208101905062000be5565b8683101562000c2c578489015162000c28601f89168262000b1c565b8355505b6001600288020188555050505b505050505050565b6151e18062000c516000396000f3fe6080604052600436106101e65760003560e01c80636b20c45411610102578063abae407a11610095578063e985e9c511610064578063e985e9c5146106d4578063f242432a14610711578063f2fde38b1461073a578063f5298aca14610763576101ed565b8063abae407a1461061a578063bd85b03914610645578063d547741f14610682578063e0c9ffc6146106ab576101ed565b806391d14854116100d157806391d148541461055e57806395d89b411461059b578063a217fddf146105c6578063a22cb465146105f1576101ed565b80636b20c454146104dc5780636f67fcc214610505578063715018a61461051c5780638da5cb5b14610533576101ed565b80632e1a7d4d1161017a5780634e1273f4116101495780634e1273f4146104225780634f558e791461045f5780635d82cf6e1461049c5780636a41794f146104c5576101ed565b80632e1a7d4d1461037e5780632eb2c2d6146103a75780632f2ff15d146103d057806336568abe146103f9576101ed565b80630e89341c116101b65780630e89341c146102bd5780631e0fbfa2146102fa578063248a9ca3146103255780632db1154414610362576101ed565b8062fdd58e146101ef57806301ffc9a71461022c57806302fe53051461026957806306fdde0314610292576101ed565b366101ed57005b005b3480156101fb57600080fd5b5061021660048036038101906102119190613101565b61078c565b6040516102239190613150565b60405180910390f35b34801561023857600080fd5b50610253600480360381019061024e91906131c3565b610854565b604051610260919061320b565b60405180910390f35b34801561027557600080fd5b50610290600480360381019061028b919061336c565b610866565b005b34801561029e57600080fd5b506102a7610880565b6040516102b49190613434565b60405180910390f35b3480156102c957600080fd5b506102e460048036038101906102df9190613456565b61090e565b6040516102f19190613434565b60405180910390f35b34801561030657600080fd5b5061030f6109a2565b60405161031c919061349c565b60405180910390f35b34801561033157600080fd5b5061034c600480360381019061034791906134e3565b6109c6565b604051610359919061349c565b60405180910390f35b61037c60048036038101906103779190613456565b6109e6565b005b34801561038a57600080fd5b506103a560048036038101906103a09190613456565b610ab0565b005b3480156103b357600080fd5b506103ce60048036038101906103c99190613679565b610b8d565b005b3480156103dc57600080fd5b506103f760048036038101906103f29190613748565b610c2e565b005b34801561040557600080fd5b50610420600480360381019061041b9190613748565b610c4f565b005b34801561042e57600080fd5b506104496004803603810190610444919061384b565b610cd2565b6040516104569190613981565b60405180910390f35b34801561046b57600080fd5b5061048660048036038101906104819190613456565b610deb565b604051610493919061320b565b60405180910390f35b3480156104a857600080fd5b506104c360048036038101906104be9190613456565b610dff565b005b3480156104d157600080fd5b506104da610e1d565b005b3480156104e857600080fd5b5061050360048036038101906104fe91906139a3565b610e63565b005b34801561051157600080fd5b5061051a610f00565b005b34801561052857600080fd5b50610531610f46565b005b34801561053f57600080fd5b50610548610f5a565b6040516105559190613a3d565b60405180910390f35b34801561056a57600080fd5b5061058560048036038101906105809190613748565b610f84565b604051610592919061320b565b60405180910390f35b3480156105a757600080fd5b506105b0610fef565b6040516105bd9190613434565b60405180910390f35b3480156105d257600080fd5b506105db61107d565b6040516105e8919061349c565b60405180910390f35b3480156105fd57600080fd5b5061061860048036038101906106139190613a84565b611084565b005b34801561062657600080fd5b5061062f61109a565b60405161063c9190613150565b60405180910390f35b34801561065157600080fd5b5061066c60048036038101906106679190613456565b61109f565b6040516106799190613150565b60405180910390f35b34801561068e57600080fd5b506106a960048036038101906106a49190613748565b6110bc565b005b3480156106b757600080fd5b506106d260048036038101906106cd9190613bdc565b6110dd565b005b3480156106e057600080fd5b506106fb60048036038101906106f69190613c25565b611202565b604051610708919061320b565b60405180910390f35b34801561071d57600080fd5b5061073860048036038101906107339190613c65565b611296565b005b34801561074657600080fd5b50610761600480360381019061075c9190613cfc565b611337565b005b34801561076f57600080fd5b5061078a60048036038101906107859190613d29565b6113ba565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036107fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f390613dee565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061085f82611457565b9050919050565b6000801b610873816114d1565b61087c826114e5565b5050565b6009805461088d90613e3d565b80601f01602080910402602001604051908101604052809291908181526020018280546108b990613e3d565b80156109065780601f106108db57610100808354040283529160200191610906565b820191906000526020600020905b8154815290600101906020018083116108e957829003601f168201915b505050505081565b60606002805461091d90613e3d565b80601f016020809104026020016040519081016040528092919081815260200182805461094990613e3d565b80156109965780601f1061096b57610100808354040283529160200191610996565b820191906000526020600020905b81548152906001019060200180831161097957829003601f168201915b50505050509050919050565b7f3a2f235c9daaf33349d300aadff2f15078a89df81bcfdd45ba11c8f816bddc6f81565b600060036000838152602001908152602001600020600101549050919050565b600660010160000160009054906101000a900460ff16610a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3290613eba565b60405180910390fd5b80600660010160010154610a4f9190613f09565b341015610a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8890613fbd565b60405180910390fd5b610aad33600083604051806020016040528060008152506114f8565b50565b6000801b610abd816114d1565b60008211610b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af79061404f565b60405180910390fd5b814711610b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b39906140e1565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610b88573d6000803e3d6000fd5b505050565b610b956116a8565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610bdb5750610bda85610bd56116a8565b611202565b5b610c1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1190614173565b60405180910390fd5b610c2785858585856116b0565b5050505050565b610c37826109c6565b610c40816114d1565b610c4a83836119d1565b505050565b610c576116a8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbb90614205565b60405180910390fd5b610cce8282611ab2565b5050565b60608151835114610d18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0f90614297565b60405180910390fd5b6000835167ffffffffffffffff811115610d3557610d34613241565b5b604051908082528060200260200182016040528015610d635781602001602082028036833780820191505090505b50905060005b8451811015610de057610db0858281518110610d8857610d876142b7565b5b6020026020010151858381518110610da357610da26142b7565b5b602002602001015161078c565b828281518110610dc357610dc26142b7565b5b60200260200101818152505080610dd9906142e6565b9050610d69565b508091505092915050565b600080610df78361109f565b119050919050565b6000801b610e0c816114d1565b816006600101600101819055505050565b6000801b610e2a816114d1565b600660010160000160009054906101000a900460ff1615600660010160000160006101000a81548160ff02191690831515021790555050565b610e6b6116a8565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610eb15750610eb083610eab6116a8565b611202565b5b610ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee790614173565b60405180910390fd5b610efb838383611b94565b505050565b6000801b610f0d816114d1565b600660000160000160009054906101000a900460ff1615600660000160000160006101000a81548160ff02191690831515021790555050565b610f4e611e62565b610f586000611ee0565b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a8054610ffc90613e3d565b80601f016020809104026020016040519081016040528092919081815260200182805461102890613e3d565b80156110755780601f1061104a57610100808354040283529160200191611075565b820191906000526020600020905b81548152906001019060200180831161105857829003601f168201915b505050505081565b6000801b81565b61109661108f6116a8565b8383611fa6565b5050565b600081565b600060046000838152602001908152602001600020549050919050565b6110c5826109c6565b6110ce816114d1565b6110d88383611ab2565b505050565b6111077f3a2f235c9daaf33349d300aadff2f15078a89df81bcfdd45ba11c8f816bddc6f33610f84565b611146576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113d906143a0565b60405180910390fd5b600660000160000160009054906101000a900460ff1661119b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111929061440c565b60405180910390fd5b60005b81518110156111fe5760008282815181106111bc576111bb6142b7565b5b602002602001015190506111ea816000015160008360200151604051806020016040528060008152506114f8565b5080806111f6906142e6565b91505061119e565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61129e6116a8565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806112e457506112e3856112de6116a8565b611202565b5b611323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131a90614173565b60405180910390fd5b6113308585858585612112565b5050505050565b61133f611e62565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a59061449e565b60405180910390fd5b6113b781611ee0565b50565b6113c26116a8565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806114085750611407836114026116a8565b611202565b5b611447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143e90614173565b60405180910390fd5b6114528383836123ad565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806114ca57506114c9826125f3565b5b9050919050565b6114e2816114dd6116a8565b6126d5565b50565b80600290816114f4919061466a565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e906147ae565b60405180910390fd5b60006115716116a8565b9050600061157e85612772565b9050600061158b85612772565b905061159c836000898585896127ec565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115fb91906147ce565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611679929190614802565b60405180910390a461169083600089858589612802565b61169f8360008989898961280a565b50505050505050565b600033905090565b81518351146116f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116eb9061489d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175a9061492f565b60405180910390fd5b600061176d6116a8565b905061177d8187878787876127ec565b60005b845181101561192e57600085828151811061179e5761179d6142b7565b5b6020026020010151905060008583815181106117bd576117bc6142b7565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561185e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611855906149c1565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461191391906147ce565b9250508190555050505080611927906142e6565b9050611780565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516119a59291906149e1565b60405180910390a46119bb818787878787612802565b6119c98187878787876129e1565b505050505050565b6119db8282610f84565b611aae5760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a536116a8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611abc8282610f84565b15611b905760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b356116a8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfa90614a8a565b60405180910390fd5b8051825114611c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3e9061489d565b60405180910390fd5b6000611c516116a8565b9050611c71818560008686604051806020016040528060008152506127ec565b60005b8351811015611dbe576000848281518110611c9257611c916142b7565b5b602002602001015190506000848381518110611cb157611cb06142b7565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4990614b1c565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611db6906142e6565b915050611c74565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611e369291906149e1565b60405180910390a4611e5c81856000868660405180602001604052806000815250612802565b50505050565b611e6a6116a8565b73ffffffffffffffffffffffffffffffffffffffff16611e88610f5a565b73ffffffffffffffffffffffffffffffffffffffff1614611ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed590614b88565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200b90614c1a565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612105919061320b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612181576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121789061492f565b60405180910390fd5b600061218b6116a8565b9050600061219885612772565b905060006121a585612772565b90506121b58389898585896127ec565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508581101561224c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612243906149c1565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230191906147ce565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a60405161237e929190614802565b60405180910390a4612394848a8a86868a612802565b6123a2848a8a8a8a8a61280a565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361241c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241390614a8a565b60405180910390fd5b60006124266116a8565b9050600061243384612772565b9050600061244084612772565b9050612460838760008585604051806020016040528060008152506127ec565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156124f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ee90614b1c565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516125c4929190614802565b60405180910390a46125ea84886000868660405180602001604052806000815250612802565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126be57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806126ce57506126cd82612bb8565b5b9050919050565b6126df8282610f84565b61276e576127048173ffffffffffffffffffffffffffffffffffffffff166014612c22565b6127128360001c6020612c22565b604051602001612723929190614d0e565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127659190613434565b60405180910390fd5b5050565b60606000600167ffffffffffffffff81111561279157612790613241565b5b6040519080825280602002602001820160405280156127bf5781602001602082028036833780820191505090505b50905082816000815181106127d7576127d66142b7565b5b60200260200101818152505080915050919050565b6127fa868686868686612e5e565b505050505050565b505050505050565b6128298473ffffffffffffffffffffffffffffffffffffffff1661302e565b156129d9578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161286f959493929190614d9d565b6020604051808303816000875af19250505080156128ab57506040513d601f19601f820116820180604052508101906128a89190614e0c565b60015b612950576128b7614e46565b806308c379a00361291357506128cb614e68565b806128d65750612915565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290a9190613434565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294790614f6a565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146129d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ce90614ffc565b60405180910390fd5b505b505050505050565b612a008473ffffffffffffffffffffffffffffffffffffffff1661302e565b15612bb0578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612a4695949392919061501c565b6020604051808303816000875af1925050508015612a8257506040513d601f19601f82011682018060405250810190612a7f9190614e0c565b60015b612b2757612a8e614e46565b806308c379a003612aea5750612aa2614e68565b80612aad5750612aec565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae19190613434565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1e90614f6a565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba590614ffc565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b606060006002836002612c359190613f09565b612c3f91906147ce565b67ffffffffffffffff811115612c5857612c57613241565b5b6040519080825280601f01601f191660200182016040528015612c8a5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612cc257612cc16142b7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612d2657612d256142b7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612d669190613f09565b612d7091906147ce565b90505b6001811115612e10577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612db257612db16142b7565b5b1a60f81b828281518110612dc957612dc86142b7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612e0990615084565b9050612d73565b5060008414612e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4b906150f9565b60405180910390fd5b8091505092915050565b612e6c868686868686613051565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612f1d5760005b8351811015612f1b57828181518110612ebf57612ebe6142b7565b5b602002602001015160046000868481518110612ede57612edd6142b7565b5b602002602001015181526020019081526020016000206000828254612f0391906147ce565b9250508190555080612f14906142e6565b9050612ea3565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036130265760005b8351811015613024576000848281518110612f7257612f716142b7565b5b602002602001015190506000848381518110612f9157612f906142b7565b5b6020026020010151905060006004600084815260200190815260200160002054905081811015612ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fed9061518b565b60405180910390fd5b81810360046000858152602001908152602001600020819055505050508061301d906142e6565b9050612f54565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130988261306d565b9050919050565b6130a88161308d565b81146130b357600080fd5b50565b6000813590506130c58161309f565b92915050565b6000819050919050565b6130de816130cb565b81146130e957600080fd5b50565b6000813590506130fb816130d5565b92915050565b6000806040838503121561311857613117613063565b5b6000613126858286016130b6565b9250506020613137858286016130ec565b9150509250929050565b61314a816130cb565b82525050565b60006020820190506131656000830184613141565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131a08161316b565b81146131ab57600080fd5b50565b6000813590506131bd81613197565b92915050565b6000602082840312156131d9576131d8613063565b5b60006131e7848285016131ae565b91505092915050565b60008115159050919050565b613205816131f0565b82525050565b600060208201905061322060008301846131fc565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61327982613230565b810181811067ffffffffffffffff8211171561329857613297613241565b5b80604052505050565b60006132ab613059565b90506132b78282613270565b919050565b600067ffffffffffffffff8211156132d7576132d6613241565b5b6132e082613230565b9050602081019050919050565b82818337600083830152505050565b600061330f61330a846132bc565b6132a1565b90508281526020810184848401111561332b5761332a61322b565b5b6133368482856132ed565b509392505050565b600082601f83011261335357613352613226565b5b81356133638482602086016132fc565b91505092915050565b60006020828403121561338257613381613063565b5b600082013567ffffffffffffffff8111156133a05761339f613068565b5b6133ac8482850161333e565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156133ef5780820151818401526020810190506133d4565b60008484015250505050565b6000613406826133b5565b61341081856133c0565b93506134208185602086016133d1565b61342981613230565b840191505092915050565b6000602082019050818103600083015261344e81846133fb565b905092915050565b60006020828403121561346c5761346b613063565b5b600061347a848285016130ec565b91505092915050565b6000819050919050565b61349681613483565b82525050565b60006020820190506134b1600083018461348d565b92915050565b6134c081613483565b81146134cb57600080fd5b50565b6000813590506134dd816134b7565b92915050565b6000602082840312156134f9576134f8613063565b5b6000613507848285016134ce565b91505092915050565b600067ffffffffffffffff82111561352b5761352a613241565b5b602082029050602081019050919050565b600080fd5b600061355461354f84613510565b6132a1565b905080838252602082019050602084028301858111156135775761357661353c565b5b835b818110156135a0578061358c88826130ec565b845260208401935050602081019050613579565b5050509392505050565b600082601f8301126135bf576135be613226565b5b81356135cf848260208601613541565b91505092915050565b600067ffffffffffffffff8211156135f3576135f2613241565b5b6135fc82613230565b9050602081019050919050565b600061361c613617846135d8565b6132a1565b9050828152602081018484840111156136385761363761322b565b5b6136438482856132ed565b509392505050565b600082601f8301126136605761365f613226565b5b8135613670848260208601613609565b91505092915050565b600080600080600060a0868803121561369557613694613063565b5b60006136a3888289016130b6565b95505060206136b4888289016130b6565b945050604086013567ffffffffffffffff8111156136d5576136d4613068565b5b6136e1888289016135aa565b935050606086013567ffffffffffffffff81111561370257613701613068565b5b61370e888289016135aa565b925050608086013567ffffffffffffffff81111561372f5761372e613068565b5b61373b8882890161364b565b9150509295509295909350565b6000806040838503121561375f5761375e613063565b5b600061376d858286016134ce565b925050602061377e858286016130b6565b9150509250929050565b600067ffffffffffffffff8211156137a3576137a2613241565b5b602082029050602081019050919050565b60006137c76137c284613788565b6132a1565b905080838252602082019050602084028301858111156137ea576137e961353c565b5b835b8181101561381357806137ff88826130b6565b8452602084019350506020810190506137ec565b5050509392505050565b600082601f83011261383257613831613226565b5b81356138428482602086016137b4565b91505092915050565b6000806040838503121561386257613861613063565b5b600083013567ffffffffffffffff8111156138805761387f613068565b5b61388c8582860161381d565b925050602083013567ffffffffffffffff8111156138ad576138ac613068565b5b6138b9858286016135aa565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6138f8816130cb565b82525050565b600061390a83836138ef565b60208301905092915050565b6000602082019050919050565b600061392e826138c3565b61393881856138ce565b9350613943836138df565b8060005b8381101561397457815161395b88826138fe565b975061396683613916565b925050600181019050613947565b5085935050505092915050565b6000602082019050818103600083015261399b8184613923565b905092915050565b6000806000606084860312156139bc576139bb613063565b5b60006139ca868287016130b6565b935050602084013567ffffffffffffffff8111156139eb576139ea613068565b5b6139f7868287016135aa565b925050604084013567ffffffffffffffff811115613a1857613a17613068565b5b613a24868287016135aa565b9150509250925092565b613a378161308d565b82525050565b6000602082019050613a526000830184613a2e565b92915050565b613a61816131f0565b8114613a6c57600080fd5b50565b600081359050613a7e81613a58565b92915050565b60008060408385031215613a9b57613a9a613063565b5b6000613aa9858286016130b6565b9250506020613aba85828601613a6f565b9150509250929050565b600067ffffffffffffffff821115613adf57613ade613241565b5b602082029050602081019050919050565b600080fd5b600060408284031215613b0b57613b0a613af0565b5b613b1560406132a1565b90506000613b25848285016130b6565b6000830152506020613b39848285016130ec565b60208301525092915050565b6000613b58613b5384613ac4565b6132a1565b90508083825260208201905060408402830185811115613b7b57613b7a61353c565b5b835b81811015613ba45780613b908882613af5565b845260208401935050604081019050613b7d565b5050509392505050565b600082601f830112613bc357613bc2613226565b5b8135613bd3848260208601613b45565b91505092915050565b600060208284031215613bf257613bf1613063565b5b600082013567ffffffffffffffff811115613c1057613c0f613068565b5b613c1c84828501613bae565b91505092915050565b60008060408385031215613c3c57613c3b613063565b5b6000613c4a858286016130b6565b9250506020613c5b858286016130b6565b9150509250929050565b600080600080600060a08688031215613c8157613c80613063565b5b6000613c8f888289016130b6565b9550506020613ca0888289016130b6565b9450506040613cb1888289016130ec565b9350506060613cc2888289016130ec565b925050608086013567ffffffffffffffff811115613ce357613ce2613068565b5b613cef8882890161364b565b9150509295509295909350565b600060208284031215613d1257613d11613063565b5b6000613d20848285016130b6565b91505092915050565b600080600060608486031215613d4257613d41613063565b5b6000613d50868287016130b6565b9350506020613d61868287016130ec565b9250506040613d72868287016130ec565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613dd8602a836133c0565b9150613de382613d7c565b604082019050919050565b60006020820190508181036000830152613e0781613dcb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e5557607f821691505b602082108103613e6857613e67613e0e565b5b50919050565b7f5075626c6963206d696e7420686173206265656e2064697361626c6564000000600082015250565b6000613ea4601d836133c0565b9150613eaf82613e6e565b602082019050919050565b60006020820190508181036000830152613ed381613e97565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613f14826130cb565b9150613f1f836130cb565b9250828202613f2d816130cb565b91508282048414831517613f4457613f43613eda565b5b5092915050565b7f546865207472616e73616374696f6e2076616c756520697320756e646572207460008201527f686520746f6b656e732070726963650000000000000000000000000000000000602082015250565b6000613fa7602f836133c0565b9150613fb282613f4b565b604082019050919050565b60006020820190508181036000830152613fd681613f9a565b9050919050565b7f54686520616d6f756e74206d7573742062652067726561746572207468616e2060008201527f7a65726f00000000000000000000000000000000000000000000000000000000602082015250565b60006140396024836133c0565b915061404482613fdd565b604082019050919050565b600060208201905081810360008301526140688161402c565b9050919050565b7f54686520636f6e74726163742065746865722062616c616e636520697320696e60008201527f73756666696369656e7400000000000000000000000000000000000000000000602082015250565b60006140cb602a836133c0565b91506140d68261406f565b604082019050919050565b600060208201905081810360008301526140fa816140be565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b600061415d602f836133c0565b915061416882614101565b604082019050919050565b6000602082019050818103600083015261418c81614150565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006141ef602f836133c0565b91506141fa82614193565b604082019050919050565b6000602082019050818103600083015261421e816141e2565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006142816029836133c0565b915061428c82614225565b604082019050919050565b600060208201905081810360008301526142b081614274565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006142f1826130cb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361432357614322613eda565b5b600182019050919050565b7f4f6e6c7920616e206163636f756e742077697468207468652061697264726f7060008201527f20726f6c652063616e2061697264726f7020746f6b656e730000000000000000602082015250565b600061438a6038836133c0565b91506143958261432e565b604082019050919050565b600060208201905081810360008301526143b98161437d565b9050919050565b7f41697264726f7020686173206265656e2064697361626c656400000000000000600082015250565b60006143f66019836133c0565b9150614401826143c0565b602082019050919050565b60006020820190508181036000830152614425816143e9565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006144886026836133c0565b91506144938261442c565b604082019050919050565b600060208201905081810360008301526144b78161447b565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026145207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826144e3565b61452a86836144e3565b95508019841693508086168417925050509392505050565b6000819050919050565b600061456761456261455d846130cb565b614542565b6130cb565b9050919050565b6000819050919050565b6145818361454c565b61459561458d8261456e565b8484546144f0565b825550505050565b600090565b6145aa61459d565b6145b5818484614578565b505050565b5b818110156145d9576145ce6000826145a2565b6001810190506145bb565b5050565b601f82111561461e576145ef816144be565b6145f8846144d3565b81016020851015614607578190505b61461b614613856144d3565b8301826145ba565b50505b505050565b600082821c905092915050565b600061464160001984600802614623565b1980831691505092915050565b600061465a8383614630565b9150826002028217905092915050565b614673826133b5565b67ffffffffffffffff81111561468c5761468b613241565b5b6146968254613e3d565b6146a18282856145dd565b600060209050601f8311600181146146d457600084156146c2578287015190505b6146cc858261464e565b865550614734565b601f1984166146e2866144be565b60005b8281101561470a578489015182556001820191506020850194506020810190506146e5565b868310156147275784890151614723601f891682614630565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006147986021836133c0565b91506147a38261473c565b604082019050919050565b600060208201905081810360008301526147c78161478b565b9050919050565b60006147d9826130cb565b91506147e4836130cb565b92508282019050808211156147fc576147fb613eda565b5b92915050565b60006040820190506148176000830185613141565b6148246020830184613141565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006148876028836133c0565b91506148928261482b565b604082019050919050565b600060208201905081810360008301526148b68161487a565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006149196025836133c0565b9150614924826148bd565b604082019050919050565b600060208201905081810360008301526149488161490c565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006149ab602a836133c0565b91506149b68261494f565b604082019050919050565b600060208201905081810360008301526149da8161499e565b9050919050565b600060408201905081810360008301526149fb8185613923565b90508181036020830152614a0f8184613923565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614a746023836133c0565b9150614a7f82614a18565b604082019050919050565b60006020820190508181036000830152614aa381614a67565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614b066024836133c0565b9150614b1182614aaa565b604082019050919050565b60006020820190508181036000830152614b3581614af9565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b726020836133c0565b9150614b7d82614b3c565b602082019050919050565b60006020820190508181036000830152614ba181614b65565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614c046029836133c0565b9150614c0f82614ba8565b604082019050919050565b60006020820190508181036000830152614c3381614bf7565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614c7b601783614c3a565b9150614c8682614c45565b601782019050919050565b6000614c9c826133b5565b614ca68185614c3a565b9350614cb68185602086016133d1565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614cf8601183614c3a565b9150614d0382614cc2565b601182019050919050565b6000614d1982614c6e565b9150614d258285614c91565b9150614d3082614ceb565b9150614d3c8284614c91565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000614d6f82614d48565b614d798185614d53565b9350614d898185602086016133d1565b614d9281613230565b840191505092915050565b600060a082019050614db26000830188613a2e565b614dbf6020830187613a2e565b614dcc6040830186613141565b614dd96060830185613141565b8181036080830152614deb8184614d64565b90509695505050505050565b600081519050614e0681613197565b92915050565b600060208284031215614e2257614e21613063565b5b6000614e3084828501614df7565b91505092915050565b60008160e01c9050919050565b600060033d1115614e655760046000803e614e62600051614e39565b90505b90565b600060443d10614ef557614e7a613059565b60043d036004823e80513d602482011167ffffffffffffffff82111715614ea2575050614ef5565b808201805167ffffffffffffffff811115614ec05750505050614ef5565b80602083010160043d038501811115614edd575050505050614ef5565b614eec82602001850186613270565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614f546034836133c0565b9150614f5f82614ef8565b604082019050919050565b60006020820190508181036000830152614f8381614f47565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614fe66028836133c0565b9150614ff182614f8a565b604082019050919050565b6000602082019050818103600083015261501581614fd9565b9050919050565b600060a0820190506150316000830188613a2e565b61503e6020830187613a2e565b81810360408301526150508186613923565b905081810360608301526150648185613923565b905081810360808301526150788184614d64565b90509695505050505050565b600061508f826130cb565b9150600082036150a2576150a1613eda565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006150e36020836133c0565b91506150ee826150ad565b602082019050919050565b60006020820190508181036000830152615112816150d6565b9050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b60006151756028836133c0565b915061518082615119565b604082019050919050565b600060208201905081810360008301526151a481615168565b905091905056fea264697066735822122069d462209766b40d60dc324a977f70900ed045e0c544f0489d380b48484dc6c164736f6c63430008110033000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008be6c180d24c85c678a58daec0359ff8f3dd0ce20000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003627e8f712373c0000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001263656c696f204672656e6368205765656b73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034346570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c697066733a2f2f626166796265696664327935676d72356d357035716c6e646f6b336e346e377a37767a666434616d6171683236716a6d736b637a706f7a78716c712f7b69647d2e6a736f6e0000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101e65760003560e01c80636b20c45411610102578063abae407a11610095578063e985e9c511610064578063e985e9c5146106d4578063f242432a14610711578063f2fde38b1461073a578063f5298aca14610763576101ed565b8063abae407a1461061a578063bd85b03914610645578063d547741f14610682578063e0c9ffc6146106ab576101ed565b806391d14854116100d157806391d148541461055e57806395d89b411461059b578063a217fddf146105c6578063a22cb465146105f1576101ed565b80636b20c454146104dc5780636f67fcc214610505578063715018a61461051c5780638da5cb5b14610533576101ed565b80632e1a7d4d1161017a5780634e1273f4116101495780634e1273f4146104225780634f558e791461045f5780635d82cf6e1461049c5780636a41794f146104c5576101ed565b80632e1a7d4d1461037e5780632eb2c2d6146103a75780632f2ff15d146103d057806336568abe146103f9576101ed565b80630e89341c116101b65780630e89341c146102bd5780631e0fbfa2146102fa578063248a9ca3146103255780632db1154414610362576101ed565b8062fdd58e146101ef57806301ffc9a71461022c57806302fe53051461026957806306fdde0314610292576101ed565b366101ed57005b005b3480156101fb57600080fd5b5061021660048036038101906102119190613101565b61078c565b6040516102239190613150565b60405180910390f35b34801561023857600080fd5b50610253600480360381019061024e91906131c3565b610854565b604051610260919061320b565b60405180910390f35b34801561027557600080fd5b50610290600480360381019061028b919061336c565b610866565b005b34801561029e57600080fd5b506102a7610880565b6040516102b49190613434565b60405180910390f35b3480156102c957600080fd5b506102e460048036038101906102df9190613456565b61090e565b6040516102f19190613434565b60405180910390f35b34801561030657600080fd5b5061030f6109a2565b60405161031c919061349c565b60405180910390f35b34801561033157600080fd5b5061034c600480360381019061034791906134e3565b6109c6565b604051610359919061349c565b60405180910390f35b61037c60048036038101906103779190613456565b6109e6565b005b34801561038a57600080fd5b506103a560048036038101906103a09190613456565b610ab0565b005b3480156103b357600080fd5b506103ce60048036038101906103c99190613679565b610b8d565b005b3480156103dc57600080fd5b506103f760048036038101906103f29190613748565b610c2e565b005b34801561040557600080fd5b50610420600480360381019061041b9190613748565b610c4f565b005b34801561042e57600080fd5b506104496004803603810190610444919061384b565b610cd2565b6040516104569190613981565b60405180910390f35b34801561046b57600080fd5b5061048660048036038101906104819190613456565b610deb565b604051610493919061320b565b60405180910390f35b3480156104a857600080fd5b506104c360048036038101906104be9190613456565b610dff565b005b3480156104d157600080fd5b506104da610e1d565b005b3480156104e857600080fd5b5061050360048036038101906104fe91906139a3565b610e63565b005b34801561051157600080fd5b5061051a610f00565b005b34801561052857600080fd5b50610531610f46565b005b34801561053f57600080fd5b50610548610f5a565b6040516105559190613a3d565b60405180910390f35b34801561056a57600080fd5b5061058560048036038101906105809190613748565b610f84565b604051610592919061320b565b60405180910390f35b3480156105a757600080fd5b506105b0610fef565b6040516105bd9190613434565b60405180910390f35b3480156105d257600080fd5b506105db61107d565b6040516105e8919061349c565b60405180910390f35b3480156105fd57600080fd5b5061061860048036038101906106139190613a84565b611084565b005b34801561062657600080fd5b5061062f61109a565b60405161063c9190613150565b60405180910390f35b34801561065157600080fd5b5061066c60048036038101906106679190613456565b61109f565b6040516106799190613150565b60405180910390f35b34801561068e57600080fd5b506106a960048036038101906106a49190613748565b6110bc565b005b3480156106b757600080fd5b506106d260048036038101906106cd9190613bdc565b6110dd565b005b3480156106e057600080fd5b506106fb60048036038101906106f69190613c25565b611202565b604051610708919061320b565b60405180910390f35b34801561071d57600080fd5b5061073860048036038101906107339190613c65565b611296565b005b34801561074657600080fd5b50610761600480360381019061075c9190613cfc565b611337565b005b34801561076f57600080fd5b5061078a60048036038101906107859190613d29565b6113ba565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036107fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f390613dee565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061085f82611457565b9050919050565b6000801b610873816114d1565b61087c826114e5565b5050565b6009805461088d90613e3d565b80601f01602080910402602001604051908101604052809291908181526020018280546108b990613e3d565b80156109065780601f106108db57610100808354040283529160200191610906565b820191906000526020600020905b8154815290600101906020018083116108e957829003601f168201915b505050505081565b60606002805461091d90613e3d565b80601f016020809104026020016040519081016040528092919081815260200182805461094990613e3d565b80156109965780601f1061096b57610100808354040283529160200191610996565b820191906000526020600020905b81548152906001019060200180831161097957829003601f168201915b50505050509050919050565b7f3a2f235c9daaf33349d300aadff2f15078a89df81bcfdd45ba11c8f816bddc6f81565b600060036000838152602001908152602001600020600101549050919050565b600660010160000160009054906101000a900460ff16610a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3290613eba565b60405180910390fd5b80600660010160010154610a4f9190613f09565b341015610a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8890613fbd565b60405180910390fd5b610aad33600083604051806020016040528060008152506114f8565b50565b6000801b610abd816114d1565b60008211610b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af79061404f565b60405180910390fd5b814711610b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b39906140e1565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610b88573d6000803e3d6000fd5b505050565b610b956116a8565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610bdb5750610bda85610bd56116a8565b611202565b5b610c1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1190614173565b60405180910390fd5b610c2785858585856116b0565b5050505050565b610c37826109c6565b610c40816114d1565b610c4a83836119d1565b505050565b610c576116a8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbb90614205565b60405180910390fd5b610cce8282611ab2565b5050565b60608151835114610d18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0f90614297565b60405180910390fd5b6000835167ffffffffffffffff811115610d3557610d34613241565b5b604051908082528060200260200182016040528015610d635781602001602082028036833780820191505090505b50905060005b8451811015610de057610db0858281518110610d8857610d876142b7565b5b6020026020010151858381518110610da357610da26142b7565b5b602002602001015161078c565b828281518110610dc357610dc26142b7565b5b60200260200101818152505080610dd9906142e6565b9050610d69565b508091505092915050565b600080610df78361109f565b119050919050565b6000801b610e0c816114d1565b816006600101600101819055505050565b6000801b610e2a816114d1565b600660010160000160009054906101000a900460ff1615600660010160000160006101000a81548160ff02191690831515021790555050565b610e6b6116a8565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610eb15750610eb083610eab6116a8565b611202565b5b610ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee790614173565b60405180910390fd5b610efb838383611b94565b505050565b6000801b610f0d816114d1565b600660000160000160009054906101000a900460ff1615600660000160000160006101000a81548160ff02191690831515021790555050565b610f4e611e62565b610f586000611ee0565b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a8054610ffc90613e3d565b80601f016020809104026020016040519081016040528092919081815260200182805461102890613e3d565b80156110755780601f1061104a57610100808354040283529160200191611075565b820191906000526020600020905b81548152906001019060200180831161105857829003601f168201915b505050505081565b6000801b81565b61109661108f6116a8565b8383611fa6565b5050565b600081565b600060046000838152602001908152602001600020549050919050565b6110c5826109c6565b6110ce816114d1565b6110d88383611ab2565b505050565b6111077f3a2f235c9daaf33349d300aadff2f15078a89df81bcfdd45ba11c8f816bddc6f33610f84565b611146576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113d906143a0565b60405180910390fd5b600660000160000160009054906101000a900460ff1661119b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111929061440c565b60405180910390fd5b60005b81518110156111fe5760008282815181106111bc576111bb6142b7565b5b602002602001015190506111ea816000015160008360200151604051806020016040528060008152506114f8565b5080806111f6906142e6565b91505061119e565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61129e6116a8565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806112e457506112e3856112de6116a8565b611202565b5b611323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131a90614173565b60405180910390fd5b6113308585858585612112565b5050505050565b61133f611e62565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a59061449e565b60405180910390fd5b6113b781611ee0565b50565b6113c26116a8565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806114085750611407836114026116a8565b611202565b5b611447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143e90614173565b60405180910390fd5b6114528383836123ad565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806114ca57506114c9826125f3565b5b9050919050565b6114e2816114dd6116a8565b6126d5565b50565b80600290816114f4919061466a565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e906147ae565b60405180910390fd5b60006115716116a8565b9050600061157e85612772565b9050600061158b85612772565b905061159c836000898585896127ec565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115fb91906147ce565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611679929190614802565b60405180910390a461169083600089858589612802565b61169f8360008989898961280a565b50505050505050565b600033905090565b81518351146116f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116eb9061489d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175a9061492f565b60405180910390fd5b600061176d6116a8565b905061177d8187878787876127ec565b60005b845181101561192e57600085828151811061179e5761179d6142b7565b5b6020026020010151905060008583815181106117bd576117bc6142b7565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561185e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611855906149c1565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461191391906147ce565b9250508190555050505080611927906142e6565b9050611780565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516119a59291906149e1565b60405180910390a46119bb818787878787612802565b6119c98187878787876129e1565b505050505050565b6119db8282610f84565b611aae5760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a536116a8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611abc8282610f84565b15611b905760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b356116a8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfa90614a8a565b60405180910390fd5b8051825114611c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3e9061489d565b60405180910390fd5b6000611c516116a8565b9050611c71818560008686604051806020016040528060008152506127ec565b60005b8351811015611dbe576000848281518110611c9257611c916142b7565b5b602002602001015190506000848381518110611cb157611cb06142b7565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4990614b1c565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611db6906142e6565b915050611c74565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611e369291906149e1565b60405180910390a4611e5c81856000868660405180602001604052806000815250612802565b50505050565b611e6a6116a8565b73ffffffffffffffffffffffffffffffffffffffff16611e88610f5a565b73ffffffffffffffffffffffffffffffffffffffff1614611ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed590614b88565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200b90614c1a565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612105919061320b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612181576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121789061492f565b60405180910390fd5b600061218b6116a8565b9050600061219885612772565b905060006121a585612772565b90506121b58389898585896127ec565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508581101561224c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612243906149c1565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230191906147ce565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a60405161237e929190614802565b60405180910390a4612394848a8a86868a612802565b6123a2848a8a8a8a8a61280a565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361241c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241390614a8a565b60405180910390fd5b60006124266116a8565b9050600061243384612772565b9050600061244084612772565b9050612460838760008585604051806020016040528060008152506127ec565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156124f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ee90614b1c565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516125c4929190614802565b60405180910390a46125ea84886000868660405180602001604052806000815250612802565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126be57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806126ce57506126cd82612bb8565b5b9050919050565b6126df8282610f84565b61276e576127048173ffffffffffffffffffffffffffffffffffffffff166014612c22565b6127128360001c6020612c22565b604051602001612723929190614d0e565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127659190613434565b60405180910390fd5b5050565b60606000600167ffffffffffffffff81111561279157612790613241565b5b6040519080825280602002602001820160405280156127bf5781602001602082028036833780820191505090505b50905082816000815181106127d7576127d66142b7565b5b60200260200101818152505080915050919050565b6127fa868686868686612e5e565b505050505050565b505050505050565b6128298473ffffffffffffffffffffffffffffffffffffffff1661302e565b156129d9578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161286f959493929190614d9d565b6020604051808303816000875af19250505080156128ab57506040513d601f19601f820116820180604052508101906128a89190614e0c565b60015b612950576128b7614e46565b806308c379a00361291357506128cb614e68565b806128d65750612915565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290a9190613434565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294790614f6a565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146129d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ce90614ffc565b60405180910390fd5b505b505050505050565b612a008473ffffffffffffffffffffffffffffffffffffffff1661302e565b15612bb0578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612a4695949392919061501c565b6020604051808303816000875af1925050508015612a8257506040513d601f19601f82011682018060405250810190612a7f9190614e0c565b60015b612b2757612a8e614e46565b806308c379a003612aea5750612aa2614e68565b80612aad5750612aec565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae19190613434565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1e90614f6a565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba590614ffc565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b606060006002836002612c359190613f09565b612c3f91906147ce565b67ffffffffffffffff811115612c5857612c57613241565b5b6040519080825280601f01601f191660200182016040528015612c8a5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612cc257612cc16142b7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612d2657612d256142b7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612d669190613f09565b612d7091906147ce565b90505b6001811115612e10577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612db257612db16142b7565b5b1a60f81b828281518110612dc957612dc86142b7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612e0990615084565b9050612d73565b5060008414612e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4b906150f9565b60405180910390fd5b8091505092915050565b612e6c868686868686613051565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612f1d5760005b8351811015612f1b57828181518110612ebf57612ebe6142b7565b5b602002602001015160046000868481518110612ede57612edd6142b7565b5b602002602001015181526020019081526020016000206000828254612f0391906147ce565b9250508190555080612f14906142e6565b9050612ea3565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036130265760005b8351811015613024576000848281518110612f7257612f716142b7565b5b602002602001015190506000848381518110612f9157612f906142b7565b5b6020026020010151905060006004600084815260200190815260200160002054905081811015612ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fed9061518b565b60405180910390fd5b81810360046000858152602001908152602001600020819055505050508061301d906142e6565b9050612f54565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130988261306d565b9050919050565b6130a88161308d565b81146130b357600080fd5b50565b6000813590506130c58161309f565b92915050565b6000819050919050565b6130de816130cb565b81146130e957600080fd5b50565b6000813590506130fb816130d5565b92915050565b6000806040838503121561311857613117613063565b5b6000613126858286016130b6565b9250506020613137858286016130ec565b9150509250929050565b61314a816130cb565b82525050565b60006020820190506131656000830184613141565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131a08161316b565b81146131ab57600080fd5b50565b6000813590506131bd81613197565b92915050565b6000602082840312156131d9576131d8613063565b5b60006131e7848285016131ae565b91505092915050565b60008115159050919050565b613205816131f0565b82525050565b600060208201905061322060008301846131fc565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61327982613230565b810181811067ffffffffffffffff8211171561329857613297613241565b5b80604052505050565b60006132ab613059565b90506132b78282613270565b919050565b600067ffffffffffffffff8211156132d7576132d6613241565b5b6132e082613230565b9050602081019050919050565b82818337600083830152505050565b600061330f61330a846132bc565b6132a1565b90508281526020810184848401111561332b5761332a61322b565b5b6133368482856132ed565b509392505050565b600082601f83011261335357613352613226565b5b81356133638482602086016132fc565b91505092915050565b60006020828403121561338257613381613063565b5b600082013567ffffffffffffffff8111156133a05761339f613068565b5b6133ac8482850161333e565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156133ef5780820151818401526020810190506133d4565b60008484015250505050565b6000613406826133b5565b61341081856133c0565b93506134208185602086016133d1565b61342981613230565b840191505092915050565b6000602082019050818103600083015261344e81846133fb565b905092915050565b60006020828403121561346c5761346b613063565b5b600061347a848285016130ec565b91505092915050565b6000819050919050565b61349681613483565b82525050565b60006020820190506134b1600083018461348d565b92915050565b6134c081613483565b81146134cb57600080fd5b50565b6000813590506134dd816134b7565b92915050565b6000602082840312156134f9576134f8613063565b5b6000613507848285016134ce565b91505092915050565b600067ffffffffffffffff82111561352b5761352a613241565b5b602082029050602081019050919050565b600080fd5b600061355461354f84613510565b6132a1565b905080838252602082019050602084028301858111156135775761357661353c565b5b835b818110156135a0578061358c88826130ec565b845260208401935050602081019050613579565b5050509392505050565b600082601f8301126135bf576135be613226565b5b81356135cf848260208601613541565b91505092915050565b600067ffffffffffffffff8211156135f3576135f2613241565b5b6135fc82613230565b9050602081019050919050565b600061361c613617846135d8565b6132a1565b9050828152602081018484840111156136385761363761322b565b5b6136438482856132ed565b509392505050565b600082601f8301126136605761365f613226565b5b8135613670848260208601613609565b91505092915050565b600080600080600060a0868803121561369557613694613063565b5b60006136a3888289016130b6565b95505060206136b4888289016130b6565b945050604086013567ffffffffffffffff8111156136d5576136d4613068565b5b6136e1888289016135aa565b935050606086013567ffffffffffffffff81111561370257613701613068565b5b61370e888289016135aa565b925050608086013567ffffffffffffffff81111561372f5761372e613068565b5b61373b8882890161364b565b9150509295509295909350565b6000806040838503121561375f5761375e613063565b5b600061376d858286016134ce565b925050602061377e858286016130b6565b9150509250929050565b600067ffffffffffffffff8211156137a3576137a2613241565b5b602082029050602081019050919050565b60006137c76137c284613788565b6132a1565b905080838252602082019050602084028301858111156137ea576137e961353c565b5b835b8181101561381357806137ff88826130b6565b8452602084019350506020810190506137ec565b5050509392505050565b600082601f83011261383257613831613226565b5b81356138428482602086016137b4565b91505092915050565b6000806040838503121561386257613861613063565b5b600083013567ffffffffffffffff8111156138805761387f613068565b5b61388c8582860161381d565b925050602083013567ffffffffffffffff8111156138ad576138ac613068565b5b6138b9858286016135aa565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6138f8816130cb565b82525050565b600061390a83836138ef565b60208301905092915050565b6000602082019050919050565b600061392e826138c3565b61393881856138ce565b9350613943836138df565b8060005b8381101561397457815161395b88826138fe565b975061396683613916565b925050600181019050613947565b5085935050505092915050565b6000602082019050818103600083015261399b8184613923565b905092915050565b6000806000606084860312156139bc576139bb613063565b5b60006139ca868287016130b6565b935050602084013567ffffffffffffffff8111156139eb576139ea613068565b5b6139f7868287016135aa565b925050604084013567ffffffffffffffff811115613a1857613a17613068565b5b613a24868287016135aa565b9150509250925092565b613a378161308d565b82525050565b6000602082019050613a526000830184613a2e565b92915050565b613a61816131f0565b8114613a6c57600080fd5b50565b600081359050613a7e81613a58565b92915050565b60008060408385031215613a9b57613a9a613063565b5b6000613aa9858286016130b6565b9250506020613aba85828601613a6f565b9150509250929050565b600067ffffffffffffffff821115613adf57613ade613241565b5b602082029050602081019050919050565b600080fd5b600060408284031215613b0b57613b0a613af0565b5b613b1560406132a1565b90506000613b25848285016130b6565b6000830152506020613b39848285016130ec565b60208301525092915050565b6000613b58613b5384613ac4565b6132a1565b90508083825260208201905060408402830185811115613b7b57613b7a61353c565b5b835b81811015613ba45780613b908882613af5565b845260208401935050604081019050613b7d565b5050509392505050565b600082601f830112613bc357613bc2613226565b5b8135613bd3848260208601613b45565b91505092915050565b600060208284031215613bf257613bf1613063565b5b600082013567ffffffffffffffff811115613c1057613c0f613068565b5b613c1c84828501613bae565b91505092915050565b60008060408385031215613c3c57613c3b613063565b5b6000613c4a858286016130b6565b9250506020613c5b858286016130b6565b9150509250929050565b600080600080600060a08688031215613c8157613c80613063565b5b6000613c8f888289016130b6565b9550506020613ca0888289016130b6565b9450506040613cb1888289016130ec565b9350506060613cc2888289016130ec565b925050608086013567ffffffffffffffff811115613ce357613ce2613068565b5b613cef8882890161364b565b9150509295509295909350565b600060208284031215613d1257613d11613063565b5b6000613d20848285016130b6565b91505092915050565b600080600060608486031215613d4257613d41613063565b5b6000613d50868287016130b6565b9350506020613d61868287016130ec565b9250506040613d72868287016130ec565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613dd8602a836133c0565b9150613de382613d7c565b604082019050919050565b60006020820190508181036000830152613e0781613dcb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e5557607f821691505b602082108103613e6857613e67613e0e565b5b50919050565b7f5075626c6963206d696e7420686173206265656e2064697361626c6564000000600082015250565b6000613ea4601d836133c0565b9150613eaf82613e6e565b602082019050919050565b60006020820190508181036000830152613ed381613e97565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613f14826130cb565b9150613f1f836130cb565b9250828202613f2d816130cb565b91508282048414831517613f4457613f43613eda565b5b5092915050565b7f546865207472616e73616374696f6e2076616c756520697320756e646572207460008201527f686520746f6b656e732070726963650000000000000000000000000000000000602082015250565b6000613fa7602f836133c0565b9150613fb282613f4b565b604082019050919050565b60006020820190508181036000830152613fd681613f9a565b9050919050565b7f54686520616d6f756e74206d7573742062652067726561746572207468616e2060008201527f7a65726f00000000000000000000000000000000000000000000000000000000602082015250565b60006140396024836133c0565b915061404482613fdd565b604082019050919050565b600060208201905081810360008301526140688161402c565b9050919050565b7f54686520636f6e74726163742065746865722062616c616e636520697320696e60008201527f73756666696369656e7400000000000000000000000000000000000000000000602082015250565b60006140cb602a836133c0565b91506140d68261406f565b604082019050919050565b600060208201905081810360008301526140fa816140be565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b600061415d602f836133c0565b915061416882614101565b604082019050919050565b6000602082019050818103600083015261418c81614150565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006141ef602f836133c0565b91506141fa82614193565b604082019050919050565b6000602082019050818103600083015261421e816141e2565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006142816029836133c0565b915061428c82614225565b604082019050919050565b600060208201905081810360008301526142b081614274565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006142f1826130cb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361432357614322613eda565b5b600182019050919050565b7f4f6e6c7920616e206163636f756e742077697468207468652061697264726f7060008201527f20726f6c652063616e2061697264726f7020746f6b656e730000000000000000602082015250565b600061438a6038836133c0565b91506143958261432e565b604082019050919050565b600060208201905081810360008301526143b98161437d565b9050919050565b7f41697264726f7020686173206265656e2064697361626c656400000000000000600082015250565b60006143f66019836133c0565b9150614401826143c0565b602082019050919050565b60006020820190508181036000830152614425816143e9565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006144886026836133c0565b91506144938261442c565b604082019050919050565b600060208201905081810360008301526144b78161447b565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026145207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826144e3565b61452a86836144e3565b95508019841693508086168417925050509392505050565b6000819050919050565b600061456761456261455d846130cb565b614542565b6130cb565b9050919050565b6000819050919050565b6145818361454c565b61459561458d8261456e565b8484546144f0565b825550505050565b600090565b6145aa61459d565b6145b5818484614578565b505050565b5b818110156145d9576145ce6000826145a2565b6001810190506145bb565b5050565b601f82111561461e576145ef816144be565b6145f8846144d3565b81016020851015614607578190505b61461b614613856144d3565b8301826145ba565b50505b505050565b600082821c905092915050565b600061464160001984600802614623565b1980831691505092915050565b600061465a8383614630565b9150826002028217905092915050565b614673826133b5565b67ffffffffffffffff81111561468c5761468b613241565b5b6146968254613e3d565b6146a18282856145dd565b600060209050601f8311600181146146d457600084156146c2578287015190505b6146cc858261464e565b865550614734565b601f1984166146e2866144be565b60005b8281101561470a578489015182556001820191506020850194506020810190506146e5565b868310156147275784890151614723601f891682614630565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006147986021836133c0565b91506147a38261473c565b604082019050919050565b600060208201905081810360008301526147c78161478b565b9050919050565b60006147d9826130cb565b91506147e4836130cb565b92508282019050808211156147fc576147fb613eda565b5b92915050565b60006040820190506148176000830185613141565b6148246020830184613141565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006148876028836133c0565b91506148928261482b565b604082019050919050565b600060208201905081810360008301526148b68161487a565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006149196025836133c0565b9150614924826148bd565b604082019050919050565b600060208201905081810360008301526149488161490c565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006149ab602a836133c0565b91506149b68261494f565b604082019050919050565b600060208201905081810360008301526149da8161499e565b9050919050565b600060408201905081810360008301526149fb8185613923565b90508181036020830152614a0f8184613923565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614a746023836133c0565b9150614a7f82614a18565b604082019050919050565b60006020820190508181036000830152614aa381614a67565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614b066024836133c0565b9150614b1182614aaa565b604082019050919050565b60006020820190508181036000830152614b3581614af9565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b726020836133c0565b9150614b7d82614b3c565b602082019050919050565b60006020820190508181036000830152614ba181614b65565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614c046029836133c0565b9150614c0f82614ba8565b604082019050919050565b60006020820190508181036000830152614c3381614bf7565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614c7b601783614c3a565b9150614c8682614c45565b601782019050919050565b6000614c9c826133b5565b614ca68185614c3a565b9350614cb68185602086016133d1565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614cf8601183614c3a565b9150614d0382614cc2565b601182019050919050565b6000614d1982614c6e565b9150614d258285614c91565b9150614d3082614ceb565b9150614d3c8284614c91565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000614d6f82614d48565b614d798185614d53565b9350614d898185602086016133d1565b614d9281613230565b840191505092915050565b600060a082019050614db26000830188613a2e565b614dbf6020830187613a2e565b614dcc6040830186613141565b614dd96060830185613141565b8181036080830152614deb8184614d64565b90509695505050505050565b600081519050614e0681613197565b92915050565b600060208284031215614e2257614e21613063565b5b6000614e3084828501614df7565b91505092915050565b60008160e01c9050919050565b600060033d1115614e655760046000803e614e62600051614e39565b90505b90565b600060443d10614ef557614e7a613059565b60043d036004823e80513d602482011167ffffffffffffffff82111715614ea2575050614ef5565b808201805167ffffffffffffffff811115614ec05750505050614ef5565b80602083010160043d038501811115614edd575050505050614ef5565b614eec82602001850186613270565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614f546034836133c0565b9150614f5f82614ef8565b604082019050919050565b60006020820190508181036000830152614f8381614f47565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614fe66028836133c0565b9150614ff182614f8a565b604082019050919050565b6000602082019050818103600083015261501581614fd9565b9050919050565b600060a0820190506150316000830188613a2e565b61503e6020830187613a2e565b81810360408301526150508186613923565b905081810360608301526150648185613923565b905081810360808301526150788184614d64565b90509695505050505050565b600061508f826130cb565b9150600082036150a2576150a1613eda565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006150e36020836133c0565b91506150ee826150ad565b602082019050919050565b60006020820190508181036000830152615112816150d6565b9050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b60006151756028836133c0565b915061518082615119565b604082019050919050565b600060208201905081810360008301526151a481615168565b905091905056fea264697066735822122069d462209766b40d60dc324a977f70900ed045e0c544f0489d380b48484dc6c164736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008be6c180d24c85c678a58daec0359ff8f3dd0ce20000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003627e8f712373c0000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001263656c696f204672656e6368205765656b73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034346570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c697066733a2f2f626166796265696664327935676d72356d357035716c6e646f6b336e346e377a37767a666434616d6171683236716a6d736b637a706f7a78716c712f7b69647d2e6a736f6e0000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : initParams_ (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000008be6c180d24c85c678a58daec0359ff8f3dd0ce2
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 00000000000000000000000000000000000000000000003627e8f712373c0000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [7] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [8] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [10] : 63656c696f204672656e6368205765656b730000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [12] : 4346570000000000000000000000000000000000000000000000000000000000
Arg [13] : 000000000000000000000000000000000000000000000000000000000000004c
Arg [14] : 697066733a2f2f626166796265696664327935676d72356d357035716c6e646f
Arg [15] : 6b336e346e377a37767a666434616d6171683236716a6d736b637a706f7a7871
Arg [16] : 6c712f7b69647d2e6a736f6e0000000000000000000000000000000000000000
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.