Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
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
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Safe Transfer Fr... | 16098614 | 1207 days ago | IN | 0 ETH | 0.00054856 | ||||
| Set URI | 16098535 | 1207 days ago | IN | 0 ETH | 0.00072002 | ||||
| Set URI | 16098534 | 1207 days ago | IN | 0 ETH | 0.00075774 | ||||
| Set URI | 16098532 | 1207 days ago | IN | 0 ETH | 0.00074392 | ||||
| Safe Transfer Fr... | 15870634 | 1238 days ago | IN | 0 ETH | 0.00219792 | ||||
| Transfer Ownersh... | 15849475 | 1241 days ago | IN | 0 ETH | 0.00053456 | ||||
| Mint | 15849443 | 1241 days ago | IN | 0 ETH | 0.00367446 | ||||
| Mint | 15849393 | 1241 days ago | IN | 0 ETH | 0.00367093 | ||||
| Mint | 15849308 | 1241 days ago | IN | 0 ETH | 0.00608121 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ArtizenArtifacts
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity 0.8.16;
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155URIStorage.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
contract ArtizenArtifacts is ERC1155URIStorage, Ownable {
using Counters for Counters.Counter;
Counters.Counter public tokenIds;
constructor() ERC1155("") {}
/*------ State Changing Functions ------*/
function mint(
address to,
uint256 amount,
bytes memory data,
string memory tokenURI
) public onlyOwner {
tokenIds.increment();
uint256 id = tokenIds.current();
_mint(to, id, amount, data);
_setURI(id, tokenURI);
}
function batchMint(
address to,
uint256[] memory amounts,
bytes memory data,
string[] memory tokenURIs
) public onlyOwner {
uint256[] memory ids = new uint256[](amounts.length);
for (uint256 i = 0; i < amounts.length; i++) {
tokenIds.increment();
ids[i] = tokenIds.current();
}
_mintBatch(to, ids, amounts, data);
for (uint256 i = 0; i < ids.length; i++) {
_setURI(ids[i], tokenURIs[i]);
}
}
function safeTransferFrom(
address from,
address to,
uint256 id,
uint256 amount,
bytes memory data
) public override {
require(
from == _msgSender() || isApprovedForAll(from, _msgSender()),
"ERC1155: caller is not owner nor approved"
);
_safeTransferFrom(from, to, id, amount, data);
}
function safeBatchTransferFrom(
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) public override {
require(
from == _msgSender() || isApprovedForAll(from, _msgSender()),
"ERC1155: transfer caller is not owner nor approved"
);
_safeBatchTransferFrom(from, to, ids, amounts, data);
}
function setURI(uint256 tokenId, string memory tokenURI) public onlyOwner {
_setURI(tokenId, tokenURI);
}
function setBaseURI(string memory _uri) public onlyOwner {
_setBaseURI(_uri);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155URIStorage.sol)
pragma solidity ^0.8.0;
import "../../../utils/Strings.sol";
import "../ERC1155.sol";
/**
* @dev ERC1155 token with storage based token URI management.
* Inspired by the ERC721URIStorage extension
*
* _Available since v4.6._
*/
abstract contract ERC1155URIStorage is ERC1155 {
using Strings for uint256;
// Optional base URI
string private _baseURI = "";
// Optional mapping for token URIs
mapping(uint256 => string) private _tokenURIs;
/**
* @dev See {IERC1155MetadataURI-uri}.
*
* This implementation returns the concatenation of the `_baseURI`
* and the token-specific uri if the latter is set
*
* This enables the following behaviors:
*
* - if `_tokenURIs[tokenId]` is set, then the result is the concatenation
* of `_baseURI` and `_tokenURIs[tokenId]` (keep in mind that `_baseURI`
* is empty per default);
*
* - if `_tokenURIs[tokenId]` is NOT set then we fallback to `super.uri()`
* which in most cases will contain `ERC1155._uri`;
*
* - if `_tokenURIs[tokenId]` is NOT set, and if the parents do not have a
* uri value set, then the result is empty.
*/
function uri(uint256 tokenId) public view virtual override returns (string memory) {
string memory tokenURI = _tokenURIs[tokenId];
// If token URI is set, concatenate base URI and tokenURI (via abi.encodePacked).
return bytes(tokenURI).length > 0 ? string(abi.encodePacked(_baseURI, tokenURI)) : super.uri(tokenId);
}
/**
* @dev Sets `tokenURI` as the tokenURI of `tokenId`.
*/
function _setURI(uint256 tokenId, string memory tokenURI) internal virtual {
_tokenURIs[tokenId] = tokenURI;
emit URI(uri(tokenId), tokenId);
}
/**
* @dev Sets `baseURI` as the `_baseURI` for all tokens
*/
function _setBaseURI(string memory baseURI) internal virtual {
_baseURI = baseURI;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol)
pragma solidity ^0.8.0;
import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of the basic standard multi-token.
* See https://eips.ethereum.org/EIPS/eip-1155
* Originally based on code by Enjin: https://github.com/enjin/erc-1155
*
* _Available since v3.1._
*/
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
using Address for address;
// Mapping from token ID to account balances
mapping(uint256 => mapping(address => uint256)) private _balances;
// Mapping from account to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
// Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
string private _uri;
/**
* @dev See {_setURI}.
*/
constructor(string memory uri_) {
_setURI(uri_);
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC1155).interfaceId ||
interfaceId == type(IERC1155MetadataURI).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC1155MetadataURI-uri}.
*
* This implementation returns the same URI for *all* token types. It relies
* on the token type ID substitution mechanism
* https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
*
* Clients calling this function must replace the `\{id\}` substring with the
* actual token type ID.
*/
function uri(uint256) public view virtual override returns (string memory) {
return _uri;
}
/**
* @dev See {IERC1155-balanceOf}.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
require(account != address(0), "ERC1155: address zero is not a valid owner");
return _balances[id][account];
}
/**
* @dev See {IERC1155-balanceOfBatch}.
*
* Requirements:
*
* - `accounts` and `ids` must have the same length.
*/
function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
public
view
virtual
override
returns (uint256[] memory)
{
require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");
uint256[] memory batchBalances = new uint256[](accounts.length);
for (uint256 i = 0; i < accounts.length; ++i) {
batchBalances[i] = balanceOf(accounts[i], ids[i]);
}
return batchBalances;
}
/**
* @dev See {IERC1155-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
_setApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC1155-isApprovedForAll}.
*/
function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {
return _operatorApprovals[account][operator];
}
/**
* @dev See {IERC1155-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 id,
uint256 amount,
bytes memory data
) public virtual override {
require(
from == _msgSender() || isApprovedForAll(from, _msgSender()),
"ERC1155: caller is not token owner nor approved"
);
_safeTransferFrom(from, to, id, amount, data);
}
/**
* @dev See {IERC1155-safeBatchTransferFrom}.
*/
function safeBatchTransferFrom(
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) public virtual override {
require(
from == _msgSender() || isApprovedForAll(from, _msgSender()),
"ERC1155: caller is not token owner nor approved"
);
_safeBatchTransferFrom(from, to, ids, amounts, data);
}
/**
* @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
*
* Emits a {TransferSingle} event.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `from` must have a balance of tokens of type `id` of at least `amount`.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
* acceptance magic value.
*/
function _safeTransferFrom(
address from,
address to,
uint256 id,
uint256 amount,
bytes memory data
) internal virtual {
require(to != address(0), "ERC1155: transfer to the zero address");
address operator = _msgSender();
uint256[] memory ids = _asSingletonArray(id);
uint256[] memory amounts = _asSingletonArray(amount);
_beforeTokenTransfer(operator, from, to, ids, amounts, data);
uint256 fromBalance = _balances[id][from];
require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
unchecked {
_balances[id][from] = fromBalance - amount;
}
_balances[id][to] += amount;
emit TransferSingle(operator, from, to, id, amount);
_afterTokenTransfer(operator, from, to, ids, amounts, data);
_doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
}
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
*
* Emits a {TransferBatch} event.
*
* Requirements:
*
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
* acceptance magic value.
*/
function _safeBatchTransferFrom(
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) internal virtual {
require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
require(to != address(0), "ERC1155: transfer to the zero address");
address operator = _msgSender();
_beforeTokenTransfer(operator, from, to, ids, amounts, data);
for (uint256 i = 0; i < ids.length; ++i) {
uint256 id = ids[i];
uint256 amount = amounts[i];
uint256 fromBalance = _balances[id][from];
require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
unchecked {
_balances[id][from] = fromBalance - amount;
}
_balances[id][to] += amount;
}
emit TransferBatch(operator, from, to, ids, amounts);
_afterTokenTransfer(operator, from, to, ids, amounts, data);
_doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
}
/**
* @dev Sets a new URI for all token types, by relying on the token type ID
* substitution mechanism
* https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
*
* By this mechanism, any occurrence of the `\{id\}` substring in either the
* URI or any of the amounts in the JSON file at said URI will be replaced by
* clients with the token type ID.
*
* For example, the `https://token-cdn-domain/\{id\}.json` URI would be
* interpreted by clients as
* `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
* for token type ID 0x4cce0.
*
* See {uri}.
*
* Because these URIs cannot be meaningfully represented by the {URI} event,
* this function emits no events.
*/
function _setURI(string memory newuri) internal virtual {
_uri = newuri;
}
/**
* @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
*
* Emits a {TransferSingle} event.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
* acceptance magic value.
*/
function _mint(
address to,
uint256 id,
uint256 amount,
bytes memory data
) internal virtual {
require(to != address(0), "ERC1155: mint to the zero address");
address operator = _msgSender();
uint256[] memory ids = _asSingletonArray(id);
uint256[] memory amounts = _asSingletonArray(amount);
_beforeTokenTransfer(operator, address(0), to, ids, amounts, data);
_balances[id][to] += amount;
emit TransferSingle(operator, address(0), to, id, amount);
_afterTokenTransfer(operator, address(0), to, ids, amounts, data);
_doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
}
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
*
* Emits a {TransferBatch} event.
*
* Requirements:
*
* - `ids` and `amounts` must have the same length.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
* acceptance magic value.
*/
function _mintBatch(
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) internal virtual {
require(to != address(0), "ERC1155: mint to the zero address");
require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
address operator = _msgSender();
_beforeTokenTransfer(operator, address(0), to, ids, amounts, data);
for (uint256 i = 0; i < ids.length; i++) {
_balances[ids[i]][to] += amounts[i];
}
emit TransferBatch(operator, address(0), to, ids, amounts);
_afterTokenTransfer(operator, address(0), to, ids, amounts, data);
_doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
}
/**
* @dev Destroys `amount` tokens of token type `id` from `from`
*
* Emits a {TransferSingle} event.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `from` must have at least `amount` tokens of token type `id`.
*/
function _burn(
address from,
uint256 id,
uint256 amount
) internal virtual {
require(from != address(0), "ERC1155: burn from the zero address");
address operator = _msgSender();
uint256[] memory ids = _asSingletonArray(id);
uint256[] memory amounts = _asSingletonArray(amount);
_beforeTokenTransfer(operator, from, address(0), ids, amounts, "");
uint256 fromBalance = _balances[id][from];
require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
unchecked {
_balances[id][from] = fromBalance - amount;
}
emit TransferSingle(operator, from, address(0), id, amount);
_afterTokenTransfer(operator, from, address(0), ids, amounts, "");
}
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
*
* Emits a {TransferBatch} event.
*
* Requirements:
*
* - `ids` and `amounts` must have the same length.
*/
function _burnBatch(
address from,
uint256[] memory ids,
uint256[] memory amounts
) internal virtual {
require(from != address(0), "ERC1155: burn from the zero address");
require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
address operator = _msgSender();
_beforeTokenTransfer(operator, from, address(0), ids, amounts, "");
for (uint256 i = 0; i < ids.length; i++) {
uint256 id = ids[i];
uint256 amount = amounts[i];
uint256 fromBalance = _balances[id][from];
require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
unchecked {
_balances[id][from] = fromBalance - amount;
}
}
emit TransferBatch(operator, from, address(0), ids, amounts);
_afterTokenTransfer(operator, from, address(0), ids, amounts, "");
}
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Emits an {ApprovalForAll} event.
*/
function _setApprovalForAll(
address owner,
address operator,
bool approved
) internal virtual {
require(owner != operator, "ERC1155: setting approval status for self");
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning, as well as batched variants.
*
* The same hook is called on both single and batched variants. For single
* transfers, the length of the `ids` and `amounts` arrays will be 1.
*
* Calling conditions (for each `id` and `amount` pair):
*
* - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* of token type `id` will be transferred to `to`.
* - When `from` is zero, `amount` tokens of token type `id` will be minted
* for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
* will be burned.
* - `from` and `to` are never both zero.
* - `ids` and `amounts` have the same, non-zero length.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address operator,
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) internal virtual {}
/**
* @dev Hook that is called after any token transfer. This includes minting
* and burning, as well as batched variants.
*
* The same hook is called on both single and batched variants. For single
* transfers, the length of the `id` and `amount` arrays will be 1.
*
* Calling conditions (for each `id` and `amount` pair):
*
* - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* of token type `id` will be transferred to `to`.
* - When `from` is zero, `amount` tokens of token type `id` will be minted
* for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
* will be burned.
* - `from` and `to` are never both zero.
* - `ids` and `amounts` have the same, non-zero length.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address operator,
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) internal virtual {}
function _doSafeTransferAcceptanceCheck(
address operator,
address from,
address to,
uint256 id,
uint256 amount,
bytes memory data
) private {
if (to.isContract()) {
try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
if (response != IERC1155Receiver.onERC1155Received.selector) {
revert("ERC1155: ERC1155Receiver rejected tokens");
}
} catch Error(string memory reason) {
revert(reason);
} catch {
revert("ERC1155: transfer to non ERC1155Receiver implementer");
}
}
}
function _doSafeBatchTransferAcceptanceCheck(
address operator,
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) private {
if (to.isContract()) {
try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
bytes4 response
) {
if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
revert("ERC1155: ERC1155Receiver rejected tokens");
}
} catch Error(string memory reason) {
revert(reason);
} catch {
revert("ERC1155: transfer to non ERC1155Receiver implementer");
}
}
}
function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
uint256[] memory array = new uint256[](1);
array[0] = element;
return array;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC1155 compliant contract, as defined in the
* https://eips.ethereum.org/EIPS/eip-1155[EIP].
*
* _Available since v3.1._
*/
interface IERC1155 is IERC165 {
/**
* @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
*/
event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);
/**
* @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
* transfers.
*/
event TransferBatch(
address indexed operator,
address indexed from,
address indexed to,
uint256[] ids,
uint256[] values
);
/**
* @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
* `approved`.
*/
event ApprovalForAll(address indexed account, address indexed operator, bool approved);
/**
* @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
*
* If an {URI} event was emitted for `id`, the standard
* https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
* returned by {IERC1155MetadataURI-uri}.
*/
event URI(string value, uint256 indexed id);
/**
* @dev Returns the amount of tokens of token type `id` owned by `account`.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function balanceOf(address account, uint256 id) external view returns (uint256);
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
*
* Requirements:
*
* - `accounts` and `ids` must have the same length.
*/
function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
external
view
returns (uint256[] memory);
/**
* @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
*
* Emits an {ApprovalForAll} event.
*
* Requirements:
*
* - `operator` cannot be the caller.
*/
function setApprovalForAll(address operator, bool approved) external;
/**
* @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address account, address operator) external view returns (bool);
/**
* @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
*
* Emits a {TransferSingle} event.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
* - `from` must have a balance of tokens of type `id` of at least `amount`.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
* acceptance magic value.
*/
function safeTransferFrom(
address from,
address to,
uint256 id,
uint256 amount,
bytes calldata data
) external;
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
*
* Emits a {TransferBatch} event.
*
* Requirements:
*
* - `ids` and `amounts` must have the same length.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
* acceptance magic value.
*/
function safeBatchTransferFrom(
address from,
address to,
uint256[] calldata ids,
uint256[] calldata amounts,
bytes calldata data
) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev _Available since v3.1._
*/
interface IERC1155Receiver is IERC165 {
/**
* @dev Handles the receipt of a single ERC1155 token type. This function is
* called at the end of a `safeTransferFrom` after the balance has been updated.
*
* NOTE: To accept the transfer, this must return
* `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
* (i.e. 0xf23a6e61, or its own function selector).
*
* @param operator The address which initiated the transfer (i.e. msg.sender)
* @param from The address which previously owned the token
* @param id The ID of the token being transferred
* @param value The amount of tokens being transferred
* @param data Additional data with no specified format
* @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
*/
function onERC1155Received(
address operator,
address from,
uint256 id,
uint256 value,
bytes calldata data
) external returns (bytes4);
/**
* @dev Handles the receipt of a multiple ERC1155 token types. This function
* is called at the end of a `safeBatchTransferFrom` after the balances have
* been updated.
*
* NOTE: To accept the transfer(s), this must return
* `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
* (i.e. 0xbc197c81, or its own function selector).
*
* @param operator The address which initiated the batch transfer (i.e. msg.sender)
* @param from The address which previously owned the token
* @param ids An array containing ids of each token being transferred (order and length must match values array)
* @param values An array containing amounts of each token being transferred (order and length must match ids array)
* @param data Additional data with no specified format
* @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
*/
function onERC1155BatchReceived(
address operator,
address from,
uint256[] calldata ids,
uint256[] calldata values,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)
pragma solidity ^0.8.0;
import "../IERC1155.sol";
/**
* @dev Interface of the optional ERC1155MetadataExtension interface, as defined
* in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
*
* _Available since v3.1._
*/
interface IERC1155MetadataURI is IERC1155 {
/**
* @dev Returns the URI for token type `id`.
*
* If the `\{id\}` substring is present in the URI, it must be replaced by
* clients with the actual token type ID.
*/
function uri(uint256 id) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"optimizer": {
"enabled": true,
"runs": 1000
},
"viaIR": true,
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"string[]","name":"tokenURIs","type":"string[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"string","name":"tokenURI","type":"string"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIds","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]Contract Creation Code
6080346200014d57602081016001600160401b03811182821017620001375760405260008091526200003360025462000152565b601f8111620000f6575b50806002556200004f60035462000152565b601f8111620000b5575b50600060035560058054336001600160a01b031982168117909255604051926001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09084a3611ecc9081620001a98239f35b60038252620000ef90601f0160051c7fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b908101906200018f565b3862000059565b600282526200013090601f0160051c7f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace908101906200018f565b386200003d565b634e487b7160e01b600052604160045260246000fd5b600080fd5b90600182811c9216801562000184575b60208310146200016e57565b634e487b7160e01b600052602260045260246000fd5b91607f169162000162565b8181106200019b575050565b600081556001016200018f56fe6040608081526004908136101561001557600080fd5b600091823560e01c8062fdd58e1461146057806301ffc9a7146113a75780630e89341c146113735780632eb2c2d6146110775780634e1273f414610eef57806355f804b314610d63578063714cff5614610d44578063715018a614610cd9578063862440e214610c965780638da5cb5b14610c6e578063a066881a14610930578063a22cb4651461083b578063c59747a01461057b578063e985e9c514610529578063f242432a146101bb5763f2fde38b146100d057600080fd5b346101b75760203660031901126101b7576100e9611490565b6100f1611642565b6001600160a01b0380911691821561014e5750600554928273ffffffffffffffffffffffffffffffffffffffff198516176005555192167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08484a3f35b608490602085519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b8280fd5b50346101b75760a03660031901126101b7576101d5611490565b6101dd6114ab565b906044359060643560843567ffffffffffffffff81116105255761020490369087016115b7565b926001600160a01b03809316923384148015610507575b1561049e57908894939291861690610234821515611db4565b61023d81611b59565b5061024783611b59565b508086526020968688528987208588528852838a88205461026a82821015611e25565b838952888a528b8920878a528a52038a8820558187528688528987208388528852898720610299858254611a9f565b905582858b51848152868b8201527fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628d3392a43b6102d657858951f35b879587946103178b519788968795869463f23a6e6160e01b9c8d8752339087015260248601526044850152606484015260a0608484015260a48301906114e4565b03925af186918161046f575b506103fc575050600190610335611acc565b6308c379a0146103c9575b5061035457505b3880838180808080858951f35b6103c5915191829162461bcd60e51b8352820160809060208152603460208201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560408201527f526563656976657220696d706c656d656e74657200000000000000000000000060608201520190565b0390fd5b6103d1611aea565b806103dc5750610340565b6103c58491865193849362461bcd60e51b855284015260248301906114e4565b6001600160e01b0319160390506104135750610347565b6103c5915191829162461bcd60e51b8352820160809060208152602860208201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b60608201520190565b610490919250843d8611610497575b6104888183611509565b810190611aac565b9038610323565b503d61047e565b60848760208a519162461bcd60e51b8352820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152fd5b508389526001602052878920338a5260205260ff888a20541661021b565b8780fd5b50503461057757806003193601126105775760ff81602093610549611490565b6105516114ab565b6001600160a01b0391821683526001875283832091168252855220549151911615158152f35b5080fd5b50346101b75760803660031901126101b757610595611490565b6024359167ffffffffffffffff91604435838111610837576105ba90369084016115b7565b92606435908111610837576105d290369084016115b7565b936105db611642565b8660016006540194856006556001600160a01b038416906105fd821515611a2e565b61060687611b59565b5061061084611b59565b508683526020948386528984208385528652898420610630868254611a9f565b905582848b518a815287898201527fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628d3392a43b610678575b82896106758a8a611b8f565b51f35b84916106b9918a5194858094819363f23a6e6160e01b998a8452338d8501528460248501528d6044850152606484015260a0608484015260a48301906114e4565b03925af1889181610818575b5061079f5750506001906106d7611acc565b6308c379a01461076c575b506106fa575090610675915b90913880868180610669565b6103c590845191829162461bcd60e51b8352820160809060208152603460208201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560408201527f526563656976657220696d706c656d656e74657200000000000000000000000060608201520190565b610774611aea565b8061077f57506106e2565b6103c58491885193849362461bcd60e51b855284015260248301906114e4565b6001600160e01b0319160390506107bb575090610675916106ee565b6103c590845191829162461bcd60e51b8352820160809060208152602860208201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b60608201520190565b610830919250843d8611610497576104888183611509565b90386106c5565b8680fd5b50346101b757816003193601126101b757610854611490565b6024359081151580920361092c576001600160a01b0316918233146108c35750338452600160205282842082855260205282842060ff1981541660ff831617905582519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a351f35b608490602085519162461bcd60e51b8352820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152fd5b8480fd5b509134610c6b57600319916080368401126105775761094d611490565b9060249283359467ffffffffffffffff958681116101b7576109729036908901611559565b96604435878111610c675761098a90369083016115b7565b966064359181831161092c573660238401121561092c5782810135916109af83611541565b926109bc88519485611509565b8084526020948a8686019260051b82010192368411610c63578b8201925b848410610c385750505050506109ee611642565b6109f88a51611731565b97855b8b51811015610a2757610a229060066001815401809155610a1c828d611788565b52611763565b6109fb565b508a999897986001600160a01b038a1695610a43871515611a2e565b610a508a518d5114611d1e565b875b8a51811015610a9e57808b610a768f93610a6f81610a9996611788565b5192611788565b518b528a89528b8b208a8c528952610a928c8c20918254611a9f565b9055611763565b610a52565b5095878a9293978a9c9d95999a969d838389517f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb339180610ae08d8c83611d8f565b0390a43b610b2f575b509750505050505050505b8251811015610b2a5780610b20610b0e610b259386611788565b51610b198389611788565b5190611b8f565b611763565b610af4565b508251f35b88889583928c99519889978896879563bc197c8160e01b9d8e885233908801528601526044850160a0905260a48501610b679161160e565b82858203016064860152610b7a9161160e565b90838203016084840152610b8d916114e4565b03925af1869181610c19575b50610c00575050600191610bab611acc565b6308c379a014610bcd575b50506106fa57505b84808085818087818881610ae9565b610bd5611aea565b9081610be15750610bb6565b84916103c591895194859462461bcd60e51b86528501528301906114e4565b6001600160e01b0319160391506107bb90505750610bbe565b610c31919250843d8611610497576104888183611509565b908a610b99565b8335828111610c5f578891610c548f92849336918801016115b7565b8152019301926109da565b8a80fd5b8880fd5b8380fd5b80fd5b5050346105775781600319360112610577576020906001600160a01b03600554169051908152f35b50346101b757816003193601126101b7576024359067ffffffffffffffff8211610c6757610cca61067592369083016115b7565b90610cd3611642565b35611b8f565b505034610577578160031936011261057757610cf3611642565b816001600160a01b036005549273ffffffffffffffffffffffffffffffffffffffff1984166005555192167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08284a3f35b5050346105775781600319360112610577576020906006549051908152f35b50919034610577576020806003193601126101b75767ffffffffffffffff843581811161092c57610d9790369087016115b7565b94610da0611642565b8551918211610edc5750600391610db783546117b2565b601f8111610e7b575b5080601f8311600114610dfb575084958293949592610df0575b50508160011b9160001990841b1c191617905551f35b015190503880610dda565b838652601f198316967fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b929187905b898210610e635750508360019596979810610e4b575b505050811b01905551f35b015160001983861b60f8161c19169055388080610e40565b80600185968294968601518155019501930190610e2a565b8386527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f840160051c810191838510610ed2575b601f0160051c01905b818110610ec75750610dc0565b868155600101610eba565b9091508190610eb1565b846041602492634e487b7160e01b835252fd5b50346101b757816003193601126101b757803567ffffffffffffffff80821161092c573660238301121561092c578183013590610f2b82611541565b92610f3886519485611509565b82845260209260248486019160051b83010191368311610c6357602401905b8282106110545750505060243590811161105057610f789036908501611559565b928251845103610fe95750610f8d8251611731565b945b8251811015610fd35780610fc46001600160a01b03610fb1610fce9487611788565b5116610fbd8388611788565b519061169a565b610a1c8289611788565b610f8f565b845182815280610fe58185018961160e565b0390f35b60849185519162461bcd60e51b8352820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152fd5b8580fd5b81356001600160a01b0381168103611073578152908401908401610f57565b8980fd5b508234610c6b576003199260a03685011261057757611094611490565b9161109d6114ab565b9467ffffffffffffffff93604435858111610c67576110bf9036908801611559565b60643586811161092c576110d69036908901611559565b9560843590811161092c576110ee90369089016115b7565b966001600160a01b03809316923384148015611355575b156112ec576111178351895114611d1e565b891693611125851515611db4565b855b83518110156111a2578061113e61119d9286611788565b51611149828c611788565b5190808a526020908a82528b8b20898c528252828c8c8b828220549261117185851015611e25565b858352828752822091528452038c8c20558a528981528a8a2090898b5252610a928a8a20918254611a9f565b611127565b50949897909692959784878a517f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb3391806111de8a8a83611d8f565b0390a43b6111eb57888851f35b8751948593849363bc197c8160e01b98898652338b87015260248601526044850160a0905260a4850161121d9161160e565b828582030160648601526112309161160e565b90838203016084840152611243916114e4565b0381885a94602095f18591816112cc575b506112b75750506001611265611acc565b6308c379a014611282575b61035457505b82808080808080888851f35b61128a611aea565b806112955750611270565b6103c591506020935193849362461bcd60e51b855284015260248301906114e4565b6001600160e01b031916036104135750611276565b6112e591925060203d8111610497576104888183611509565b9086611254565b608482602089519162461bcd60e51b8352820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152fd5b50838652600160205286862033875260205260ff8787205416611105565b509134610c6b576020366003190112610c6b5750611394610fe592356117ec565b90519182916020835260208301906114e4565b50346101b75760203660031901126101b75735906001600160e01b031982168092036101b757602092507fd9b67a26000000000000000000000000000000000000000000000000000000008214918215611436575b821561140c575b50519015158152f35b7f01ffc9a70000000000000000000000000000000000000000000000000000000014915038611403565b7f0e89341c00000000000000000000000000000000000000000000000000000000811492506113fc565b505034610577578060031936011261057757602090611489611480611490565b6024359061169a565b9051908152f35b600435906001600160a01b03821682036114a657565b600080fd5b602435906001600160a01b03821682036114a657565b60005b8381106114d45750506000910152565b81810151838201526020016114c4565b906020916114fd815180928185528580860191016114c1565b601f01601f1916010190565b90601f8019910116810190811067ffffffffffffffff82111761152b57604052565b634e487b7160e01b600052604160045260246000fd5b67ffffffffffffffff811161152b5760051b60200190565b81601f820112156114a65780359161157083611541565b9261157e6040519485611509565b808452602092838086019260051b8201019283116114a6578301905b8282106115a8575050505090565b8135815290830190830161159a565b81601f820112156114a65780359067ffffffffffffffff821161152b57604051926115ec601f8401601f191660200185611509565b828452602083830101116114a657816000926020809301838601378301015290565b90815180825260208080930193019160005b82811061162e575050505090565b835185529381019392810192600101611620565b6001600160a01b0360055416330361165657565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6001600160a01b03169081156116c757600052600060205260406000209060005260205260406000205490565b608460405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201527f616c6964206f776e6572000000000000000000000000000000000000000000006064820152fd5b9061173b82611541565b6117486040519182611509565b8281528092611759601f1991611541565b0190602036910137565b60001981146117725760010190565b634e487b7160e01b600052601160045260246000fd5b805182101561179c5760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b90600182811c921680156117e2575b60208310146117cc57565b634e487b7160e01b600052602260045260246000fd5b91607f16916117c1565b600090815260209060048252604081209060405190809183549281611810856117b2565b9182825287820196600196898882169182600014611a105750506001146119d2575b5061183f92500382611509565b80511561191757604051948593836003549161185a836117b2565b928181169081156118f65750600114611896575b50505050611884611893948392519384916114c1565b0103601f198101835282611509565b90565b909192969450600382527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b8383106118e05750505061189394611884918501019294388061186e565b80548984018901528896509187019181016118c2565b60ff191688860152505050801515028401019150611884611893388061186e565b506040516002549094935084928261192e836117b2565b808652928281169081156119b05750600114611954575b50505061189392500382611509565b600281527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace95935091905b8183106119985750506118939350820101388080611945565b8554878401850152948501948694509183019161197f565b9250505061189394925060ff191682840152151560051b820101388080611945565b915050835281868085208686915b8583106119f757505061183f935082010138611832565b80919294505483858801015201910187908685936119e0565b60ff19168a5261183f95151560051b85010192503891506118329050565b15611a3557565b608460405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152fd5b9190820180921161177257565b908160209103126114a657516001600160e01b0319811681036114a65790565b60009060033d11611ad957565b905060046000803e60005160e01c90565b600060443d1061189357604051600319913d83016004833e815167ffffffffffffffff918282113d602484011117611b4857818401948551938411611b50573d85010160208487010111611b48575061189392910160200190611509565b949350505050565b50949350505050565b604051906040820182811067ffffffffffffffff82111761152b576040526001825260208201602036823782511561179c575290565b90600082815260209060048252604081209083519067ffffffffffffffff8211611d0a57611bbd83546117b2565b601f8111611cc7575b508390601f8311600114611c4057907f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b9583611c35575b50508160011b916000199060031b1c19161790555b611c1b836117ec565b90611c306040519282849384528301906114e4565b0390a2565b015190503880611bfd565b91929394601f198416858452868420935b818110611cb057509160019391857f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b9897969410611c97575b505050811b019055611c12565b015160001960f88460031b161c19169055388080611c8a565b929387600181928786015181550195019301611c51565b838252848220601f840160051c810191868510611d00575b601f0160051c01905b818110611cf55750611bc6565b828155600101611ce8565b9091508190611cdf565b80634e487b7160e01b602492526041600452fd5b15611d2557565b608460405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152fd5b9091611da66118939360408452604084019061160e565b91602081840391015261160e565b15611dbb57565b608460405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fd5b15611e2c57565b608460405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152fdfea26469706673582212206b97b184abbb9cca1572aad908e38d0d13e7a2ec1234786a2cbc475ba91dfe0964736f6c63430008100033
Deployed Bytecode
0x6040608081526004908136101561001557600080fd5b600091823560e01c8062fdd58e1461146057806301ffc9a7146113a75780630e89341c146113735780632eb2c2d6146110775780634e1273f414610eef57806355f804b314610d63578063714cff5614610d44578063715018a614610cd9578063862440e214610c965780638da5cb5b14610c6e578063a066881a14610930578063a22cb4651461083b578063c59747a01461057b578063e985e9c514610529578063f242432a146101bb5763f2fde38b146100d057600080fd5b346101b75760203660031901126101b7576100e9611490565b6100f1611642565b6001600160a01b0380911691821561014e5750600554928273ffffffffffffffffffffffffffffffffffffffff198516176005555192167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08484a3f35b608490602085519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b8280fd5b50346101b75760a03660031901126101b7576101d5611490565b6101dd6114ab565b906044359060643560843567ffffffffffffffff81116105255761020490369087016115b7565b926001600160a01b03809316923384148015610507575b1561049e57908894939291861690610234821515611db4565b61023d81611b59565b5061024783611b59565b508086526020968688528987208588528852838a88205461026a82821015611e25565b838952888a528b8920878a528a52038a8820558187528688528987208388528852898720610299858254611a9f565b905582858b51848152868b8201527fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628d3392a43b6102d657858951f35b879587946103178b519788968795869463f23a6e6160e01b9c8d8752339087015260248601526044850152606484015260a0608484015260a48301906114e4565b03925af186918161046f575b506103fc575050600190610335611acc565b6308c379a0146103c9575b5061035457505b3880838180808080858951f35b6103c5915191829162461bcd60e51b8352820160809060208152603460208201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560408201527f526563656976657220696d706c656d656e74657200000000000000000000000060608201520190565b0390fd5b6103d1611aea565b806103dc5750610340565b6103c58491865193849362461bcd60e51b855284015260248301906114e4565b6001600160e01b0319160390506104135750610347565b6103c5915191829162461bcd60e51b8352820160809060208152602860208201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b60608201520190565b610490919250843d8611610497575b6104888183611509565b810190611aac565b9038610323565b503d61047e565b60848760208a519162461bcd60e51b8352820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152fd5b508389526001602052878920338a5260205260ff888a20541661021b565b8780fd5b50503461057757806003193601126105775760ff81602093610549611490565b6105516114ab565b6001600160a01b0391821683526001875283832091168252855220549151911615158152f35b5080fd5b50346101b75760803660031901126101b757610595611490565b6024359167ffffffffffffffff91604435838111610837576105ba90369084016115b7565b92606435908111610837576105d290369084016115b7565b936105db611642565b8660016006540194856006556001600160a01b038416906105fd821515611a2e565b61060687611b59565b5061061084611b59565b508683526020948386528984208385528652898420610630868254611a9f565b905582848b518a815287898201527fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628d3392a43b610678575b82896106758a8a611b8f565b51f35b84916106b9918a5194858094819363f23a6e6160e01b998a8452338d8501528460248501528d6044850152606484015260a0608484015260a48301906114e4565b03925af1889181610818575b5061079f5750506001906106d7611acc565b6308c379a01461076c575b506106fa575090610675915b90913880868180610669565b6103c590845191829162461bcd60e51b8352820160809060208152603460208201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560408201527f526563656976657220696d706c656d656e74657200000000000000000000000060608201520190565b610774611aea565b8061077f57506106e2565b6103c58491885193849362461bcd60e51b855284015260248301906114e4565b6001600160e01b0319160390506107bb575090610675916106ee565b6103c590845191829162461bcd60e51b8352820160809060208152602860208201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b60608201520190565b610830919250843d8611610497576104888183611509565b90386106c5565b8680fd5b50346101b757816003193601126101b757610854611490565b6024359081151580920361092c576001600160a01b0316918233146108c35750338452600160205282842082855260205282842060ff1981541660ff831617905582519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a351f35b608490602085519162461bcd60e51b8352820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152fd5b8480fd5b509134610c6b57600319916080368401126105775761094d611490565b9060249283359467ffffffffffffffff958681116101b7576109729036908901611559565b96604435878111610c675761098a90369083016115b7565b966064359181831161092c573660238401121561092c5782810135916109af83611541565b926109bc88519485611509565b8084526020948a8686019260051b82010192368411610c63578b8201925b848410610c385750505050506109ee611642565b6109f88a51611731565b97855b8b51811015610a2757610a229060066001815401809155610a1c828d611788565b52611763565b6109fb565b508a999897986001600160a01b038a1695610a43871515611a2e565b610a508a518d5114611d1e565b875b8a51811015610a9e57808b610a768f93610a6f81610a9996611788565b5192611788565b518b528a89528b8b208a8c528952610a928c8c20918254611a9f565b9055611763565b610a52565b5095878a9293978a9c9d95999a969d838389517f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb339180610ae08d8c83611d8f565b0390a43b610b2f575b509750505050505050505b8251811015610b2a5780610b20610b0e610b259386611788565b51610b198389611788565b5190611b8f565b611763565b610af4565b508251f35b88889583928c99519889978896879563bc197c8160e01b9d8e885233908801528601526044850160a0905260a48501610b679161160e565b82858203016064860152610b7a9161160e565b90838203016084840152610b8d916114e4565b03925af1869181610c19575b50610c00575050600191610bab611acc565b6308c379a014610bcd575b50506106fa57505b84808085818087818881610ae9565b610bd5611aea565b9081610be15750610bb6565b84916103c591895194859462461bcd60e51b86528501528301906114e4565b6001600160e01b0319160391506107bb90505750610bbe565b610c31919250843d8611610497576104888183611509565b908a610b99565b8335828111610c5f578891610c548f92849336918801016115b7565b8152019301926109da565b8a80fd5b8880fd5b8380fd5b80fd5b5050346105775781600319360112610577576020906001600160a01b03600554169051908152f35b50346101b757816003193601126101b7576024359067ffffffffffffffff8211610c6757610cca61067592369083016115b7565b90610cd3611642565b35611b8f565b505034610577578160031936011261057757610cf3611642565b816001600160a01b036005549273ffffffffffffffffffffffffffffffffffffffff1984166005555192167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08284a3f35b5050346105775781600319360112610577576020906006549051908152f35b50919034610577576020806003193601126101b75767ffffffffffffffff843581811161092c57610d9790369087016115b7565b94610da0611642565b8551918211610edc5750600391610db783546117b2565b601f8111610e7b575b5080601f8311600114610dfb575084958293949592610df0575b50508160011b9160001990841b1c191617905551f35b015190503880610dda565b838652601f198316967fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b929187905b898210610e635750508360019596979810610e4b575b505050811b01905551f35b015160001983861b60f8161c19169055388080610e40565b80600185968294968601518155019501930190610e2a565b8386527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f840160051c810191838510610ed2575b601f0160051c01905b818110610ec75750610dc0565b868155600101610eba565b9091508190610eb1565b846041602492634e487b7160e01b835252fd5b50346101b757816003193601126101b757803567ffffffffffffffff80821161092c573660238301121561092c578183013590610f2b82611541565b92610f3886519485611509565b82845260209260248486019160051b83010191368311610c6357602401905b8282106110545750505060243590811161105057610f789036908501611559565b928251845103610fe95750610f8d8251611731565b945b8251811015610fd35780610fc46001600160a01b03610fb1610fce9487611788565b5116610fbd8388611788565b519061169a565b610a1c8289611788565b610f8f565b845182815280610fe58185018961160e565b0390f35b60849185519162461bcd60e51b8352820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152fd5b8580fd5b81356001600160a01b0381168103611073578152908401908401610f57565b8980fd5b508234610c6b576003199260a03685011261057757611094611490565b9161109d6114ab565b9467ffffffffffffffff93604435858111610c67576110bf9036908801611559565b60643586811161092c576110d69036908901611559565b9560843590811161092c576110ee90369089016115b7565b966001600160a01b03809316923384148015611355575b156112ec576111178351895114611d1e565b891693611125851515611db4565b855b83518110156111a2578061113e61119d9286611788565b51611149828c611788565b5190808a526020908a82528b8b20898c528252828c8c8b828220549261117185851015611e25565b858352828752822091528452038c8c20558a528981528a8a2090898b5252610a928a8a20918254611a9f565b611127565b50949897909692959784878a517f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb3391806111de8a8a83611d8f565b0390a43b6111eb57888851f35b8751948593849363bc197c8160e01b98898652338b87015260248601526044850160a0905260a4850161121d9161160e565b828582030160648601526112309161160e565b90838203016084840152611243916114e4565b0381885a94602095f18591816112cc575b506112b75750506001611265611acc565b6308c379a014611282575b61035457505b82808080808080888851f35b61128a611aea565b806112955750611270565b6103c591506020935193849362461bcd60e51b855284015260248301906114e4565b6001600160e01b031916036104135750611276565b6112e591925060203d8111610497576104888183611509565b9086611254565b608482602089519162461bcd60e51b8352820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152fd5b50838652600160205286862033875260205260ff8787205416611105565b509134610c6b576020366003190112610c6b5750611394610fe592356117ec565b90519182916020835260208301906114e4565b50346101b75760203660031901126101b75735906001600160e01b031982168092036101b757602092507fd9b67a26000000000000000000000000000000000000000000000000000000008214918215611436575b821561140c575b50519015158152f35b7f01ffc9a70000000000000000000000000000000000000000000000000000000014915038611403565b7f0e89341c00000000000000000000000000000000000000000000000000000000811492506113fc565b505034610577578060031936011261057757602090611489611480611490565b6024359061169a565b9051908152f35b600435906001600160a01b03821682036114a657565b600080fd5b602435906001600160a01b03821682036114a657565b60005b8381106114d45750506000910152565b81810151838201526020016114c4565b906020916114fd815180928185528580860191016114c1565b601f01601f1916010190565b90601f8019910116810190811067ffffffffffffffff82111761152b57604052565b634e487b7160e01b600052604160045260246000fd5b67ffffffffffffffff811161152b5760051b60200190565b81601f820112156114a65780359161157083611541565b9261157e6040519485611509565b808452602092838086019260051b8201019283116114a6578301905b8282106115a8575050505090565b8135815290830190830161159a565b81601f820112156114a65780359067ffffffffffffffff821161152b57604051926115ec601f8401601f191660200185611509565b828452602083830101116114a657816000926020809301838601378301015290565b90815180825260208080930193019160005b82811061162e575050505090565b835185529381019392810192600101611620565b6001600160a01b0360055416330361165657565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6001600160a01b03169081156116c757600052600060205260406000209060005260205260406000205490565b608460405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201527f616c6964206f776e6572000000000000000000000000000000000000000000006064820152fd5b9061173b82611541565b6117486040519182611509565b8281528092611759601f1991611541565b0190602036910137565b60001981146117725760010190565b634e487b7160e01b600052601160045260246000fd5b805182101561179c5760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b90600182811c921680156117e2575b60208310146117cc57565b634e487b7160e01b600052602260045260246000fd5b91607f16916117c1565b600090815260209060048252604081209060405190809183549281611810856117b2565b9182825287820196600196898882169182600014611a105750506001146119d2575b5061183f92500382611509565b80511561191757604051948593836003549161185a836117b2565b928181169081156118f65750600114611896575b50505050611884611893948392519384916114c1565b0103601f198101835282611509565b90565b909192969450600382527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b8383106118e05750505061189394611884918501019294388061186e565b80548984018901528896509187019181016118c2565b60ff191688860152505050801515028401019150611884611893388061186e565b506040516002549094935084928261192e836117b2565b808652928281169081156119b05750600114611954575b50505061189392500382611509565b600281527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace95935091905b8183106119985750506118939350820101388080611945565b8554878401850152948501948694509183019161197f565b9250505061189394925060ff191682840152151560051b820101388080611945565b915050835281868085208686915b8583106119f757505061183f935082010138611832565b80919294505483858801015201910187908685936119e0565b60ff19168a5261183f95151560051b85010192503891506118329050565b15611a3557565b608460405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152fd5b9190820180921161177257565b908160209103126114a657516001600160e01b0319811681036114a65790565b60009060033d11611ad957565b905060046000803e60005160e01c90565b600060443d1061189357604051600319913d83016004833e815167ffffffffffffffff918282113d602484011117611b4857818401948551938411611b50573d85010160208487010111611b48575061189392910160200190611509565b949350505050565b50949350505050565b604051906040820182811067ffffffffffffffff82111761152b576040526001825260208201602036823782511561179c575290565b90600082815260209060048252604081209083519067ffffffffffffffff8211611d0a57611bbd83546117b2565b601f8111611cc7575b508390601f8311600114611c4057907f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b9583611c35575b50508160011b916000199060031b1c19161790555b611c1b836117ec565b90611c306040519282849384528301906114e4565b0390a2565b015190503880611bfd565b91929394601f198416858452868420935b818110611cb057509160019391857f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b9897969410611c97575b505050811b019055611c12565b015160001960f88460031b161c19169055388080611c8a565b929387600181928786015181550195019301611c51565b838252848220601f840160051c810191868510611d00575b601f0160051c01905b818110611cf55750611bc6565b828155600101611ce8565b9091508190611cdf565b80634e487b7160e01b602492526041600452fd5b15611d2557565b608460405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152fd5b9091611da66118939360408452604084019061160e565b91602081840391015261160e565b15611dbb57565b608460405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fd5b15611e2c57565b608460405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152fdfea26469706673582212206b97b184abbb9cca1572aad908e38d0d13e7a2ec1234786a2cbc475ba91dfe0964736f6c63430008100033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.