Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 38 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 15427508 | 1284 days ago | IN | 0 ETH | 0.00015965 | ||||
| Set Approval For... | 15427502 | 1284 days ago | IN | 0 ETH | 0.00016598 | ||||
| Set Price | 15209685 | 1318 days ago | IN | 0 ETH | 0.00036049 | ||||
| Set Price | 15209673 | 1318 days ago | IN | 0 ETH | 0.00015682 | ||||
| Set Max Dogs Per... | 15209673 | 1318 days ago | IN | 0 ETH | 0.0001888 | ||||
| Set Price | 15175131 | 1324 days ago | IN | 0 ETH | 0.00069513 | ||||
| Transfer Ownersh... | 15097344 | 1336 days ago | IN | 0 ETH | 0.0021293 | ||||
| Transfer Ownersh... | 15035291 | 1346 days ago | IN | 0 ETH | 0.00203105 | ||||
| Set Approval For... | 15002357 | 1352 days ago | IN | 0 ETH | 0.00135003 | ||||
| Set Approval For... | 14967648 | 1358 days ago | IN | 0 ETH | 0.00092522 | ||||
| Set Approval For... | 14864127 | 1376 days ago | IN | 0 ETH | 0.00087786 | ||||
| Set Price | 14744787 | 1395 days ago | IN | 0 ETH | 0.00192545 | ||||
| Gift Dogs | 14701290 | 1402 days ago | IN | 0 ETH | 0.00325184 | ||||
| Set Base URI | 14701072 | 1402 days ago | IN | 0 ETH | 0.00689332 | ||||
| Reveal | 14698595 | 1402 days ago | IN | 0 ETH | 0.00352021 | ||||
| Set Price | 14673053 | 1406 days ago | IN | 0 ETH | 0.00139421 | ||||
| Pause | 14658223 | 1408 days ago | IN | 0 ETH | 0.00086544 | ||||
| Set Max Dogs Per... | 14656605 | 1409 days ago | IN | 0 ETH | 0.00200879 | ||||
| Set Approval For... | 14623330 | 1414 days ago | IN | 0 ETH | 0.00719024 | ||||
| Transfer From | 14623164 | 1414 days ago | IN | 0 ETH | 0.00712394 | ||||
| Transfer From | 14623164 | 1414 days ago | IN | 0 ETH | 0.01487882 | ||||
| Transfer From | 14610397 | 1416 days ago | IN | 0 ETH | 0.00263986 | ||||
| Gift Dogs | 14574272 | 1422 days ago | IN | 0 ETH | 0.00748327 | ||||
| Set Price | 14574247 | 1422 days ago | IN | 0 ETH | 0.00118505 | ||||
| Pause | 14562362 | 1423 days ago | IN | 0 ETH | 0.00126792 |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
WarDogs
Compiler Version
v0.8.13+commit.abaa5c0e
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.13;
/*
::: ::: ::: ::::::::: ::::::::: :::::::: :::::::: ::::::::
:+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+:
+:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+
+#+ +:+ +#+ +#++:++#++: +#++:++#: +#+ +:+ +#+ +:+ :#: +#++:++#++
+#+ +#+#+ +#+ +#+ +#+ +#+ +#+ +#+ +#+ +#+ +#+ +#+ +#+# +#+
#+#+# #+#+# #+# #+# #+# #+# #+# #+# #+# #+# #+# #+# #+# #+#
### ### ### ### ### ### ######### ######## ######## ########
*/
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract WarDogs is ERC721, Ownable {
using Strings for uint256;
// Initial 14 dogs were minted at https://foundation.app/@MindOfOsh
uint256 public totalSupply = 14;
string private notRevealedURI;
string private baseURI;
uint256 public price = 0.4 ether;
uint256 public maxSupply = 497;
uint256 public maxDogsPerWallet = 2;
bool public paused = true;
bool public revealed = false;
constructor() ERC721("War Dogs", "WD") {
notRevealedURI = "ipfs://QmUyMPm2ncHJ1yknj5k6KjdsYwZ5SW68mQrnxtXeNf98SK";
for (uint256 i; i < 10; i++) {
totalSupply++;
_safeMint(msg.sender, totalSupply);
}
}
function mintDogs(uint256 _amount) external payable {
require(!paused, "Sale is inactive");
require(msg.value == _amount * price, "Insufficient ETH sent");
require(balanceOf(msg.sender) + _amount <= maxDogsPerWallet, "Only 2 dogs per wallet");
require(totalSupply + _amount <= maxSupply, "Exceeds max supply");
for (uint256 i; i < _amount; i++) {
totalSupply++;
_safeMint(msg.sender, totalSupply);
}
}
function setPrice(uint256 _price) public onlyOwner {
price = _price;
}
function pause(bool _paused) public onlyOwner {
paused = _paused;
}
function reveal() public onlyOwner {
revealed = true;
}
function setMaxDogsPerWallet(uint256 _amount) public onlyOwner {
maxDogsPerWallet = _amount;
}
function giftDogs(uint256 _amount, address _receiver) public onlyOwner {
require(totalSupply + _amount <= maxSupply, "Exceeds max supply");
for (uint256 i; i < _amount; i++) {
totalSupply++;
_safeMint(_receiver, totalSupply);
}
}
function setBaseURI(string memory newbaseURI) public onlyOwner {
baseURI = newbaseURI;
}
function withdraw() public onlyOwner {
(bool success, ) = msg.sender.call{value: address(this).balance}("");
require(success, "Failed to transfer Ether");
}
function _baseURI() internal view override returns (string memory) {
return baseURI;
}
function tokenURI(uint256 tokenId)
public
view
virtual
override
returns (string memory)
{
require(_exists(tokenId), "Nonexistent token");
if(!revealed) {
return string(abi.encodePacked(notRevealedURI, "/", tokenId.toString(), ".json"));
}
return string(abi.encodePacked(baseURI, "/", tokenId.toString(), ".json"));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev 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 {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping(uint256 => address) private _owners;
// Mapping owner address to token count
mapping(address => uint256) private _balances;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: owner query for nonexistent token");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
require(_exists(tokenId), "ERC721: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
_setApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_safeTransfer(from, to, tokenId, _data);
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* `_data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(
address from,
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, _data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
_afterTokenTransfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
_afterTokenTransfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
_afterTokenTransfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Emits a {ApprovalForAll} event.
*/
function _setApprovalForAll(
address owner,
address operator,
bool approved
) internal virtual {
require(owner != operator, "ERC721: approve to caller");
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver.onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"giftDogs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDogsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintDogs","outputs":[],"stateMutability":"payable","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newbaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxDogsPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080604052600e60075567058d15e176280000600a556101f1600b556002600c55600d805461ffff191660011790553480156200003b57600080fd5b50604080518082018252600881526757617220446f677360c01b60208083019182528351808501909452600284526115d160f21b9084015281519192916200008691600091620004e9565b5080516200009c906001906020840190620004e9565b505050620000b9620000b36200013e60201b60201c565b62000142565b6040518060600160405280603581526020016200258c603591398051620000e991600891602090910190620004e9565b5060005b600a8110156200013757600780549060006200010983620005a5565b919050555062000122336007546200019460201b60201c565b806200012e81620005a5565b915050620000ed565b50620006c6565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001b6828260405180602001604052806000815250620001ba60201b60201c565b5050565b620001c6838362000236565b620001d560008484846200037e565b620002315760405162461bcd60e51b815260206004820152603260248201526000805160206200256c83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084015b60405180910390fd5b505050565b6001600160a01b0382166200028e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640162000228565b6000818152600260205260409020546001600160a01b031615620002f55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162000228565b6001600160a01b038216600090815260036020526040812080546001929062000320908490620005c1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006200039f846001600160a01b0316620004da60201b62000f591760201c565b15620004ce57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290620003d9903390899088908890600401620005dc565b6020604051808303816000875af192505050801562000417575060408051601f3d908101601f19168201909252620004149181019062000657565b60015b620004b3573d80801562000448576040519150601f19603f3d011682016040523d82523d6000602084013e6200044d565b606091505b508051600003620004ab5760405162461bcd60e51b815260206004820152603260248201526000805160206200256c83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840162000228565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050620004d2565b5060015b949350505050565b6001600160a01b03163b151590565b828054620004f7906200068a565b90600052602060002090601f0160209004810192826200051b576000855562000566565b82601f106200053657805160ff191683800117855562000566565b8280016001018555821562000566579182015b828111156200056657825182559160200191906001019062000549565b506200057492915062000578565b5090565b5b8082111562000574576000815560010162000579565b634e487b7160e01b600052601160045260246000fd5b600060018201620005ba57620005ba6200058f565b5060010190565b60008219821115620005d757620005d76200058f565b500190565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b828110156200062b5785810182015185820160a0015281016200060d565b828111156200063e57600060a084870101525b5050601f01601f19169190910160a00195945050505050565b6000602082840312156200066a57600080fd5b81516001600160e01b0319811681146200068357600080fd5b9392505050565b600181811c908216806200069f57607f821691505b602082108103620006c057634e487b7160e01b600052602260045260246000fd5b50919050565b611e9680620006d66000396000f3fe6080604052600436106101cd5760003560e01c806370a08231116100f7578063a035b1fe11610095578063c87b56dd11610064578063c87b56dd146104f1578063d5abeb0114610511578063e985e9c514610527578063f2fde38b1461057057600080fd5b8063a035b1fe14610486578063a22cb4651461049c578063a475b5dd146104bc578063b88d4fde146104d157600080fd5b80638da5cb5b116100d15780638da5cb5b1461041357806391b7f5ed1461043157806395d89b41146104515780639bed30be1461046657600080fd5b806370a08231146103cb578063715018a6146103eb578063860506071461040057600080fd5b806323b872dd1161016f578063518302271161013e578063518302271461035257806355f804b3146103715780635c975abb146103915780636352211e146103ab57600080fd5b806323b872dd146102e75780633ccfd60b1461030757806342842e0e1461031c5780634c82bd151461033c57600080fd5b8063081812fc116101ab578063081812fc1461024b578063095ea7b31461028357806318160ddd146102a3578063185db6eb146102c757600080fd5b806301ffc9a7146101d257806302329a291461020757806306fdde0314610229575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046117fc565b610590565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b50610227610222366004611835565b6105e2565b005b34801561023557600080fd5b5061023e610628565b6040516101fe91906118a8565b34801561025757600080fd5b5061026b6102663660046118bb565b6106ba565b6040516001600160a01b0390911681526020016101fe565b34801561028f57600080fd5b5061022761029e3660046118eb565b61074f565b3480156102af57600080fd5b506102b960075481565b6040519081526020016101fe565b3480156102d357600080fd5b506102276102e23660046118bb565b610864565b3480156102f357600080fd5b50610227610302366004611915565b610893565b34801561031357600080fd5b506102276108c4565b34801561032857600080fd5b50610227610337366004611915565b610989565b34801561034857600080fd5b506102b9600c5481565b34801561035e57600080fd5b50600d546101f290610100900460ff1681565b34801561037d57600080fd5b5061022761038c3660046119dd565b6109a4565b34801561039d57600080fd5b50600d546101f29060ff1681565b3480156103b757600080fd5b5061026b6103c63660046118bb565b6109e5565b3480156103d757600080fd5b506102b96103e6366004611a26565b610a5c565b3480156103f757600080fd5b50610227610ae3565b61022761040e3660046118bb565b610b19565b34801561041f57600080fd5b506006546001600160a01b031661026b565b34801561043d57600080fd5b5061022761044c3660046118bb565b610ca2565b34801561045d57600080fd5b5061023e610cd1565b34801561047257600080fd5b50610227610481366004611a41565b610ce0565b34801561049257600080fd5b506102b9600a5481565b3480156104a857600080fd5b506102276104b7366004611a6d565b610d9c565b3480156104c857600080fd5b50610227610da7565b3480156104dd57600080fd5b506102276104ec366004611a97565b610de2565b3480156104fd57600080fd5b5061023e61050c3660046118bb565b610e1a565b34801561051d57600080fd5b506102b9600b5481565b34801561053357600080fd5b506101f2610542366004611b13565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561057c57600080fd5b5061022761058b366004611a26565b610ec1565b60006001600160e01b031982166380ac58cd60e01b14806105c157506001600160e01b03198216635b5e139f60e01b145b806105dc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b031633146106155760405162461bcd60e51b815260040161060c90611b3d565b60405180910390fd5b600d805460ff1916911515919091179055565b60606000805461063790611b72565b80601f016020809104026020016040519081016040528092919081815260200182805461066390611b72565b80156106b05780601f10610685576101008083540402835291602001916106b0565b820191906000526020600020905b81548152906001019060200180831161069357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107335760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161060c565b506000908152600460205260409020546001600160a01b031690565b600061075a826109e5565b9050806001600160a01b0316836001600160a01b0316036107c75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161060c565b336001600160a01b03821614806107e357506107e38133610542565b6108555760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161060c565b61085f8383610f68565b505050565b6006546001600160a01b0316331461088e5760405162461bcd60e51b815260040161060c90611b3d565b600c55565b61089d3382610fd6565b6108b95760405162461bcd60e51b815260040161060c90611bac565b61085f8383836110cd565b6006546001600160a01b031633146108ee5760405162461bcd60e51b815260040161060c90611b3d565b604051600090339047908381818185875af1925050503d8060008114610930576040519150601f19603f3d011682016040523d82523d6000602084013e610935565b606091505b50509050806109865760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f207472616e736665722045746865720000000000000000604482015260640161060c565b50565b61085f83838360405180602001604052806000815250610de2565b6006546001600160a01b031633146109ce5760405162461bcd60e51b815260040161060c90611b3d565b80516109e190600990602084019061174d565b5050565b6000818152600260205260408120546001600160a01b0316806105dc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161060c565b60006001600160a01b038216610ac75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161060c565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610b0d5760405162461bcd60e51b815260040161060c90611b3d565b610b176000611269565b565b600d5460ff1615610b5f5760405162461bcd60e51b815260206004820152601060248201526f53616c6520697320696e61637469766560801b604482015260640161060c565b600a54610b6c9082611c13565b3414610bb25760405162461bcd60e51b8152602060048201526015602482015274125b9cdd59999a58da595b9d08115512081cd95b9d605a1b604482015260640161060c565b600c5481610bbf33610a5c565b610bc99190611c32565b1115610c105760405162461bcd60e51b815260206004820152601660248201527513db9b1e480c88191bd9dcc81c195c881dd85b1b195d60521b604482015260640161060c565b600b5481600754610c219190611c32565b1115610c645760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b604482015260640161060c565b60005b818110156109e15760078054906000610c7f83611c4a565b9190505550610c90336007546112bb565b80610c9a81611c4a565b915050610c67565b6006546001600160a01b03163314610ccc5760405162461bcd60e51b815260040161060c90611b3d565b600a55565b60606001805461063790611b72565b6006546001600160a01b03163314610d0a5760405162461bcd60e51b815260040161060c90611b3d565b600b5482600754610d1b9190611c32565b1115610d5e5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b604482015260640161060c565b60005b8281101561085f5760078054906000610d7983611c4a565b9190505550610d8a826007546112bb565b80610d9481611c4a565b915050610d61565b6109e13383836112d5565b6006546001600160a01b03163314610dd15760405162461bcd60e51b815260040161060c90611b3d565b600d805461ff001916610100179055565b610dec3383610fd6565b610e085760405162461bcd60e51b815260040161060c90611bac565b610e14848484846113a3565b50505050565b6000818152600260205260409020546060906001600160a01b0316610e755760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b604482015260640161060c565b600d54610100900460ff16610eb6576008610e8f836113d6565b604051602001610ea0929190611c7f565b6040516020818303038152906040529050919050565b6009610e8f836113d6565b6006546001600160a01b03163314610eeb5760405162461bcd60e51b815260040161060c90611b3d565b6001600160a01b038116610f505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161060c565b61098681611269565b6001600160a01b03163b151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f9d826109e5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661104f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161060c565b600061105a836109e5565b9050806001600160a01b0316846001600160a01b031614806110955750836001600160a01b031661108a846106ba565b6001600160a01b0316145b806110c557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166110e0826109e5565b6001600160a01b0316146111445760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161060c565b6001600160a01b0382166111a65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161060c565b6111b1600082610f68565b6001600160a01b03831660009081526003602052604081208054600192906111da908490611d49565b90915550506001600160a01b0382166000908152600360205260408120805460019290611208908490611c32565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6109e18282604051806020016040528060008152506114d7565b816001600160a01b0316836001600160a01b0316036113365760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161060c565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6113ae8484846110cd565b6113ba8484848461150a565b610e145760405162461bcd60e51b815260040161060c90611d60565b6060816000036113fd5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611427578061141181611c4a565b91506114209050600a83611dc8565b9150611401565b60008167ffffffffffffffff81111561144257611442611951565b6040519080825280601f01601f19166020018201604052801561146c576020820181803683370190505b5090505b84156110c557611481600183611d49565b915061148e600a86611ddc565b611499906030611c32565b60f81b8183815181106114ae576114ae611df0565b60200101906001600160f81b031916908160001a9053506114d0600a86611dc8565b9450611470565b6114e1838361160b565b6114ee600084848461150a565b61085f5760405162461bcd60e51b815260040161060c90611d60565b60006001600160a01b0384163b1561160057604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061154e903390899088908890600401611e06565b6020604051808303816000875af1925050508015611589575060408051601f3d908101601f1916820190925261158691810190611e43565b60015b6115e6573d8080156115b7576040519150601f19603f3d011682016040523d82523d6000602084013e6115bc565b606091505b5080516000036115de5760405162461bcd60e51b815260040161060c90611d60565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110c5565b506001949350505050565b6001600160a01b0382166116615760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161060c565b6000818152600260205260409020546001600160a01b0316156116c65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161060c565b6001600160a01b03821660009081526003602052604081208054600192906116ef908490611c32565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461175990611b72565b90600052602060002090601f01602090048101928261177b57600085556117c1565b82601f1061179457805160ff19168380011785556117c1565b828001600101855582156117c1579182015b828111156117c15782518255916020019190600101906117a6565b506117cd9291506117d1565b5090565b5b808211156117cd57600081556001016117d2565b6001600160e01b03198116811461098657600080fd5b60006020828403121561180e57600080fd5b8135611819816117e6565b9392505050565b8035801515811461183057600080fd5b919050565b60006020828403121561184757600080fd5b61181982611820565b60005b8381101561186b578181015183820152602001611853565b83811115610e145750506000910152565b60008151808452611894816020860160208601611850565b601f01601f19169290920160200192915050565b602081526000611819602083018461187c565b6000602082840312156118cd57600080fd5b5035919050565b80356001600160a01b038116811461183057600080fd5b600080604083850312156118fe57600080fd5b611907836118d4565b946020939093013593505050565b60008060006060848603121561192a57600080fd5b611933846118d4565b9250611941602085016118d4565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561198257611982611951565b604051601f8501601f19908116603f011681019082821181831017156119aa576119aa611951565b816040528093508581528686860111156119c357600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119ef57600080fd5b813567ffffffffffffffff811115611a0657600080fd5b8201601f81018413611a1757600080fd5b6110c584823560208401611967565b600060208284031215611a3857600080fd5b611819826118d4565b60008060408385031215611a5457600080fd5b82359150611a64602084016118d4565b90509250929050565b60008060408385031215611a8057600080fd5b611a89836118d4565b9150611a6460208401611820565b60008060008060808587031215611aad57600080fd5b611ab6856118d4565b9350611ac4602086016118d4565b925060408501359150606085013567ffffffffffffffff811115611ae757600080fd5b8501601f81018713611af857600080fd5b611b0787823560208401611967565b91505092959194509250565b60008060408385031215611b2657600080fd5b611b2f836118d4565b9150611a64602084016118d4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611b8657607f821691505b602082108103611ba657634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611c2d57611c2d611bfd565b500290565b60008219821115611c4557611c45611bfd565b500190565b600060018201611c5c57611c5c611bfd565b5060010190565b60008151611c75818560208601611850565b9290920192915050565b600080845481600182811c915080831680611c9b57607f831692505b60208084108203611cba57634e487b7160e01b86526022600452602486fd5b818015611cce5760018114611cdf57611d0c565b60ff19861689528489019650611d0c565b60008b81526020902060005b86811015611d045781548b820152908501908301611ceb565b505084890196505b505050505050611d40611d2f611d2983602f60f81b815260010190565b86611c63565b64173539b7b760d91b815260050190565b95945050505050565b600082821015611d5b57611d5b611bfd565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082611dd757611dd7611db2565b500490565b600082611deb57611deb611db2565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e399083018461187c565b9695505050505050565b600060208284031215611e5557600080fd5b8151611819816117e656fea26469706673582212200f75280f21fc62378a4b065cbba00c0a32f0ff751768f4076f0a9a4df104008864736f6c634300080d00334552433732313a207472616e7366657220746f206e6f6e204552433732315265697066733a2f2f516d55794d506d326e63484a31796b6e6a356b364b6a647359775a35535736386d51726e787458654e663938534b
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c806370a08231116100f7578063a035b1fe11610095578063c87b56dd11610064578063c87b56dd146104f1578063d5abeb0114610511578063e985e9c514610527578063f2fde38b1461057057600080fd5b8063a035b1fe14610486578063a22cb4651461049c578063a475b5dd146104bc578063b88d4fde146104d157600080fd5b80638da5cb5b116100d15780638da5cb5b1461041357806391b7f5ed1461043157806395d89b41146104515780639bed30be1461046657600080fd5b806370a08231146103cb578063715018a6146103eb578063860506071461040057600080fd5b806323b872dd1161016f578063518302271161013e578063518302271461035257806355f804b3146103715780635c975abb146103915780636352211e146103ab57600080fd5b806323b872dd146102e75780633ccfd60b1461030757806342842e0e1461031c5780634c82bd151461033c57600080fd5b8063081812fc116101ab578063081812fc1461024b578063095ea7b31461028357806318160ddd146102a3578063185db6eb146102c757600080fd5b806301ffc9a7146101d257806302329a291461020757806306fdde0314610229575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046117fc565b610590565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b50610227610222366004611835565b6105e2565b005b34801561023557600080fd5b5061023e610628565b6040516101fe91906118a8565b34801561025757600080fd5b5061026b6102663660046118bb565b6106ba565b6040516001600160a01b0390911681526020016101fe565b34801561028f57600080fd5b5061022761029e3660046118eb565b61074f565b3480156102af57600080fd5b506102b960075481565b6040519081526020016101fe565b3480156102d357600080fd5b506102276102e23660046118bb565b610864565b3480156102f357600080fd5b50610227610302366004611915565b610893565b34801561031357600080fd5b506102276108c4565b34801561032857600080fd5b50610227610337366004611915565b610989565b34801561034857600080fd5b506102b9600c5481565b34801561035e57600080fd5b50600d546101f290610100900460ff1681565b34801561037d57600080fd5b5061022761038c3660046119dd565b6109a4565b34801561039d57600080fd5b50600d546101f29060ff1681565b3480156103b757600080fd5b5061026b6103c63660046118bb565b6109e5565b3480156103d757600080fd5b506102b96103e6366004611a26565b610a5c565b3480156103f757600080fd5b50610227610ae3565b61022761040e3660046118bb565b610b19565b34801561041f57600080fd5b506006546001600160a01b031661026b565b34801561043d57600080fd5b5061022761044c3660046118bb565b610ca2565b34801561045d57600080fd5b5061023e610cd1565b34801561047257600080fd5b50610227610481366004611a41565b610ce0565b34801561049257600080fd5b506102b9600a5481565b3480156104a857600080fd5b506102276104b7366004611a6d565b610d9c565b3480156104c857600080fd5b50610227610da7565b3480156104dd57600080fd5b506102276104ec366004611a97565b610de2565b3480156104fd57600080fd5b5061023e61050c3660046118bb565b610e1a565b34801561051d57600080fd5b506102b9600b5481565b34801561053357600080fd5b506101f2610542366004611b13565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561057c57600080fd5b5061022761058b366004611a26565b610ec1565b60006001600160e01b031982166380ac58cd60e01b14806105c157506001600160e01b03198216635b5e139f60e01b145b806105dc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b031633146106155760405162461bcd60e51b815260040161060c90611b3d565b60405180910390fd5b600d805460ff1916911515919091179055565b60606000805461063790611b72565b80601f016020809104026020016040519081016040528092919081815260200182805461066390611b72565b80156106b05780601f10610685576101008083540402835291602001916106b0565b820191906000526020600020905b81548152906001019060200180831161069357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107335760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161060c565b506000908152600460205260409020546001600160a01b031690565b600061075a826109e5565b9050806001600160a01b0316836001600160a01b0316036107c75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161060c565b336001600160a01b03821614806107e357506107e38133610542565b6108555760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161060c565b61085f8383610f68565b505050565b6006546001600160a01b0316331461088e5760405162461bcd60e51b815260040161060c90611b3d565b600c55565b61089d3382610fd6565b6108b95760405162461bcd60e51b815260040161060c90611bac565b61085f8383836110cd565b6006546001600160a01b031633146108ee5760405162461bcd60e51b815260040161060c90611b3d565b604051600090339047908381818185875af1925050503d8060008114610930576040519150601f19603f3d011682016040523d82523d6000602084013e610935565b606091505b50509050806109865760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f207472616e736665722045746865720000000000000000604482015260640161060c565b50565b61085f83838360405180602001604052806000815250610de2565b6006546001600160a01b031633146109ce5760405162461bcd60e51b815260040161060c90611b3d565b80516109e190600990602084019061174d565b5050565b6000818152600260205260408120546001600160a01b0316806105dc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161060c565b60006001600160a01b038216610ac75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161060c565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610b0d5760405162461bcd60e51b815260040161060c90611b3d565b610b176000611269565b565b600d5460ff1615610b5f5760405162461bcd60e51b815260206004820152601060248201526f53616c6520697320696e61637469766560801b604482015260640161060c565b600a54610b6c9082611c13565b3414610bb25760405162461bcd60e51b8152602060048201526015602482015274125b9cdd59999a58da595b9d08115512081cd95b9d605a1b604482015260640161060c565b600c5481610bbf33610a5c565b610bc99190611c32565b1115610c105760405162461bcd60e51b815260206004820152601660248201527513db9b1e480c88191bd9dcc81c195c881dd85b1b195d60521b604482015260640161060c565b600b5481600754610c219190611c32565b1115610c645760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b604482015260640161060c565b60005b818110156109e15760078054906000610c7f83611c4a565b9190505550610c90336007546112bb565b80610c9a81611c4a565b915050610c67565b6006546001600160a01b03163314610ccc5760405162461bcd60e51b815260040161060c90611b3d565b600a55565b60606001805461063790611b72565b6006546001600160a01b03163314610d0a5760405162461bcd60e51b815260040161060c90611b3d565b600b5482600754610d1b9190611c32565b1115610d5e5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b604482015260640161060c565b60005b8281101561085f5760078054906000610d7983611c4a565b9190505550610d8a826007546112bb565b80610d9481611c4a565b915050610d61565b6109e13383836112d5565b6006546001600160a01b03163314610dd15760405162461bcd60e51b815260040161060c90611b3d565b600d805461ff001916610100179055565b610dec3383610fd6565b610e085760405162461bcd60e51b815260040161060c90611bac565b610e14848484846113a3565b50505050565b6000818152600260205260409020546060906001600160a01b0316610e755760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b604482015260640161060c565b600d54610100900460ff16610eb6576008610e8f836113d6565b604051602001610ea0929190611c7f565b6040516020818303038152906040529050919050565b6009610e8f836113d6565b6006546001600160a01b03163314610eeb5760405162461bcd60e51b815260040161060c90611b3d565b6001600160a01b038116610f505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161060c565b61098681611269565b6001600160a01b03163b151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f9d826109e5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661104f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161060c565b600061105a836109e5565b9050806001600160a01b0316846001600160a01b031614806110955750836001600160a01b031661108a846106ba565b6001600160a01b0316145b806110c557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166110e0826109e5565b6001600160a01b0316146111445760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161060c565b6001600160a01b0382166111a65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161060c565b6111b1600082610f68565b6001600160a01b03831660009081526003602052604081208054600192906111da908490611d49565b90915550506001600160a01b0382166000908152600360205260408120805460019290611208908490611c32565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6109e18282604051806020016040528060008152506114d7565b816001600160a01b0316836001600160a01b0316036113365760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161060c565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6113ae8484846110cd565b6113ba8484848461150a565b610e145760405162461bcd60e51b815260040161060c90611d60565b6060816000036113fd5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611427578061141181611c4a565b91506114209050600a83611dc8565b9150611401565b60008167ffffffffffffffff81111561144257611442611951565b6040519080825280601f01601f19166020018201604052801561146c576020820181803683370190505b5090505b84156110c557611481600183611d49565b915061148e600a86611ddc565b611499906030611c32565b60f81b8183815181106114ae576114ae611df0565b60200101906001600160f81b031916908160001a9053506114d0600a86611dc8565b9450611470565b6114e1838361160b565b6114ee600084848461150a565b61085f5760405162461bcd60e51b815260040161060c90611d60565b60006001600160a01b0384163b1561160057604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061154e903390899088908890600401611e06565b6020604051808303816000875af1925050508015611589575060408051601f3d908101601f1916820190925261158691810190611e43565b60015b6115e6573d8080156115b7576040519150601f19603f3d011682016040523d82523d6000602084013e6115bc565b606091505b5080516000036115de5760405162461bcd60e51b815260040161060c90611d60565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110c5565b506001949350505050565b6001600160a01b0382166116615760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161060c565b6000818152600260205260409020546001600160a01b0316156116c65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161060c565b6001600160a01b03821660009081526003602052604081208054600192906116ef908490611c32565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461175990611b72565b90600052602060002090601f01602090048101928261177b57600085556117c1565b82601f1061179457805160ff19168380011785556117c1565b828001600101855582156117c1579182015b828111156117c15782518255916020019190600101906117a6565b506117cd9291506117d1565b5090565b5b808211156117cd57600081556001016117d2565b6001600160e01b03198116811461098657600080fd5b60006020828403121561180e57600080fd5b8135611819816117e6565b9392505050565b8035801515811461183057600080fd5b919050565b60006020828403121561184757600080fd5b61181982611820565b60005b8381101561186b578181015183820152602001611853565b83811115610e145750506000910152565b60008151808452611894816020860160208601611850565b601f01601f19169290920160200192915050565b602081526000611819602083018461187c565b6000602082840312156118cd57600080fd5b5035919050565b80356001600160a01b038116811461183057600080fd5b600080604083850312156118fe57600080fd5b611907836118d4565b946020939093013593505050565b60008060006060848603121561192a57600080fd5b611933846118d4565b9250611941602085016118d4565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561198257611982611951565b604051601f8501601f19908116603f011681019082821181831017156119aa576119aa611951565b816040528093508581528686860111156119c357600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119ef57600080fd5b813567ffffffffffffffff811115611a0657600080fd5b8201601f81018413611a1757600080fd5b6110c584823560208401611967565b600060208284031215611a3857600080fd5b611819826118d4565b60008060408385031215611a5457600080fd5b82359150611a64602084016118d4565b90509250929050565b60008060408385031215611a8057600080fd5b611a89836118d4565b9150611a6460208401611820565b60008060008060808587031215611aad57600080fd5b611ab6856118d4565b9350611ac4602086016118d4565b925060408501359150606085013567ffffffffffffffff811115611ae757600080fd5b8501601f81018713611af857600080fd5b611b0787823560208401611967565b91505092959194509250565b60008060408385031215611b2657600080fd5b611b2f836118d4565b9150611a64602084016118d4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611b8657607f821691505b602082108103611ba657634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611c2d57611c2d611bfd565b500290565b60008219821115611c4557611c45611bfd565b500190565b600060018201611c5c57611c5c611bfd565b5060010190565b60008151611c75818560208601611850565b9290920192915050565b600080845481600182811c915080831680611c9b57607f831692505b60208084108203611cba57634e487b7160e01b86526022600452602486fd5b818015611cce5760018114611cdf57611d0c565b60ff19861689528489019650611d0c565b60008b81526020902060005b86811015611d045781548b820152908501908301611ceb565b505084890196505b505050505050611d40611d2f611d2983602f60f81b815260010190565b86611c63565b64173539b7b760d91b815260050190565b95945050505050565b600082821015611d5b57611d5b611bfd565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082611dd757611dd7611db2565b500490565b600082611deb57611deb611db2565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e399083018461187c565b9695505050505050565b600060208284031215611e5557600080fd5b8151611819816117e656fea26469706673582212200f75280f21fc62378a4b065cbba00c0a32f0ff751768f4076f0a9a4df104008864736f6c634300080d0033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.