Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
18,621
Holders
218
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RaffleTicket
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./RaffleAccessControl.sol"; /// @title A mintable NFT ticket for Coinburp Raffle /// @author Valerio Leo @valerioHQ contract RaffleTicket is ERC1155, RaffleAccessControl { constructor (string memory uri_) ERC1155(uri_) RaffleAccessControl(msg.sender, "BURP_RAFFLE_TICKET") { } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155, AccessControl) returns (bool) { return super.supportsInterface(interfaceId); } function mint(address to, uint256 tokenId, uint256 amount) external onlyMinter { super._mint(to, tokenId, amount, ''); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { function hasRole(bytes32 role, address account) external view returns (bool); function getRoleAdmin(bytes32 role) external view returns (bytes32); function grantRole(bytes32 role, address account) external; function revokeRole(bytes32 role, address account) external; function renounceRole(bytes32 role, address account) external; } /** * @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 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 {_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 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]{20}) is missing role (0x[0-9a-f]{32})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ 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 { emit RoleAdminChanged(role, getRoleAdmin(role), adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(_msgSender() != operator, "ERC1155: setting approval status for self"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`. * * Emits a {TransferSingle} event. * * Requirements: * * - `account` cannot be the zero address. * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address account, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(account != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][account] += amount; emit TransferSingle(operator, address(0), account, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `account` * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens of token type `id`. */ function _burn( address account, uint256 id, uint256 amount ) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } emit TransferSingle(operator, account, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address account, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } } emit TransferBatch(operator, account, address(0), ids, amounts); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver(to).onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver(to).onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT 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 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); }
pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/AccessControl.sol"; contract RaffleAccessControl is AccessControl { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); string public minterOf; // Events event MinterAdded(address indexed account, string minterOf); event MinterRemoved(address indexed account, string minterOf); modifier onlyAdmin() { require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Only admin role"); _; } modifier onlyMinter() { require(hasRole(MINTER_ROLE, msg.sender), "Only minter role"); _; } /** * @dev Constructor Add the given account both as the main Admin of the smart contract and a checkpoint minter * @param mainMinter The account that will be added as mainMinter */ constructor (address mainMinter, string memory _minterOf) { require( mainMinter != address(0), "Main minter should be a valid address" ); minterOf = _minterOf; _setupRole(DEFAULT_ADMIN_ROLE, mainMinter); _setupRole(MINTER_ROLE, mainMinter); emit MinterAdded(mainMinter, minterOf); } /** * @dev checks if the given account is a minter * @param account The account that will be checked */ function isMinter(address account) public view returns (bool) { return hasRole(MINTER_ROLE, account); } /** * @dev Adds a new account to the minter role * @param account The account that will have the minter role */ function addMinter(address account) public onlyMinter virtual { grantRole(MINTER_ROLE, account); emit MinterAdded(account, minterOf); } /** * @dev Removes the sender from the list the minter role */ function renounceMinter() public { renounceRole(MINTER_ROLE, msg.sender); emit MinterRemoved(msg.sender, minterOf); } /** * @dev Removes the given account from the minter role, if msg.sender is admin * @param minter The account that will have the minter role removed */ function removeMinter(address minter) public { revokeRole(MINTER_ROLE, minter); emit MinterRemoved(minter, minterOf); } }
{ "evmVersion": "istanbul", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": false, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"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":"account","type":"address"},{"indexed":false,"internalType":"string","name":"minterOf","type":"string"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"string","name":"minterOf","type":"string"}],"name":"MinterRemoved","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"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","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":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minterOf","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceMinter","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200407138038062004071833981810160405281019062000037919062000467565b336040518060400160405280601281526020017f425552505f524146464c455f5449434b45540000000000000000000000000000815250826200008081620001ae60201b60201c565b50600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620000f4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000eb90620005c4565b60405180910390fd5b80600490805190602001906200010c92919062000345565b50620001226000801b83620001ca60201b60201c565b620001547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a683620001ca60201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff167facf1921979e1bd89a28b7c5a40cab173d71ea3f152c3c1fa85b16b0959ab37f860046040516200019d9190620005a0565b60405180910390a25050506200073d565b8060029080519060200190620001c692919062000345565b5050565b620001dc8282620001e060201b60201c565b5050565b620001f28282620002d260201b60201c565b620002ce5760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002736200033d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b8280546200035390620006a9565b90600052602060002090601f016020900481019282620003775760008555620003c3565b82601f106200039257805160ff1916838001178555620003c3565b82800160010185558215620003c3579182015b82811115620003c2578251825591602001919060010190620003a5565b5b509050620003d29190620003d6565b5090565b5b80821115620003f1576000816000905550600101620003d7565b5090565b60006200040c62000406846200061a565b620005e6565b9050828152602081018484840111156200042557600080fd5b6200043284828562000673565b509392505050565b600082601f8301126200044c57600080fd5b81516200045e848260208601620003f5565b91505092915050565b6000602082840312156200047a57600080fd5b600082015167ffffffffffffffff8111156200049557600080fd5b620004a3848285016200043a565b91505092915050565b60008154620004bb81620006a9565b620004c7818662000662565b94506001821660008114620004e55760018114620004f8576200052f565b60ff19831686526020860193506200052f565b62000503856200064d565b60005b83811015620005275781548189015260018201915060208101905062000506565b808801955050505b50505092915050565b60006200054760258362000662565b91507f4d61696e206d696e7465722073686f756c6420626520612076616c696420616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006020820190508181036000830152620005bc8184620004ac565b905092915050565b60006020820190508181036000830152620005df8162000538565b9050919050565b6000604051905081810181811067ffffffffffffffff8211171562000610576200060f6200070e565b5b8060405250919050565b600067ffffffffffffffff8211156200063857620006376200070e565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600082825260208201905092915050565b60005b838110156200069357808201518184015260208101905062000676565b83811115620006a3576000848401525b50505050565b60006002820490506001821680620006c257607f821691505b60208210811415620006d957620006d8620006df565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613924806200074d6000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c806391d14854116100b8578063aa271e1a1161007c578063aa271e1a14610347578063c75856de14610377578063d539139314610395578063d547741f146103b3578063e985e9c5146103cf578063f242432a146103ff57610136565b806391d14854146102b7578063983b2d56146102e75780639865027514610303578063a217fddf1461030d578063a22cb4651461032b57610136565b80632eb2c2d6116100ff5780632eb2c2d6146102175780632f2ff15d146102335780633092afd51461024f57806336568abe1461026b5780634e1273f41461028757610136565b8062fdd58e1461013b57806301ffc9a71461016b5780630e89341c1461019b578063156e29f6146101cb578063248a9ca3146101e7575b600080fd5b61015560048036038101906101509190612665565b61041b565b6040516101629190613377565b60405180910390f35b610185600480360381019061018091906127c1565b6104e4565b604051610192919061313d565b60405180910390f35b6101b560048036038101906101b09190612813565b6104f6565b6040516101c29190613173565b60405180910390f35b6101e560048036038101906101e091906126a1565b61058a565b005b61020160048036038101906101fc919061275c565b610613565b60405161020e9190613158565b60405180910390f35b610231600480360381019061022c91906124db565b610633565b005b61024d60048036038101906102489190612785565b6106d4565b005b61026960048036038101906102649190612476565b6106fd565b005b61028560048036038101906102809190612785565b610779565b005b6102a1600480360381019061029c91906126f0565b6107fc565b6040516102ae91906130e4565b60405180910390f35b6102d160048036038101906102cc9190612785565b6109ad565b6040516102de919061313d565b60405180910390f35b61030160048036038101906102fc9190612476565b610a18565b005b61030b610afd565b005b610315610b78565b6040516103229190613158565b60405180910390f35b61034560048036038101906103409190612629565b610b7f565b005b610361600480360381019061035c9190612476565b610d00565b60405161036e919061313d565b60405180910390f35b61037f610d33565b60405161038c9190613173565b60405180910390f35b61039d610dc1565b6040516103aa9190613158565b60405180910390f35b6103cd60048036038101906103c89190612785565b610de5565b005b6103e960048036038101906103e4919061249f565b610e0e565b6040516103f6919061313d565b60405180910390f35b6104196004803603810190610414919061259a565b610ea2565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561048c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048390613217565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006104ef82610f43565b9050919050565b6060600280546105059061369f565b80601f01602080910402602001604051908101604052809291908181526020018280546105319061369f565b801561057e5780601f106105535761010080835404028352916020019161057e565b820191906000526020600020905b81548152906001019060200180831161056157829003601f168201915b50505050509050919050565b6105b47f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336109ad565b6105f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ea90613237565b60405180910390fd5b61060e83838360405180602001604052806000815250610fbd565b505050565b600060036000838152602001908152602001600020600101549050919050565b61063b611153565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061068157506106808561067b611153565b610e0e565b5b6106c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b790613297565b60405180910390fd5b6106cd858585858561115b565b5050505050565b6106dd82610613565b6106ee816106e9611153565b6114bb565b6106f88383611558565b505050565b6107277f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682610de5565b8073ffffffffffffffffffffffffffffffffffffffff167f370ee79b82c4a867c7b5f41346c450c235c3415fa7069b06b2053c105bdd8344600460405161076e9190613195565b60405180910390a250565b610781611153565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146107ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e590613357565b60405180910390fd5b6107f88282611639565b5050565b60608151835114610842576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610839906132f7565b60405180910390fd5b6000835167ffffffffffffffff811115610885577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156108b35781602001602082028036833780820191505090505b50905060005b84518110156109a25761094c8582815181106108fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185838151811061093f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161041b565b828281518110610985577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508061099b906136d1565b90506108b9565b508091505092915050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610a427f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336109ad565b610a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7890613237565b60405180910390fd5b610aab7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6826106d4565b8073ffffffffffffffffffffffffffffffffffffffff167facf1921979e1bd89a28b7c5a40cab173d71ea3f152c3c1fa85b16b0959ab37f86004604051610af29190613195565b60405180910390a250565b610b277f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610779565b3373ffffffffffffffffffffffffffffffffffffffff167f370ee79b82c4a867c7b5f41346c450c235c3415fa7069b06b2053c105bdd83446004604051610b6e9190613195565b60405180910390a2565b6000801b81565b8173ffffffffffffffffffffffffffffffffffffffff16610b9e611153565b73ffffffffffffffffffffffffffffffffffffffff161415610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec906132d7565b60405180910390fd5b8060016000610c02611153565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610caf611153565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610cf4919061313d565b60405180910390a35050565b6000610d2c7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6836109ad565b9050919050565b60048054610d409061369f565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6c9061369f565b8015610db95780601f10610d8e57610100808354040283529160200191610db9565b820191906000526020600020905b815481529060010190602001808311610d9c57829003601f168201915b505050505081565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610dee82610613565b610dff81610dfa611153565b6114bb565b610e098383611639565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610eaa611153565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610ef05750610eef85610eea611153565b610e0e565b5b610f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2690613257565b60405180910390fd5b610f3c858585858561171b565b5050505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610fb65750610fb58261199d565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561102d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102490613337565b60405180910390fd5b6000611037611153565b90506110588160008761104988611a7f565b61105288611a7f565b87611b45565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110b79190613505565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611135929190613392565b60405180910390a461114c81600087878787611b4d565b5050505050565b600033905090565b815183511461119f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119690613317565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561120f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120690613277565b60405180910390fd5b6000611219611153565b9050611229818787878787611b45565b60005b8451811015611426576000858281518110611270577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060008583815181106112b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134d906132b7565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461140b9190613505565b925050819055505050508061141f906136d1565b905061122c565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161149d929190613106565b60405180910390a46114b3818787878787611d1d565b505050505050565b6114c582826109ad565b611554576114ea8173ffffffffffffffffffffffffffffffffffffffff166014611eed565b6114f88360001c6020611eed565b604051602001611509929190612fe8565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b9190613173565b60405180910390fd5b5050565b61156282826109ad565b6116355760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115da611153565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61164382826109ad565b156117175760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506116bc611153565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561178b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178290613277565b60405180910390fd5b6000611795611153565b90506117b58187876117a688611a7f565b6117af88611a7f565b87611b45565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561184c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611843906132b7565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119019190613505565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161197e929190613392565b60405180910390a4611994828888888888611b4d565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a6857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a785750611a77826121e7565b5b9050919050565b60606000600167ffffffffffffffff811115611ac4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611af25781602001602082028036833780820191505090505b5090508281600081518110611b30577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b505050505050565b611b6c8473ffffffffffffffffffffffffffffffffffffffff16612251565b15611d15578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611bb295949392919061308a565b602060405180830381600087803b158015611bcc57600080fd5b505af1925050508015611bfd57506040513d601f19601f82011682018060405250810190611bfa91906127ea565b60015b611c8c57611c096137c5565b80611c145750611c51565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c489190613173565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c83906131b7565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0a906131f7565b60405180910390fd5b505b505050505050565b611d3c8473ffffffffffffffffffffffffffffffffffffffff16612251565b15611ee5578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611d82959493929190613022565b602060405180830381600087803b158015611d9c57600080fd5b505af1925050508015611dcd57506040513d601f19601f82011682018060405250810190611dca91906127ea565b60015b611e5c57611dd96137c5565b80611de45750611e21565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e189190613173565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e53906131b7565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eda906131f7565b60405180910390fd5b505b505050505050565b606060006002836002611f00919061355b565b611f0a9190613505565b67ffffffffffffffff811115611f49577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f7b5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611fd9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612063577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026120a3919061355b565b6120ad9190613505565b90505b6001811115612199577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612115577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612152577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061219290613675565b90506120b0565b50600084146121dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d4906131d7565b60405180910390fd5b8091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080823b905060008111915050919050565b6000612277612272846133ec565b6133bb565b9050808382526020820190508285602086028201111561229657600080fd5b60005b858110156122c657816122ac888261237a565b845260208401935060208301925050600181019050612299565b5050509392505050565b60006122e36122de84613418565b6133bb565b9050808382526020820190508285602086028201111561230257600080fd5b60005b8581101561233257816123188882612461565b845260208401935060208301925050600181019050612305565b5050509392505050565b600061234f61234a84613444565b6133bb565b90508281526020810184848401111561236757600080fd5b612372848285613633565b509392505050565b6000813590506123898161387b565b92915050565b600082601f8301126123a057600080fd5b81356123b0848260208601612264565b91505092915050565b600082601f8301126123ca57600080fd5b81356123da8482602086016122d0565b91505092915050565b6000813590506123f281613892565b92915050565b600081359050612407816138a9565b92915050565b60008135905061241c816138c0565b92915050565b600081519050612431816138c0565b92915050565b600082601f83011261244857600080fd5b813561245884826020860161233c565b91505092915050565b600081359050612470816138d7565b92915050565b60006020828403121561248857600080fd5b60006124968482850161237a565b91505092915050565b600080604083850312156124b257600080fd5b60006124c08582860161237a565b92505060206124d18582860161237a565b9150509250929050565b600080600080600060a086880312156124f357600080fd5b60006125018882890161237a565b95505060206125128882890161237a565b945050604086013567ffffffffffffffff81111561252f57600080fd5b61253b888289016123b9565b935050606086013567ffffffffffffffff81111561255857600080fd5b612564888289016123b9565b925050608086013567ffffffffffffffff81111561258157600080fd5b61258d88828901612437565b9150509295509295909350565b600080600080600060a086880312156125b257600080fd5b60006125c08882890161237a565b95505060206125d18882890161237a565b94505060406125e288828901612461565b93505060606125f388828901612461565b925050608086013567ffffffffffffffff81111561261057600080fd5b61261c88828901612437565b9150509295509295909350565b6000806040838503121561263c57600080fd5b600061264a8582860161237a565b925050602061265b858286016123e3565b9150509250929050565b6000806040838503121561267857600080fd5b60006126868582860161237a565b925050602061269785828601612461565b9150509250929050565b6000806000606084860312156126b657600080fd5b60006126c48682870161237a565b93505060206126d586828701612461565b92505060406126e686828701612461565b9150509250925092565b6000806040838503121561270357600080fd5b600083013567ffffffffffffffff81111561271d57600080fd5b6127298582860161238f565b925050602083013567ffffffffffffffff81111561274657600080fd5b612752858286016123b9565b9150509250929050565b60006020828403121561276e57600080fd5b600061277c848285016123f8565b91505092915050565b6000806040838503121561279857600080fd5b60006127a6858286016123f8565b92505060206127b78582860161237a565b9150509250929050565b6000602082840312156127d357600080fd5b60006127e18482850161240d565b91505092915050565b6000602082840312156127fc57600080fd5b600061280a84828501612422565b91505092915050565b60006020828403121561282557600080fd5b600061283384828501612461565b91505092915050565b60006128488383612fca565b60208301905092915050565b61285d816135b5565b82525050565b600061286e82613499565b61287881856134c7565b935061288383613474565b8060005b838110156128b457815161289b888261283c565b97506128a6836134ba565b925050600181019050612887565b5085935050505092915050565b6128ca816135c7565b82525050565b6128d9816135d3565b82525050565b60006128ea826134a4565b6128f481856134d8565b9350612904818560208601613642565b61290d816137a7565b840191505092915050565b6000612923826134af565b61292d81856134e9565b935061293d818560208601613642565b612946816137a7565b840191505092915050565b600061295c826134af565b61296681856134fa565b9350612976818560208601613642565b80840191505092915050565b6000815461298f8161369f565b61299981866134e9565b945060018216600081146129b457600181146129c6576129f9565b60ff19831686526020860193506129f9565b6129cf85613484565b60005b838110156129f1578154818901526001820191506020810190506129d2565b808801955050505b50505092915050565b6000612a0f6034836134e9565b91507f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008301527f526563656976657220696d706c656d656e7465720000000000000000000000006020830152604082019050919050565b6000612a756020836134e9565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b6000612ab56028836134e9565b91507f455243313135353a204552433131353552656365697665722072656a6563746560008301527f6420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612b1b602b836134e9565b91507f455243313135353a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b6000612b816010836134e9565b91507f4f6e6c79206d696e74657220726f6c65000000000000000000000000000000006000830152602082019050919050565b6000612bc16029836134e9565b91507f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008301527f20617070726f76656400000000000000000000000000000000000000000000006020830152604082019050919050565b6000612c276025836134e9565b91507f455243313135353a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612c8d6032836134e9565b91507f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b6000612cf3602a836134e9565b91507f455243313135353a20696e73756666696369656e742062616c616e636520666f60008301527f72207472616e73666572000000000000000000000000000000000000000000006020830152604082019050919050565b6000612d596017836134fa565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b6000612d996029836134e9565b91507f455243313135353a2073657474696e6720617070726f76616c2073746174757360008301527f20666f722073656c6600000000000000000000000000000000000000000000006020830152604082019050919050565b6000612dff6029836134e9565b91507f455243313135353a206163636f756e747320616e6420696473206c656e67746860008301527f206d69736d6174636800000000000000000000000000000000000000000000006020830152604082019050919050565b6000612e656028836134e9565b91507f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008301527f6d69736d617463680000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612ecb6021836134e9565b91507f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612f316011836134fa565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b6000612f71602f836134e9565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b612fd381613629565b82525050565b612fe281613629565b82525050565b6000612ff382612d4c565b9150612fff8285612951565b915061300a82612f24565b91506130168284612951565b91508190509392505050565b600060a0820190506130376000830188612854565b6130446020830187612854565b81810360408301526130568186612863565b9050818103606083015261306a8185612863565b9050818103608083015261307e81846128df565b90509695505050505050565b600060a08201905061309f6000830188612854565b6130ac6020830187612854565b6130b96040830186612fd9565b6130c66060830185612fd9565b81810360808301526130d881846128df565b90509695505050505050565b600060208201905081810360008301526130fe8184612863565b905092915050565b600060408201905081810360008301526131208185612863565b905081810360208301526131348184612863565b90509392505050565b600060208201905061315260008301846128c1565b92915050565b600060208201905061316d60008301846128d0565b92915050565b6000602082019050818103600083015261318d8184612918565b905092915050565b600060208201905081810360008301526131af8184612982565b905092915050565b600060208201905081810360008301526131d081612a02565b9050919050565b600060208201905081810360008301526131f081612a68565b9050919050565b6000602082019050818103600083015261321081612aa8565b9050919050565b6000602082019050818103600083015261323081612b0e565b9050919050565b6000602082019050818103600083015261325081612b74565b9050919050565b6000602082019050818103600083015261327081612bb4565b9050919050565b6000602082019050818103600083015261329081612c1a565b9050919050565b600060208201905081810360008301526132b081612c80565b9050919050565b600060208201905081810360008301526132d081612ce6565b9050919050565b600060208201905081810360008301526132f081612d8c565b9050919050565b6000602082019050818103600083015261331081612df2565b9050919050565b6000602082019050818103600083015261333081612e58565b9050919050565b6000602082019050818103600083015261335081612ebe565b9050919050565b6000602082019050818103600083015261337081612f64565b9050919050565b600060208201905061338c6000830184612fd9565b92915050565b60006040820190506133a76000830185612fd9565b6133b46020830184612fd9565b9392505050565b6000604051905081810181811067ffffffffffffffff821117156133e2576133e1613778565b5b8060405250919050565b600067ffffffffffffffff82111561340757613406613778565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561343357613432613778565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561345f5761345e613778565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061351082613629565b915061351b83613629565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135505761354f61371a565b5b828201905092915050565b600061356682613629565b915061357183613629565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156135aa576135a961371a565b5b828202905092915050565b60006135c082613609565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613660578082015181840152602081019050613645565b8381111561366f576000848401525b50505050565b600061368082613629565b915060008214156136945761369361371a565b5b600182039050919050565b600060028204905060018216806136b757607f821691505b602082108114156136cb576136ca613749565b5b50919050565b60006136dc82613629565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561370f5761370e61371a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d10156137d557613878565b60046000803e6137e66000516137b8565b6308c379a081146137f75750613878565b60405160043d036004823e80513d602482011167ffffffffffffffff8211171561382357505050613878565b808201805167ffffffffffffffff811115613842575050505050613878565b8060208301013d850181111561385d57505050505050613878565b613866826137a7565b60208401016040528296505050505050505b90565b613884816135b5565b811461388f57600080fd5b50565b61389b816135c7565b81146138a657600080fd5b50565b6138b2816135d3565b81146138bd57600080fd5b50565b6138c9816135dd565b81146138d457600080fd5b50565b6138e081613629565b81146138eb57600080fd5b5056fea2646970667358221220d30f3e3e5a177de738e2d6ca65dd958a367e02f6f559b61e1ae5b4419b53bc8864736f6c634300080000330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001968747470733a2f2f7777772e62757270746f6b656e2e636f6d00000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101365760003560e01c806391d14854116100b8578063aa271e1a1161007c578063aa271e1a14610347578063c75856de14610377578063d539139314610395578063d547741f146103b3578063e985e9c5146103cf578063f242432a146103ff57610136565b806391d14854146102b7578063983b2d56146102e75780639865027514610303578063a217fddf1461030d578063a22cb4651461032b57610136565b80632eb2c2d6116100ff5780632eb2c2d6146102175780632f2ff15d146102335780633092afd51461024f57806336568abe1461026b5780634e1273f41461028757610136565b8062fdd58e1461013b57806301ffc9a71461016b5780630e89341c1461019b578063156e29f6146101cb578063248a9ca3146101e7575b600080fd5b61015560048036038101906101509190612665565b61041b565b6040516101629190613377565b60405180910390f35b610185600480360381019061018091906127c1565b6104e4565b604051610192919061313d565b60405180910390f35b6101b560048036038101906101b09190612813565b6104f6565b6040516101c29190613173565b60405180910390f35b6101e560048036038101906101e091906126a1565b61058a565b005b61020160048036038101906101fc919061275c565b610613565b60405161020e9190613158565b60405180910390f35b610231600480360381019061022c91906124db565b610633565b005b61024d60048036038101906102489190612785565b6106d4565b005b61026960048036038101906102649190612476565b6106fd565b005b61028560048036038101906102809190612785565b610779565b005b6102a1600480360381019061029c91906126f0565b6107fc565b6040516102ae91906130e4565b60405180910390f35b6102d160048036038101906102cc9190612785565b6109ad565b6040516102de919061313d565b60405180910390f35b61030160048036038101906102fc9190612476565b610a18565b005b61030b610afd565b005b610315610b78565b6040516103229190613158565b60405180910390f35b61034560048036038101906103409190612629565b610b7f565b005b610361600480360381019061035c9190612476565b610d00565b60405161036e919061313d565b60405180910390f35b61037f610d33565b60405161038c9190613173565b60405180910390f35b61039d610dc1565b6040516103aa9190613158565b60405180910390f35b6103cd60048036038101906103c89190612785565b610de5565b005b6103e960048036038101906103e4919061249f565b610e0e565b6040516103f6919061313d565b60405180910390f35b6104196004803603810190610414919061259a565b610ea2565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561048c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048390613217565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006104ef82610f43565b9050919050565b6060600280546105059061369f565b80601f01602080910402602001604051908101604052809291908181526020018280546105319061369f565b801561057e5780601f106105535761010080835404028352916020019161057e565b820191906000526020600020905b81548152906001019060200180831161056157829003601f168201915b50505050509050919050565b6105b47f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336109ad565b6105f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ea90613237565b60405180910390fd5b61060e83838360405180602001604052806000815250610fbd565b505050565b600060036000838152602001908152602001600020600101549050919050565b61063b611153565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061068157506106808561067b611153565b610e0e565b5b6106c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b790613297565b60405180910390fd5b6106cd858585858561115b565b5050505050565b6106dd82610613565b6106ee816106e9611153565b6114bb565b6106f88383611558565b505050565b6107277f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682610de5565b8073ffffffffffffffffffffffffffffffffffffffff167f370ee79b82c4a867c7b5f41346c450c235c3415fa7069b06b2053c105bdd8344600460405161076e9190613195565b60405180910390a250565b610781611153565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146107ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e590613357565b60405180910390fd5b6107f88282611639565b5050565b60608151835114610842576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610839906132f7565b60405180910390fd5b6000835167ffffffffffffffff811115610885577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156108b35781602001602082028036833780820191505090505b50905060005b84518110156109a25761094c8582815181106108fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185838151811061093f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161041b565b828281518110610985577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508061099b906136d1565b90506108b9565b508091505092915050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610a427f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336109ad565b610a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7890613237565b60405180910390fd5b610aab7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6826106d4565b8073ffffffffffffffffffffffffffffffffffffffff167facf1921979e1bd89a28b7c5a40cab173d71ea3f152c3c1fa85b16b0959ab37f86004604051610af29190613195565b60405180910390a250565b610b277f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610779565b3373ffffffffffffffffffffffffffffffffffffffff167f370ee79b82c4a867c7b5f41346c450c235c3415fa7069b06b2053c105bdd83446004604051610b6e9190613195565b60405180910390a2565b6000801b81565b8173ffffffffffffffffffffffffffffffffffffffff16610b9e611153565b73ffffffffffffffffffffffffffffffffffffffff161415610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec906132d7565b60405180910390fd5b8060016000610c02611153565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610caf611153565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610cf4919061313d565b60405180910390a35050565b6000610d2c7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6836109ad565b9050919050565b60048054610d409061369f565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6c9061369f565b8015610db95780601f10610d8e57610100808354040283529160200191610db9565b820191906000526020600020905b815481529060010190602001808311610d9c57829003601f168201915b505050505081565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610dee82610613565b610dff81610dfa611153565b6114bb565b610e098383611639565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610eaa611153565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610ef05750610eef85610eea611153565b610e0e565b5b610f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2690613257565b60405180910390fd5b610f3c858585858561171b565b5050505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610fb65750610fb58261199d565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561102d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102490613337565b60405180910390fd5b6000611037611153565b90506110588160008761104988611a7f565b61105288611a7f565b87611b45565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110b79190613505565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611135929190613392565b60405180910390a461114c81600087878787611b4d565b5050505050565b600033905090565b815183511461119f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119690613317565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561120f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120690613277565b60405180910390fd5b6000611219611153565b9050611229818787878787611b45565b60005b8451811015611426576000858281518110611270577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060008583815181106112b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134d906132b7565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461140b9190613505565b925050819055505050508061141f906136d1565b905061122c565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161149d929190613106565b60405180910390a46114b3818787878787611d1d565b505050505050565b6114c582826109ad565b611554576114ea8173ffffffffffffffffffffffffffffffffffffffff166014611eed565b6114f88360001c6020611eed565b604051602001611509929190612fe8565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b9190613173565b60405180910390fd5b5050565b61156282826109ad565b6116355760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115da611153565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61164382826109ad565b156117175760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506116bc611153565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561178b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178290613277565b60405180910390fd5b6000611795611153565b90506117b58187876117a688611a7f565b6117af88611a7f565b87611b45565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561184c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611843906132b7565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119019190613505565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161197e929190613392565b60405180910390a4611994828888888888611b4d565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a6857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a785750611a77826121e7565b5b9050919050565b60606000600167ffffffffffffffff811115611ac4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611af25781602001602082028036833780820191505090505b5090508281600081518110611b30577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b505050505050565b611b6c8473ffffffffffffffffffffffffffffffffffffffff16612251565b15611d15578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611bb295949392919061308a565b602060405180830381600087803b158015611bcc57600080fd5b505af1925050508015611bfd57506040513d601f19601f82011682018060405250810190611bfa91906127ea565b60015b611c8c57611c096137c5565b80611c145750611c51565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c489190613173565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c83906131b7565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0a906131f7565b60405180910390fd5b505b505050505050565b611d3c8473ffffffffffffffffffffffffffffffffffffffff16612251565b15611ee5578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611d82959493929190613022565b602060405180830381600087803b158015611d9c57600080fd5b505af1925050508015611dcd57506040513d601f19601f82011682018060405250810190611dca91906127ea565b60015b611e5c57611dd96137c5565b80611de45750611e21565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e189190613173565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e53906131b7565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eda906131f7565b60405180910390fd5b505b505050505050565b606060006002836002611f00919061355b565b611f0a9190613505565b67ffffffffffffffff811115611f49577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f7b5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611fd9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612063577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026120a3919061355b565b6120ad9190613505565b90505b6001811115612199577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612115577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612152577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061219290613675565b90506120b0565b50600084146121dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d4906131d7565b60405180910390fd5b8091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080823b905060008111915050919050565b6000612277612272846133ec565b6133bb565b9050808382526020820190508285602086028201111561229657600080fd5b60005b858110156122c657816122ac888261237a565b845260208401935060208301925050600181019050612299565b5050509392505050565b60006122e36122de84613418565b6133bb565b9050808382526020820190508285602086028201111561230257600080fd5b60005b8581101561233257816123188882612461565b845260208401935060208301925050600181019050612305565b5050509392505050565b600061234f61234a84613444565b6133bb565b90508281526020810184848401111561236757600080fd5b612372848285613633565b509392505050565b6000813590506123898161387b565b92915050565b600082601f8301126123a057600080fd5b81356123b0848260208601612264565b91505092915050565b600082601f8301126123ca57600080fd5b81356123da8482602086016122d0565b91505092915050565b6000813590506123f281613892565b92915050565b600081359050612407816138a9565b92915050565b60008135905061241c816138c0565b92915050565b600081519050612431816138c0565b92915050565b600082601f83011261244857600080fd5b813561245884826020860161233c565b91505092915050565b600081359050612470816138d7565b92915050565b60006020828403121561248857600080fd5b60006124968482850161237a565b91505092915050565b600080604083850312156124b257600080fd5b60006124c08582860161237a565b92505060206124d18582860161237a565b9150509250929050565b600080600080600060a086880312156124f357600080fd5b60006125018882890161237a565b95505060206125128882890161237a565b945050604086013567ffffffffffffffff81111561252f57600080fd5b61253b888289016123b9565b935050606086013567ffffffffffffffff81111561255857600080fd5b612564888289016123b9565b925050608086013567ffffffffffffffff81111561258157600080fd5b61258d88828901612437565b9150509295509295909350565b600080600080600060a086880312156125b257600080fd5b60006125c08882890161237a565b95505060206125d18882890161237a565b94505060406125e288828901612461565b93505060606125f388828901612461565b925050608086013567ffffffffffffffff81111561261057600080fd5b61261c88828901612437565b9150509295509295909350565b6000806040838503121561263c57600080fd5b600061264a8582860161237a565b925050602061265b858286016123e3565b9150509250929050565b6000806040838503121561267857600080fd5b60006126868582860161237a565b925050602061269785828601612461565b9150509250929050565b6000806000606084860312156126b657600080fd5b60006126c48682870161237a565b93505060206126d586828701612461565b92505060406126e686828701612461565b9150509250925092565b6000806040838503121561270357600080fd5b600083013567ffffffffffffffff81111561271d57600080fd5b6127298582860161238f565b925050602083013567ffffffffffffffff81111561274657600080fd5b612752858286016123b9565b9150509250929050565b60006020828403121561276e57600080fd5b600061277c848285016123f8565b91505092915050565b6000806040838503121561279857600080fd5b60006127a6858286016123f8565b92505060206127b78582860161237a565b9150509250929050565b6000602082840312156127d357600080fd5b60006127e18482850161240d565b91505092915050565b6000602082840312156127fc57600080fd5b600061280a84828501612422565b91505092915050565b60006020828403121561282557600080fd5b600061283384828501612461565b91505092915050565b60006128488383612fca565b60208301905092915050565b61285d816135b5565b82525050565b600061286e82613499565b61287881856134c7565b935061288383613474565b8060005b838110156128b457815161289b888261283c565b97506128a6836134ba565b925050600181019050612887565b5085935050505092915050565b6128ca816135c7565b82525050565b6128d9816135d3565b82525050565b60006128ea826134a4565b6128f481856134d8565b9350612904818560208601613642565b61290d816137a7565b840191505092915050565b6000612923826134af565b61292d81856134e9565b935061293d818560208601613642565b612946816137a7565b840191505092915050565b600061295c826134af565b61296681856134fa565b9350612976818560208601613642565b80840191505092915050565b6000815461298f8161369f565b61299981866134e9565b945060018216600081146129b457600181146129c6576129f9565b60ff19831686526020860193506129f9565b6129cf85613484565b60005b838110156129f1578154818901526001820191506020810190506129d2565b808801955050505b50505092915050565b6000612a0f6034836134e9565b91507f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008301527f526563656976657220696d706c656d656e7465720000000000000000000000006020830152604082019050919050565b6000612a756020836134e9565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b6000612ab56028836134e9565b91507f455243313135353a204552433131353552656365697665722072656a6563746560008301527f6420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612b1b602b836134e9565b91507f455243313135353a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b6000612b816010836134e9565b91507f4f6e6c79206d696e74657220726f6c65000000000000000000000000000000006000830152602082019050919050565b6000612bc16029836134e9565b91507f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008301527f20617070726f76656400000000000000000000000000000000000000000000006020830152604082019050919050565b6000612c276025836134e9565b91507f455243313135353a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612c8d6032836134e9565b91507f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b6000612cf3602a836134e9565b91507f455243313135353a20696e73756666696369656e742062616c616e636520666f60008301527f72207472616e73666572000000000000000000000000000000000000000000006020830152604082019050919050565b6000612d596017836134fa565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b6000612d996029836134e9565b91507f455243313135353a2073657474696e6720617070726f76616c2073746174757360008301527f20666f722073656c6600000000000000000000000000000000000000000000006020830152604082019050919050565b6000612dff6029836134e9565b91507f455243313135353a206163636f756e747320616e6420696473206c656e67746860008301527f206d69736d6174636800000000000000000000000000000000000000000000006020830152604082019050919050565b6000612e656028836134e9565b91507f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008301527f6d69736d617463680000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612ecb6021836134e9565b91507f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612f316011836134fa565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b6000612f71602f836134e9565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b612fd381613629565b82525050565b612fe281613629565b82525050565b6000612ff382612d4c565b9150612fff8285612951565b915061300a82612f24565b91506130168284612951565b91508190509392505050565b600060a0820190506130376000830188612854565b6130446020830187612854565b81810360408301526130568186612863565b9050818103606083015261306a8185612863565b9050818103608083015261307e81846128df565b90509695505050505050565b600060a08201905061309f6000830188612854565b6130ac6020830187612854565b6130b96040830186612fd9565b6130c66060830185612fd9565b81810360808301526130d881846128df565b90509695505050505050565b600060208201905081810360008301526130fe8184612863565b905092915050565b600060408201905081810360008301526131208185612863565b905081810360208301526131348184612863565b90509392505050565b600060208201905061315260008301846128c1565b92915050565b600060208201905061316d60008301846128d0565b92915050565b6000602082019050818103600083015261318d8184612918565b905092915050565b600060208201905081810360008301526131af8184612982565b905092915050565b600060208201905081810360008301526131d081612a02565b9050919050565b600060208201905081810360008301526131f081612a68565b9050919050565b6000602082019050818103600083015261321081612aa8565b9050919050565b6000602082019050818103600083015261323081612b0e565b9050919050565b6000602082019050818103600083015261325081612b74565b9050919050565b6000602082019050818103600083015261327081612bb4565b9050919050565b6000602082019050818103600083015261329081612c1a565b9050919050565b600060208201905081810360008301526132b081612c80565b9050919050565b600060208201905081810360008301526132d081612ce6565b9050919050565b600060208201905081810360008301526132f081612d8c565b9050919050565b6000602082019050818103600083015261331081612df2565b9050919050565b6000602082019050818103600083015261333081612e58565b9050919050565b6000602082019050818103600083015261335081612ebe565b9050919050565b6000602082019050818103600083015261337081612f64565b9050919050565b600060208201905061338c6000830184612fd9565b92915050565b60006040820190506133a76000830185612fd9565b6133b46020830184612fd9565b9392505050565b6000604051905081810181811067ffffffffffffffff821117156133e2576133e1613778565b5b8060405250919050565b600067ffffffffffffffff82111561340757613406613778565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561343357613432613778565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561345f5761345e613778565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061351082613629565b915061351b83613629565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135505761354f61371a565b5b828201905092915050565b600061356682613629565b915061357183613629565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156135aa576135a961371a565b5b828202905092915050565b60006135c082613609565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613660578082015181840152602081019050613645565b8381111561366f576000848401525b50505050565b600061368082613629565b915060008214156136945761369361371a565b5b600182039050919050565b600060028204905060018216806136b757607f821691505b602082108114156136cb576136ca613749565b5b50919050565b60006136dc82613629565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561370f5761370e61371a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d10156137d557613878565b60046000803e6137e66000516137b8565b6308c379a081146137f75750613878565b60405160043d036004823e80513d602482011167ffffffffffffffff8211171561382357505050613878565b808201805167ffffffffffffffff811115613842575050505050613878565b8060208301013d850181111561385d57505050505050613878565b613866826137a7565b60208401016040528296505050505050505b90565b613884816135b5565b811461388f57600080fd5b50565b61389b816135c7565b81146138a657600080fd5b50565b6138b2816135d3565b81146138bd57600080fd5b50565b6138c9816135dd565b81146138d457600080fd5b50565b6138e081613629565b81146138eb57600080fd5b5056fea2646970667358221220d30f3e3e5a177de738e2d6ca65dd958a367e02f6f559b61e1ae5b4419b53bc8864736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001968747470733a2f2f7777772e62757270746f6b656e2e636f6d00000000000000
-----Decoded View---------------
Arg [0] : uri_ (string): https://www.burptoken.com
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [2] : 68747470733a2f2f7777772e62757270746f6b656e2e636f6d00000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.