Contract Overview
Balance:
0 MATIC
My Name Tag:
Not Available
TokenTracker:
[ Download CSV Export ]
Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xFd670a66fBFbe81797dDf2189008FE64D28b0bD6
Contract Name:
BgtERC1155
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 10000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; contract BgtERC1155 is Ownable, ERC1155Supply { uint256[] private _ids; mapping(uint256 => uint256) private _tokenValues; mapping(address => bool) private _minters; mapping(uint256 => string) private _tokenURIs; mapping(uint256 => uint256) private _nftCap; string private _name; string private _symbol; string private _contractURI; mapping(uint256 => bool) private _mintRequestBatchIds; mapping(uint256 => bool) private _mintRequestIds; event MintOrBurn(address indexed from, address indexed to, uint256 tokenId, uint256 amount, uint256 requestId); event MintBatch(address[] to, uint256 tokenId, uint256[] amount, uint256 requestId); constructor( string memory name_, string memory symbol_, string memory contractURI_ ) ERC1155("") { _name = name_; _symbol = symbol_; _contractURI = contractURI_; } function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal override { ERC1155Supply._beforeTokenTransfer(operator, from, to, ids, amounts, data); } function mint( address to, uint256 id, uint256 amount, uint256 requestId ) external { require(_minters[msg.sender] || msg.sender == owner(), "BgtERC1155: not minter"); require(requestId == 0 || !_mintRequestIds[requestId], "BgtERC1155: minted"); require(_tokenValues[id] > 0, "BgtERC1155: id not existed"); require(totalSupply(id) + amount <= _nftCap[id], "BgtERC1155: over totalSupply"); _mintRequestIds[requestId] = true; _mint(to, id, amount, bytes('')); emit MintOrBurn(address(0), to, id, amount, requestId); } function mintBatch( uint256 id, address[] memory toAddresses, uint256[] memory amounts, uint256 requestId ) external { require(_minters[msg.sender] || msg.sender == owner(), "BgtERC1155: not minter"); require(requestId == 0 || !_mintRequestBatchIds[requestId], "BgtERC1155: minted"); require(_tokenValues[id] > 0, "BgtERC1155: id not existed"); uint256 totalAmount; for (uint256 i; i < amounts.length; i++) { totalAmount += amounts[i]; } require(totalSupply(id) + totalAmount <= _nftCap[id], "BgtERC1155: over totalSupply"); _mintRequestBatchIds[requestId] = true; for (uint256 i; i < toAddresses.length; i++) { _mint(toAddresses[i], id, amounts[i], bytes('')); } emit MintBatch(toAddresses, id, amounts, requestId); } function burn( uint256 id, uint256 amount, uint256 requestId ) external { _burn(msg.sender, id, amount); emit MintOrBurn(msg.sender, address(0), id, amount, requestId); } function safeBatchTransfer( address from, address[] memory toAddresses, uint256 id, uint256[] memory amounts ) external { require(toAddresses.length == amounts.length, "BgtERC1155: toAddresses and amounts length mismatch"); require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "BgtERC1155: caller is not token owner nor approved" ); for (uint256 i; i < toAddresses.length; i++) { _safeTransferFrom( from, toAddresses[i], id, amounts[i], bytes("") ); } } function setMinter(address account, bool isMinter_) external onlyOwner { _minters[account] = isMinter_; } function setTokenValue( uint256 tokenId, uint256 usdtValue, uint256 nftCap, string memory tokenURI ) external onlyOwner { require(_tokenValues[tokenId] == 0, "BgtERC1155: id existed"); _tokenValues[tokenId] = usdtValue; _ids.push(tokenId); _tokenURIs[tokenId] = tokenURI; _nftCap[tokenId] = nftCap; } function setTokenURI( uint256 tokenId, string memory tokenURI ) public onlyOwner { _tokenURIs[tokenId] = tokenURI; } function setContractURI(string memory contractURI_) external onlyOwner { _contractURI = contractURI_; } function isMinter(address account) external view returns(bool) { return _minters[account]; } function tokensOf(address owner) external view returns( uint256[] memory ids, uint256[] memory amounts, uint256[] memory values ) { uint256 len = _ids.length; ids = new uint256[](len); amounts = new uint256[](len); values = new uint256[](len); for (uint256 i; i < len; i++) { uint256 amount = balanceOf(owner, _ids[i]); ids[i] = _ids[i]; amounts[i] = amount; values[i] = _tokenValues[_ids[i]]; } return (ids, amounts, values); } function getNftCap(uint256 id) external view returns(uint256) { return _nftCap[id]; } function tokenValue(uint256 id) external view returns(uint256) { return _tokenValues[id]; } function contractURI() external view returns (string memory) { return _contractURI; } function uri(uint256 tokenId) public view virtual override returns (string memory) { string memory _tokenURI = _tokenURIs[tokenId]; if (bytes(_tokenURI).length == 0) { return ""; } else { return string(abi.encodePacked(_tokenURI)); } } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function minted(uint256 requestId) external view returns(bool) { return _mintRequestIds[requestId]; } function batchMinted(uint256 requestId) external view returns(bool) { return _mintRequestBatchIds[requestId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } if (to == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 supply = _totalSupply[id]; require(supply >= amount, "ERC1155: burn amount exceeds totalSupply"); unchecked { _totalSupply[id] = supply - amount; } } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: address zero is not a valid owner"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Emits a {TransferSingle} event. * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `ids` and `amounts` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 10000 }, "evmVersion": "london", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"contractURI_","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":false,"internalType":"address[]","name":"to","type":"address[]"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"amount","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"requestId","type":"uint256"}],"name":"MintBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"requestId","type":"uint256"}],"name":"MintOrBurn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":[{"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":"uint256","name":"requestId","type":"uint256"}],"name":"batchMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"requestId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getNftCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"requestId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address[]","name":"toAddresses","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256","name":"requestId","type":"uint256"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"}],"name":"minted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address[]","name":"toAddresses","type":"address[]"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"safeBatchTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isMinter_","type":"bool"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"usdtValue","type":"uint256"},{"internalType":"uint256","name":"nftCap","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"name":"setTokenValue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOf","outputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200362e3803806200362e8339810160408190526200003491620001b7565b6040805160208101909152600081526200004e3362000090565b6200005981620000e0565b50600a620000688482620002d7565b50600b620000778382620002d7565b50600c620000868282620002d7565b50505050620003a3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6003620000ee8282620002d7565b5050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200011a57600080fd5b81516001600160401b0380821115620001375762000137620000f2565b604051601f8301601f19908116603f01168101908282118183101715620001625762000162620000f2565b816040528381526020925086838588010111156200017f57600080fd5b600091505b83821015620001a3578582018301518183018401529082019062000184565b600093810190920192909252949350505050565b600080600060608486031215620001cd57600080fd5b83516001600160401b0380821115620001e557600080fd5b620001f38783880162000108565b945060208601519150808211156200020a57600080fd5b620002188783880162000108565b935060408601519150808211156200022f57600080fd5b506200023e8682870162000108565b9150509250925092565b600181811c908216806200025d57607f821691505b6020821081036200027e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002d257600081815260208120601f850160051c81016020861015620002ad5750805b601f850160051c820191505b81811015620002ce57828155600101620002b9565b5050505b505050565b81516001600160401b03811115620002f357620002f3620000f2565b6200030b8162000304845462000248565b8462000284565b602080601f8311600181146200034357600084156200032a5750858301515b600019600386901b1c1916600185901b178555620002ce565b600085815260208120601f198616915b82811015620003745788860151825594840194600190910190840162000353565b5085821015620003935787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61327b80620003b36000396000f3fe608060405234801561001057600080fd5b50600436106101d95760003560e01c8063938e3d7b11610104578063bd85b039116100a2578063e8a3d48511610071578063e8a3d4851461048a578063e985e9c514610492578063f242432a146104db578063f2fde38b146104ee57600080fd5b8063bd85b03914610424578063cb91449114610444578063cf456ae714610464578063d13f9ca81461047757600080fd5b8063a22cb465116100de578063a22cb465146103a5578063a647e8ec146103b8578063aa271e1a146103cb578063b97e09fe1461040457600080fd5b8063938e3d7b1461037757806395d89b411461038a5780639b2de53d1461039257600080fd5b80634e1273f41161017c578063791282d51161014b578063791282d5146102f65780637dc0bf3f14610319578063827ec0d01461033c5780638da5cb5b1461034f57600080fd5b80634e1273f41461028a5780634f558e79146102aa5780635a3f2672146102cc578063715018a6146102ee57600080fd5b806306fdde03116101b857806306fdde031461023c5780630e89341c14610251578063162094c4146102645780632eb2c2d61461027757600080fd5b8062fdd58e146101de57806301ffc9a71461020457806305a1002814610227575b600080fd5b6101f16101ec366004612633565b610501565b6040519081526020015b60405180910390f35b61021761021236600461268b565b6105c9565b60405190151581526020016101fb565b61023a6102353660046126af565b6106ac565b005b610244610703565b6040516101fb919061272b565b61024461025f36600461273e565b610795565b61023a610272366004612827565b610880565b61023a610285366004612903565b6108a5565b61029d610298366004612a1a565b610954565b6040516101fb9190612aaf565b6102176102b836600461273e565b600090815260046020526040902054151590565b6102df6102da366004612ac2565b610a92565b6040516101fb93929190612add565b61023a610c66565b61021761030436600461273e565b6000908152600d602052604090205460ff1690565b61021761032736600461273e565b6000908152600e602052604090205460ff1690565b61023a61034a366004612b20565b610c7a565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101fb565b61023a610385366004612b95565b610f5e565b610244610f76565b61023a6103a0366004612bd2565b610f85565b61023a6103b3366004612c2c565b611056565b61023a6103c6366004612c68565b611061565b6102176103d9366004612ac2565b73ffffffffffffffffffffffffffffffffffffffff1660009081526007602052604090205460ff1690565b6101f161041236600461273e565b60009081526009602052604090205490565b6101f161043236600461273e565b60009081526004602052604090205490565b6101f161045236600461273e565b60009081526006602052604090205490565b61023a610472366004612c2c565b6112ce565b61023a610485366004612ca1565b61132c565b6102446114aa565b6102176104a0366004612d13565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205460ff1690565b61023a6104e9366004612d46565b6114b9565b61023a6104fc366004612ac2565b611561565b600073ffffffffffffffffffffffffffffffffffffffff83166105915760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201527f616c6964206f776e65720000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b50600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff861684529091529020545b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000148061065c57507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b806105c357507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146105c3565b6106b73384846115fe565b604080518481526020810184905290810182905260009033907f473ffb29285e7d8ff07c87a7cde9a0654795748603dc8416f158e5b1a8af04cb906060015b60405180910390a3505050565b6060600a805461071290612dab565b80601f016020809104026020016040519081016040528092919081815260200182805461073e90612dab565b801561078b5780601f106107605761010080835404028352916020019161078b565b820191906000526020600020905b81548152906001019060200180831161076e57829003601f168201915b5050505050905090565b6000818152600860205260408120805460609291906107b390612dab565b80601f01602080910402602001604051908101604052809291908181526020018280546107df90612dab565b801561082c5780601f106108015761010080835404028352916020019161082c565b820191906000526020600020905b81548152906001019060200180831161080f57829003601f168201915b505050505090508051600003610852575050604080516020810190915260008152919050565b806040516020016108639190612df8565b604051602081830303815290604052915050919050565b50919050565b6108886117f1565b60008281526008602052604090206108a08282612e5a565b505050565b73ffffffffffffffffffffffffffffffffffffffff85163314806108ce57506108ce85336104a0565b6109405760405162461bcd60e51b815260206004820152602f60248201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60448201527f6572206e6f7220617070726f76656400000000000000000000000000000000006064820152608401610588565b61094d8585858585611858565b5050505050565b606081518351146109cd5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610588565b6000835167ffffffffffffffff8111156109e9576109e9612757565b604051908082528060200260200182016040528015610a12578160200160208202803683370190505b50905060005b8451811015610a8a57610a5d858281518110610a3657610a36612f56565b6020026020010151858381518110610a5057610a50612f56565b6020026020010151610501565b828281518110610a6f57610a6f612f56565b6020908102919091010152610a8381612fb4565b9050610a18565b509392505050565b600554606090819081908067ffffffffffffffff811115610ab557610ab5612757565b604051908082528060200260200182016040528015610ade578160200160208202803683370190505b5093508067ffffffffffffffff811115610afa57610afa612757565b604051908082528060200260200182016040528015610b23578160200160208202803683370190505b5092508067ffffffffffffffff811115610b3f57610b3f612757565b604051908082528060200260200182016040528015610b68578160200160208202803683370190505b50915060005b81811015610c5d576000610b9f8760058481548110610b8f57610b8f612f56565b9060005260206000200154610501565b905060058281548110610bb457610bb4612f56565b9060005260206000200154868381518110610bd157610bd1612f56565b60200260200101818152505080858381518110610bf057610bf0612f56565b6020026020010181815250506006600060058481548110610c1357610c13612f56565b9060005260206000200154815260200190815260200160002054848381518110610c3f57610c3f612f56565b60209081029190910101525080610c5581612fb4565b915050610b6e565b50509193909250565b610c6e6117f1565b610c786000611b55565b565b3360009081526007602052604090205460ff1680610caf575060005473ffffffffffffffffffffffffffffffffffffffff1633145b610cfb5760405162461bcd60e51b815260206004820152601660248201527f426774455243313135353a206e6f74206d696e746572000000000000000000006044820152606401610588565b801580610d1757506000818152600d602052604090205460ff16155b610d635760405162461bcd60e51b815260206004820152601260248201527f426774455243313135353a206d696e74656400000000000000000000000000006044820152606401610588565b600084815260066020526040902054610dbe5760405162461bcd60e51b815260206004820152601a60248201527f426774455243313135353a206964206e6f7420657869737465640000000000006044820152606401610588565b6000805b8351811015610e0457838181518110610ddd57610ddd612f56565b602002602001015182610df09190612fec565b915080610dfc81612fb4565b915050610dc2565b50600085815260096020908152604080832054600490925290912054610e2b908390612fec565b1115610e795760405162461bcd60e51b815260206004820152601c60248201527f426774455243313135353a206f76657220746f74616c537570706c79000000006044820152606401610588565b6000828152600d6020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555b8451811015610f1957610f07858281518110610ecf57610ecf612f56565b602002602001015187868481518110610eea57610eea612f56565b602002602001015160405180602001604052806000815250611bca565b80610f1181612fb4565b915050610eb1565b507fa934403586a13d3ae70adf365deba4a0854fa07dad28d8108765240f39485ba884868585604051610f4f9493929190612fff565b60405180910390a15050505050565b610f666117f1565b600c610f728282612e5a565b5050565b6060600b805461071290612dab565b610f8d6117f1565b60008481526006602052604090205415610fe95760405162461bcd60e51b815260206004820152601660248201527f426774455243313135353a2069642065786973746564000000000000000000006044820152606401610588565b600084815260066020908152604080832086905560058054600181019091557f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0018790556008909152902061103e8282612e5a565b50506000928352600960205260409092209190915550565b610f72338383611d29565b3360009081526007602052604090205460ff1680611096575060005473ffffffffffffffffffffffffffffffffffffffff1633145b6110e25760405162461bcd60e51b815260206004820152601660248201527f426774455243313135353a206e6f74206d696e746572000000000000000000006044820152606401610588565b8015806110fe57506000818152600e602052604090205460ff16155b61114a5760405162461bcd60e51b815260206004820152601260248201527f426774455243313135353a206d696e74656400000000000000000000000000006044820152606401610588565b6000838152600660205260409020546111a55760405162461bcd60e51b815260206004820152601a60248201527f426774455243313135353a206964206e6f7420657869737465640000000000006044820152606401610588565b6000838152600960209081526040808320546004909252909120546111cb908490612fec565b11156112195760405162461bcd60e51b815260206004820152601c60248201527f426774455243313135353a206f76657220746f74616c537570706c79000000006044820152606401610588565b6000818152600e6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558051918201905290815261126c90859085908590611bca565b604080518481526020810184905290810182905273ffffffffffffffffffffffffffffffffffffffff8516906000907f473ffb29285e7d8ff07c87a7cde9a0654795748603dc8416f158e5b1a8af04cb9060600160405180910390a350505050565b6112d66117f1565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260076020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b80518351146113a35760405162461bcd60e51b815260206004820152603360248201527f426774455243313135353a20746f41646472657373657320616e6420616d6f7560448201527f6e7473206c656e677468206d69736d61746368000000000000000000000000006064820152608401610588565b73ffffffffffffffffffffffffffffffffffffffff84163314806113cc57506113cc84336104a0565b61143e5760405162461bcd60e51b815260206004820152603260248201527f426774455243313135353a2063616c6c6572206973206e6f7420746f6b656e2060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610588565b60005b835181101561094d576114988585838151811061146057611460612f56565b60200260200101518585858151811061147b5761147b612f56565b602002602001015160405180602001604052806000815250611e5a565b806114a281612fb4565b915050611441565b6060600c805461071290612dab565b73ffffffffffffffffffffffffffffffffffffffff85163314806114e257506114e285336104a0565b6115545760405162461bcd60e51b815260206004820152602f60248201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60448201527f6572206e6f7220617070726f76656400000000000000000000000000000000006064820152608401610588565b61094d8585858585611e5a565b6115696117f1565b73ffffffffffffffffffffffffffffffffffffffff81166115f25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610588565b6115fb81611b55565b50565b73ffffffffffffffffffffffffffffffffffffffff83166116875760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610588565b33600061169384612076565b905060006116a084612076565b90506116c0838760008585604051806020016040528060008152506120c1565b600085815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8a168452909152902054848110156117655760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610588565b600086815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46040805160208101909152600090525b50505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610c785760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610588565b81518351146118cf5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610588565b73ffffffffffffffffffffffffffffffffffffffff84166119585760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610588565b336119678187878787876120c1565b60005b8451811015611ac057600085828151811061198757611987612f56565b6020026020010151905060008583815181106119a5576119a5612f56565b602090810291909101810151600084815260018352604080822073ffffffffffffffffffffffffffffffffffffffff8e168352909352919091205490915081811015611a595760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610588565b600083815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8e8116855292528083208585039055908b16825281208054849290611aa5908490612fec565b9250508190555050505080611ab990612fb4565b905061196a565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611b3792919061307b565b60405180910390a4611b4d8187878787876120cf565b505050505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff8416611c535760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610588565b336000611c5f85612076565b90506000611c6c85612076565b9050611c7d836000898585896120c1565b600086815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8b16845290915281208054879290611cbc908490612fec565b9091555050604080518781526020810187905273ffffffffffffffffffffffffffffffffffffffff808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46117e8836000898989896122ed565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611dca5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610588565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526002602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191016106f6565b73ffffffffffffffffffffffffffffffffffffffff8416611ee35760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610588565b336000611eef85612076565b90506000611efc85612076565b9050611f0c8389898585896120c1565b600086815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8c16845290915290205485811015611fb25760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610588565b600087815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8d8116855292528083208985039055908a16825281208054889290611ffe908490612fec565b9091555050604080518881526020810188905273ffffffffffffffffffffffffffffffffffffffff808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461206b848a8a8a8a8a6122ed565b505050505050505050565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106120b0576120b0612f56565b602090810291909101015292915050565b611b4d868686868686612462565b73ffffffffffffffffffffffffffffffffffffffff84163b15611b4d576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063bc197c819061214690899089908890889088906004016130a9565b6020604051808303816000875af1925050508015612181575060408051601f3d908101601f1916820190925261217e91810190613114565b60015b6122365761218d613131565b806308c379a0036121c657506121a161314d565b806121ac57506121c8565b8060405162461bcd60e51b8152600401610588919061272b565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610588565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c8100000000000000000000000000000000000000000000000000000000146117e85760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610588565b73ffffffffffffffffffffffffffffffffffffffff84163b15611b4d576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f23a6e619061236490899089908890889088906004016131f5565b6020604051808303816000875af192505050801561239f575060408051601f3d908101601f1916820190925261239c91810190613114565b60015b6123ab5761218d613131565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e6100000000000000000000000000000000000000000000000000000000146117e85760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610588565b73ffffffffffffffffffffffffffffffffffffffff85166124f65760005b83518110156124f45782818151811061249b5761249b612f56565b6020026020010151600460008684815181106124b9576124b9612f56565b6020026020010151815260200190815260200160002060008282546124de9190612fec565b909155506124ed905081612fb4565b9050612480565b505b73ffffffffffffffffffffffffffffffffffffffff8416611b4d5760005b83518110156117e857600084828151811061253157612531612f56565b60200260200101519050600084838151811061254f5761254f612f56565b60200260200101519050600060046000848152602001908152602001600020549050818110156125e75760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f7460448201527f616c537570706c790000000000000000000000000000000000000000000000006064820152608401610588565b6000928352600460205260409092209103905561260381612fb4565b9050612514565b803573ffffffffffffffffffffffffffffffffffffffff8116811461262e57600080fd5b919050565b6000806040838503121561264657600080fd5b61264f8361260a565b946020939093013593505050565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146115fb57600080fd5b60006020828403121561269d57600080fd5b81356126a88161265d565b9392505050565b6000806000606084860312156126c457600080fd5b505081359360208301359350604090920135919050565b60005b838110156126f65781810151838201526020016126de565b50506000910152565b600081518084526127178160208601602086016126db565b601f01601f19169290920160200192915050565b6020815260006126a860208301846126ff565b60006020828403121561275057600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff821117156127ac576127ac612757565b6040525050565b600082601f8301126127c457600080fd5b813567ffffffffffffffff8111156127de576127de612757565b6040516127f56020601f19601f8501160182612786565b81815284602083860101111561280a57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561283a57600080fd5b82359150602083013567ffffffffffffffff81111561285857600080fd5b612864858286016127b3565b9150509250929050565b600067ffffffffffffffff82111561288857612888612757565b5060051b60200190565b600082601f8301126128a357600080fd5b813560206128b08261286e565b6040516128bd8282612786565b83815260059390931b85018201928281019150868411156128dd57600080fd5b8286015b848110156128f857803583529183019183016128e1565b509695505050505050565b600080600080600060a0868803121561291b57600080fd5b6129248661260a565b94506129326020870161260a565b9350604086013567ffffffffffffffff8082111561294f57600080fd5b61295b89838a01612892565b9450606088013591508082111561297157600080fd5b61297d89838a01612892565b9350608088013591508082111561299357600080fd5b506129a0888289016127b3565b9150509295509295909350565b600082601f8301126129be57600080fd5b813560206129cb8261286e565b6040516129d88282612786565b83815260059390931b85018201928281019150868411156129f857600080fd5b8286015b848110156128f857612a0d8161260a565b83529183019183016129fc565b60008060408385031215612a2d57600080fd5b823567ffffffffffffffff80821115612a4557600080fd5b612a51868387016129ad565b93506020850135915080821115612a6757600080fd5b5061286485828601612892565b600081518084526020808501945080840160005b83811015612aa457815187529582019590820190600101612a88565b509495945050505050565b6020815260006126a86020830184612a74565b600060208284031215612ad457600080fd5b6126a88261260a565b606081526000612af06060830186612a74565b8281036020840152612b028186612a74565b90508281036040840152612b168185612a74565b9695505050505050565b60008060008060808587031215612b3657600080fd5b84359350602085013567ffffffffffffffff80821115612b5557600080fd5b612b61888389016129ad565b94506040870135915080821115612b7757600080fd5b50612b8487828801612892565b949793965093946060013593505050565b600060208284031215612ba757600080fd5b813567ffffffffffffffff811115612bbe57600080fd5b612bca848285016127b3565b949350505050565b60008060008060808587031215612be857600080fd5b843593506020850135925060408501359150606085013567ffffffffffffffff811115612c1457600080fd5b612c20878288016127b3565b91505092959194509250565b60008060408385031215612c3f57600080fd5b612c488361260a565b915060208301358015158114612c5d57600080fd5b809150509250929050565b60008060008060808587031215612c7e57600080fd5b612c878561260a565b966020860135965060408601359560600135945092505050565b60008060008060808587031215612cb757600080fd5b612cc08561260a565b9350602085013567ffffffffffffffff80821115612cdd57600080fd5b612ce9888389016129ad565b9450604087013593506060870135915080821115612d0657600080fd5b50612c2087828801612892565b60008060408385031215612d2657600080fd5b612d2f8361260a565b9150612d3d6020840161260a565b90509250929050565b600080600080600060a08688031215612d5e57600080fd5b612d678661260a565b9450612d756020870161260a565b93506040860135925060608601359150608086013567ffffffffffffffff811115612d9f57600080fd5b6129a0888289016127b3565b600181811c90821680612dbf57607f821691505b60208210810361087a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60008251612e0a8184602087016126db565b9190910192915050565b601f8211156108a057600081815260208120601f850160051c81016020861015612e3b5750805b601f850160051c820191505b81811015611b4d57828155600101612e47565b815167ffffffffffffffff811115612e7457612e74612757565b612e8881612e828454612dab565b84612e14565b602080601f831160018114612edb5760008415612ea55750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555611b4d565b600085815260208120601f198616915b82811015612f0a57888601518255948401946001909101908401612eeb565b5085821015612f4657878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612fe557612fe5612f85565b5060010190565b808201808211156105c3576105c3612f85565b6080808252855190820181905260009060209060a0840190828901845b8281101561304e57815173ffffffffffffffffffffffffffffffffffffffff168452928401929084019060010161301c565b505050868285015283810360408501526130688187612a74565b9250505082606083015295945050505050565b60408152600061308e6040830185612a74565b82810360208401526130a08185612a74565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a060408301526130e260a0830186612a74565b82810360608401526130f48186612a74565b9050828103608084015261310881856126ff565b98975050505050505050565b60006020828403121561312657600080fd5b81516126a88161265d565b600060033d111561314a5760046000803e5060005160e01c5b90565b600060443d101561315b5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff81602484011181841117156131a957505050505090565b82850191508151818111156131c15750505050505090565b843d87010160208285010111156131db5750505050505090565b6131ea60208286010187612786565b509095945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a0608083015261323a60a08301846126ff565b97965050505050505056fea26469706673582212204a9da1dc20204b6d431613c1e166e559a3e526c9fe075c13ca886d42ceb2507764736f6c63430008110033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000a4247544552433131353500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c6267742065726320313135350000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e697066733a2f2f516d5a766b4d4b72477750665554566b41637a767a7242326d46546678366a6a57646a326d6d4e34427476714b532f636f6e74726163740000
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|