ERC-1155
Overview
Max Total Supply
668 SWU
Holders
191
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
StandWithUkraine
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/utils/Counters.sol"; import './AbstractERC1155Factory.sol'; import "@openzeppelin/contracts/utils/Strings.sol"; contract StandWithUkraine is AbstractERC1155Factory { string ipfs; address multisig; uint256 endTime = 1646319600; uint256 cost = 60000000000000000; constructor( string memory _name, string memory _symbol, string memory _ipfs, address _multsig ) ERC1155("ipfs://") { name_ = _name; symbol_ = _symbol; ipfs = _ipfs; multisig = _multsig; } function setEndTime(uint256 _endTime) public onlyOwner { endTime = _endTime; } function mint(uint256 id, uint256 amount) public payable { require(block.timestamp <= endTime, "Mint: Not in mint window"); require(id < 6, "Mint: Invalid Id"); require(amount <= 99, "Mint: Limit is 99"); require(msg.value >= cost * amount, "Mint: Incorrect value"); (bool sent, bytes memory data) = multisig.call{value: msg.value}(""); require(sent, "Mint: Failed to send Ether"); _mint(msg.sender, id, amount, ""); } function mintAll(uint256 amount) public payable { require(block.timestamp <= endTime, "Mint: Not in mint window"); require(amount <= 99, "Mint: Limit is 99"); require(msg.value >= cost * amount * 6, "Mint: Incorrect value"); (bool sent, bytes memory data) = multisig.call{value: msg.value}(""); require(sent, "Mint: Failed to send Ether"); for (uint id = 0; id < 6; id++) { _mint(msg.sender, id, amount, ""); } } function uri(uint256 _id) public view override returns (string memory) { require(totalSupply(_id) > 0, "URI: nonexistent token"); return string(abi.encodePacked(ipfs, Strings.toString(_id))); } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.9; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol'; import '@openzeppelin/contracts/security/Pausable.sol'; import '@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol'; abstract contract AbstractERC1155Factory is Pausable, ERC1155Supply, ERC1155Burnable, Ownable { string public name_; string public symbol_; function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } function name() public view returns (string memory) { return name_; } function symbol() public view returns (string memory) { return symbol_; } function _mint( address account, uint256 id, uint256 amount, bytes memory data ) internal virtual override(ERC1155, ERC1155Supply) { super._mint(account, id, amount, data); } function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override(ERC1155, ERC1155Supply) { super._mintBatch(to, ids, amounts, data); } function _burn( address account, uint256 id, uint256 amount ) internal virtual override(ERC1155, ERC1155Supply) { super._burn(account, id, amount); } function _burnBatch( address account, uint256[] memory ids, uint256[] memory amounts ) internal virtual override(ERC1155, ERC1155Supply) { super._burnBatch(account, ids, amounts); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burnBatch(account, ids, values); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates weither any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_mint}. */ function _mint( address account, uint256 id, uint256 amount, bytes memory data ) internal virtual override { super._mint(account, id, amount, data); _totalSupply[id] += amount; } /** * @dev See {ERC1155-_mintBatch}. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._mintBatch(to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } /** * @dev See {ERC1155-_burn}. */ function _burn( address account, uint256 id, uint256 amount ) internal virtual override { super._burn(account, id, amount); _totalSupply[id] -= amount; } /** * @dev See {ERC1155-_burnBatch}. */ function _burnBatch( address account, uint256[] memory ids, uint256[] memory amounts ) internal virtual override { super._burnBatch(account, ids, amounts); for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] -= amounts[i]; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(_msgSender() != operator, "ERC1155: setting approval status for self"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`. * * Emits a {TransferSingle} event. * * Requirements: * * - `account` cannot be the zero address. * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address account, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(account != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][account] += amount; emit TransferSingle(operator, address(0), account, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `account` * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens of token type `id`. */ function _burn( address account, uint256 id, uint256 amount ) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } emit TransferSingle(operator, account, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address account, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } } emit TransferBatch(operator, account, address(0), ids, amounts); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver(to).onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver(to).onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_ipfs","type":"string"},{"internalType":"address","name":"_multsig","type":"address"}],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","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":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintAll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name_","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"_endTime","type":"uint256"}],"name":"setEndTime","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":[],"name":"symbol_","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052636220d7f0600a5566d529ae9e860000600b553480156200002457600080fd5b5060405162002b7e38038062002b7e8339810160408190526200004791620002d0565b604080518082019091526007815266697066733a2f2f60c81b60208201526000805460ff191690556200007a81620000f2565b5062000086336200010b565b83516200009b9060069060208701906200015d565b508251620000b19060079060208601906200015d565b508151620000c79060089060208501906200015d565b50600980546001600160a01b0319166001600160a01b039290921691909117905550620003c0915050565b8051620001079060039060208401906200015d565b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016b9062000383565b90600052602060002090601f0160209004810192826200018f5760008555620001da565b82601f10620001aa57805160ff1916838001178555620001da565b82800160010185558215620001da579182015b82811115620001da578251825591602001919060010190620001bd565b50620001e8929150620001ec565b5090565b5b80821115620001e85760008155600101620001ed565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200022b57600080fd5b81516001600160401b038082111562000248576200024862000203565b604051601f8301601f19908116603f0116810190828211818310171562000273576200027362000203565b816040528381526020925086838588010111156200029057600080fd5b600091505b83821015620002b4578582018301518183018401529082019062000295565b83821115620002c65760008385830101525b9695505050505050565b60008060008060808587031215620002e757600080fd5b84516001600160401b0380821115620002ff57600080fd5b6200030d8883890162000219565b955060208701519150808211156200032457600080fd5b620003328883890162000219565b945060408701519150808211156200034957600080fd5b50620003588782880162000219565b606087015190935090506001600160a01b03811681146200037857600080fd5b939692955090935050565b600181811c908216806200039857607f821691505b60208210811415620003ba57634e487b7160e01b600052602260045260246000fd5b50919050565b6127ae80620003d06000396000f3fe6080604052600436106101655760003560e01c8063715018a6116100d1578063bd85b0391161008a578063e985e9c511610064578063e985e9c5146103fe578063f242432a14610447578063f2fde38b14610467578063f5298aca1461048757600080fd5b8063bd85b0391461039c578063ccb98ffc146103c9578063e2b9e186146103e957600080fd5b8063715018a6146103005780638456cb59146103155780638da5cb5b1461032a57806395d89b4114610352578063a22cb46514610367578063af17dea61461038757600080fd5b80632eb2c2d6116101235780632eb2c2d6146102375780633f4ba83a146102575780634e1273f41461026c5780634f558e79146102995780635c975abb146102c85780636b20c454146102e057600080fd5b8062fdd58e1461016a57806301ffc9a71461019d57806306fdde03146101cd5780630e89341c146101ef5780631b2ef1ca1461020f57806328a09e9414610224575b600080fd5b34801561017657600080fd5b5061018a610185366004611c49565b6104a7565b6040519081526020015b60405180910390f35b3480156101a957600080fd5b506101bd6101b8366004611c89565b610540565b6040519015158152602001610194565b3480156101d957600080fd5b506101e2610592565b6040516101949190611d05565b3480156101fb57600080fd5b506101e261020a366004611d18565b610624565b61022261021d366004611d31565b6106ae565b005b610222610232366004611d18565b6108a1565b34801561024357600080fd5b50610222610252366004611e9f565b610a74565b34801561026357600080fd5b50610222610b0b565b34801561027857600080fd5b5061028c610287366004611f49565b610b3f565b604051610194919061204f565b3480156102a557600080fd5b506101bd6102b4366004611d18565b600090815260046020526040902054151590565b3480156102d457600080fd5b5060005460ff166101bd565b3480156102ec57600080fd5b506102226102fb366004612062565b610c69565b34801561030c57600080fd5b50610222610cb1565b34801561032157600080fd5b50610222610ce5565b34801561033657600080fd5b506005546040516001600160a01b039091168152602001610194565b34801561035e57600080fd5b506101e2610d17565b34801561037357600080fd5b506102226103823660046120d6565b610d26565b34801561039357600080fd5b506101e2610dfd565b3480156103a857600080fd5b5061018a6103b7366004611d18565b60009081526004602052604090205490565b3480156103d557600080fd5b506102226103e4366004611d18565b610e8b565b3480156103f557600080fd5b506101e2610eba565b34801561040a57600080fd5b506101bd610419366004612112565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b34801561045357600080fd5b50610222610462366004612145565b610ec7565b34801561047357600080fd5b506102226104823660046121aa565b610f0c565b34801561049357600080fd5b506102226104a23660046121c5565b610fa7565b60006001600160a01b0383166105185760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b5060009081526001602090815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061057157506001600160e01b031982166303a24d0760e21b145b8061058c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600680546105a1906121f8565b80601f01602080910402602001604051908101604052809291908181526020018280546105cd906121f8565b801561061a5780601f106105ef5761010080835404028352916020019161061a565b820191906000526020600020905b8154815290600101906020018083116105fd57829003601f168201915b5050505050905090565b6000818152600460205260408120546060911061067c5760405162461bcd60e51b81526020600482015260166024820152752aa9249d103737b732bc34b9ba32b73a103a37b5b2b760511b604482015260640161050f565b600861068783610fea565b60405160200161069892919061224f565b6040516020818303038152906040529050919050565b600a544211156106fb5760405162461bcd60e51b81526020600482015260186024820152774d696e743a204e6f7420696e206d696e742077696e646f7760401b604482015260640161050f565b6006821061073e5760405162461bcd60e51b815260206004820152601060248201526f135a5b9d0e88125b9d985b1a5908125960821b604482015260640161050f565b60638111156107835760405162461bcd60e51b81526020600482015260116024820152704d696e743a204c696d697420697320393960781b604482015260640161050f565b80600b54610791919061230c565b3410156107d85760405162461bcd60e51b81526020600482015260156024820152744d696e743a20496e636f72726563742076616c756560581b604482015260640161050f565b60095460405160009182916001600160a01b039091169034908381818185875af1925050503d8060008114610829576040519150601f19603f3d011682016040523d82523d6000602084013e61082e565b606091505b5091509150816108805760405162461bcd60e51b815260206004820152601a60248201527f4d696e743a204661696c656420746f2073656e64204574686572000000000000604482015260640161050f565b61089b338585604051806020016040528060008152506110f0565b50505050565b600a544211156108ee5760405162461bcd60e51b81526020600482015260186024820152774d696e743a204e6f7420696e206d696e742077696e646f7760401b604482015260640161050f565b60638111156109335760405162461bcd60e51b81526020600482015260116024820152704d696e743a204c696d697420697320393960781b604482015260640161050f565b80600b54610941919061230c565b61094c90600661230c565b3410156109935760405162461bcd60e51b81526020600482015260156024820152744d696e743a20496e636f72726563742076616c756560581b604482015260640161050f565b60095460405160009182916001600160a01b039091169034908381818185875af1925050503d80600081146109e4576040519150601f19603f3d011682016040523d82523d6000602084013e6109e9565b606091505b509150915081610a3b5760405162461bcd60e51b815260206004820152601a60248201527f4d696e743a204661696c656420746f2073656e64204574686572000000000000604482015260640161050f565b60005b600681101561089b57610a62338286604051806020016040528060008152506110f0565b80610a6c8161232b565b915050610a3e565b6001600160a01b038516331480610a905750610a908533610419565b610af75760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606482015260840161050f565b610b0485858585856110fc565b5050505050565b6005546001600160a01b03163314610b355760405162461bcd60e51b815260040161050f90612346565b610b3d61129b565b565b60608151835114610ba45760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b606482015260840161050f565b6000835167ffffffffffffffff811115610bc057610bc0611d53565b604051908082528060200260200182016040528015610be9578160200160208202803683370190505b50905060005b8451811015610c6157610c34858281518110610c0d57610c0d61237b565b6020026020010151858381518110610c2757610c2761237b565b60200260200101516104a7565b828281518110610c4657610c4661237b565b6020908102919091010152610c5a8161232b565b9050610bef565b509392505050565b6001600160a01b038316331480610c855750610c858333610419565b610ca15760405162461bcd60e51b815260040161050f90612391565b610cac83838361132e565b505050565b6005546001600160a01b03163314610cdb5760405162461bcd60e51b815260040161050f90612346565b610b3d6000611339565b6005546001600160a01b03163314610d0f5760405162461bcd60e51b815260040161050f90612346565b610b3d61138b565b6060600780546105a1906121f8565b336001600160a01b0383161415610d915760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b606482015260840161050f565b3360008181526002602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60078054610e0a906121f8565b80601f0160208091040260200160405190810160405280929190818152602001828054610e36906121f8565b8015610e835780601f10610e5857610100808354040283529160200191610e83565b820191906000526020600020905b815481529060010190602001808311610e6657829003601f168201915b505050505081565b6005546001600160a01b03163314610eb55760405162461bcd60e51b815260040161050f90612346565b600a55565b60068054610e0a906121f8565b6001600160a01b038516331480610ee35750610ee38533610419565b610eff5760405162461bcd60e51b815260040161050f90612391565b610b048585858585611406565b6005546001600160a01b03163314610f365760405162461bcd60e51b815260040161050f90612346565b6001600160a01b038116610f9b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161050f565b610fa481611339565b50565b6001600160a01b038316331480610fc35750610fc38333610419565b610fdf5760405162461bcd60e51b815260040161050f90612391565b610cac838383611530565b60608161100e5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561103857806110228161232b565b91506110319050600a836123f0565b9150611012565b60008167ffffffffffffffff81111561105357611053611d53565b6040519080825280601f01601f19166020018201604052801561107d576020820181803683370190505b5090505b84156110e857611092600183612404565b915061109f600a8661241b565b6110aa90603061242f565b60f81b8183815181106110bf576110bf61237b565b60200101906001600160f81b031916908160001a9053506110e1600a866123f0565b9450611081565b949350505050565b61089b8484848461153b565b815183511461111d5760405162461bcd60e51b815260040161050f90612447565b6001600160a01b0384166111435760405162461bcd60e51b815260040161050f9061248f565b3360005b845181101561122d5760008582815181106111645761116461237b565b6020026020010151905060008583815181106111825761118261237b565b60209081029190910181015160008481526001835260408082206001600160a01b038e1683529093529190912054909150818110156111d35760405162461bcd60e51b815260040161050f906124d4565b60008381526001602090815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061121290849061242f565b92505081905550505050806112269061232b565b9050611147565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161127d92919061251e565b60405180910390a4611293818787878787611570565b505050505050565b60005460ff166112e45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161050f565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610cac8383836116db565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005460ff16156113d15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161050f565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586113113390565b6001600160a01b03841661142c5760405162461bcd60e51b815260040161050f9061248f565b3361144581878761143c8861175d565b610b048861175d565b60008481526001602090815260408083206001600160a01b038a168452909152902054838110156114885760405162461bcd60e51b815260040161050f906124d4565b60008581526001602090815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906114c790849061242f565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46115278288888888886117a8565b50505050505050565b610cac838383611872565b611547848484846118a5565b6000838152600460205260408120805484929061156590849061242f565b909155505050505050565b6001600160a01b0384163b156112935760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906115b49089908990889088908890600401612543565b602060405180830381600087803b1580156115ce57600080fd5b505af19250505080156115fe575060408051601f3d908101601f191682019092526115fb918101906125a1565b60015b6116ab5761160a6125be565b806308c379a01415611644575061161f6125da565b8061162a5750611646565b8060405162461bcd60e51b815260040161050f9190611d05565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606482015260840161050f565b6001600160e01b0319811663bc197c8160e01b146115275760405162461bcd60e51b815260040161050f90612664565b6116e68383836119a8565b60005b825181101561089b578181815181106117045761170461237b565b6020026020010151600460008584815181106117225761172261237b565b6020026020010151815260200190815260200160002060008282546117479190612404565b9091555061175690508161232b565b90506116e9565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106117975761179761237b565b602090810291909101015292915050565b6001600160a01b0384163b156112935760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906117ec90899089908890889088906004016126ac565b602060405180830381600087803b15801561180657600080fd5b505af1925050508015611836575060408051601f3d908101601f19168201909252611833918101906125a1565b60015b6118425761160a6125be565b6001600160e01b0319811663f23a6e6160e01b146115275760405162461bcd60e51b815260040161050f90612664565b61187d838383611b27565b6000828152600460205260408120805483929061189b908490612404565b9091555050505050565b6001600160a01b0384166119055760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161050f565b336119168160008761143c8861175d565b60008481526001602090815260408083206001600160a01b03891684529091528120805485929061194890849061242f565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610b04816000878787876117a8565b6001600160a01b0383166119ce5760405162461bcd60e51b815260040161050f906126f1565b80518251146119ef5760405162461bcd60e51b815260040161050f90612447565b604080516020810190915260009081905233905b8351811015611ac8576000848281518110611a2057611a2061237b565b602002602001015190506000848381518110611a3e57611a3e61237b565b60209081029190910181015160008481526001835260408082206001600160a01b038c168352909352919091205490915081811015611a8f5760405162461bcd60e51b815260040161050f90612734565b60009283526001602090815260408085206001600160a01b038b1686529091529092209103905580611ac08161232b565b915050611a03565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611b1992919061251e565b60405180910390a450505050565b6001600160a01b038316611b4d5760405162461bcd60e51b815260040161050f906126f1565b33611b7d81856000611b5e8761175d565b611b678761175d565b5050604080516020810190915260009052505050565b60008381526001602090815260408083206001600160a01b038816845290915290205482811015611bc05760405162461bcd60e51b815260040161050f90612734565b60008481526001602090815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b80356001600160a01b0381168114611c4457600080fd5b919050565b60008060408385031215611c5c57600080fd5b611c6583611c2d565b946020939093013593505050565b6001600160e01b031981168114610fa457600080fd5b600060208284031215611c9b57600080fd5b8135611ca681611c73565b9392505050565b60005b83811015611cc8578181015183820152602001611cb0565b8381111561089b5750506000910152565b60008151808452611cf1816020860160208601611cad565b601f01601f19169290920160200192915050565b602081526000611ca66020830184611cd9565b600060208284031215611d2a57600080fd5b5035919050565b60008060408385031215611d4457600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715611d8f57611d8f611d53565b6040525050565b600067ffffffffffffffff821115611db057611db0611d53565b5060051b60200190565b600082601f830112611dcb57600080fd5b81356020611dd882611d96565b604051611de58282611d69565b83815260059390931b8501820192828101915086841115611e0557600080fd5b8286015b84811015611e205780358352918301918301611e09565b509695505050505050565b600082601f830112611e3c57600080fd5b813567ffffffffffffffff811115611e5657611e56611d53565b604051611e6d601f8301601f191660200182611d69565b818152846020838601011115611e8257600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215611eb757600080fd5b611ec086611c2d565b9450611ece60208701611c2d565b9350604086013567ffffffffffffffff80821115611eeb57600080fd5b611ef789838a01611dba565b94506060880135915080821115611f0d57600080fd5b611f1989838a01611dba565b93506080880135915080821115611f2f57600080fd5b50611f3c88828901611e2b565b9150509295509295909350565b60008060408385031215611f5c57600080fd5b823567ffffffffffffffff80821115611f7457600080fd5b818501915085601f830112611f8857600080fd5b81356020611f9582611d96565b604051611fa28282611d69565b83815260059390931b8501820192828101915089841115611fc257600080fd5b948201945b83861015611fe757611fd886611c2d565b82529482019490820190611fc7565b96505086013592505080821115611ffd57600080fd5b5061200a85828601611dba565b9150509250929050565b600081518084526020808501945080840160005b8381101561204457815187529582019590820190600101612028565b509495945050505050565b602081526000611ca66020830184612014565b60008060006060848603121561207757600080fd5b61208084611c2d565b9250602084013567ffffffffffffffff8082111561209d57600080fd5b6120a987838801611dba565b935060408601359150808211156120bf57600080fd5b506120cc86828701611dba565b9150509250925092565b600080604083850312156120e957600080fd5b6120f283611c2d565b91506020830135801515811461210757600080fd5b809150509250929050565b6000806040838503121561212557600080fd5b61212e83611c2d565b915061213c60208401611c2d565b90509250929050565b600080600080600060a0868803121561215d57600080fd5b61216686611c2d565b945061217460208701611c2d565b93506040860135925060608601359150608086013567ffffffffffffffff81111561219e57600080fd5b611f3c88828901611e2b565b6000602082840312156121bc57600080fd5b611ca682611c2d565b6000806000606084860312156121da57600080fd5b6121e384611c2d565b95602085013595506040909401359392505050565b600181811c9082168061220c57607f821691505b6020821081141561222d57634e487b7160e01b600052602260045260246000fd5b50919050565b60008151612245818560208601611cad565b9290920192915050565b600080845481600182811c91508083168061226b57607f831692505b602080841082141561228b57634e487b7160e01b86526022600452602486fd5b81801561229f57600181146122b0576122dd565b60ff198616895284890196506122dd565b60008b81526020902060005b868110156122d55781548b8201529085019083016122bc565b505084890196505b5050505050506122ed8185612233565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612326576123266122f6565b500290565b600060001982141561233f5761233f6122f6565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b6000826123ff576123ff6123da565b500490565b600082821015612416576124166122f6565b500390565b60008261242a5761242a6123da565b500690565b60008219821115612442576124426122f6565b500190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006125316040830185612014565b82810360208401526122ed8185612014565b6001600160a01b0386811682528516602082015260a06040820181905260009061256f90830186612014565b82810360608401526125818186612014565b905082810360808401526125958185611cd9565b98975050505050505050565b6000602082840312156125b357600080fd5b8151611ca681611c73565b600060033d11156125d75760046000803e5060005160e01c5b90565b600060443d10156125e85790565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561261857505050505090565b82850191508151818111156126305750505050505090565b843d870101602082850101111561264a5750505050505090565b61265960208286010187611d69565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906126e690830184611cd9565b979650505050505050565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b60608201526080019056fea26469706673582212209d1efae31f8857c4e4a97f66d321084fbed98f35b368e263de3e51953954591064736f6c63430008090033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000008a9ce756d38135dc018a6bb62b1a22ffce1153d000000000000000000000000000000000000000000000000000000000000000105374616e6457697468556b7261696e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000353575500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d644e745678506176557a365776574b754a34394233583776323674716b6d744a6457544e776165754a6d50432f00000000000000000000
Deployed Bytecode
0x6080604052600436106101655760003560e01c8063715018a6116100d1578063bd85b0391161008a578063e985e9c511610064578063e985e9c5146103fe578063f242432a14610447578063f2fde38b14610467578063f5298aca1461048757600080fd5b8063bd85b0391461039c578063ccb98ffc146103c9578063e2b9e186146103e957600080fd5b8063715018a6146103005780638456cb59146103155780638da5cb5b1461032a57806395d89b4114610352578063a22cb46514610367578063af17dea61461038757600080fd5b80632eb2c2d6116101235780632eb2c2d6146102375780633f4ba83a146102575780634e1273f41461026c5780634f558e79146102995780635c975abb146102c85780636b20c454146102e057600080fd5b8062fdd58e1461016a57806301ffc9a71461019d57806306fdde03146101cd5780630e89341c146101ef5780631b2ef1ca1461020f57806328a09e9414610224575b600080fd5b34801561017657600080fd5b5061018a610185366004611c49565b6104a7565b6040519081526020015b60405180910390f35b3480156101a957600080fd5b506101bd6101b8366004611c89565b610540565b6040519015158152602001610194565b3480156101d957600080fd5b506101e2610592565b6040516101949190611d05565b3480156101fb57600080fd5b506101e261020a366004611d18565b610624565b61022261021d366004611d31565b6106ae565b005b610222610232366004611d18565b6108a1565b34801561024357600080fd5b50610222610252366004611e9f565b610a74565b34801561026357600080fd5b50610222610b0b565b34801561027857600080fd5b5061028c610287366004611f49565b610b3f565b604051610194919061204f565b3480156102a557600080fd5b506101bd6102b4366004611d18565b600090815260046020526040902054151590565b3480156102d457600080fd5b5060005460ff166101bd565b3480156102ec57600080fd5b506102226102fb366004612062565b610c69565b34801561030c57600080fd5b50610222610cb1565b34801561032157600080fd5b50610222610ce5565b34801561033657600080fd5b506005546040516001600160a01b039091168152602001610194565b34801561035e57600080fd5b506101e2610d17565b34801561037357600080fd5b506102226103823660046120d6565b610d26565b34801561039357600080fd5b506101e2610dfd565b3480156103a857600080fd5b5061018a6103b7366004611d18565b60009081526004602052604090205490565b3480156103d557600080fd5b506102226103e4366004611d18565b610e8b565b3480156103f557600080fd5b506101e2610eba565b34801561040a57600080fd5b506101bd610419366004612112565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b34801561045357600080fd5b50610222610462366004612145565b610ec7565b34801561047357600080fd5b506102226104823660046121aa565b610f0c565b34801561049357600080fd5b506102226104a23660046121c5565b610fa7565b60006001600160a01b0383166105185760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b5060009081526001602090815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061057157506001600160e01b031982166303a24d0760e21b145b8061058c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600680546105a1906121f8565b80601f01602080910402602001604051908101604052809291908181526020018280546105cd906121f8565b801561061a5780601f106105ef5761010080835404028352916020019161061a565b820191906000526020600020905b8154815290600101906020018083116105fd57829003601f168201915b5050505050905090565b6000818152600460205260408120546060911061067c5760405162461bcd60e51b81526020600482015260166024820152752aa9249d103737b732bc34b9ba32b73a103a37b5b2b760511b604482015260640161050f565b600861068783610fea565b60405160200161069892919061224f565b6040516020818303038152906040529050919050565b600a544211156106fb5760405162461bcd60e51b81526020600482015260186024820152774d696e743a204e6f7420696e206d696e742077696e646f7760401b604482015260640161050f565b6006821061073e5760405162461bcd60e51b815260206004820152601060248201526f135a5b9d0e88125b9d985b1a5908125960821b604482015260640161050f565b60638111156107835760405162461bcd60e51b81526020600482015260116024820152704d696e743a204c696d697420697320393960781b604482015260640161050f565b80600b54610791919061230c565b3410156107d85760405162461bcd60e51b81526020600482015260156024820152744d696e743a20496e636f72726563742076616c756560581b604482015260640161050f565b60095460405160009182916001600160a01b039091169034908381818185875af1925050503d8060008114610829576040519150601f19603f3d011682016040523d82523d6000602084013e61082e565b606091505b5091509150816108805760405162461bcd60e51b815260206004820152601a60248201527f4d696e743a204661696c656420746f2073656e64204574686572000000000000604482015260640161050f565b61089b338585604051806020016040528060008152506110f0565b50505050565b600a544211156108ee5760405162461bcd60e51b81526020600482015260186024820152774d696e743a204e6f7420696e206d696e742077696e646f7760401b604482015260640161050f565b60638111156109335760405162461bcd60e51b81526020600482015260116024820152704d696e743a204c696d697420697320393960781b604482015260640161050f565b80600b54610941919061230c565b61094c90600661230c565b3410156109935760405162461bcd60e51b81526020600482015260156024820152744d696e743a20496e636f72726563742076616c756560581b604482015260640161050f565b60095460405160009182916001600160a01b039091169034908381818185875af1925050503d80600081146109e4576040519150601f19603f3d011682016040523d82523d6000602084013e6109e9565b606091505b509150915081610a3b5760405162461bcd60e51b815260206004820152601a60248201527f4d696e743a204661696c656420746f2073656e64204574686572000000000000604482015260640161050f565b60005b600681101561089b57610a62338286604051806020016040528060008152506110f0565b80610a6c8161232b565b915050610a3e565b6001600160a01b038516331480610a905750610a908533610419565b610af75760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606482015260840161050f565b610b0485858585856110fc565b5050505050565b6005546001600160a01b03163314610b355760405162461bcd60e51b815260040161050f90612346565b610b3d61129b565b565b60608151835114610ba45760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b606482015260840161050f565b6000835167ffffffffffffffff811115610bc057610bc0611d53565b604051908082528060200260200182016040528015610be9578160200160208202803683370190505b50905060005b8451811015610c6157610c34858281518110610c0d57610c0d61237b565b6020026020010151858381518110610c2757610c2761237b565b60200260200101516104a7565b828281518110610c4657610c4661237b565b6020908102919091010152610c5a8161232b565b9050610bef565b509392505050565b6001600160a01b038316331480610c855750610c858333610419565b610ca15760405162461bcd60e51b815260040161050f90612391565b610cac83838361132e565b505050565b6005546001600160a01b03163314610cdb5760405162461bcd60e51b815260040161050f90612346565b610b3d6000611339565b6005546001600160a01b03163314610d0f5760405162461bcd60e51b815260040161050f90612346565b610b3d61138b565b6060600780546105a1906121f8565b336001600160a01b0383161415610d915760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b606482015260840161050f565b3360008181526002602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60078054610e0a906121f8565b80601f0160208091040260200160405190810160405280929190818152602001828054610e36906121f8565b8015610e835780601f10610e5857610100808354040283529160200191610e83565b820191906000526020600020905b815481529060010190602001808311610e6657829003601f168201915b505050505081565b6005546001600160a01b03163314610eb55760405162461bcd60e51b815260040161050f90612346565b600a55565b60068054610e0a906121f8565b6001600160a01b038516331480610ee35750610ee38533610419565b610eff5760405162461bcd60e51b815260040161050f90612391565b610b048585858585611406565b6005546001600160a01b03163314610f365760405162461bcd60e51b815260040161050f90612346565b6001600160a01b038116610f9b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161050f565b610fa481611339565b50565b6001600160a01b038316331480610fc35750610fc38333610419565b610fdf5760405162461bcd60e51b815260040161050f90612391565b610cac838383611530565b60608161100e5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561103857806110228161232b565b91506110319050600a836123f0565b9150611012565b60008167ffffffffffffffff81111561105357611053611d53565b6040519080825280601f01601f19166020018201604052801561107d576020820181803683370190505b5090505b84156110e857611092600183612404565b915061109f600a8661241b565b6110aa90603061242f565b60f81b8183815181106110bf576110bf61237b565b60200101906001600160f81b031916908160001a9053506110e1600a866123f0565b9450611081565b949350505050565b61089b8484848461153b565b815183511461111d5760405162461bcd60e51b815260040161050f90612447565b6001600160a01b0384166111435760405162461bcd60e51b815260040161050f9061248f565b3360005b845181101561122d5760008582815181106111645761116461237b565b6020026020010151905060008583815181106111825761118261237b565b60209081029190910181015160008481526001835260408082206001600160a01b038e1683529093529190912054909150818110156111d35760405162461bcd60e51b815260040161050f906124d4565b60008381526001602090815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061121290849061242f565b92505081905550505050806112269061232b565b9050611147565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161127d92919061251e565b60405180910390a4611293818787878787611570565b505050505050565b60005460ff166112e45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161050f565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610cac8383836116db565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005460ff16156113d15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161050f565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586113113390565b6001600160a01b03841661142c5760405162461bcd60e51b815260040161050f9061248f565b3361144581878761143c8861175d565b610b048861175d565b60008481526001602090815260408083206001600160a01b038a168452909152902054838110156114885760405162461bcd60e51b815260040161050f906124d4565b60008581526001602090815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906114c790849061242f565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46115278288888888886117a8565b50505050505050565b610cac838383611872565b611547848484846118a5565b6000838152600460205260408120805484929061156590849061242f565b909155505050505050565b6001600160a01b0384163b156112935760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906115b49089908990889088908890600401612543565b602060405180830381600087803b1580156115ce57600080fd5b505af19250505080156115fe575060408051601f3d908101601f191682019092526115fb918101906125a1565b60015b6116ab5761160a6125be565b806308c379a01415611644575061161f6125da565b8061162a5750611646565b8060405162461bcd60e51b815260040161050f9190611d05565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606482015260840161050f565b6001600160e01b0319811663bc197c8160e01b146115275760405162461bcd60e51b815260040161050f90612664565b6116e68383836119a8565b60005b825181101561089b578181815181106117045761170461237b565b6020026020010151600460008584815181106117225761172261237b565b6020026020010151815260200190815260200160002060008282546117479190612404565b9091555061175690508161232b565b90506116e9565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106117975761179761237b565b602090810291909101015292915050565b6001600160a01b0384163b156112935760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906117ec90899089908890889088906004016126ac565b602060405180830381600087803b15801561180657600080fd5b505af1925050508015611836575060408051601f3d908101601f19168201909252611833918101906125a1565b60015b6118425761160a6125be565b6001600160e01b0319811663f23a6e6160e01b146115275760405162461bcd60e51b815260040161050f90612664565b61187d838383611b27565b6000828152600460205260408120805483929061189b908490612404565b9091555050505050565b6001600160a01b0384166119055760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161050f565b336119168160008761143c8861175d565b60008481526001602090815260408083206001600160a01b03891684529091528120805485929061194890849061242f565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610b04816000878787876117a8565b6001600160a01b0383166119ce5760405162461bcd60e51b815260040161050f906126f1565b80518251146119ef5760405162461bcd60e51b815260040161050f90612447565b604080516020810190915260009081905233905b8351811015611ac8576000848281518110611a2057611a2061237b565b602002602001015190506000848381518110611a3e57611a3e61237b565b60209081029190910181015160008481526001835260408082206001600160a01b038c168352909352919091205490915081811015611a8f5760405162461bcd60e51b815260040161050f90612734565b60009283526001602090815260408085206001600160a01b038b1686529091529092209103905580611ac08161232b565b915050611a03565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611b1992919061251e565b60405180910390a450505050565b6001600160a01b038316611b4d5760405162461bcd60e51b815260040161050f906126f1565b33611b7d81856000611b5e8761175d565b611b678761175d565b5050604080516020810190915260009052505050565b60008381526001602090815260408083206001600160a01b038816845290915290205482811015611bc05760405162461bcd60e51b815260040161050f90612734565b60008481526001602090815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b80356001600160a01b0381168114611c4457600080fd5b919050565b60008060408385031215611c5c57600080fd5b611c6583611c2d565b946020939093013593505050565b6001600160e01b031981168114610fa457600080fd5b600060208284031215611c9b57600080fd5b8135611ca681611c73565b9392505050565b60005b83811015611cc8578181015183820152602001611cb0565b8381111561089b5750506000910152565b60008151808452611cf1816020860160208601611cad565b601f01601f19169290920160200192915050565b602081526000611ca66020830184611cd9565b600060208284031215611d2a57600080fd5b5035919050565b60008060408385031215611d4457600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715611d8f57611d8f611d53565b6040525050565b600067ffffffffffffffff821115611db057611db0611d53565b5060051b60200190565b600082601f830112611dcb57600080fd5b81356020611dd882611d96565b604051611de58282611d69565b83815260059390931b8501820192828101915086841115611e0557600080fd5b8286015b84811015611e205780358352918301918301611e09565b509695505050505050565b600082601f830112611e3c57600080fd5b813567ffffffffffffffff811115611e5657611e56611d53565b604051611e6d601f8301601f191660200182611d69565b818152846020838601011115611e8257600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215611eb757600080fd5b611ec086611c2d565b9450611ece60208701611c2d565b9350604086013567ffffffffffffffff80821115611eeb57600080fd5b611ef789838a01611dba565b94506060880135915080821115611f0d57600080fd5b611f1989838a01611dba565b93506080880135915080821115611f2f57600080fd5b50611f3c88828901611e2b565b9150509295509295909350565b60008060408385031215611f5c57600080fd5b823567ffffffffffffffff80821115611f7457600080fd5b818501915085601f830112611f8857600080fd5b81356020611f9582611d96565b604051611fa28282611d69565b83815260059390931b8501820192828101915089841115611fc257600080fd5b948201945b83861015611fe757611fd886611c2d565b82529482019490820190611fc7565b96505086013592505080821115611ffd57600080fd5b5061200a85828601611dba565b9150509250929050565b600081518084526020808501945080840160005b8381101561204457815187529582019590820190600101612028565b509495945050505050565b602081526000611ca66020830184612014565b60008060006060848603121561207757600080fd5b61208084611c2d565b9250602084013567ffffffffffffffff8082111561209d57600080fd5b6120a987838801611dba565b935060408601359150808211156120bf57600080fd5b506120cc86828701611dba565b9150509250925092565b600080604083850312156120e957600080fd5b6120f283611c2d565b91506020830135801515811461210757600080fd5b809150509250929050565b6000806040838503121561212557600080fd5b61212e83611c2d565b915061213c60208401611c2d565b90509250929050565b600080600080600060a0868803121561215d57600080fd5b61216686611c2d565b945061217460208701611c2d565b93506040860135925060608601359150608086013567ffffffffffffffff81111561219e57600080fd5b611f3c88828901611e2b565b6000602082840312156121bc57600080fd5b611ca682611c2d565b6000806000606084860312156121da57600080fd5b6121e384611c2d565b95602085013595506040909401359392505050565b600181811c9082168061220c57607f821691505b6020821081141561222d57634e487b7160e01b600052602260045260246000fd5b50919050565b60008151612245818560208601611cad565b9290920192915050565b600080845481600182811c91508083168061226b57607f831692505b602080841082141561228b57634e487b7160e01b86526022600452602486fd5b81801561229f57600181146122b0576122dd565b60ff198616895284890196506122dd565b60008b81526020902060005b868110156122d55781548b8201529085019083016122bc565b505084890196505b5050505050506122ed8185612233565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612326576123266122f6565b500290565b600060001982141561233f5761233f6122f6565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b6000826123ff576123ff6123da565b500490565b600082821015612416576124166122f6565b500390565b60008261242a5761242a6123da565b500690565b60008219821115612442576124426122f6565b500190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006125316040830185612014565b82810360208401526122ed8185612014565b6001600160a01b0386811682528516602082015260a06040820181905260009061256f90830186612014565b82810360608401526125818186612014565b905082810360808401526125958185611cd9565b98975050505050505050565b6000602082840312156125b357600080fd5b8151611ca681611c73565b600060033d11156125d75760046000803e5060005160e01c5b90565b600060443d10156125e85790565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561261857505050505090565b82850191508151818111156126305750505050505090565b843d870101602082850101111561264a5750505050505090565b61265960208286010187611d69565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906126e690830184611cd9565b979650505050505050565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b60608201526080019056fea26469706673582212209d1efae31f8857c4e4a97f66d321084fbed98f35b368e263de3e51953954591064736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000008a9ce756d38135dc018a6bb62b1a22ffce1153d000000000000000000000000000000000000000000000000000000000000000105374616e6457697468556b7261696e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000353575500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d644e745678506176557a365776574b754a34394233583776323674716b6d744a6457544e776165754a6d50432f00000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): StandWithUkraine
Arg [1] : _symbol (string): SWU
Arg [2] : _ipfs (string): ipfs://QmdNtVxPavUz6WvWKuJ49B3X7v26tqkmtJdWTNwaeuJmPC/
Arg [3] : _multsig (address): 0x8a9Ce756D38135DC018a6bb62b1a22FFcE1153d0
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000008a9ce756d38135dc018a6bb62b1a22ffce1153d0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [5] : 5374616e6457697468556b7261696e6500000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 5357550000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [9] : 697066733a2f2f516d644e745678506176557a365776574b754a343942335837
Arg [10] : 76323674716b6d744a6457544e776165754a6d50432f00000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.