Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Overview
ETH Balance
0.046 ETH
Eth Value
$94.13 (@ $2,046.34/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 44 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 13977321 | 1521 days ago | IN | 0 ETH | 0.01118374 | ||||
| Airdrop | 13489360 | 1598 days ago | IN | 0 ETH | 0.00615891 | ||||
| Set Start Time | 13489088 | 1598 days ago | IN | 0 ETH | 0.00316664 | ||||
| Mint | 13489016 | 1598 days ago | IN | 0.08 ETH | 0.04277687 | ||||
| Set Start Time | 13488974 | 1598 days ago | IN | 0 ETH | 0.00320988 | ||||
| Set Presale Star... | 13488921 | 1598 days ago | IN | 0 ETH | 0.00423601 | ||||
| Set Presale Star... | 13488870 | 1598 days ago | IN | 0 ETH | 0.00375477 | ||||
| Airdrop | 13488826 | 1598 days ago | IN | 0 ETH | 0.00708031 | ||||
| Airdrop | 13488820 | 1598 days ago | IN | 0 ETH | 0.01150525 | ||||
| Airdrop | 13488818 | 1598 days ago | IN | 0 ETH | 0.00597019 | ||||
| Airdrop | 13488808 | 1598 days ago | IN | 0 ETH | 0.00630042 | ||||
| Airdrop | 13488797 | 1598 days ago | IN | 0 ETH | 0.00711166 | ||||
| Airdrop | 13488793 | 1598 days ago | IN | 0 ETH | 0.03292082 | ||||
| Airdrop | 13488787 | 1598 days ago | IN | 0 ETH | 0.01048228 | ||||
| Airdrop | 13488776 | 1598 days ago | IN | 0 ETH | 0.05797928 | ||||
| Airdrop | 13488765 | 1598 days ago | IN | 0 ETH | 0.00706758 | ||||
| Airdrop | 13488711 | 1598 days ago | IN | 0 ETH | 0.00772459 | ||||
| Airdrop | 13488702 | 1598 days ago | IN | 0 ETH | 0.00715343 | ||||
| Airdrop | 13488694 | 1598 days ago | IN | 0 ETH | 0.01385833 | ||||
| Airdrop | 13488686 | 1598 days ago | IN | 0 ETH | 0.00546708 | ||||
| Airdrop | 13488672 | 1598 days ago | IN | 0 ETH | 0.00835712 | ||||
| Airdrop | 13488647 | 1598 days ago | IN | 0 ETH | 0.00829927 | ||||
| Airdrop | 13488630 | 1598 days ago | IN | 0 ETH | 0.02166999 | ||||
| Airdrop | 13488612 | 1598 days ago | IN | 0 ETH | 0.00598913 | ||||
| Airdrop | 13488604 | 1598 days ago | IN | 0 ETH | 0.00651181 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 23647860 | 138 days ago | 0.034 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ThePigeonSocial
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.0;
import './Blimpie/ERC721EnumerableB.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract ThePigeonSocial is ERC721EnumerableB, Ownable, PaymentSplitter {
using Strings for uint256;
uint256 private _price = 0.08 ether;
string public _baseTokenURI = 'https://thepigeonsocial.com/metadata.php?tokenID=';
string public _baseTokenSuffix = '.json';
string public PIGEON_PROVENANCE = '';
uint256 public MAX_TOKENS_PER_TRANSACTION = 20;
uint256 public MAX_SUPPLY = 10001;
uint256 public _presaleStartTime = 1635235190; // Tuesday Oct 26 @ 10am CET
uint256 public _presaleEndTime = 1635282000; // Tuesday Oct 26 @ 10pm CET
uint256 public _startTime = 1635454800; // Thursday Oct 28 @ 10pm CET
string public LICENSE_TEXT = ""; // IT IS WHAT IT SAYS
bool licenseLocked = false; // TEAM CAN'T EDIT THE LICENSE AFTER THIS GETS TRUE
bool public isMetadataRevealed = false;
event licenseisLocked(string _licenseText);
// Withdrawal addresses
address t1 = 0x71996EE4ca39C7833BD12AD64C7792c3AE19f48B;
address t2 = 0x0B2d070b8062F1B8694d245fF8FC41cb02557F6E;
address t3 = 0xBB12075398553702a676C77f8e2FF016165e8a00;
address t4 = 0xB7edf3Cbb58ecb74BdE6298294c7AAb339F3cE4a;
address[] addressList = [t1, t2, t3, t4];
uint256[] shareList = [50, 425, 425, 100];
constructor()
ERC721B("The Pigeon Social", "TPS")
PaymentSplitter(addressList, shareList) {
//skip 0;
_owners.push(address(0));
}
function tokenURI(uint256 tokenId) external override view returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseTokenURI;
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), _baseTokenSuffix)) : "";
}
function mint(uint256 _count) external payable {
uint256 supply = totalSupply();
uint256 tokenCount = balanceOf(msg.sender);
require( block.timestamp >= _startTime || (block.timestamp >= _presaleStartTime && block.timestamp <= _presaleEndTime), "Presale has not started yet" );
require(
block.timestamp >= _startTime ||
(tokenCount < 1 && _count <= 1),
"Public sale has not started yet" );
require( _count <= MAX_TOKENS_PER_TRANSACTION, "You can mint a maximum of 20 Pigeons at once" );
require( supply + _count <= MAX_SUPPLY, "Exceeds max Pigeon supply" );
require( msg.value >= _price * _count, "Ether sent is not correct" );
for(uint256 i = 0; i < _count; ++i){
_safeMint( msg.sender, supply + i, "" );
}
}
function airdrop(address _wallet, uint256 _count) external onlyOwner {
uint256 supply = totalSupply();
require(supply + _count <= MAX_SUPPLY, "Exceeds maximum Pigeon supply");
for(uint256 i = 0; i < _count; ++i){
_safeMint(_wallet, supply + i, "" );
}
}
// Just in case Eth does some crazy stuff
function setPrice(uint256 _newPrice) external onlyOwner {
_price = _newPrice;
}
function getPrice() external view returns (uint256){
return _price;
}
function setMaxSupply (uint256 _newMaxSupply) external onlyOwner {
MAX_SUPPLY = _newMaxSupply;
}
function setBaseURI(string calldata _newBaseURI, string calldata _newSuffix) external onlyOwner {
_baseTokenURI = _newBaseURI;
_baseTokenSuffix = _newSuffix;
}
function setProvenanceHash(string memory _provenanceHash) external onlyOwner {
PIGEON_PROVENANCE = _provenanceHash;
}
// Returns the license for tokens
function tokenLicense(uint _id) external view returns(string memory) {
require(_id < totalSupply(), "Invalid ID");
return LICENSE_TEXT;
}
// Locks the license to prevent further changes
function lockLicense() external onlyOwner {
licenseLocked = true;
emit licenseisLocked(LICENSE_TEXT);
}
// Change the license
function changeLicense(string memory _license) external onlyOwner {
require(licenseLocked == false, "License already locked");
LICENSE_TEXT = _license;
}
function walletOfOwner(address _owner) external view returns(uint256[] memory) {
uint256 tokenCount = balanceOf(_owner);
uint256[] memory tokensId = new uint256[](tokenCount);
for(uint256 i; i < tokenCount; i++){
tokensId[i] = tokenOfOwnerByIndex(_owner, i);
}
return tokensId;
}
function setPresaleStartTime(uint256 _newStartTime) external onlyOwner {
_presaleStartTime = _newStartTime;
}
function setPresaleEndTime(uint256 _newEndTime) external onlyOwner {
_presaleEndTime = _newEndTime;
}
function setStartTime(uint256 _newStartTime) external onlyOwner {
_startTime = _newStartTime;
}
function setIsMetadataRevealed(bool _newState) external onlyOwner {
isMetadataRevealed = _newState;
}
}// SPDX-License-Identifier: BSD-3-Clause
pragma solidity ^0.8.0;
import "./ERC721B.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
/**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract ERC721EnumerableB is ERC721B, IERC721Enumerable {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721B) returns (bool) {
return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) {
require(index < ERC721B.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
uint count;
for( uint i; i < _owners.length; ++i ){
if( owner == _owners[i] ){
if( count == index )
return i;
else
++count;
}
}
require(false, "ERC721Enumerable: owner index out of bounds");
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _owners.length;
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
require(index < ERC721EnumerableB.totalSupply(), "ERC721Enumerable: global index out of bounds");
return index;
}
}// SPDX-License-Identifier: BSD-3-Clause
pragma solidity ^0.8.0;
/********************
* @author: Squeebo *
********************/
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
abstract contract ERC721B is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
address[] internal _owners;
// 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");
uint count;
for( uint i = 0; i < _owners.length; ++i ){
if( owner == _owners[i] )
++count;
}
return count;
}
/**
* @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 {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721B.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 {
require(operator != _msgSender(), "ERC721: approve to caller");
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_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 tokenId < _owners.length && _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 = ERC721B.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);
_owners.push(to);
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721B.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_owners[tokenId] = address(0);
emit Transfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721B.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721B.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver.onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}// 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);
}// 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 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;
/**
* @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;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
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
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}// SPDX-License-Identifier: MIT
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
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
pragma solidity ^0.8.0;
import "../utils/Address.sol";
import "../utils/Context.sol";
import "../utils/math/SafeMath.sol";
/**
* @title PaymentSplitter
* @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
* that the Ether will be split in this way, since it is handled transparently by the contract.
*
* The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
* account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
* an amount proportional to the percentage of total shares they were assigned.
*
* `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
* accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
* function.
*/
contract PaymentSplitter is Context {
event PayeeAdded(address account, uint256 shares);
event PaymentReleased(address to, uint256 amount);
event PaymentReceived(address from, uint256 amount);
uint256 private _totalShares;
uint256 private _totalReleased;
mapping(address => uint256) private _shares;
mapping(address => uint256) private _released;
address[] private _payees;
/**
* @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
* the matching position in the `shares` array.
*
* All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
* duplicates in `payees`.
*/
constructor(address[] memory payees, uint256[] memory shares_) payable {
require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
require(payees.length > 0, "PaymentSplitter: no payees");
for (uint256 i = 0; i < payees.length; i++) {
_addPayee(payees[i], shares_[i]);
}
}
/**
* @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
* reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
* reliability of the events, and not the actual splitting of Ether.
*
* To learn more about this see the Solidity documentation for
* https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
* functions].
*/
receive() external payable virtual {
emit PaymentReceived(_msgSender(), msg.value);
}
/**
* @dev Getter for the total shares held by payees.
*/
function totalShares() public view returns (uint256) {
return _totalShares;
}
/**
* @dev Getter for the total amount of Ether already released.
*/
function totalReleased() public view returns (uint256) {
return _totalReleased;
}
/**
* @dev Getter for the amount of shares held by an account.
*/
function shares(address account) public view returns (uint256) {
return _shares[account];
}
/**
* @dev Getter for the amount of Ether already released to a payee.
*/
function released(address account) public view returns (uint256) {
return _released[account];
}
/**
* @dev Getter for the address of the payee number `index`.
*/
function payee(uint256 index) public view returns (address) {
return _payees[index];
}
/**
* @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
* total shares and their previous withdrawals.
*/
function release(address payable account) public virtual {
require(_shares[account] > 0, "PaymentSplitter: account has no shares");
uint256 totalReceived = address(this).balance + _totalReleased;
uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account];
require(payment != 0, "PaymentSplitter: account is not due payment");
_released[account] = _released[account] + payment;
_totalReleased = _totalReleased + payment;
Address.sendValue(account, payment);
emit PaymentReleased(account, payment);
}
/**
* @dev Add a new payee to the contract.
* @param account The address of the payee to add.
* @param shares_ The number of shares owned by the payee.
*/
function _addPayee(address account, uint256 shares_) private {
require(account != address(0), "PaymentSplitter: account is the zero address");
require(shares_ > 0, "PaymentSplitter: shares are 0");
require(_shares[account] == 0, "PaymentSplitter: account already has shares");
_payees.push(account);
_shares[account] = shares_;
_totalShares = _totalShares + shares_;
emit PayeeAdded(account, shares_);
}
}// 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);
}
}{
"remappings": [],
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "london",
"libraries": {},
"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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_licenseText","type":"string"}],"name":"licenseisLocked","type":"event"},{"inputs":[],"name":"LICENSE_TEXT","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS_PER_TRANSACTION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PIGEON_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_presaleEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_presaleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":"string","name":"_license","type":"string"}],"name":"changeLicense","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMetadataRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockLicense","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","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":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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"},{"internalType":"string","name":"_newSuffix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_newState","type":"bool"}],"name":"setIsMetadataRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newEndTime","type":"uint256"}],"name":"setPresaleEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newStartTime","type":"uint256"}],"name":"setPresaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newStartTime","type":"uint256"}],"name":"setStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"tokenLicense","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"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":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
67011c37937e080000600b5560e06040526031608081815290620035cf60a03980516200003591600c91602090910190620006df565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200006491600d91620006df565b506040805160208101918290526000908190526200008591600e91620006df565b506014600f819055612711601055636177b5766011556361786c5060125563617b0f50601355604080516020810191829052600090819052620000ca929190620006df565b50601580546001600160b01b0319167571996ee4ca39c7833bd12ad64c7792c3ae19f48b0000179081905560168054730b2d070b8062f1b8694d245ff8fc41cb02557f6e6001600160a01b031991821681179092556017805473bb12075398553702a676c77f8e2ff016165e8a0090831681179091556018805473b7edf3cbb58ecb74bde6298294c7aab339f3ce4a931683179055604080516080810182526001600160a01b03620100009096049590951685526020850193909352918301919091526060820152620001a29060199060046200076e565b5060408051608081018252603281526101a9602082018190529181019190915260646060820152620001d990601a906004620007c6565b50348015620001e757600080fd5b5060198054806020026020016040519081016040528092919081815260200182805480156200024057602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000221575b5050505050601a8054806020026020016040519081016040528092919081815260200182805480156200029357602002820191906000526020600020905b8154815260200190600101908083116200027e575b50506040805180820182526011815270151a1948141a59d95bdb8814dbd8da585b607a1b60208083019182528351808501909452600384526254505360e81b908401528151919550919350620002ee925060009190620006df565b50805162000304906001906020840190620006df565b505050620003216200031b6200049b60201b60201c565b6200049f565b8051825114620003935760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620003e65760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200038a565b60005b825181101562000452576200043d8382815181106200040c576200040c62000821565b602002602001015183838151811062000429576200042962000821565b6020026020010151620004f160201b60201c565b8062000449816200084d565b915050620003e9565b5050600280546001810182556000919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b031916905550620008c3565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200055e5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200038a565b60008111620005b05760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200038a565b6001600160a01b038216600090815260086020526040902054156200062c5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200038a565b600a8054600181019091557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b0319166001600160a01b0384169081179091556000908152600860205260409020819055600654620006969082906200086b565b600655604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b828054620006ed9062000886565b90600052602060002090601f0160209004810192826200071157600085556200075c565b82601f106200072c57805160ff19168380011785556200075c565b828001600101855582156200075c579182015b828111156200075c5782518255916020019190600101906200073f565b506200076a9291506200080a565b5090565b8280548282559060005260206000209081019282156200075c579160200282015b828111156200075c57825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906200078f565b8280548282559060005260206000209081019282156200075c579160200282015b828111156200075c578251829061ffff16905591602001919060010190620007e7565b5b808211156200076a57600081556001016200080b565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141562000864576200086462000837565b5060010190565b6000821982111562000881576200088162000837565b500190565b600181811c908216806200089b57607f821691505b60208210811415620008bd57634e487b7160e01b600052602260045260246000fd5b50919050565b612cfc80620008d36000396000f3fe6080604052600436106102cd5760003560e01c80638b83209b11610175578063b88d4fde116100dc578063cfc86f7b11610095578063e985e9c51161006f578063e985e9c5146108a8578063f2fde38b146108f1578063fa1acb5c14610911578063fb50eb0b1461092757600080fd5b8063cfc86f7b1461085e578063d9b137b214610873578063e33b7de31461089357600080fd5b8063b88d4fde1461079e578063bf4702fc146107be578063c87b56dd146107d3578063ce7c2ac2146107f3578063cec6bab214610829578063cfa0136f1461083e57600080fd5b806398d5fdca1161012e57806398d5fdca1461070b5780639c3e72bd14610720578063a0712d6814610735578063a22cb46514610748578063a91b9b2a14610768578063b09904b51461077e57600080fd5b80638b83209b146106425780638ba4cc3c146106625780638da5cb5b1461068257806391b7f5ed146106a057806395d89b41146106c05780639852595c146106d557600080fd5b806332cb6b0c116102345780634f6ccce7116101ed5780636790a9de116101c75780636790a9de146105cd5780636f8b44b0146105ed57806370a082311461060d578063715018a61461062d57600080fd5b80634f6ccce7146105775780634fce1de3146105975780636352211e146105ad57600080fd5b806332cb6b0c146104c05780633a98ef39146104d65780633cb8dcdd146104eb5780633e0a322d1461050a57806342842e0e1461052a578063438b63001461054a57600080fd5b806318160ddd1161028657806318160ddd1461040c578063191655871461042b578063197c9d7c1461044b57806323b872dd14610460578063296cab55146104805780632f745c59146104a057600080fd5b806301ffc9a71461031b5780630677d97b1461035057806306fdde0314610372578063081812fc14610394578063095ea7b3146103cc57806310969523146103ec57600080fd5b36610316577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561032757600080fd5b5061033b6103363660046124ee565b61093d565b60405190151581526020015b60405180910390f35b34801561035c57600080fd5b5061037061036b366004612520565b610968565b005b34801561037e57600080fd5b506103876109b5565b6040516103479190612593565b3480156103a057600080fd5b506103b46103af3660046125a6565b610a47565b6040516001600160a01b039091168152602001610347565b3480156103d857600080fd5b506103706103e73660046125d4565b610acf565b3480156103f857600080fd5b5061037061040736600461268c565b610be5565b34801561041857600080fd5b506002545b604051908152602001610347565b34801561043757600080fd5b506103706104463660046126d5565b610c26565b34801561045757600080fd5b50610387610df7565b34801561046c57600080fd5b5061037061047b3660046126f2565b610e85565b34801561048c57600080fd5b5061037061049b3660046125a6565b610eb6565b3480156104ac57600080fd5b5061041d6104bb3660046125d4565b610ee5565b3480156104cc57600080fd5b5061041d60105481565b3480156104e257600080fd5b5060065461041d565b3480156104f757600080fd5b5060155461033b90610100900460ff1681565b34801561051657600080fd5b506103706105253660046125a6565b610f94565b34801561053657600080fd5b506103706105453660046126f2565b610fc3565b34801561055657600080fd5b5061056a6105653660046126d5565b610fde565b6040516103479190612733565b34801561058357600080fd5b5061041d6105923660046125a6565b611080565b3480156105a357600080fd5b5061041d600f5481565b3480156105b957600080fd5b506103b46105c83660046125a6565b6110f2565b3480156105d957600080fd5b506103706105e83660046127c0565b61117e565b3480156105f957600080fd5b506103706106083660046125a6565b6111c8565b34801561061957600080fd5b5061041d6106283660046126d5565b6111f7565b34801561063957600080fd5b506103706112c5565b34801561064e57600080fd5b506103b461065d3660046125a6565b6112fb565b34801561066e57600080fd5b5061037061067d3660046125d4565b61132b565b34801561068e57600080fd5b506005546001600160a01b03166103b4565b3480156106ac57600080fd5b506103706106bb3660046125a6565b611402565b3480156106cc57600080fd5b50610387611431565b3480156106e157600080fd5b5061041d6106f03660046126d5565b6001600160a01b031660009081526009602052604090205490565b34801561071757600080fd5b50600b5461041d565b34801561072c57600080fd5b50610387611440565b6103706107433660046125a6565b61144d565b34801561075457600080fd5b5061037061076336600461282c565b611684565b34801561077457600080fd5b5061041d60115481565b34801561078a57600080fd5b5061037061079936600461268c565b611749565b3480156107aa57600080fd5b506103706107b9366004612861565b6117d2565b3480156107ca57600080fd5b50610370611804565b3480156107df57600080fd5b506103876107ee3660046125a6565b611876565b3480156107ff57600080fd5b5061041d61080e3660046126d5565b6001600160a01b031660009081526008602052604090205490565b34801561083557600080fd5b506103876119c7565b34801561084a57600080fd5b506103706108593660046125a6565b6119d4565b34801561086a57600080fd5b50610387611a03565b34801561087f57600080fd5b5061038761088e3660046125a6565b611a10565b34801561089f57600080fd5b5060075461041d565b3480156108b457600080fd5b5061033b6108c33660046128e1565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b3480156108fd57600080fd5b5061037061090c3660046126d5565b611ae8565b34801561091d57600080fd5b5061041d60135481565b34801561093357600080fd5b5061041d60125481565b60006001600160e01b0319821663780e9d6360e01b1480610962575061096282611b83565b92915050565b6005546001600160a01b0316331461099b5760405162461bcd60e51b81526004016109929061291a565b60405180910390fd5b601580549115156101000261ff0019909216919091179055565b6060600080546109c49061294f565b80601f01602080910402602001604051908101604052809291908181526020018280546109f09061294f565b8015610a3d5780601f10610a1257610100808354040283529160200191610a3d565b820191906000526020600020905b815481529060010190602001808311610a2057829003601f168201915b5050505050905090565b6000610a5282611bd3565b610ab35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610992565b506000908152600360205260409020546001600160a01b031690565b6000610ada826110f2565b9050806001600160a01b0316836001600160a01b03161415610b485760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610992565b336001600160a01b0382161480610b645750610b6481336108c3565b610bd65760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610992565b610be08383611c1d565b505050565b6005546001600160a01b03163314610c0f5760405162461bcd60e51b81526004016109929061291a565b8051610c2290600e9060208401906123cf565b5050565b6001600160a01b038116600090815260086020526040902054610c9a5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610992565b600060075447610caa91906129a0565b6001600160a01b0383166000908152600960209081526040808320546006546008909352908320549394509192610ce190856129b8565b610ceb91906129ed565b610cf59190612a01565b905080610d585760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610992565b6001600160a01b038316600090815260096020526040902054610d7c9082906129a0565b6001600160a01b038416600090815260096020526040902055600754610da39082906129a0565b600755610db08382611c8b565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b600d8054610e049061294f565b80601f0160208091040260200160405190810160405280929190818152602001828054610e309061294f565b8015610e7d5780601f10610e5257610100808354040283529160200191610e7d565b820191906000526020600020905b815481529060010190602001808311610e6057829003601f168201915b505050505081565b610e8f3382611da4565b610eab5760405162461bcd60e51b815260040161099290612a18565b610be0838383611e8e565b6005546001600160a01b03163314610ee05760405162461bcd60e51b81526004016109929061291a565b601155565b6000610ef0836111f7565b8210610f0e5760405162461bcd60e51b815260040161099290612a69565b6000805b600254811015610f7b5760028181548110610f2f57610f2f612ab4565b6000918252602090912001546001600160a01b0386811691161415610f6b5783821415610f5f5791506109629050565b610f6882612aca565b91505b610f7481612aca565b9050610f12565b5060405162461bcd60e51b815260040161099290612a69565b6005546001600160a01b03163314610fbe5760405162461bcd60e51b81526004016109929061291a565b601355565b610be0838383604051806020016040528060008152506117d2565b60606000610feb836111f7565b905060008167ffffffffffffffff81111561100857611008612600565b604051908082528060200260200182016040528015611031578160200160208202803683370190505b50905060005b82811015611078576110498582610ee5565b82828151811061105b5761105b612ab4565b60209081029190910101528061107081612aca565b915050611037565b509392505050565b600061108b60025490565b82106110ee5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610992565b5090565b6000806002838154811061110857611108612ab4565b6000918252602090912001546001600160a01b03169050806109625760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610992565b6005546001600160a01b031633146111a85760405162461bcd60e51b81526004016109929061291a565b6111b4600c858561244f565b506111c1600d838361244f565b5050505050565b6005546001600160a01b031633146111f25760405162461bcd60e51b81526004016109929061291a565b601055565b60006001600160a01b0382166112625760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610992565b6000805b6002548110156112be576002818154811061128357611283612ab4565b6000918252602090912001546001600160a01b03858116911614156112ae576112ab82612aca565b91505b6112b781612aca565b9050611266565b5092915050565b6005546001600160a01b031633146112ef5760405162461bcd60e51b81526004016109929061291a565b6112f96000611fe4565b565b6000600a828154811061131057611310612ab4565b6000918252602090912001546001600160a01b031692915050565b6005546001600160a01b031633146113555760405162461bcd60e51b81526004016109929061291a565b600061136060025490565b60105490915061137083836129a0565b11156113be5760405162461bcd60e51b815260206004820152601d60248201527f45786365656473206d6178696d756d20506967656f6e20737570706c790000006044820152606401610992565b60005b828110156113fc576113ec846113d783856129a0565b60405180602001604052806000815250612036565b6113f581612aca565b90506113c1565b50505050565b6005546001600160a01b0316331461142c5760405162461bcd60e51b81526004016109929061291a565b600b55565b6060600180546109c49061294f565b60148054610e049061294f565b600061145860025490565b90506000611465336111f7565b9050601354421015806114875750601154421015801561148757506012544211155b6114d35760405162461bcd60e51b815260206004820152601b60248201527f50726573616c6520686173206e6f7420737461727465642079657400000000006044820152606401610992565b601354421015806114f057506001811080156114f0575060018311155b61153c5760405162461bcd60e51b815260206004820152601f60248201527f5075626c69632073616c6520686173206e6f74207374617274656420796574006044820152606401610992565b600f548311156115a35760405162461bcd60e51b815260206004820152602c60248201527f596f752063616e206d696e742061206d6178696d756d206f662032302050696760448201526b656f6e73206174206f6e636560a01b6064820152608401610992565b6010546115b084846129a0565b11156115fe5760405162461bcd60e51b815260206004820152601960248201527f45786365656473206d617820506967656f6e20737570706c79000000000000006044820152606401610992565b82600b5461160c91906129b8565b34101561165b5760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610992565b60005b838110156113fc57611674336113d783866129a0565b61167d81612aca565b905061165e565b6001600160a01b0382163314156116dd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610992565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6005546001600160a01b031633146117735760405162461bcd60e51b81526004016109929061291a565b60155460ff16156117bf5760405162461bcd60e51b8152602060048201526016602482015275131a58d95b9cd948185b1c9958591e481b1bd8dad95960521b6044820152606401610992565b8051610c229060149060208401906123cf565b6117dc3383611da4565b6117f85760405162461bcd60e51b815260040161099290612a18565b6113fc84848484612069565b6005546001600160a01b0316331461182e5760405162461bcd60e51b81526004016109929061291a565b6015805460ff191660011790556040517f92423ccd40e13759d50d24569dcbaccb20ade47247f3cf3e3951a9f29d2048b09061186c90601490612ae5565b60405180910390a1565b606061188182611bd3565b6118e55760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610992565b6000600c80546118f49061294f565b80601f01602080910402602001604051908101604052809291908181526020018280546119209061294f565b801561196d5780601f106119425761010080835404028352916020019161196d565b820191906000526020600020905b81548152906001019060200180831161195057829003601f168201915b50505050509050600081511161199257604051806020016040528060008152506119c0565b8061199c8461209c565b600d6040516020016119b093929190612b6a565b6040516020818303038152906040525b9392505050565b600e8054610e049061294f565b6005546001600160a01b031633146119fe5760405162461bcd60e51b81526004016109929061291a565b601255565b600c8054610e049061294f565b6060611a1b60025490565b8210611a565760405162461bcd60e51b815260206004820152600a602482015269125b9d985b1a5908125160b21b6044820152606401610992565b60148054611a639061294f565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8f9061294f565b8015611adc5780601f10611ab157610100808354040283529160200191611adc565b820191906000526020600020905b815481529060010190602001808311611abf57829003601f168201915b50505050509050919050565b6005546001600160a01b03163314611b125760405162461bcd60e51b81526004016109929061291a565b6001600160a01b038116611b775760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610992565b611b8081611fe4565b50565b60006001600160e01b031982166380ac58cd60e01b1480611bb457506001600160e01b03198216635b5e139f60e01b145b8061096257506301ffc9a760e01b6001600160e01b0319831614610962565b60025460009082108015610962575060006001600160a01b031660028381548110611c0057611c00612ab4565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c52826110f2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80471015611cdb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610992565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611d28576040519150601f19603f3d011682016040523d82523d6000602084013e611d2d565b606091505b5050905080610be05760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610992565b6000611daf82611bd3565b611e105760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610992565b6000611e1b836110f2565b9050806001600160a01b0316846001600160a01b03161480611e565750836001600160a01b0316611e4b84610a47565b6001600160a01b0316145b80611e8657506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611ea1826110f2565b6001600160a01b031614611f095760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610992565b6001600160a01b038216611f6b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610992565b611f76600082611c1d565b8160028281548110611f8a57611f8a612ab4565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612040838361219a565b61204d60008484846122c2565b610be05760405162461bcd60e51b815260040161099290612c06565b612074848484611e8e565b612080848484846122c2565b6113fc5760405162461bcd60e51b815260040161099290612c06565b6060816120c05750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120ea57806120d481612aca565b91506120e39050600a836129ed565b91506120c4565b60008167ffffffffffffffff81111561210557612105612600565b6040519080825280601f01601f19166020018201604052801561212f576020820181803683370190505b5090505b8415611e8657612144600183612a01565b9150612151600a86612c58565b61215c9060306129a0565b60f81b81838151811061217157612171612ab4565b60200101906001600160f81b031916908160001a905350612193600a866129ed565b9450612133565b6001600160a01b0382166121f05760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610992565b6121f981611bd3565b156122465760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610992565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b156123c457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612306903390899088908890600401612c6c565b602060405180830381600087803b15801561232057600080fd5b505af1925050508015612350575060408051601f3d908101601f1916820190925261234d91810190612ca9565b60015b6123aa573d80801561237e576040519150601f19603f3d011682016040523d82523d6000602084013e612383565b606091505b5080516123a25760405162461bcd60e51b815260040161099290612c06565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e86565b506001949350505050565b8280546123db9061294f565b90600052602060002090601f0160209004810192826123fd5760008555612443565b82601f1061241657805160ff1916838001178555612443565b82800160010185558215612443579182015b82811115612443578251825591602001919060010190612428565b506110ee9291506124c3565b82805461245b9061294f565b90600052602060002090601f01602090048101928261247d5760008555612443565b82601f106124965782800160ff19823516178555612443565b82800160010185558215612443579182015b828111156124435782358255916020019190600101906124a8565b5b808211156110ee57600081556001016124c4565b6001600160e01b031981168114611b8057600080fd5b60006020828403121561250057600080fd5b81356119c0816124d8565b8035801515811461251b57600080fd5b919050565b60006020828403121561253257600080fd5b6119c08261250b565b60005b8381101561255657818101518382015260200161253e565b838111156113fc5750506000910152565b6000815180845261257f81602086016020860161253b565b601f01601f19169290920160200192915050565b6020815260006119c06020830184612567565b6000602082840312156125b857600080fd5b5035919050565b6001600160a01b0381168114611b8057600080fd5b600080604083850312156125e757600080fd5b82356125f2816125bf565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561263157612631612600565b604051601f8501601f19908116603f0116810190828211818310171561265957612659612600565b8160405280935085815286868601111561267257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561269e57600080fd5b813567ffffffffffffffff8111156126b557600080fd5b8201601f810184136126c657600080fd5b611e8684823560208401612616565b6000602082840312156126e757600080fd5b81356119c0816125bf565b60008060006060848603121561270757600080fd5b8335612712816125bf565b92506020840135612722816125bf565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b8181101561276b5783518352928401929184019160010161274f565b50909695505050505050565b60008083601f84011261278957600080fd5b50813567ffffffffffffffff8111156127a157600080fd5b6020830191508360208285010111156127b957600080fd5b9250929050565b600080600080604085870312156127d657600080fd5b843567ffffffffffffffff808211156127ee57600080fd5b6127fa88838901612777565b9096509450602087013591508082111561281357600080fd5b5061282087828801612777565b95989497509550505050565b6000806040838503121561283f57600080fd5b823561284a816125bf565b91506128586020840161250b565b90509250929050565b6000806000806080858703121561287757600080fd5b8435612882816125bf565b93506020850135612892816125bf565b925060408501359150606085013567ffffffffffffffff8111156128b557600080fd5b8501601f810187136128c657600080fd5b6128d587823560208401612616565b91505092959194509250565b600080604083850312156128f457600080fd5b82356128ff816125bf565b9150602083013561290f816125bf565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061296357607f821691505b6020821081141561298457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156129b3576129b361298a565b500190565b60008160001904831182151516156129d2576129d261298a565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826129fc576129fc6129d7565b500490565b600082821015612a1357612a1361298a565b500390565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612ade57612ade61298a565b5060010190565b6000602080835260008454612af98161294f565b80848701526040600180841660008114612b1a5760018114612b2e57612b5c565b60ff19851689840152606089019550612b5c565b896000528660002060005b85811015612b545781548b8201860152908301908801612b39565b8a0184019650505b509398975050505050505050565b600084516020612b7d8285838a0161253b565b855191840191612b908184848a0161253b565b8554920191600090612ba18161294f565b60018281168015612bb95760018114612bca57612bf6565b60ff19841687528287019450612bf6565b896000528560002060005b84811015612bee57815489820152908301908701612bd5565b505082870194505b50929a9950505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082612c6757612c676129d7565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c9f90830184612567565b9695505050505050565b600060208284031215612cbb57600080fd5b81516119c0816124d856fea2646970667358221220d7518afbfa4f1c00dda36e840c07754c42270a6bba5f9f4a35072d8be3eac10f64736f6c6343000809003368747470733a2f2f746865706967656f6e736f6369616c2e636f6d2f6d657461646174612e7068703f746f6b656e49443d
Deployed Bytecode
0x6080604052600436106102cd5760003560e01c80638b83209b11610175578063b88d4fde116100dc578063cfc86f7b11610095578063e985e9c51161006f578063e985e9c5146108a8578063f2fde38b146108f1578063fa1acb5c14610911578063fb50eb0b1461092757600080fd5b8063cfc86f7b1461085e578063d9b137b214610873578063e33b7de31461089357600080fd5b8063b88d4fde1461079e578063bf4702fc146107be578063c87b56dd146107d3578063ce7c2ac2146107f3578063cec6bab214610829578063cfa0136f1461083e57600080fd5b806398d5fdca1161012e57806398d5fdca1461070b5780639c3e72bd14610720578063a0712d6814610735578063a22cb46514610748578063a91b9b2a14610768578063b09904b51461077e57600080fd5b80638b83209b146106425780638ba4cc3c146106625780638da5cb5b1461068257806391b7f5ed146106a057806395d89b41146106c05780639852595c146106d557600080fd5b806332cb6b0c116102345780634f6ccce7116101ed5780636790a9de116101c75780636790a9de146105cd5780636f8b44b0146105ed57806370a082311461060d578063715018a61461062d57600080fd5b80634f6ccce7146105775780634fce1de3146105975780636352211e146105ad57600080fd5b806332cb6b0c146104c05780633a98ef39146104d65780633cb8dcdd146104eb5780633e0a322d1461050a57806342842e0e1461052a578063438b63001461054a57600080fd5b806318160ddd1161028657806318160ddd1461040c578063191655871461042b578063197c9d7c1461044b57806323b872dd14610460578063296cab55146104805780632f745c59146104a057600080fd5b806301ffc9a71461031b5780630677d97b1461035057806306fdde0314610372578063081812fc14610394578063095ea7b3146103cc57806310969523146103ec57600080fd5b36610316577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561032757600080fd5b5061033b6103363660046124ee565b61093d565b60405190151581526020015b60405180910390f35b34801561035c57600080fd5b5061037061036b366004612520565b610968565b005b34801561037e57600080fd5b506103876109b5565b6040516103479190612593565b3480156103a057600080fd5b506103b46103af3660046125a6565b610a47565b6040516001600160a01b039091168152602001610347565b3480156103d857600080fd5b506103706103e73660046125d4565b610acf565b3480156103f857600080fd5b5061037061040736600461268c565b610be5565b34801561041857600080fd5b506002545b604051908152602001610347565b34801561043757600080fd5b506103706104463660046126d5565b610c26565b34801561045757600080fd5b50610387610df7565b34801561046c57600080fd5b5061037061047b3660046126f2565b610e85565b34801561048c57600080fd5b5061037061049b3660046125a6565b610eb6565b3480156104ac57600080fd5b5061041d6104bb3660046125d4565b610ee5565b3480156104cc57600080fd5b5061041d60105481565b3480156104e257600080fd5b5060065461041d565b3480156104f757600080fd5b5060155461033b90610100900460ff1681565b34801561051657600080fd5b506103706105253660046125a6565b610f94565b34801561053657600080fd5b506103706105453660046126f2565b610fc3565b34801561055657600080fd5b5061056a6105653660046126d5565b610fde565b6040516103479190612733565b34801561058357600080fd5b5061041d6105923660046125a6565b611080565b3480156105a357600080fd5b5061041d600f5481565b3480156105b957600080fd5b506103b46105c83660046125a6565b6110f2565b3480156105d957600080fd5b506103706105e83660046127c0565b61117e565b3480156105f957600080fd5b506103706106083660046125a6565b6111c8565b34801561061957600080fd5b5061041d6106283660046126d5565b6111f7565b34801561063957600080fd5b506103706112c5565b34801561064e57600080fd5b506103b461065d3660046125a6565b6112fb565b34801561066e57600080fd5b5061037061067d3660046125d4565b61132b565b34801561068e57600080fd5b506005546001600160a01b03166103b4565b3480156106ac57600080fd5b506103706106bb3660046125a6565b611402565b3480156106cc57600080fd5b50610387611431565b3480156106e157600080fd5b5061041d6106f03660046126d5565b6001600160a01b031660009081526009602052604090205490565b34801561071757600080fd5b50600b5461041d565b34801561072c57600080fd5b50610387611440565b6103706107433660046125a6565b61144d565b34801561075457600080fd5b5061037061076336600461282c565b611684565b34801561077457600080fd5b5061041d60115481565b34801561078a57600080fd5b5061037061079936600461268c565b611749565b3480156107aa57600080fd5b506103706107b9366004612861565b6117d2565b3480156107ca57600080fd5b50610370611804565b3480156107df57600080fd5b506103876107ee3660046125a6565b611876565b3480156107ff57600080fd5b5061041d61080e3660046126d5565b6001600160a01b031660009081526008602052604090205490565b34801561083557600080fd5b506103876119c7565b34801561084a57600080fd5b506103706108593660046125a6565b6119d4565b34801561086a57600080fd5b50610387611a03565b34801561087f57600080fd5b5061038761088e3660046125a6565b611a10565b34801561089f57600080fd5b5060075461041d565b3480156108b457600080fd5b5061033b6108c33660046128e1565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b3480156108fd57600080fd5b5061037061090c3660046126d5565b611ae8565b34801561091d57600080fd5b5061041d60135481565b34801561093357600080fd5b5061041d60125481565b60006001600160e01b0319821663780e9d6360e01b1480610962575061096282611b83565b92915050565b6005546001600160a01b0316331461099b5760405162461bcd60e51b81526004016109929061291a565b60405180910390fd5b601580549115156101000261ff0019909216919091179055565b6060600080546109c49061294f565b80601f01602080910402602001604051908101604052809291908181526020018280546109f09061294f565b8015610a3d5780601f10610a1257610100808354040283529160200191610a3d565b820191906000526020600020905b815481529060010190602001808311610a2057829003601f168201915b5050505050905090565b6000610a5282611bd3565b610ab35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610992565b506000908152600360205260409020546001600160a01b031690565b6000610ada826110f2565b9050806001600160a01b0316836001600160a01b03161415610b485760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610992565b336001600160a01b0382161480610b645750610b6481336108c3565b610bd65760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610992565b610be08383611c1d565b505050565b6005546001600160a01b03163314610c0f5760405162461bcd60e51b81526004016109929061291a565b8051610c2290600e9060208401906123cf565b5050565b6001600160a01b038116600090815260086020526040902054610c9a5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610992565b600060075447610caa91906129a0565b6001600160a01b0383166000908152600960209081526040808320546006546008909352908320549394509192610ce190856129b8565b610ceb91906129ed565b610cf59190612a01565b905080610d585760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610992565b6001600160a01b038316600090815260096020526040902054610d7c9082906129a0565b6001600160a01b038416600090815260096020526040902055600754610da39082906129a0565b600755610db08382611c8b565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b600d8054610e049061294f565b80601f0160208091040260200160405190810160405280929190818152602001828054610e309061294f565b8015610e7d5780601f10610e5257610100808354040283529160200191610e7d565b820191906000526020600020905b815481529060010190602001808311610e6057829003601f168201915b505050505081565b610e8f3382611da4565b610eab5760405162461bcd60e51b815260040161099290612a18565b610be0838383611e8e565b6005546001600160a01b03163314610ee05760405162461bcd60e51b81526004016109929061291a565b601155565b6000610ef0836111f7565b8210610f0e5760405162461bcd60e51b815260040161099290612a69565b6000805b600254811015610f7b5760028181548110610f2f57610f2f612ab4565b6000918252602090912001546001600160a01b0386811691161415610f6b5783821415610f5f5791506109629050565b610f6882612aca565b91505b610f7481612aca565b9050610f12565b5060405162461bcd60e51b815260040161099290612a69565b6005546001600160a01b03163314610fbe5760405162461bcd60e51b81526004016109929061291a565b601355565b610be0838383604051806020016040528060008152506117d2565b60606000610feb836111f7565b905060008167ffffffffffffffff81111561100857611008612600565b604051908082528060200260200182016040528015611031578160200160208202803683370190505b50905060005b82811015611078576110498582610ee5565b82828151811061105b5761105b612ab4565b60209081029190910101528061107081612aca565b915050611037565b509392505050565b600061108b60025490565b82106110ee5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610992565b5090565b6000806002838154811061110857611108612ab4565b6000918252602090912001546001600160a01b03169050806109625760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610992565b6005546001600160a01b031633146111a85760405162461bcd60e51b81526004016109929061291a565b6111b4600c858561244f565b506111c1600d838361244f565b5050505050565b6005546001600160a01b031633146111f25760405162461bcd60e51b81526004016109929061291a565b601055565b60006001600160a01b0382166112625760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610992565b6000805b6002548110156112be576002818154811061128357611283612ab4565b6000918252602090912001546001600160a01b03858116911614156112ae576112ab82612aca565b91505b6112b781612aca565b9050611266565b5092915050565b6005546001600160a01b031633146112ef5760405162461bcd60e51b81526004016109929061291a565b6112f96000611fe4565b565b6000600a828154811061131057611310612ab4565b6000918252602090912001546001600160a01b031692915050565b6005546001600160a01b031633146113555760405162461bcd60e51b81526004016109929061291a565b600061136060025490565b60105490915061137083836129a0565b11156113be5760405162461bcd60e51b815260206004820152601d60248201527f45786365656473206d6178696d756d20506967656f6e20737570706c790000006044820152606401610992565b60005b828110156113fc576113ec846113d783856129a0565b60405180602001604052806000815250612036565b6113f581612aca565b90506113c1565b50505050565b6005546001600160a01b0316331461142c5760405162461bcd60e51b81526004016109929061291a565b600b55565b6060600180546109c49061294f565b60148054610e049061294f565b600061145860025490565b90506000611465336111f7565b9050601354421015806114875750601154421015801561148757506012544211155b6114d35760405162461bcd60e51b815260206004820152601b60248201527f50726573616c6520686173206e6f7420737461727465642079657400000000006044820152606401610992565b601354421015806114f057506001811080156114f0575060018311155b61153c5760405162461bcd60e51b815260206004820152601f60248201527f5075626c69632073616c6520686173206e6f74207374617274656420796574006044820152606401610992565b600f548311156115a35760405162461bcd60e51b815260206004820152602c60248201527f596f752063616e206d696e742061206d6178696d756d206f662032302050696760448201526b656f6e73206174206f6e636560a01b6064820152608401610992565b6010546115b084846129a0565b11156115fe5760405162461bcd60e51b815260206004820152601960248201527f45786365656473206d617820506967656f6e20737570706c79000000000000006044820152606401610992565b82600b5461160c91906129b8565b34101561165b5760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610992565b60005b838110156113fc57611674336113d783866129a0565b61167d81612aca565b905061165e565b6001600160a01b0382163314156116dd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610992565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6005546001600160a01b031633146117735760405162461bcd60e51b81526004016109929061291a565b60155460ff16156117bf5760405162461bcd60e51b8152602060048201526016602482015275131a58d95b9cd948185b1c9958591e481b1bd8dad95960521b6044820152606401610992565b8051610c229060149060208401906123cf565b6117dc3383611da4565b6117f85760405162461bcd60e51b815260040161099290612a18565b6113fc84848484612069565b6005546001600160a01b0316331461182e5760405162461bcd60e51b81526004016109929061291a565b6015805460ff191660011790556040517f92423ccd40e13759d50d24569dcbaccb20ade47247f3cf3e3951a9f29d2048b09061186c90601490612ae5565b60405180910390a1565b606061188182611bd3565b6118e55760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610992565b6000600c80546118f49061294f565b80601f01602080910402602001604051908101604052809291908181526020018280546119209061294f565b801561196d5780601f106119425761010080835404028352916020019161196d565b820191906000526020600020905b81548152906001019060200180831161195057829003601f168201915b50505050509050600081511161199257604051806020016040528060008152506119c0565b8061199c8461209c565b600d6040516020016119b093929190612b6a565b6040516020818303038152906040525b9392505050565b600e8054610e049061294f565b6005546001600160a01b031633146119fe5760405162461bcd60e51b81526004016109929061291a565b601255565b600c8054610e049061294f565b6060611a1b60025490565b8210611a565760405162461bcd60e51b815260206004820152600a602482015269125b9d985b1a5908125160b21b6044820152606401610992565b60148054611a639061294f565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8f9061294f565b8015611adc5780601f10611ab157610100808354040283529160200191611adc565b820191906000526020600020905b815481529060010190602001808311611abf57829003601f168201915b50505050509050919050565b6005546001600160a01b03163314611b125760405162461bcd60e51b81526004016109929061291a565b6001600160a01b038116611b775760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610992565b611b8081611fe4565b50565b60006001600160e01b031982166380ac58cd60e01b1480611bb457506001600160e01b03198216635b5e139f60e01b145b8061096257506301ffc9a760e01b6001600160e01b0319831614610962565b60025460009082108015610962575060006001600160a01b031660028381548110611c0057611c00612ab4565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c52826110f2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80471015611cdb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610992565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611d28576040519150601f19603f3d011682016040523d82523d6000602084013e611d2d565b606091505b5050905080610be05760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610992565b6000611daf82611bd3565b611e105760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610992565b6000611e1b836110f2565b9050806001600160a01b0316846001600160a01b03161480611e565750836001600160a01b0316611e4b84610a47565b6001600160a01b0316145b80611e8657506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611ea1826110f2565b6001600160a01b031614611f095760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610992565b6001600160a01b038216611f6b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610992565b611f76600082611c1d565b8160028281548110611f8a57611f8a612ab4565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612040838361219a565b61204d60008484846122c2565b610be05760405162461bcd60e51b815260040161099290612c06565b612074848484611e8e565b612080848484846122c2565b6113fc5760405162461bcd60e51b815260040161099290612c06565b6060816120c05750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120ea57806120d481612aca565b91506120e39050600a836129ed565b91506120c4565b60008167ffffffffffffffff81111561210557612105612600565b6040519080825280601f01601f19166020018201604052801561212f576020820181803683370190505b5090505b8415611e8657612144600183612a01565b9150612151600a86612c58565b61215c9060306129a0565b60f81b81838151811061217157612171612ab4565b60200101906001600160f81b031916908160001a905350612193600a866129ed565b9450612133565b6001600160a01b0382166121f05760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610992565b6121f981611bd3565b156122465760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610992565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b156123c457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612306903390899088908890600401612c6c565b602060405180830381600087803b15801561232057600080fd5b505af1925050508015612350575060408051601f3d908101601f1916820190925261234d91810190612ca9565b60015b6123aa573d80801561237e576040519150601f19603f3d011682016040523d82523d6000602084013e612383565b606091505b5080516123a25760405162461bcd60e51b815260040161099290612c06565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e86565b506001949350505050565b8280546123db9061294f565b90600052602060002090601f0160209004810192826123fd5760008555612443565b82601f1061241657805160ff1916838001178555612443565b82800160010185558215612443579182015b82811115612443578251825591602001919060010190612428565b506110ee9291506124c3565b82805461245b9061294f565b90600052602060002090601f01602090048101928261247d5760008555612443565b82601f106124965782800160ff19823516178555612443565b82800160010185558215612443579182015b828111156124435782358255916020019190600101906124a8565b5b808211156110ee57600081556001016124c4565b6001600160e01b031981168114611b8057600080fd5b60006020828403121561250057600080fd5b81356119c0816124d8565b8035801515811461251b57600080fd5b919050565b60006020828403121561253257600080fd5b6119c08261250b565b60005b8381101561255657818101518382015260200161253e565b838111156113fc5750506000910152565b6000815180845261257f81602086016020860161253b565b601f01601f19169290920160200192915050565b6020815260006119c06020830184612567565b6000602082840312156125b857600080fd5b5035919050565b6001600160a01b0381168114611b8057600080fd5b600080604083850312156125e757600080fd5b82356125f2816125bf565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561263157612631612600565b604051601f8501601f19908116603f0116810190828211818310171561265957612659612600565b8160405280935085815286868601111561267257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561269e57600080fd5b813567ffffffffffffffff8111156126b557600080fd5b8201601f810184136126c657600080fd5b611e8684823560208401612616565b6000602082840312156126e757600080fd5b81356119c0816125bf565b60008060006060848603121561270757600080fd5b8335612712816125bf565b92506020840135612722816125bf565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b8181101561276b5783518352928401929184019160010161274f565b50909695505050505050565b60008083601f84011261278957600080fd5b50813567ffffffffffffffff8111156127a157600080fd5b6020830191508360208285010111156127b957600080fd5b9250929050565b600080600080604085870312156127d657600080fd5b843567ffffffffffffffff808211156127ee57600080fd5b6127fa88838901612777565b9096509450602087013591508082111561281357600080fd5b5061282087828801612777565b95989497509550505050565b6000806040838503121561283f57600080fd5b823561284a816125bf565b91506128586020840161250b565b90509250929050565b6000806000806080858703121561287757600080fd5b8435612882816125bf565b93506020850135612892816125bf565b925060408501359150606085013567ffffffffffffffff8111156128b557600080fd5b8501601f810187136128c657600080fd5b6128d587823560208401612616565b91505092959194509250565b600080604083850312156128f457600080fd5b82356128ff816125bf565b9150602083013561290f816125bf565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061296357607f821691505b6020821081141561298457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156129b3576129b361298a565b500190565b60008160001904831182151516156129d2576129d261298a565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826129fc576129fc6129d7565b500490565b600082821015612a1357612a1361298a565b500390565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612ade57612ade61298a565b5060010190565b6000602080835260008454612af98161294f565b80848701526040600180841660008114612b1a5760018114612b2e57612b5c565b60ff19851689840152606089019550612b5c565b896000528660002060005b85811015612b545781548b8201860152908301908801612b39565b8a0184019650505b509398975050505050505050565b600084516020612b7d8285838a0161253b565b855191840191612b908184848a0161253b565b8554920191600090612ba18161294f565b60018281168015612bb95760018114612bca57612bf6565b60ff19841687528287019450612bf6565b896000528560002060005b84811015612bee57815489820152908301908701612bd5565b505082870194505b50929a9950505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082612c6757612c676129d7565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c9f90830184612567565b9695505050505050565b600060208284031215612cbb57600080fd5b81516119c0816124d856fea2646970667358221220d7518afbfa4f1c00dda36e840c07754c42270a6bba5f9f4a35072d8be3eac10f64736f6c63430008090033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$94.14
Net Worth in ETH
0.046003
Token Allocations
ETH
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $2,046.47 | 0.046 | $94.14 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.