Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 9 from a total of 9 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 14423389 | 937 days ago | IN | 0 ETH | 0.00108417 | ||||
Claim | 14423389 | 937 days ago | IN | 0 ETH | 0.00108417 | ||||
Claim | 14423389 | 937 days ago | IN | 0 ETH | 0.00108417 | ||||
Claim | 14423389 | 937 days ago | IN | 0 ETH | 0.00142506 | ||||
Claim | 14423341 | 937 days ago | IN | 0 ETH | 0.00072361 | ||||
Claim | 14423333 | 937 days ago | IN | 0 ETH | 0.00084076 | ||||
Claim | 14423329 | 937 days ago | IN | 0 ETH | 0.00099659 | ||||
Claim | 14423322 | 937 days ago | IN | 0 ETH | 0.00180642 | ||||
0x60a06040 | 14123633 | 983 days ago | IN | 0 ETH | 0.27852804 |
Loading...
Loading
Contract Name:
PianoRoll
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.0; //SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract PianoRoll is ERC721, ReentrancyGuard { string[] private notes = [ "A", "A#/Bb", "B", "C", "C#/Db", "D", "D#/Eb", "E", "F", "F#/Gb", "G", "G#/Ab" ]; uint256 private immutable octave = 12; constructor() ERC721("Piano Roll", "PIANO") {} function toNote(uint256 tokenId) public view returns (string memory) { return string( abi.encodePacked( notes[tokenId % octave], " ", toString(tokenId / octave) ) ); } function claim(uint256 tokenId) public nonReentrant { require(tokenId >= 0 && tokenId < 88, "Token ID invalid"); _safeMint(_msgSender(), tokenId); } function tokenURI(uint256 tokenId) public view override returns (string memory) { string memory note = toNote(tokenId); string memory output = string( abi.encodePacked( '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 350"><style>.base {fill:black;font-family:serif;font-size:72px;}</style><rect width="100%" height="100%" fill="white" /><text x="10" y="186" class="base">', note, "</text></svg>" ) ); string memory json = Base64.encode( bytes( string( abi.encodePacked( '{"name": "Note ', note, '", "description": "A musical note", "image": "data:image/svg+xml;base64,', Base64.encode(bytes(output)), '", ', '"seller_fee_basis_points": 350, "fee_recipient": "0x44b47a278ef611aDe4CCFf97bE5DFA1538b7f438"}' ) ) ) ); output = string( abi.encodePacked("data:application/json;base64,", json) ); return output; } function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT license // 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); } } /// [MIT License] /// @title Base64 /// @notice Provides a function for encoding some bytes in base64 /// @author Brecht Devos <[email protected]> library Base64 { bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /// @notice Encodes some bytes to the base64 representation function encode(bytes memory data) internal pure returns (string memory) { uint256 len = data.length; if (len == 0) return ""; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((len + 2) / 3); // Add some extra buffer at the end bytes memory result = new bytes(encodedLen + 32); bytes memory table = TABLE; assembly { let tablePtr := add(table, 1) let resultPtr := add(result, 32) for { let i := 0 } lt(i, len) { } { i := add(i, 3) let input := and(mload(add(data, i)), 0xffffff) let out := mload(add(tablePtr, and(shr(18, input), 0x3F))) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF) ) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF) ) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF) ) out := shl(224, out) mstore(resultPtr, out) resultPtr := add(resultPtr, 4) } switch mod(len, 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } mstore(result, encodedLen) } return string(result); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// 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": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"toNote","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040526040518061018001604052806040518060400160405280600181526020017f410000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f41232f426200000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f420000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f430000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f43232f446200000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f440000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f44232f456200000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f450000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f460000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f46232f476200000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f470000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f47232f4162000000000000000000000000000000000000000000000000000000815250815250600790600c620002e4929190620003a9565b50600c608090815250348015620002fa57600080fd5b506040518060400160405280600a81526020017f5069616e6f20526f6c6c000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f5049414e4f00000000000000000000000000000000000000000000000000000081525081600090805190602001906200037f92919062000410565b5080600190805190602001906200039892919062000410565b505050600160068190555062000593565b828054828255906000526020600020908101928215620003fd579160200282015b82811115620003fc578251829080519060200190620003eb92919062000410565b5091602001919060010190620003ca565b5b5090506200040c9190620004a1565b5090565b8280546200041e906200052e565b90600052602060002090601f0160209004810192826200044257600085556200048e565b82601f106200045d57805160ff19168380011785556200048e565b828001600101855582156200048e579182015b828111156200048d57825182559160200191906001019062000470565b5b5090506200049d9190620004c9565b5090565b5b80821115620004c55760008181620004bb9190620004e8565b50600101620004a2565b5090565b5b80821115620004e4576000816000905550600101620004ca565b5090565b508054620004f6906200052e565b6000825580601f106200050a57506200052b565b601f0160209004906000526020600020908101906200052a9190620004c9565b5b50565b600060028204905060018216806200054757607f821691505b602082108114156200055e576200055d62000564565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b608051613074620005b66000396000818161077f01526107ef01526130746000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80635213086711610097578063a22cb46511610066578063a22cb46514610296578063b88d4fde146102b2578063c87b56dd146102ce578063e985e9c5146102fe576100f5565b806352130867146101e85780636352211e1461021857806370a082311461024857806395d89b4114610278576100f5565b8063095ea7b3116100d3578063095ea7b31461017857806323b872dd14610194578063379607f5146101b057806342842e0e146101cc576100f5565b806301ffc9a7146100fa57806306fdde031461012a578063081812fc14610148575b600080fd5b610114600480360381019061010f9190611c56565b61032e565b604051610121919061227a565b60405180910390f35b610132610410565b60405161013f9190612295565b60405180910390f35b610162600480360381019061015d9190611ca8565b6104a2565b60405161016f9190612213565b60405180910390f35b610192600480360381019061018d9190611c1a565b610527565b005b6101ae60048036038101906101a99190611b14565b61063f565b005b6101ca60048036038101906101c59190611ca8565b61069f565b005b6101e660048036038101906101e19190611b14565b610759565b005b61020260048036038101906101fd9190611ca8565b610779565b60405161020f9190612295565b60405180910390f35b610232600480360381019061022d9190611ca8565b610845565b60405161023f9190612213565b60405180910390f35b610262600480360381019061025d9190611aaf565b6108f7565b60405161026f9190612497565b60405180910390f35b6102806109af565b60405161028d9190612295565b60405180910390f35b6102b060048036038101906102ab9190611bde565b610a41565b005b6102cc60048036038101906102c79190611b63565b610a57565b005b6102e860048036038101906102e39190611ca8565b610ab9565b6040516102f59190612295565b60405180910390f35b61031860048036038101906103139190611ad8565b610b4f565b604051610325919061227a565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806103f957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610409575061040882610be3565b5b9050919050565b60606000805461041f9061272b565b80601f016020809104026020016040519081016040528092919081815260200182805461044b9061272b565b80156104985780601f1061046d57610100808354040283529160200191610498565b820191906000526020600020905b81548152906001019060200180831161047b57829003601f168201915b5050505050905090565b60006104ad82610c4d565b6104ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e3906123d7565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061053282610845565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059a90612437565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166105c2610cb9565b73ffffffffffffffffffffffffffffffffffffffff1614806105f157506105f0816105eb610cb9565b610b4f565b5b610630576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062790612357565b60405180910390fd5b61063a8383610cc1565b505050565b61065061064a610cb9565b82610d7a565b61068f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068690612457565b60405180910390fd5b61069a838383610e58565b505050565b600260065414156106e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106dc90612477565b60405180910390fd5b6002600681905550600081101580156106fe5750605881105b61073d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610734906123f7565b60405180910390fd5b61074e610748610cb9565b826110b4565b600160068190555050565b61077483838360405180602001604052806000815250610a57565b505050565b606060077f0000000000000000000000000000000000000000000000000000000000000000836107a991906127d7565b815481106107e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200161081e7f00000000000000000000000000000000000000000000000000000000000000008461081991906125b6565b6110d2565b60405160200161082f929190612145565b6040516020818303038152906040529050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156108ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e590612397565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095f90612377565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600180546109be9061272b565b80601f01602080910402602001604051908101604052809291908181526020018280546109ea9061272b565b8015610a375780601f10610a0c57610100808354040283529160200191610a37565b820191906000526020600020905b815481529060010190602001808311610a1a57829003601f168201915b5050505050905090565b610a53610a4c610cb9565b838361127f565b5050565b610a68610a62610cb9565b83610d7a565b610aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9e90612457565b60405180910390fd5b610ab3848484846113ec565b50505050565b60606000610ac683610779565b9050600081604051602001610adb9190612174565b60405160208183030381529060405290506000610b2083610afb84611448565b604051602001610b0c9291906121c3565b604051602081830303815290604052611448565b905080604051602001610b3391906121a1565b6040516020818303038152906040529150819350505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16610d3483610845565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610d8582610c4d565b610dc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbb90612337565b60405180910390fd5b6000610dcf83610845565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610e3e57508373ffffffffffffffffffffffffffffffffffffffff16610e26846104a2565b73ffffffffffffffffffffffffffffffffffffffff16145b80610e4f5750610e4e8185610b4f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16610e7882610845565b73ffffffffffffffffffffffffffffffffffffffff1614610ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec590612417565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f35906122f7565b60405180910390fd5b610f49838383611606565b610f54600082610cc1565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fa49190612641565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ffb9190612560565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6110ce82826040518060200160405280600081525061160b565b5050565b6060600082141561111a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061127a565b600082905060005b6000821461114c5780806111359061278e565b915050600a8261114591906125b6565b9150611122565b60008167ffffffffffffffff81111561118e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156111c05781602001600182028036833780820191505090505b5090505b60008514611273576001826111d99190612641565b9150600a856111e891906127d7565b60306111f49190612560565b60f81b818381518110611230577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561126c91906125b6565b94506111c4565b8093505050505b919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156112ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e590612317565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113df919061227a565b60405180910390a3505050565b6113f7848484610e58565b61140384848484611666565b611442576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611439906122b7565b60405180910390fd5b50505050565b606060008251905060008114156114715760405180602001604052806000815250915050611601565b600060036002836114829190612560565b61148c91906125b6565b600461149891906125e7565b905060006020826114a99190612560565b67ffffffffffffffff8111156114e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561151a5781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001612fff604091399050600181016020830160005b868110156115be5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050611545565b5060038606600181146115d857600281146115e8576115f3565b613d3d60f01b60028303526115f3565b603d60f81b60018303525b508484525050819450505050505b919050565b505050565b61161583836117fd565b6116226000848484611666565b611661576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611658906122b7565b60405180910390fd5b505050565b60006116878473ffffffffffffffffffffffffffffffffffffffff166119cb565b156117f0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026116b0610cb9565b8786866040518563ffffffff1660e01b81526004016116d2949392919061222e565b602060405180830381600087803b1580156116ec57600080fd5b505af192505050801561171d57506040513d601f19601f8201168201806040525081019061171a9190611c7f565b60015b6117a0573d806000811461174d576040519150601f19603f3d011682016040523d82523d6000602084013e611752565b606091505b50600081511415611798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178f906122b7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506117f5565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561186d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611864906123b7565b60405180910390fd5b61187681610c4d565b156118b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ad906122d7565b60405180910390fd5b6118c260008383611606565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119129190612560565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60006119f16119ec846124d7565b6124b2565b905082815260208101848484011115611a0957600080fd5b611a148482856126e9565b509392505050565b600081359050611a2b81612fa2565b92915050565b600081359050611a4081612fb9565b92915050565b600081359050611a5581612fd0565b92915050565b600081519050611a6a81612fd0565b92915050565b600082601f830112611a8157600080fd5b8135611a918482602086016119de565b91505092915050565b600081359050611aa981612fe7565b92915050565b600060208284031215611ac157600080fd5b6000611acf84828501611a1c565b91505092915050565b60008060408385031215611aeb57600080fd5b6000611af985828601611a1c565b9250506020611b0a85828601611a1c565b9150509250929050565b600080600060608486031215611b2957600080fd5b6000611b3786828701611a1c565b9350506020611b4886828701611a1c565b9250506040611b5986828701611a9a565b9150509250925092565b60008060008060808587031215611b7957600080fd5b6000611b8787828801611a1c565b9450506020611b9887828801611a1c565b9350506040611ba987828801611a9a565b925050606085013567ffffffffffffffff811115611bc657600080fd5b611bd287828801611a70565b91505092959194509250565b60008060408385031215611bf157600080fd5b6000611bff85828601611a1c565b9250506020611c1085828601611a31565b9150509250929050565b60008060408385031215611c2d57600080fd5b6000611c3b85828601611a1c565b9250506020611c4c85828601611a9a565b9150509250929050565b600060208284031215611c6857600080fd5b6000611c7684828501611a46565b91505092915050565b600060208284031215611c9157600080fd5b6000611c9f84828501611a5b565b91505092915050565b600060208284031215611cba57600080fd5b6000611cc884828501611a9a565b91505092915050565b611cda81612675565b82525050565b611ce981612687565b82525050565b6000611cfa8261251d565b611d048185612533565b9350611d148185602086016126f8565b611d1d816128c4565b840191505092915050565b6000611d3382612528565b611d3d8185612544565b9350611d4d8185602086016126f8565b611d56816128c4565b840191505092915050565b6000611d6c82612528565b611d768185612555565b9350611d868185602086016126f8565b80840191505092915050565b60008154611d9f8161272b565b611da98186612555565b94506001821660008114611dc45760018114611dd557611e08565b60ff19831686528186019350611e08565b611dde85612508565b60005b83811015611e0057815481890152600182019150602081019050611de1565b838801955050505b50505092915050565b6000611e1e603283612544565b9150611e29826128d5565b604082019050919050565b6000611e41601c83612544565b9150611e4c82612924565b602082019050919050565b6000611e64602483612544565b9150611e6f8261294d565b604082019050919050565b6000611e87601983612544565b9150611e928261299c565b602082019050919050565b6000611eaa604883612555565b9150611eb5826129c5565b604882019050919050565b6000611ecd602c83612544565b9150611ed882612a3a565b604082019050919050565b6000611ef0600d83612555565b9150611efb82612a89565b600d82019050919050565b6000611f13600183612555565b9150611f1e82612ab2565b600182019050919050565b6000611f36603883612544565b9150611f4182612adb565b604082019050919050565b6000611f59602a83612544565b9150611f6482612b2a565b604082019050919050565b6000611f7c602983612544565b9150611f8782612b79565b604082019050919050565b6000611f9f602083612544565b9150611faa82612bc8565b602082019050919050565b6000611fc260f783612555565b9150611fcd82612bf1565b60f782019050919050565b6000611fe5602c83612544565b9150611ff082612d24565b604082019050919050565b6000612008601083612544565b915061201382612d73565b602082019050919050565b600061202b602983612544565b915061203682612d9c565b604082019050919050565b600061204e602183612544565b915061205982612deb565b604082019050919050565b6000612071601d83612555565b915061207c82612e3a565b601d82019050919050565b6000612094605e83612555565b915061209f82612e63565b605e82019050919050565b60006120b7603183612544565b91506120c282612ed8565b604082019050919050565b60006120da600f83612555565b91506120e582612f27565b600f82019050919050565b60006120fd600383612555565b915061210882612f50565b600382019050919050565b6000612120601f83612544565b915061212b82612f79565b602082019050919050565b61213f816126df565b82525050565b60006121518285611d92565b915061215c82611f06565b91506121688284611d61565b91508190509392505050565b600061217f82611fb5565b915061218b8284611d61565b915061219682611ee3565b915081905092915050565b60006121ac82612064565b91506121b88284611d61565b915081905092915050565b60006121ce826120cd565b91506121da8285611d61565b91506121e582611e9d565b91506121f18284611d61565b91506121fc826120f0565b915061220782612087565b91508190509392505050565b60006020820190506122286000830184611cd1565b92915050565b60006080820190506122436000830187611cd1565b6122506020830186611cd1565b61225d6040830185612136565b818103606083015261226f8184611cef565b905095945050505050565b600060208201905061228f6000830184611ce0565b92915050565b600060208201905081810360008301526122af8184611d28565b905092915050565b600060208201905081810360008301526122d081611e11565b9050919050565b600060208201905081810360008301526122f081611e34565b9050919050565b6000602082019050818103600083015261231081611e57565b9050919050565b6000602082019050818103600083015261233081611e7a565b9050919050565b6000602082019050818103600083015261235081611ec0565b9050919050565b6000602082019050818103600083015261237081611f29565b9050919050565b6000602082019050818103600083015261239081611f4c565b9050919050565b600060208201905081810360008301526123b081611f6f565b9050919050565b600060208201905081810360008301526123d081611f92565b9050919050565b600060208201905081810360008301526123f081611fd8565b9050919050565b6000602082019050818103600083015261241081611ffb565b9050919050565b600060208201905081810360008301526124308161201e565b9050919050565b6000602082019050818103600083015261245081612041565b9050919050565b60006020820190508181036000830152612470816120aa565b9050919050565b6000602082019050818103600083015261249081612113565b9050919050565b60006020820190506124ac6000830184612136565b92915050565b60006124bc6124cd565b90506124c8828261275d565b919050565b6000604051905090565b600067ffffffffffffffff8211156124f2576124f1612895565b5b6124fb826128c4565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061256b826126df565b9150612576836126df565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156125ab576125aa612808565b5b828201905092915050565b60006125c1826126df565b91506125cc836126df565b9250826125dc576125db612837565b5b828204905092915050565b60006125f2826126df565b91506125fd836126df565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561263657612635612808565b5b828202905092915050565b600061264c826126df565b9150612657836126df565b92508282101561266a57612669612808565b5b828203905092915050565b6000612680826126bf565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156127165780820151818401526020810190506126fb565b83811115612725576000848401525b50505050565b6000600282049050600182168061274357607f821691505b6020821081141561275757612756612866565b5b50919050565b612766826128c4565b810181811067ffffffffffffffff8211171561278557612784612895565b5b80604052505050565b6000612799826126df565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156127cc576127cb612808565b5b600182019050919050565b60006127e2826126df565b91506127ed836126df565b9250826127fd576127fc612837565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f222c20226465736372697074696f6e223a202241206d75736963616c206e6f7460008201527f65222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c60208201527f3b6261736536342c000000000000000000000000000000000000000000000000604082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f3c2f746578743e3c2f7376673e00000000000000000000000000000000000000600082015250565b7f2000000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323060008201527f30302f73766722207072657365727665417370656374526174696f3d22784d6960208201527f6e594d696e206d656574222076696577426f783d22302030203335302033353060408201527f223e3c7374796c653e2e62617365207b66696c6c3a626c61636b3b666f6e742d60608201527f66616d696c793a73657269663b666f6e742d73697a653a373270783b7d3c2f7360808201527f74796c653e3c726563742077696474683d223130302522206865696768743d2260a08201527f31303025222066696c6c3d22776869746522202f3e3c7465787420783d22313060c08201527f2220793d223138362220636c6173733d2262617365223e00000000000000000060e082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f546f6b656e20494420696e76616c696400000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f2273656c6c65725f6665655f62617369735f706f696e7473223a203335302c2060008201527f226665655f726563697069656e74223a2022307834346234376132373865663660208201527f31316144653443434666393762453544464131353338623766343338227d0000604082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f7b226e616d65223a20224e6f7465200000000000000000000000000000000000600082015250565b7f222c200000000000000000000000000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b612fab81612675565b8114612fb657600080fd5b50565b612fc281612687565b8114612fcd57600080fd5b50565b612fd981612693565b8114612fe457600080fd5b50565b612ff0816126df565b8114612ffb57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220742514b2405309bfd7c9c4fb96e0a168cb0edc2b86e2aaca723b384209cbeded64736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80635213086711610097578063a22cb46511610066578063a22cb46514610296578063b88d4fde146102b2578063c87b56dd146102ce578063e985e9c5146102fe576100f5565b806352130867146101e85780636352211e1461021857806370a082311461024857806395d89b4114610278576100f5565b8063095ea7b3116100d3578063095ea7b31461017857806323b872dd14610194578063379607f5146101b057806342842e0e146101cc576100f5565b806301ffc9a7146100fa57806306fdde031461012a578063081812fc14610148575b600080fd5b610114600480360381019061010f9190611c56565b61032e565b604051610121919061227a565b60405180910390f35b610132610410565b60405161013f9190612295565b60405180910390f35b610162600480360381019061015d9190611ca8565b6104a2565b60405161016f9190612213565b60405180910390f35b610192600480360381019061018d9190611c1a565b610527565b005b6101ae60048036038101906101a99190611b14565b61063f565b005b6101ca60048036038101906101c59190611ca8565b61069f565b005b6101e660048036038101906101e19190611b14565b610759565b005b61020260048036038101906101fd9190611ca8565b610779565b60405161020f9190612295565b60405180910390f35b610232600480360381019061022d9190611ca8565b610845565b60405161023f9190612213565b60405180910390f35b610262600480360381019061025d9190611aaf565b6108f7565b60405161026f9190612497565b60405180910390f35b6102806109af565b60405161028d9190612295565b60405180910390f35b6102b060048036038101906102ab9190611bde565b610a41565b005b6102cc60048036038101906102c79190611b63565b610a57565b005b6102e860048036038101906102e39190611ca8565b610ab9565b6040516102f59190612295565b60405180910390f35b61031860048036038101906103139190611ad8565b610b4f565b604051610325919061227a565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806103f957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610409575061040882610be3565b5b9050919050565b60606000805461041f9061272b565b80601f016020809104026020016040519081016040528092919081815260200182805461044b9061272b565b80156104985780601f1061046d57610100808354040283529160200191610498565b820191906000526020600020905b81548152906001019060200180831161047b57829003601f168201915b5050505050905090565b60006104ad82610c4d565b6104ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e3906123d7565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061053282610845565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059a90612437565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166105c2610cb9565b73ffffffffffffffffffffffffffffffffffffffff1614806105f157506105f0816105eb610cb9565b610b4f565b5b610630576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062790612357565b60405180910390fd5b61063a8383610cc1565b505050565b61065061064a610cb9565b82610d7a565b61068f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068690612457565b60405180910390fd5b61069a838383610e58565b505050565b600260065414156106e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106dc90612477565b60405180910390fd5b6002600681905550600081101580156106fe5750605881105b61073d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610734906123f7565b60405180910390fd5b61074e610748610cb9565b826110b4565b600160068190555050565b61077483838360405180602001604052806000815250610a57565b505050565b606060077f000000000000000000000000000000000000000000000000000000000000000c836107a991906127d7565b815481106107e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200161081e7f000000000000000000000000000000000000000000000000000000000000000c8461081991906125b6565b6110d2565b60405160200161082f929190612145565b6040516020818303038152906040529050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156108ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e590612397565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095f90612377565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600180546109be9061272b565b80601f01602080910402602001604051908101604052809291908181526020018280546109ea9061272b565b8015610a375780601f10610a0c57610100808354040283529160200191610a37565b820191906000526020600020905b815481529060010190602001808311610a1a57829003601f168201915b5050505050905090565b610a53610a4c610cb9565b838361127f565b5050565b610a68610a62610cb9565b83610d7a565b610aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9e90612457565b60405180910390fd5b610ab3848484846113ec565b50505050565b60606000610ac683610779565b9050600081604051602001610adb9190612174565b60405160208183030381529060405290506000610b2083610afb84611448565b604051602001610b0c9291906121c3565b604051602081830303815290604052611448565b905080604051602001610b3391906121a1565b6040516020818303038152906040529150819350505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16610d3483610845565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610d8582610c4d565b610dc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbb90612337565b60405180910390fd5b6000610dcf83610845565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610e3e57508373ffffffffffffffffffffffffffffffffffffffff16610e26846104a2565b73ffffffffffffffffffffffffffffffffffffffff16145b80610e4f5750610e4e8185610b4f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16610e7882610845565b73ffffffffffffffffffffffffffffffffffffffff1614610ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec590612417565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f35906122f7565b60405180910390fd5b610f49838383611606565b610f54600082610cc1565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fa49190612641565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ffb9190612560565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6110ce82826040518060200160405280600081525061160b565b5050565b6060600082141561111a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061127a565b600082905060005b6000821461114c5780806111359061278e565b915050600a8261114591906125b6565b9150611122565b60008167ffffffffffffffff81111561118e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156111c05781602001600182028036833780820191505090505b5090505b60008514611273576001826111d99190612641565b9150600a856111e891906127d7565b60306111f49190612560565b60f81b818381518110611230577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561126c91906125b6565b94506111c4565b8093505050505b919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156112ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e590612317565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113df919061227a565b60405180910390a3505050565b6113f7848484610e58565b61140384848484611666565b611442576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611439906122b7565b60405180910390fd5b50505050565b606060008251905060008114156114715760405180602001604052806000815250915050611601565b600060036002836114829190612560565b61148c91906125b6565b600461149891906125e7565b905060006020826114a99190612560565b67ffffffffffffffff8111156114e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561151a5781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001612fff604091399050600181016020830160005b868110156115be5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050611545565b5060038606600181146115d857600281146115e8576115f3565b613d3d60f01b60028303526115f3565b603d60f81b60018303525b508484525050819450505050505b919050565b505050565b61161583836117fd565b6116226000848484611666565b611661576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611658906122b7565b60405180910390fd5b505050565b60006116878473ffffffffffffffffffffffffffffffffffffffff166119cb565b156117f0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026116b0610cb9565b8786866040518563ffffffff1660e01b81526004016116d2949392919061222e565b602060405180830381600087803b1580156116ec57600080fd5b505af192505050801561171d57506040513d601f19601f8201168201806040525081019061171a9190611c7f565b60015b6117a0573d806000811461174d576040519150601f19603f3d011682016040523d82523d6000602084013e611752565b606091505b50600081511415611798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178f906122b7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506117f5565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561186d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611864906123b7565b60405180910390fd5b61187681610c4d565b156118b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ad906122d7565b60405180910390fd5b6118c260008383611606565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119129190612560565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60006119f16119ec846124d7565b6124b2565b905082815260208101848484011115611a0957600080fd5b611a148482856126e9565b509392505050565b600081359050611a2b81612fa2565b92915050565b600081359050611a4081612fb9565b92915050565b600081359050611a5581612fd0565b92915050565b600081519050611a6a81612fd0565b92915050565b600082601f830112611a8157600080fd5b8135611a918482602086016119de565b91505092915050565b600081359050611aa981612fe7565b92915050565b600060208284031215611ac157600080fd5b6000611acf84828501611a1c565b91505092915050565b60008060408385031215611aeb57600080fd5b6000611af985828601611a1c565b9250506020611b0a85828601611a1c565b9150509250929050565b600080600060608486031215611b2957600080fd5b6000611b3786828701611a1c565b9350506020611b4886828701611a1c565b9250506040611b5986828701611a9a565b9150509250925092565b60008060008060808587031215611b7957600080fd5b6000611b8787828801611a1c565b9450506020611b9887828801611a1c565b9350506040611ba987828801611a9a565b925050606085013567ffffffffffffffff811115611bc657600080fd5b611bd287828801611a70565b91505092959194509250565b60008060408385031215611bf157600080fd5b6000611bff85828601611a1c565b9250506020611c1085828601611a31565b9150509250929050565b60008060408385031215611c2d57600080fd5b6000611c3b85828601611a1c565b9250506020611c4c85828601611a9a565b9150509250929050565b600060208284031215611c6857600080fd5b6000611c7684828501611a46565b91505092915050565b600060208284031215611c9157600080fd5b6000611c9f84828501611a5b565b91505092915050565b600060208284031215611cba57600080fd5b6000611cc884828501611a9a565b91505092915050565b611cda81612675565b82525050565b611ce981612687565b82525050565b6000611cfa8261251d565b611d048185612533565b9350611d148185602086016126f8565b611d1d816128c4565b840191505092915050565b6000611d3382612528565b611d3d8185612544565b9350611d4d8185602086016126f8565b611d56816128c4565b840191505092915050565b6000611d6c82612528565b611d768185612555565b9350611d868185602086016126f8565b80840191505092915050565b60008154611d9f8161272b565b611da98186612555565b94506001821660008114611dc45760018114611dd557611e08565b60ff19831686528186019350611e08565b611dde85612508565b60005b83811015611e0057815481890152600182019150602081019050611de1565b838801955050505b50505092915050565b6000611e1e603283612544565b9150611e29826128d5565b604082019050919050565b6000611e41601c83612544565b9150611e4c82612924565b602082019050919050565b6000611e64602483612544565b9150611e6f8261294d565b604082019050919050565b6000611e87601983612544565b9150611e928261299c565b602082019050919050565b6000611eaa604883612555565b9150611eb5826129c5565b604882019050919050565b6000611ecd602c83612544565b9150611ed882612a3a565b604082019050919050565b6000611ef0600d83612555565b9150611efb82612a89565b600d82019050919050565b6000611f13600183612555565b9150611f1e82612ab2565b600182019050919050565b6000611f36603883612544565b9150611f4182612adb565b604082019050919050565b6000611f59602a83612544565b9150611f6482612b2a565b604082019050919050565b6000611f7c602983612544565b9150611f8782612b79565b604082019050919050565b6000611f9f602083612544565b9150611faa82612bc8565b602082019050919050565b6000611fc260f783612555565b9150611fcd82612bf1565b60f782019050919050565b6000611fe5602c83612544565b9150611ff082612d24565b604082019050919050565b6000612008601083612544565b915061201382612d73565b602082019050919050565b600061202b602983612544565b915061203682612d9c565b604082019050919050565b600061204e602183612544565b915061205982612deb565b604082019050919050565b6000612071601d83612555565b915061207c82612e3a565b601d82019050919050565b6000612094605e83612555565b915061209f82612e63565b605e82019050919050565b60006120b7603183612544565b91506120c282612ed8565b604082019050919050565b60006120da600f83612555565b91506120e582612f27565b600f82019050919050565b60006120fd600383612555565b915061210882612f50565b600382019050919050565b6000612120601f83612544565b915061212b82612f79565b602082019050919050565b61213f816126df565b82525050565b60006121518285611d92565b915061215c82611f06565b91506121688284611d61565b91508190509392505050565b600061217f82611fb5565b915061218b8284611d61565b915061219682611ee3565b915081905092915050565b60006121ac82612064565b91506121b88284611d61565b915081905092915050565b60006121ce826120cd565b91506121da8285611d61565b91506121e582611e9d565b91506121f18284611d61565b91506121fc826120f0565b915061220782612087565b91508190509392505050565b60006020820190506122286000830184611cd1565b92915050565b60006080820190506122436000830187611cd1565b6122506020830186611cd1565b61225d6040830185612136565b818103606083015261226f8184611cef565b905095945050505050565b600060208201905061228f6000830184611ce0565b92915050565b600060208201905081810360008301526122af8184611d28565b905092915050565b600060208201905081810360008301526122d081611e11565b9050919050565b600060208201905081810360008301526122f081611e34565b9050919050565b6000602082019050818103600083015261231081611e57565b9050919050565b6000602082019050818103600083015261233081611e7a565b9050919050565b6000602082019050818103600083015261235081611ec0565b9050919050565b6000602082019050818103600083015261237081611f29565b9050919050565b6000602082019050818103600083015261239081611f4c565b9050919050565b600060208201905081810360008301526123b081611f6f565b9050919050565b600060208201905081810360008301526123d081611f92565b9050919050565b600060208201905081810360008301526123f081611fd8565b9050919050565b6000602082019050818103600083015261241081611ffb565b9050919050565b600060208201905081810360008301526124308161201e565b9050919050565b6000602082019050818103600083015261245081612041565b9050919050565b60006020820190508181036000830152612470816120aa565b9050919050565b6000602082019050818103600083015261249081612113565b9050919050565b60006020820190506124ac6000830184612136565b92915050565b60006124bc6124cd565b90506124c8828261275d565b919050565b6000604051905090565b600067ffffffffffffffff8211156124f2576124f1612895565b5b6124fb826128c4565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061256b826126df565b9150612576836126df565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156125ab576125aa612808565b5b828201905092915050565b60006125c1826126df565b91506125cc836126df565b9250826125dc576125db612837565b5b828204905092915050565b60006125f2826126df565b91506125fd836126df565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561263657612635612808565b5b828202905092915050565b600061264c826126df565b9150612657836126df565b92508282101561266a57612669612808565b5b828203905092915050565b6000612680826126bf565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156127165780820151818401526020810190506126fb565b83811115612725576000848401525b50505050565b6000600282049050600182168061274357607f821691505b6020821081141561275757612756612866565b5b50919050565b612766826128c4565b810181811067ffffffffffffffff8211171561278557612784612895565b5b80604052505050565b6000612799826126df565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156127cc576127cb612808565b5b600182019050919050565b60006127e2826126df565b91506127ed836126df565b9250826127fd576127fc612837565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f222c20226465736372697074696f6e223a202241206d75736963616c206e6f7460008201527f65222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c60208201527f3b6261736536342c000000000000000000000000000000000000000000000000604082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f3c2f746578743e3c2f7376673e00000000000000000000000000000000000000600082015250565b7f2000000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323060008201527f30302f73766722207072657365727665417370656374526174696f3d22784d6960208201527f6e594d696e206d656574222076696577426f783d22302030203335302033353060408201527f223e3c7374796c653e2e62617365207b66696c6c3a626c61636b3b666f6e742d60608201527f66616d696c793a73657269663b666f6e742d73697a653a373270783b7d3c2f7360808201527f74796c653e3c726563742077696474683d223130302522206865696768743d2260a08201527f31303025222066696c6c3d22776869746522202f3e3c7465787420783d22313060c08201527f2220793d223138362220636c6173733d2262617365223e00000000000000000060e082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f546f6b656e20494420696e76616c696400000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f2273656c6c65725f6665655f62617369735f706f696e7473223a203335302c2060008201527f226665655f726563697069656e74223a2022307834346234376132373865663660208201527f31316144653443434666393762453544464131353338623766343338227d0000604082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f7b226e616d65223a20224e6f7465200000000000000000000000000000000000600082015250565b7f222c200000000000000000000000000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b612fab81612675565b8114612fb657600080fd5b50565b612fc281612687565b8114612fcd57600080fd5b50565b612fd981612693565b8114612fe457600080fd5b50565b612ff0816126df565b8114612ffb57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220742514b2405309bfd7c9c4fb96e0a168cb0edc2b86e2aaca723b384209cbeded64736f6c63430008040033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.