Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,658 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 24673106 | 3 days ago | IN | 0 ETH | 0.00000326 | ||||
| Set Approval For... | 24342151 | 49 days ago | IN | 0 ETH | 0.00002734 | ||||
| Set Approval For... | 23382925 | 184 days ago | IN | 0 ETH | 0.00006498 | ||||
| Set Approval For... | 22728568 | 275 days ago | IN | 0 ETH | 0.00003694 | ||||
| Set Approval For... | 22728565 | 275 days ago | IN | 0 ETH | 0.0000364 | ||||
| Set Approval For... | 22648010 | 286 days ago | IN | 0 ETH | 0.00009187 | ||||
| Set Approval For... | 22620366 | 290 days ago | IN | 0 ETH | 0.00013367 | ||||
| Set Approval For... | 22478933 | 310 days ago | IN | 0 ETH | 0.00007841 | ||||
| Set Approval For... | 21925801 | 387 days ago | IN | 0 ETH | 0.00011744 | ||||
| Set Approval For... | 21523856 | 443 days ago | IN | 0 ETH | 0.00045625 | ||||
| Set Approval For... | 21515874 | 445 days ago | IN | 0 ETH | 0.00045839 | ||||
| Set Approval For... | 21403797 | 460 days ago | IN | 0 ETH | 0.00060678 | ||||
| Set Approval For... | 21195816 | 489 days ago | IN | 0 ETH | 0.00093618 | ||||
| Set Approval For... | 20549901 | 579 days ago | IN | 0 ETH | 0.00004335 | ||||
| Set Approval For... | 20493470 | 587 days ago | IN | 0 ETH | 0.00023083 | ||||
| Set Approval For... | 20142311 | 636 days ago | IN | 0 ETH | 0.00019351 | ||||
| Set Approval For... | 19865766 | 675 days ago | IN | 0 ETH | 0.00018506 | ||||
| Set Approval For... | 19767146 | 689 days ago | IN | 0 ETH | 0.00027709 | ||||
| Set Approval For... | 19613443 | 710 days ago | IN | 0 ETH | 0.00108491 | ||||
| Set Approval For... | 19592334 | 713 days ago | IN | 0 ETH | 0.00070114 | ||||
| Set Approval For... | 19108586 | 781 days ago | IN | 0 ETH | 0.00038002 | ||||
| Set Approval For... | 18935251 | 805 days ago | IN | 0 ETH | 0.00068875 | ||||
| Safe Transfer Fr... | 18909781 | 809 days ago | IN | 0 ETH | 0.00093609 | ||||
| Safe Transfer Fr... | 18909777 | 809 days ago | IN | 0 ETH | 0.00073357 | ||||
| Safe Transfer Fr... | 18909703 | 809 days ago | IN | 0 ETH | 0.00083016 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
GoblinGhosts
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2021-08-04
*/
// SPDX-License-Identifier: MIT
//
// ________ __ ______ __ ___
// / ____/ /_ ____ _____/ /_ / ____/___ / /_ / (_)___ _____
// / / __/ __ \/ __ \/ ___/ __/ / / __/ __ \/ __ \/ / / __ \/ ___/
/// /_/ / / / / /_/ (__ ) /_ / /_/ / /_/ / /_/ / / / / / (__ )
//\____/_/ /_/\____/____/\__/ \____/\____/_.___/_/_/_/ /_/____/
//
//
//Contract by @CobbleDev
//
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
}
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);
}
pragma solidity ^0.8.0;
/**
* @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;
}
pragma solidity ^0.8.0;
/**
* @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);
}
pragma solidity ^0.8.0;
/**
* @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);
}
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);
}
pragma solidity ^0.8.0;
/**
* @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;
}
}
pragma solidity ^0.8.0;
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping (uint256 => address) private _owners;
// Mapping owner address to token count
mapping (address => uint256) private _balances;
// Mapping from token ID to approved address
mapping (uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping (address => mapping (address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor (string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return interfaceId == type(IERC721).interfaceId
|| interfaceId == type(IERC721Metadata).interfaceId
|| super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: owner query for nonexistent token");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0
? string(abi.encodePacked(baseURI, tokenId.toString()))
: '';
}
/**
* @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
* in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
require(_exists(tokenId), "ERC721: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
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 _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(address from, address to, uint256 tokenId) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev 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(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
// solhint-disable-next-line no-inline-assembly
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` cannot be the zero address.
* - `to` cannot be the zero address.
*
* 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 { }
}
pragma solidity ^0.8.0;
/**
* @title ERC721 Burnable Token
* @dev ERC721 Token that can be irreversibly burned (destroyed).
*/
abstract contract ERC721Burnable is Context, ERC721 {
/**
* @dev Burns `tokenId`. See {ERC721-_burn}.
*
* Requirements:
*
* - The caller must own `tokenId` or be an approved operator.
*/
function burn(uint256 tokenId) public virtual {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
_burn(tokenId);
}
}
pragma solidity ^0.8.0;
/**
* @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 ERC721Enumerable is ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token IDs
mapping(address => mapping(uint256 => uint256)) private _ownedTokens;
// Mapping from token ID to index of the owner tokens list
mapping(uint256 => uint256) private _ownedTokensIndex;
// Array with all token ids, used for enumeration
uint256[] private _allTokens;
// Mapping from token id to position in the allTokens array
mapping(uint256 => uint256) private _allTokensIndex;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) 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) {
require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
return _ownedTokens[owner][index];
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _allTokens.length;
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
return _allTokens[index];
}
/**
* @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` cannot be the zero address.
* - `to` cannot be the zero address.
*
* 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 override {
super._beforeTokenTransfer(from, to, tokenId);
if (from == address(0)) {
_addTokenToAllTokensEnumeration(tokenId);
} else if (from != to) {
_removeTokenFromOwnerEnumeration(from, tokenId);
}
if (to == address(0)) {
_removeTokenFromAllTokensEnumeration(tokenId);
} else if (to != from) {
_addTokenToOwnerEnumeration(to, tokenId);
}
}
/**
* @dev Private function to add a token to this extension's ownership-tracking data structures.
* @param to address representing the new owner of the given token ID
* @param tokenId uint256 ID of the token to be added to the tokens list of the given address
*/
function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
uint256 length = ERC721.balanceOf(to);
_ownedTokens[to][length] = tokenId;
_ownedTokensIndex[tokenId] = length;
}
/**
* @dev Private function to add a token to this extension's token tracking data structures.
* @param tokenId uint256 ID of the token to be added to the tokens list
*/
function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
_allTokensIndex[tokenId] = _allTokens.length;
_allTokens.push(tokenId);
}
/**
* @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
* while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
* gas optimizations e.g. when performing a transfer operation (avoiding double writes).
* This has O(1) time complexity, but alters the order of the _ownedTokens array.
* @param from address representing the previous owner of the given token ID
* @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
*/
function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
// To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
uint256 tokenIndex = _ownedTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary
if (tokenIndex != lastTokenIndex) {
uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];
_ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
}
// This also deletes the contents at the last position of the array
delete _ownedTokensIndex[tokenId];
delete _ownedTokens[from][lastTokenIndex];
}
/**
* @dev Private function to remove a token from this extension's token tracking data structures.
* This has O(1) time complexity, but alters the order of the _allTokens array.
* @param tokenId uint256 ID of the token to be removed from the tokens list
*/
function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
// To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = _allTokens.length - 1;
uint256 tokenIndex = _allTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
// rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
// an 'if' statement (like in _removeTokenFromOwnerEnumeration)
uint256 lastTokenId = _allTokens[lastTokenIndex];
_allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
// This also deletes the contents at the last position of the array
delete _allTokensIndex[tokenId];
_allTokens.pop();
}
}
pragma solidity ^0.8.0;
/**
* @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);
}
}
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) private pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
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;
}
}
}
pragma solidity ^0.8.0;
interface GoblinInterface {
function goldBalance(address) external view returns(uint);
function getGoblinsCoins(uint) external view returns(uint);
function burn(uint) external;
}
contract GoblinGhosts is Context, ERC721Enumerable, ERC721Burnable, Ownable {
using Counters for Counters.Counter;
Counters.Counter private _tokenIdTracker;
string private _baseTokenURI;
address GoblinContract = 0x6322834FE489003512A61662044BcFb5Eeb2A035;
GoblinInterface gobInterface = GoblinInterface(GoblinContract);
bool private paused = true;
event CreateGhost(uint indexed id, uint coins, uint attributeSeed);
mapping(uint => uint) private goldCoins;
constructor() ERC721("Goblin Ghosts", "GGHOST") {
_baseTokenURI = "https://goblingoonslair.com/ghost/";
}
function _baseURI() internal view virtual override returns (string memory) {
return _baseTokenURI;
}
function setBaseURI(string memory baseURI) external onlyOwner {
_baseTokenURI = baseURI;
}
function sacrifice(uint[] memory sacrifices) public {
require(!paused || msg.sender == owner(), "The the pit is not open!");
require(sacrifices.length > 1, "You have to burn at least 2 Goblins.");
uint totalCoins = 0;
for(uint i = 0; i < sacrifices.length; i++) {
totalCoins = totalCoins + gobInterface.getGoblinsCoins(sacrifices[i]);
gobInterface.burn(sacrifices[i]);
}
uint goblinCoin = SafeMath.div(totalCoins, sacrifices.length-1);
uint remainderCoin = totalCoins - (goblinCoin*(sacrifices.length-1));
for(uint i = 0; i < sacrifices.length-1; i++) {
uint coins = goblinCoin;
if(i == 0) {
coins = coins + remainderCoin;
}
if(i == sacrifices.length-2) {
coins = coins + 1;
}
_tokenIdTracker.increment();
_mint(msg.sender, _tokenIdTracker.current());
uint randomNumber = uint(keccak256(abi.encodePacked(block.difficulty, block.timestamp, totalSupply())));
goldCoins[_tokenIdTracker.current()] = coins;
emit CreateGhost(_tokenIdTracker.current(), coins, randomNumber);
}
}
function getGhostsCoins(uint id) public view returns(uint) {
return goldCoins[id];
}
function goldBalance(address person) public view returns(uint) {
uint total = gobInterface.goldBalance(person);
for(uint i = 0; i < balanceOf(person); i++) {
total = total + getGhostsCoins(tokenOfOwnerByIndex(person, i));
}
return total;
}
function pause() public virtual onlyOwner {
paused = true;
}
function unpause() public virtual onlyOwner {
paused = false;
}
function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Enumerable) {
super._beforeTokenTransfer(from, to, tokenId);
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) {
return super.supportsInterface(interfaceId);
}
}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":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"coins","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"attributeSeed","type":"uint256"}],"name":"CreateGhost","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getGhostsCoins","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"person","type":"address"}],"name":"goldBalance","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":"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":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"sacrifices","type":"uint256[]"}],"name":"sacrifice","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080604052600d80546001600160a01b031916736322834fe489003512a61662044bcfb5eeb2a035179055600e805474016322834fe489003512a61662044bcfb5eeb2a0356001600160a81b03199091161790553480156200006057600080fd5b50604080518082018252600d81526c476f626c696e2047686f73747360981b60208083019182528351808501909452600684526511d1d213d4d560d21b908401528151919291620000b49160009162000174565b508051620000ca90600190602084019062000174565b505050620000e7620000e16200011e60201b60201c565b62000122565b604051806060016040528060228152602001620024ff6022913980516200011791600c9160209091019062000174565b5062000257565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000182906200021a565b90600052602060002090601f016020900481019282620001a65760008555620001f1565b82601f10620001c157805160ff1916838001178555620001f1565b82800160010185558215620001f1579182015b82811115620001f1578251825591602001919060010190620001d4565b50620001ff92915062000203565b5090565b5b80821115620001ff576000815560010162000204565b600181811c908216806200022f57607f821691505b602082108114156200025157634e487b7160e01b600052602260045260246000fd5b50919050565b61229880620002676000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80636d02423f116100de57806395d89b4111610097578063c87b56dd11610071578063c87b56dd14610337578063e21b5d501461034a578063e985e9c51461036a578063f2fde38b146103a657600080fd5b806395d89b4114610309578063a22cb46514610311578063b88d4fde1461032457600080fd5b80636d02423f146102af57806370a08231146102c2578063715018a6146102d5578063746796bd146102dd5780638456cb59146102f05780638da5cb5b146102f857600080fd5b80632f745c591161014b57806342966c681161012557806342966c68146102635780634f6ccce71461027657806355f804b3146102895780636352211e1461029c57600080fd5b80632f745c59146102355780633f4ba83a1461024857806342842e0e1461025057600080fd5b806301ffc9a71461019357806306fdde03146101bb578063081812fc146101d0578063095ea7b3146101fb57806318160ddd1461021057806323b872dd14610222575b600080fd5b6101a66101a1366004611eb0565b6103b9565b60405190151581526020015b60405180910390f35b6101c36103ca565b6040516101b29190611ff6565b6101e36101de366004611f2e565b61045c565b6040516001600160a01b0390911681526020016101b2565b61020e610209366004611ddf565b6104f6565b005b6008545b6040519081526020016101b2565b61020e610230366004611cf1565b61060c565b610214610243366004611ddf565b61063e565b61020e6106d4565b61020e61025e366004611cf1565b61070d565b61020e610271366004611f2e565b610728565b610214610284366004611f2e565b6107a2565b61020e610297366004611ee8565b610843565b6101e36102aa366004611f2e565b610884565b6102146102bd366004611ca5565b6108fb565b6102146102d0366004611ca5565b6109c3565b61020e610a4a565b61020e6102eb366004611e08565b610a80565b61020e610e1c565b600a546001600160a01b03166101e3565b6101c3610e5b565b61020e61031f366004611da5565b610e6a565b61020e610332366004611d2c565b610f2f565b6101c3610345366004611f2e565b610f67565b610214610358366004611f2e565b6000908152600f602052604090205490565b6101a6610378366004611cbf565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61020e6103b4366004611ca5565b611042565b60006103c4826110da565b92915050565b6060600080546103d9906121a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610405906121a0565b80156104525780601f1061042757610100808354040283529160200191610452565b820191906000526020600020905b81548152906001019060200180831161043557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166104da5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061050182610884565b9050806001600160a01b0316836001600160a01b0316141561056f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016104d1565b336001600160a01b038216148061058b575061058b8133610378565b6105fd5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016104d1565b61060783836110ff565b505050565b610617335b8261116d565b6106335760405162461bcd60e51b81526004016104d190612090565b610607838383611264565b6000610649836109c3565b82106106ab5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016104d1565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146106fe5760405162461bcd60e51b81526004016104d19061205b565b600e805460ff60a01b19169055565b61060783838360405180602001604052806000815250610f2f565b61073133610611565b6107965760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016104d1565b61079f8161140f565b50565b60006107ad60085490565b82106108105760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016104d1565b6008828154811061083157634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b0316331461086d5760405162461bcd60e51b81526004016104d19061205b565b805161088090600c906020840190611b98565b5050565b6000818152600260205260408120546001600160a01b0316806103c45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016104d1565b600e54604051636d02423f60e01b81526001600160a01b0383811660048301526000928392911690636d02423f9060240160206040518083038186803b15801561094457600080fd5b505afa158015610958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097c9190611f46565b905060005b61098a846109c3565b8110156109bc5761099e610358858361063e565b6109a89083612112565b9150806109b4816121db565b915050610981565b5092915050565b60006001600160a01b038216610a2e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016104d1565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610a745760405162461bcd60e51b81526004016104d19061205b565b610a7e60006114b6565b565b600e54600160a01b900460ff161580610aa35750600a546001600160a01b031633145b610aef5760405162461bcd60e51b815260206004820152601860248201527f5468652074686520706974206973206e6f74206f70656e21000000000000000060448201526064016104d1565b6001815111610b4c5760405162461bcd60e51b8152602060048201526024808201527f596f75206861766520746f206275726e206174206c65617374203220476f626c60448201526334b7399760e11b60648201526084016104d1565b6000805b8251811015610cb357600e5483516001600160a01b0390911690636a29c76e90859084908110610b9057634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b8152600401610bb691815260200190565b60206040518083038186803b158015610bce57600080fd5b505afa158015610be2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c069190611f46565b610c109083612112565b600e5484519193506001600160a01b0316906342966c6890859084908110610c4857634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b8152600401610c6e91815260200190565b600060405180830381600087803b158015610c8857600080fd5b505af1158015610c9c573d6000803e3d6000fd5b505050508080610cab906121db565b915050610b50565b506000610ccd8260018551610cc8919061215d565b611508565b9050600060018451610cdf919061215d565b610ce9908361213e565b610cf3908461215d565b905060005b60018551610d06919061215d565b811015610e15578281610d2057610d1d8382612112565b90505b60028651610d2e919061215d565b821415610d4357610d40816001612112565b90505b610d51600b80546001019055565b610d6333610d5e600b5490565b611514565b60004442610d7060085490565b60408051602081019490945283019190915260608201526080016040516020818303038152906040528051906020012060001c905081600f6000610db3600b5490565b8152602081019190915260400160002055600b5460408051848152602081018490527fd2250598f7a67e8eeebf1273c3380cb03c0dc3c8090af656a921496312ebed55910160405180910390a250508080610e0d906121db565b915050610cf8565b5050505050565b600a546001600160a01b03163314610e465760405162461bcd60e51b81526004016104d19061205b565b600e805460ff60a01b1916600160a01b179055565b6060600180546103d9906121a0565b6001600160a01b038216331415610ec35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104d1565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f39338361116d565b610f555760405162461bcd60e51b81526004016104d190612090565b610f6184848484611662565b50505050565b6000818152600260205260409020546060906001600160a01b0316610fe65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016104d1565b6000610ff0611695565b90506000815111611010576040518060200160405280600081525061103b565b8061101a846116a4565b60405160200161102b929190611f8a565b6040516020818303038152906040525b9392505050565b600a546001600160a01b0316331461106c5760405162461bcd60e51b81526004016104d19061205b565b6001600160a01b0381166110d15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104d1565b61079f816114b6565b60006001600160e01b0319821663780e9d6360e01b14806103c457506103c4826117be565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061113482610884565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166111e65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016104d1565b60006111f183610884565b9050806001600160a01b0316846001600160a01b0316148061122c5750836001600160a01b03166112218461045c565b6001600160a01b0316145b8061125c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661127782610884565b6001600160a01b0316146112df5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016104d1565b6001600160a01b0382166113415760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104d1565b61134c83838361180e565b6113576000826110ff565b6001600160a01b038316600090815260036020526040812080546001929061138090849061215d565b90915550506001600160a01b03821660009081526003602052604081208054600192906113ae908490612112565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061141a82610884565b90506114288160008461180e565b6114336000836110ff565b6001600160a01b038116600090815260036020526040812080546001929061145c90849061215d565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061103b828461212a565b6001600160a01b03821661156a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104d1565b6000818152600260205260409020546001600160a01b0316156115cf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104d1565b6115db6000838361180e565b6001600160a01b0382166000908152600360205260408120805460019290611604908490612112565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61166d848484611264565b61167984848484611819565b610f615760405162461bcd60e51b81526004016104d190612009565b6060600c80546103d9906121a0565b6060816116c85750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116f257806116dc816121db565b91506116eb9050600a8361212a565b91506116cc565b60008167ffffffffffffffff81111561171b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611745576020820181803683370190505b5090505b841561125c5761175a60018361215d565b9150611767600a866121f6565b611772906030612112565b60f81b81838151811061179557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506117b7600a8661212a565b9450611749565b60006001600160e01b031982166380ac58cd60e01b14806117ef57506001600160e01b03198216635b5e139f60e01b145b806103c457506301ffc9a760e01b6001600160e01b03198316146103c4565b610607838383611926565b60006001600160a01b0384163b1561191b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061185d903390899088908890600401611fb9565b602060405180830381600087803b15801561187757600080fd5b505af19250505080156118a7575060408051601f3d908101601f191682019092526118a491810190611ecc565b60015b611901573d8080156118d5576040519150601f19603f3d011682016040523d82523d6000602084013e6118da565b606091505b5080516118f95760405162461bcd60e51b81526004016104d190612009565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061125c565b506001949350505050565b6001600160a01b0383166119815761197c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6119a4565b816001600160a01b0316836001600160a01b0316146119a4576119a483826119de565b6001600160a01b0382166119bb5761060781611a7b565b826001600160a01b0316826001600160a01b031614610607576106078282611b54565b600060016119eb846109c3565b6119f5919061215d565b600083815260076020526040902054909150808214611a48576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611a8d9060019061215d565b60008381526009602052604081205460088054939450909284908110611ac357634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611af257634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611b3857634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611b5f836109c3565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611ba4906121a0565b90600052602060002090601f016020900481019282611bc65760008555611c0c565b82601f10611bdf57805160ff1916838001178555611c0c565b82800160010185558215611c0c579182015b82811115611c0c578251825591602001919060010190611bf1565b50611c18929150611c1c565b5090565b5b80821115611c185760008155600101611c1d565b600067ffffffffffffffff831115611c4b57611c4b612236565b611c5e601f8401601f19166020016120e1565b9050828152838383011115611c7257600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114611ca057600080fd5b919050565b600060208284031215611cb6578081fd5b61103b82611c89565b60008060408385031215611cd1578081fd5b611cda83611c89565b9150611ce860208401611c89565b90509250929050565b600080600060608486031215611d05578081fd5b611d0e84611c89565b9250611d1c60208501611c89565b9150604084013590509250925092565b60008060008060808587031215611d41578081fd5b611d4a85611c89565b9350611d5860208601611c89565b925060408501359150606085013567ffffffffffffffff811115611d7a578182fd5b8501601f81018713611d8a578182fd5b611d9987823560208401611c31565b91505092959194509250565b60008060408385031215611db7578182fd5b611dc083611c89565b915060208301358015158114611dd4578182fd5b809150509250929050565b60008060408385031215611df1578182fd5b611dfa83611c89565b946020939093013593505050565b60006020808385031215611e1a578182fd5b823567ffffffffffffffff80821115611e31578384fd5b818501915085601f830112611e44578384fd5b813581811115611e5657611e56612236565b8060051b9150611e678483016120e1565b8181528481019084860184860187018a1015611e81578788fd5b8795505b83861015611ea3578035835260019590950194918601918601611e85565b5098975050505050505050565b600060208284031215611ec1578081fd5b813561103b8161224c565b600060208284031215611edd578081fd5b815161103b8161224c565b600060208284031215611ef9578081fd5b813567ffffffffffffffff811115611f0f578182fd5b8201601f81018413611f1f578182fd5b61125c84823560208401611c31565b600060208284031215611f3f578081fd5b5035919050565b600060208284031215611f57578081fd5b5051919050565b60008151808452611f76816020860160208601612174565b601f01601f19169290920160200192915050565b60008351611f9c818460208801612174565b835190830190611fb0818360208801612174565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fec90830184611f5e565b9695505050505050565b60208152600061103b6020830184611f5e565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561210a5761210a612236565b604052919050565b600082198211156121255761212561220a565b500190565b60008261213957612139612220565b500490565b60008160001904831182151516156121585761215861220a565b500290565b60008282101561216f5761216f61220a565b500390565b60005b8381101561218f578181015183820152602001612177565b83811115610f615750506000910152565b600181811c908216806121b457607f821691505b602082108114156121d557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156121ef576121ef61220a565b5060010190565b60008261220557612205612220565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461079f57600080fdfea2646970667358221220abf07be5f47396ca5bdc9357cb0bbcee14f764a447842360d8c9efa8e2ffedc564736f6c6343000804003368747470733a2f2f676f626c696e676f6f6e736c6169722e636f6d2f67686f73742f
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018e5760003560e01c80636d02423f116100de57806395d89b4111610097578063c87b56dd11610071578063c87b56dd14610337578063e21b5d501461034a578063e985e9c51461036a578063f2fde38b146103a657600080fd5b806395d89b4114610309578063a22cb46514610311578063b88d4fde1461032457600080fd5b80636d02423f146102af57806370a08231146102c2578063715018a6146102d5578063746796bd146102dd5780638456cb59146102f05780638da5cb5b146102f857600080fd5b80632f745c591161014b57806342966c681161012557806342966c68146102635780634f6ccce71461027657806355f804b3146102895780636352211e1461029c57600080fd5b80632f745c59146102355780633f4ba83a1461024857806342842e0e1461025057600080fd5b806301ffc9a71461019357806306fdde03146101bb578063081812fc146101d0578063095ea7b3146101fb57806318160ddd1461021057806323b872dd14610222575b600080fd5b6101a66101a1366004611eb0565b6103b9565b60405190151581526020015b60405180910390f35b6101c36103ca565b6040516101b29190611ff6565b6101e36101de366004611f2e565b61045c565b6040516001600160a01b0390911681526020016101b2565b61020e610209366004611ddf565b6104f6565b005b6008545b6040519081526020016101b2565b61020e610230366004611cf1565b61060c565b610214610243366004611ddf565b61063e565b61020e6106d4565b61020e61025e366004611cf1565b61070d565b61020e610271366004611f2e565b610728565b610214610284366004611f2e565b6107a2565b61020e610297366004611ee8565b610843565b6101e36102aa366004611f2e565b610884565b6102146102bd366004611ca5565b6108fb565b6102146102d0366004611ca5565b6109c3565b61020e610a4a565b61020e6102eb366004611e08565b610a80565b61020e610e1c565b600a546001600160a01b03166101e3565b6101c3610e5b565b61020e61031f366004611da5565b610e6a565b61020e610332366004611d2c565b610f2f565b6101c3610345366004611f2e565b610f67565b610214610358366004611f2e565b6000908152600f602052604090205490565b6101a6610378366004611cbf565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61020e6103b4366004611ca5565b611042565b60006103c4826110da565b92915050565b6060600080546103d9906121a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610405906121a0565b80156104525780601f1061042757610100808354040283529160200191610452565b820191906000526020600020905b81548152906001019060200180831161043557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166104da5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061050182610884565b9050806001600160a01b0316836001600160a01b0316141561056f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016104d1565b336001600160a01b038216148061058b575061058b8133610378565b6105fd5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016104d1565b61060783836110ff565b505050565b610617335b8261116d565b6106335760405162461bcd60e51b81526004016104d190612090565b610607838383611264565b6000610649836109c3565b82106106ab5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016104d1565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146106fe5760405162461bcd60e51b81526004016104d19061205b565b600e805460ff60a01b19169055565b61060783838360405180602001604052806000815250610f2f565b61073133610611565b6107965760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016104d1565b61079f8161140f565b50565b60006107ad60085490565b82106108105760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016104d1565b6008828154811061083157634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b0316331461086d5760405162461bcd60e51b81526004016104d19061205b565b805161088090600c906020840190611b98565b5050565b6000818152600260205260408120546001600160a01b0316806103c45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016104d1565b600e54604051636d02423f60e01b81526001600160a01b0383811660048301526000928392911690636d02423f9060240160206040518083038186803b15801561094457600080fd5b505afa158015610958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097c9190611f46565b905060005b61098a846109c3565b8110156109bc5761099e610358858361063e565b6109a89083612112565b9150806109b4816121db565b915050610981565b5092915050565b60006001600160a01b038216610a2e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016104d1565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610a745760405162461bcd60e51b81526004016104d19061205b565b610a7e60006114b6565b565b600e54600160a01b900460ff161580610aa35750600a546001600160a01b031633145b610aef5760405162461bcd60e51b815260206004820152601860248201527f5468652074686520706974206973206e6f74206f70656e21000000000000000060448201526064016104d1565b6001815111610b4c5760405162461bcd60e51b8152602060048201526024808201527f596f75206861766520746f206275726e206174206c65617374203220476f626c60448201526334b7399760e11b60648201526084016104d1565b6000805b8251811015610cb357600e5483516001600160a01b0390911690636a29c76e90859084908110610b9057634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b8152600401610bb691815260200190565b60206040518083038186803b158015610bce57600080fd5b505afa158015610be2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c069190611f46565b610c109083612112565b600e5484519193506001600160a01b0316906342966c6890859084908110610c4857634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b8152600401610c6e91815260200190565b600060405180830381600087803b158015610c8857600080fd5b505af1158015610c9c573d6000803e3d6000fd5b505050508080610cab906121db565b915050610b50565b506000610ccd8260018551610cc8919061215d565b611508565b9050600060018451610cdf919061215d565b610ce9908361213e565b610cf3908461215d565b905060005b60018551610d06919061215d565b811015610e15578281610d2057610d1d8382612112565b90505b60028651610d2e919061215d565b821415610d4357610d40816001612112565b90505b610d51600b80546001019055565b610d6333610d5e600b5490565b611514565b60004442610d7060085490565b60408051602081019490945283019190915260608201526080016040516020818303038152906040528051906020012060001c905081600f6000610db3600b5490565b8152602081019190915260400160002055600b5460408051848152602081018490527fd2250598f7a67e8eeebf1273c3380cb03c0dc3c8090af656a921496312ebed55910160405180910390a250508080610e0d906121db565b915050610cf8565b5050505050565b600a546001600160a01b03163314610e465760405162461bcd60e51b81526004016104d19061205b565b600e805460ff60a01b1916600160a01b179055565b6060600180546103d9906121a0565b6001600160a01b038216331415610ec35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104d1565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f39338361116d565b610f555760405162461bcd60e51b81526004016104d190612090565b610f6184848484611662565b50505050565b6000818152600260205260409020546060906001600160a01b0316610fe65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016104d1565b6000610ff0611695565b90506000815111611010576040518060200160405280600081525061103b565b8061101a846116a4565b60405160200161102b929190611f8a565b6040516020818303038152906040525b9392505050565b600a546001600160a01b0316331461106c5760405162461bcd60e51b81526004016104d19061205b565b6001600160a01b0381166110d15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104d1565b61079f816114b6565b60006001600160e01b0319821663780e9d6360e01b14806103c457506103c4826117be565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061113482610884565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166111e65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016104d1565b60006111f183610884565b9050806001600160a01b0316846001600160a01b0316148061122c5750836001600160a01b03166112218461045c565b6001600160a01b0316145b8061125c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661127782610884565b6001600160a01b0316146112df5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016104d1565b6001600160a01b0382166113415760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104d1565b61134c83838361180e565b6113576000826110ff565b6001600160a01b038316600090815260036020526040812080546001929061138090849061215d565b90915550506001600160a01b03821660009081526003602052604081208054600192906113ae908490612112565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061141a82610884565b90506114288160008461180e565b6114336000836110ff565b6001600160a01b038116600090815260036020526040812080546001929061145c90849061215d565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061103b828461212a565b6001600160a01b03821661156a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104d1565b6000818152600260205260409020546001600160a01b0316156115cf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104d1565b6115db6000838361180e565b6001600160a01b0382166000908152600360205260408120805460019290611604908490612112565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61166d848484611264565b61167984848484611819565b610f615760405162461bcd60e51b81526004016104d190612009565b6060600c80546103d9906121a0565b6060816116c85750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116f257806116dc816121db565b91506116eb9050600a8361212a565b91506116cc565b60008167ffffffffffffffff81111561171b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611745576020820181803683370190505b5090505b841561125c5761175a60018361215d565b9150611767600a866121f6565b611772906030612112565b60f81b81838151811061179557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506117b7600a8661212a565b9450611749565b60006001600160e01b031982166380ac58cd60e01b14806117ef57506001600160e01b03198216635b5e139f60e01b145b806103c457506301ffc9a760e01b6001600160e01b03198316146103c4565b610607838383611926565b60006001600160a01b0384163b1561191b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061185d903390899088908890600401611fb9565b602060405180830381600087803b15801561187757600080fd5b505af19250505080156118a7575060408051601f3d908101601f191682019092526118a491810190611ecc565b60015b611901573d8080156118d5576040519150601f19603f3d011682016040523d82523d6000602084013e6118da565b606091505b5080516118f95760405162461bcd60e51b81526004016104d190612009565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061125c565b506001949350505050565b6001600160a01b0383166119815761197c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6119a4565b816001600160a01b0316836001600160a01b0316146119a4576119a483826119de565b6001600160a01b0382166119bb5761060781611a7b565b826001600160a01b0316826001600160a01b031614610607576106078282611b54565b600060016119eb846109c3565b6119f5919061215d565b600083815260076020526040902054909150808214611a48576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611a8d9060019061215d565b60008381526009602052604081205460088054939450909284908110611ac357634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611af257634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611b3857634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611b5f836109c3565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611ba4906121a0565b90600052602060002090601f016020900481019282611bc65760008555611c0c565b82601f10611bdf57805160ff1916838001178555611c0c565b82800160010185558215611c0c579182015b82811115611c0c578251825591602001919060010190611bf1565b50611c18929150611c1c565b5090565b5b80821115611c185760008155600101611c1d565b600067ffffffffffffffff831115611c4b57611c4b612236565b611c5e601f8401601f19166020016120e1565b9050828152838383011115611c7257600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114611ca057600080fd5b919050565b600060208284031215611cb6578081fd5b61103b82611c89565b60008060408385031215611cd1578081fd5b611cda83611c89565b9150611ce860208401611c89565b90509250929050565b600080600060608486031215611d05578081fd5b611d0e84611c89565b9250611d1c60208501611c89565b9150604084013590509250925092565b60008060008060808587031215611d41578081fd5b611d4a85611c89565b9350611d5860208601611c89565b925060408501359150606085013567ffffffffffffffff811115611d7a578182fd5b8501601f81018713611d8a578182fd5b611d9987823560208401611c31565b91505092959194509250565b60008060408385031215611db7578182fd5b611dc083611c89565b915060208301358015158114611dd4578182fd5b809150509250929050565b60008060408385031215611df1578182fd5b611dfa83611c89565b946020939093013593505050565b60006020808385031215611e1a578182fd5b823567ffffffffffffffff80821115611e31578384fd5b818501915085601f830112611e44578384fd5b813581811115611e5657611e56612236565b8060051b9150611e678483016120e1565b8181528481019084860184860187018a1015611e81578788fd5b8795505b83861015611ea3578035835260019590950194918601918601611e85565b5098975050505050505050565b600060208284031215611ec1578081fd5b813561103b8161224c565b600060208284031215611edd578081fd5b815161103b8161224c565b600060208284031215611ef9578081fd5b813567ffffffffffffffff811115611f0f578182fd5b8201601f81018413611f1f578182fd5b61125c84823560208401611c31565b600060208284031215611f3f578081fd5b5035919050565b600060208284031215611f57578081fd5b5051919050565b60008151808452611f76816020860160208601612174565b601f01601f19169290920160200192915050565b60008351611f9c818460208801612174565b835190830190611fb0818360208801612174565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fec90830184611f5e565b9695505050505050565b60208152600061103b6020830184611f5e565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561210a5761210a612236565b604052919050565b600082198211156121255761212561220a565b500190565b60008261213957612139612220565b500490565b60008160001904831182151516156121585761215861220a565b500290565b60008282101561216f5761216f61220a565b500390565b60005b8381101561218f578181015183820152602001612177565b83811115610f615750506000910152565b600181811c908216806121b457607f821691505b602082108114156121d557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156121ef576121ef61220a565b5060010190565b60008261220557612205612220565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461079f57600080fdfea2646970667358221220abf07be5f47396ca5bdc9357cb0bbcee14f764a447842360d8c9efa8e2ffedc564736f6c63430008040033
Deployed Bytecode Sourcemap
49754:3205:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52777:179;;;;;;:::i;:::-;;:::i;:::-;;;7094:14:1;;7087:22;7069:41;;7057:2;7042:18;52777:179:0;;;;;;;;13020:100;;;:::i;:::-;;;;;;;:::i;14480:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6392:32:1;;;6374:51;;6362:2;6347:18;14480:221:0;6329:102:1;14017:397:0;;;;;;:::i;:::-;;:::i;:::-;;25093:113;25181:10;:17;25093:113;;;15873:25:1;;;15861:2;15846:18;25093:113:0;15828:76:1;15370:305:0;;;;;;:::i;:::-;;:::i;24761:256::-;;;;;;:::i;:::-;;:::i;52431:77::-;;;:::i;15746:151::-;;;;;;:::i;:::-;;:::i;23341:245::-;;;;;;:::i;:::-;;:::i;25283:233::-;;;;;;:::i;:::-;;:::i;50545:104::-;;;;;;:::i;:::-;;:::i;12714:239::-;;;;;;:::i;:::-;;:::i;52048:293::-;;;;;;:::i;:::-;;:::i;12444:208::-;;;;;;:::i;:::-;;:::i;32165:94::-;;;:::i;50657:1269::-;;;;;;:::i;:::-;;:::i;52349:74::-;;;:::i;31514:87::-;31587:6;;-1:-1:-1;;;;;31587:6:0;31514:87;;13189:104;;;:::i;14773:295::-;;;;;;:::i;:::-;;:::i;15968:285::-;;;;;;:::i;:::-;;:::i;13364:360::-;;;;;;:::i;:::-;;:::i;51938:98::-;;;;;;:::i;:::-;51991:4;52015:13;;;:9;:13;;;;;;;51938:98;15139:164;;;;;;:::i;:::-;-1:-1:-1;;;;;15260:25:0;;;15236:4;15260:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;15139:164;32414:192;;;;;;:::i;:::-;;:::i;52777:179::-;52888:4;52912:36;52936:11;52912:23;:36::i;:::-;52905:43;52777:179;-1:-1:-1;;52777:179:0:o;13020:100::-;13074:13;13107:5;13100:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13020:100;:::o;14480:221::-;14556:7;17809:16;;;:7;:16;;;;;;-1:-1:-1;;;;;17809:16:0;14576:73;;;;-1:-1:-1;;;14576:73:0;;12274:2:1;14576:73:0;;;12256:21:1;12313:2;12293:18;;;12286:30;12352:34;12332:18;;;12325:62;-1:-1:-1;;;12403:18:1;;;12396:42;12455:19;;14576:73:0;;;;;;;;;-1:-1:-1;14669:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;14669:24:0;;14480:221::o;14017:397::-;14098:13;14114:23;14129:7;14114:14;:23::i;:::-;14098:39;;14162:5;-1:-1:-1;;;;;14156:11:0;:2;-1:-1:-1;;;;;14156:11:0;;;14148:57;;;;-1:-1:-1;;;14148:57:0;;13874:2:1;14148:57:0;;;13856:21:1;13913:2;13893:18;;;13886:30;13952:34;13932:18;;;13925:62;-1:-1:-1;;;14003:18:1;;;13996:31;14044:19;;14148:57:0;13846:223:1;14148:57:0;562:10;-1:-1:-1;;;;;14226:21:0;;;;:62;;-1:-1:-1;14251:37:0;14268:5;562:10;15139:164;:::i;14251:37::-;14218:154;;;;-1:-1:-1;;;14218:154:0;;10314:2:1;14218:154:0;;;10296:21:1;10353:2;10333:18;;;10326:30;10392:34;10372:18;;;10365:62;10463:26;10443:18;;;10436:54;10507:19;;14218:154:0;10286:246:1;14218:154:0;14385:21;14394:2;14398:7;14385:8;:21::i;:::-;14017:397;;;:::o;15370:305::-;15531:41;562:10;15550:12;15564:7;15531:18;:41::i;:::-;15523:103;;;;-1:-1:-1;;;15523:103:0;;;;;;;:::i;:::-;15639:28;15649:4;15655:2;15659:7;15639:9;:28::i;24761:256::-;24858:7;24894:23;24911:5;24894:16;:23::i;:::-;24886:5;:31;24878:87;;;;-1:-1:-1;;;24878:87:0;;7547:2:1;24878:87:0;;;7529:21:1;7586:2;7566:18;;;7559:30;7625:34;7605:18;;;7598:62;-1:-1:-1;;;7676:18:1;;;7669:41;7727:19;;24878:87:0;7519:233:1;24878:87:0;-1:-1:-1;;;;;;24983:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;24761:256::o;52431:77::-;31587:6;;-1:-1:-1;;;;;31587:6:0;562:10;31734:23;31726:68;;;;-1:-1:-1;;;31726:68:0;;;;;;;:::i;:::-;52486:6:::1;:14:::0;;-1:-1:-1;;;;52486:14:0::1;::::0;;52431:77::o;15746:151::-;15850:39;15867:4;15873:2;15877:7;15850:39;;;;;;;;;;;;:16;:39::i;23341:245::-;23459:41;562:10;23478:12;482:98;23459:41;23451:102;;;;-1:-1:-1;;;23451:102:0;;15512:2:1;23451:102:0;;;15494:21:1;15551:2;15531:18;;;15524:30;15590:34;15570:18;;;15563:62;-1:-1:-1;;;15641:18:1;;;15634:46;15697:19;;23451:102:0;15484:238:1;23451:102:0;23564:14;23570:7;23564:5;:14::i;:::-;23341:245;:::o;25283:233::-;25358:7;25394:30;25181:10;:17;;25093:113;25394:30;25386:5;:38;25378:95;;;;-1:-1:-1;;;25378:95:0;;14694:2:1;25378:95:0;;;14676:21:1;14733:2;14713:18;;;14706:30;14772:34;14752:18;;;14745:62;-1:-1:-1;;;14823:18:1;;;14816:42;14875:19;;25378:95:0;14666:234:1;25378:95:0;25491:10;25502:5;25491:17;;;;;;-1:-1:-1;;;25491:17:0;;;;;;;;;;;;;;;;;25484:24;;25283:233;;;:::o;50545:104::-;31587:6;;-1:-1:-1;;;;;31587:6:0;562:10;31734:23;31726:68;;;;-1:-1:-1;;;31726:68:0;;;;;;;:::i;:::-;50618:23;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;:::-;;50545:104:::0;:::o;12714:239::-;12786:7;12822:16;;;:7;:16;;;;;;-1:-1:-1;;;;;12822:16:0;12857:19;12849:73;;;;-1:-1:-1;;;12849:73:0;;11150:2:1;12849:73:0;;;11132:21:1;11189:2;11169:18;;;11162:30;11228:34;11208:18;;;11201:62;-1:-1:-1;;;11279:18:1;;;11272:39;11328:19;;12849:73:0;11122:231:1;52048:293:0;52135:12;;:32;;-1:-1:-1;;;52135:32:0;;-1:-1:-1;;;;;6392:32:1;;;52135::0;;;6374:51:1;52105:4:0;;;;52135:12;;;:24;;6347:18:1;;52135:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52122:45;;52182:6;52178:133;52198:17;52208:6;52198:9;:17::i;:::-;52194:1;:21;52178:133;;;52253:46;52268:30;52288:6;52296:1;52268:19;:30::i;52253:46::-;52245:54;;:5;:54;:::i;:::-;52237:62;-1:-1:-1;52217:3:0;;;;:::i;:::-;;;;52178:133;;;-1:-1:-1;52328:5:0;52048:293;-1:-1:-1;;52048:293:0:o;12444:208::-;12516:7;-1:-1:-1;;;;;12544:19:0;;12536:74;;;;-1:-1:-1;;;12536:74:0;;10739:2:1;12536:74:0;;;10721:21:1;10778:2;10758:18;;;10751:30;10817:34;10797:18;;;10790:62;-1:-1:-1;;;10868:18:1;;;10861:40;10918:19;;12536:74:0;10711:232:1;12536:74:0;-1:-1:-1;;;;;;12628:16:0;;;;;:9;:16;;;;;;;12444:208::o;32165:94::-;31587:6;;-1:-1:-1;;;;;31587:6:0;562:10;31734:23;31726:68;;;;-1:-1:-1;;;31726:68:0;;;;;;;:::i;:::-;32230:21:::1;32248:1;32230:9;:21::i;:::-;32165:94::o:0;50657:1269::-;50729:6;;-1:-1:-1;;;50729:6:0;;;;50728:7;;:32;;-1:-1:-1;31587:6:0;;-1:-1:-1;;;;;31587:6:0;50739:10;:21;50728:32;50720:69;;;;-1:-1:-1;;;50720:69:0;;11560:2:1;50720:69:0;;;11542:21:1;11599:2;11579:18;;;11572:30;11638:26;11618:18;;;11611:54;11682:18;;50720:69:0;11532:174:1;50720:69:0;50828:1;50808:10;:17;:21;50800:70;;;;-1:-1:-1;;;50800:70:0;;15107:2:1;50800:70:0;;;15089:21:1;15146:2;15126:18;;;15119:30;15185:34;15165:18;;;15158:62;-1:-1:-1;;;15236:18:1;;;15229:34;15280:19;;50800:70:0;15079:226:1;50800:70:0;50891:15;50925:6;50921:187;50941:10;:17;50937:1;:21;50921:187;;;51006:12;;51035:13;;-1:-1:-1;;;;;51006:12:0;;;;:28;;51035:10;;51046:1;;51035:13;;;;-1:-1:-1;;;51035:13:0;;;;;;;;;;;;;;;51006:43;;;;;;;;;;;;;15873:25:1;;15861:2;15846:18;;15828:76;51006:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;50993:56;;:10;:56;:::i;:::-;51064:12;;51082:13;;50980:69;;-1:-1:-1;;;;;;51064:12:0;;:17;;51082:10;;51093:1;;51082:13;;;;-1:-1:-1;;;51082:13:0;;;;;;;;;;;;;;;51064:32;;;;;;;;;;;;;15873:25:1;;15861:2;15846:18;;15828:76;51064:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50960:3;;;;;:::i;:::-;;;;50921:187;;;;51118:15;51136:45;51149:10;51179:1;51161:10;:17;:19;;;;:::i;:::-;51136:12;:45::i;:::-;51118:63;;51192:18;51257:1;51239:10;:17;:19;;;;:::i;:::-;51227:32;;:10;:32;:::i;:::-;51213:47;;:10;:47;:::i;:::-;51192:68;;51285:6;51281:638;51319:1;51301:10;:17;:19;;;;:::i;:::-;51297:1;:23;51281:638;;;51355:10;51383:6;51380:75;;51418:21;51426:13;51418:5;:21;:::i;:::-;51410:29;;51380:75;51495:1;51477:10;:17;:19;;;;:::i;:::-;51472:1;:24;51469:81;;;51525:9;:5;51533:1;51525:9;:::i;:::-;51517:17;;51469:81;51564:27;:15;1801:19;;1819:1;1801:19;;;1712:127;51564:27;51606:44;51612:10;51624:25;:15;1682:14;;1590:114;51624:25;51606:5;:44::i;:::-;51665:17;51718:16;51736:15;51753:13;25181:10;:17;;25093:113;51753:13;51701:66;;;;;;6096:19:1;;;;6131:12;;6124:28;;;;6168:12;;;6161:28;6205:12;;51701:66:0;;;;;;;;;;;;51691:77;;;;;;51686:83;;51665:104;;51823:5;51784:9;:36;51794:25;:15;1682:14;;1590:114;51794:25;51784:36;;;;;;;;;;;-1:-1:-1;51784:36:0;:44;51860:15;1682:14;51848:59;;;16083:25:1;;;16139:2;16124:18;;16117:34;;;51848:59:0;;16056:18:1;51848:59:0;;;;;;;51281:638;;51322:3;;;;;:::i;:::-;;;;51281:638;;;;50657:1269;;;;:::o;52349:74::-;31587:6;;-1:-1:-1;;;;;31587:6:0;562:10;31734:23;31726:68;;;;-1:-1:-1;;;31726:68:0;;;;;;;:::i;:::-;52402:6:::1;:13:::0;;-1:-1:-1;;;;52402:13:0::1;-1:-1:-1::0;;;52402:13:0::1;::::0;;52349:74::o;13189:104::-;13245:13;13278:7;13271:14;;;;;:::i;14773:295::-;-1:-1:-1;;;;;14876:24:0;;562:10;14876:24;;14868:62;;;;-1:-1:-1;;;14868:62:0;;9547:2:1;14868:62:0;;;9529:21:1;9586:2;9566:18;;;9559:30;9625:27;9605:18;;;9598:55;9670:18;;14868:62:0;9519:175:1;14868:62:0;562:10;14943:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;14943:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;14943:53:0;;;;;;;;;;15012:48;;7069:41:1;;;14943:42:0;;562:10;15012:48;;7042:18:1;15012:48:0;;;;;;;14773:295;;:::o;15968:285::-;16100:41;562:10;16133:7;16100:18;:41::i;:::-;16092:103;;;;-1:-1:-1;;;16092:103:0;;;;;;;:::i;:::-;16206:39;16220:4;16226:2;16230:7;16239:5;16206:13;:39::i;:::-;15968:285;;;;:::o;13364:360::-;17785:4;17809:16;;;:7;:16;;;;;;13437:13;;-1:-1:-1;;;;;17809:16:0;13463:76;;;;-1:-1:-1;;;13463:76:0;;13458:2:1;13463:76:0;;;13440:21:1;13497:2;13477:18;;;13470:30;13536:34;13516:18;;;13509:62;-1:-1:-1;;;13587:18:1;;;13580:45;13642:19;;13463:76:0;13430:237:1;13463:76:0;13552:21;13576:10;:8;:10::i;:::-;13552:34;;13628:1;13610:7;13604:21;:25;:112;;;;;;;;;;;;;;;;;13669:7;13678:18;:7;:16;:18::i;:::-;13652:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;13604:112;13597:119;13364:360;-1:-1:-1;;;13364:360:0:o;32414:192::-;31587:6;;-1:-1:-1;;;;;31587:6:0;562:10;31734:23;31726:68;;;;-1:-1:-1;;;31726:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;32503:22:0;::::1;32495:73;;;::::0;-1:-1:-1;;;32495:73:0;;8378:2:1;32495:73:0::1;::::0;::::1;8360:21:1::0;8417:2;8397:18;;;8390:30;8456:34;8436:18;;;8429:62;-1:-1:-1;;;8507:18:1;;;8500:36;8553:19;;32495:73:0::1;8350:228:1::0;32495:73:0::1;32579:19;32589:8;32579:9;:19::i;24440:237::-:0;24542:4;-1:-1:-1;;;;;;24566:50:0;;-1:-1:-1;;;24566:50:0;;:103;;;24633:36;24657:11;24633:23;:36::i;20670:174::-;20745:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;20745:29:0;-1:-1:-1;;;;;20745:29:0;;;;;;;;:24;;20799:23;20745:24;20799:14;:23::i;:::-;-1:-1:-1;;;;;20790:46:0;;;;;;;;;;;20670:174;;:::o;18014:348::-;18107:4;17809:16;;;:7;:16;;;;;;-1:-1:-1;;;;;17809:16:0;18124:73;;;;-1:-1:-1;;;18124:73:0;;9901:2:1;18124:73:0;;;9883:21:1;9940:2;9920:18;;;9913:30;9979:34;9959:18;;;9952:62;-1:-1:-1;;;10030:18:1;;;10023:42;10082:19;;18124:73:0;9873:234:1;18124:73:0;18208:13;18224:23;18239:7;18224:14;:23::i;:::-;18208:39;;18277:5;-1:-1:-1;;;;;18266:16:0;:7;-1:-1:-1;;;;;18266:16:0;;:51;;;;18310:7;-1:-1:-1;;;;;18286:31:0;:20;18298:7;18286:11;:20::i;:::-;-1:-1:-1;;;;;18286:31:0;;18266:51;:87;;;-1:-1:-1;;;;;;15260:25:0;;;15236:4;15260:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;18321:32;18258:96;18014:348;-1:-1:-1;;;;18014:348:0:o;20008:544::-;20133:4;-1:-1:-1;;;;;20106:31:0;:23;20121:7;20106:14;:23::i;:::-;-1:-1:-1;;;;;20106:31:0;;20098:85;;;;-1:-1:-1;;;20098:85:0;;13048:2:1;20098:85:0;;;13030:21:1;13087:2;13067:18;;;13060:30;13126:34;13106:18;;;13099:62;-1:-1:-1;;;13177:18:1;;;13170:39;13226:19;;20098:85:0;13020:231:1;20098:85:0;-1:-1:-1;;;;;20202:16:0;;20194:65;;;;-1:-1:-1;;;20194:65:0;;9142:2:1;20194:65:0;;;9124:21:1;9181:2;9161:18;;;9154:30;9220:34;9200:18;;;9193:62;-1:-1:-1;;;9271:18:1;;;9264:34;9315:19;;20194:65:0;9114:226:1;20194:65:0;20272:39;20293:4;20299:2;20303:7;20272:20;:39::i;:::-;20376:29;20393:1;20397:7;20376:8;:29::i;:::-;-1:-1:-1;;;;;20418:15:0;;;;;;:9;:15;;;;;:20;;20437:1;;20418:15;:20;;20437:1;;20418:20;:::i;:::-;;;;-1:-1:-1;;;;;;;20449:13:0;;;;;;:9;:13;;;;;:18;;20466:1;;20449:13;:18;;20466:1;;20449:18;:::i;:::-;;;;-1:-1:-1;;20478:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;20478:21:0;-1:-1:-1;;;;;20478:21:0;;;;;;;;;20517:27;;20478:16;;20517:27;;;;;;;20008:544;;;:::o;19311:360::-;19371:13;19387:23;19402:7;19387:14;:23::i;:::-;19371:39;;19423:48;19444:5;19459:1;19463:7;19423:20;:48::i;:::-;19512:29;19529:1;19533:7;19512:8;:29::i;:::-;-1:-1:-1;;;;;19554:16:0;;;;;;:9;:16;;;;;:21;;19574:1;;19554:16;:21;;19574:1;;19554:21;:::i;:::-;;;;-1:-1:-1;;19593:16:0;;;;:7;:16;;;;;;19586:23;;-1:-1:-1;;;;;;19586:23:0;;;19627:36;19601:7;;19593:16;-1:-1:-1;;;;;19627:36:0;;;;;19593:16;;19627:36;19311:360;;:::o;32614:173::-;32689:6;;;-1:-1:-1;;;;;32706:17:0;;;-1:-1:-1;;;;;;32706:17:0;;;;;;;32739:40;;32689:6;;;32706:17;32689:6;;32739:40;;32670:16;;32739:40;32614:173;;:::o;46497:98::-;46555:7;46582:5;46586:1;46582;:5;:::i;18700:382::-;-1:-1:-1;;;;;18780:16:0;;18772:61;;;;-1:-1:-1;;;18772:61:0;;11913:2:1;18772:61:0;;;11895:21:1;;;11932:18;;;11925:30;11991:34;11971:18;;;11964:62;12043:18;;18772:61:0;11885:182:1;18772:61:0;17785:4;17809:16;;;:7;:16;;;;;;-1:-1:-1;;;;;17809:16:0;:30;18844:58;;;;-1:-1:-1;;;18844:58:0;;8785:2:1;18844:58:0;;;8767:21:1;8824:2;8804:18;;;8797:30;8863;8843:18;;;8836:58;8911:18;;18844:58:0;8757:178:1;18844:58:0;18915:45;18944:1;18948:2;18952:7;18915:20;:45::i;:::-;-1:-1:-1;;;;;18973:13:0;;;;;;:9;:13;;;;;:18;;18990:1;;18973:13;:18;;18990:1;;18973:18;:::i;:::-;;;;-1:-1:-1;;19002:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;19002:21:0;-1:-1:-1;;;;;19002:21:0;;;;;;;;19041:33;;19002:16;;;19041:33;;19002:16;;19041:33;18700:382;;:::o;17135:272::-;17249:28;17259:4;17265:2;17269:7;17249:9;:28::i;:::-;17296:48;17319:4;17325:2;17329:7;17338:5;17296:22;:48::i;:::-;17288:111;;;;-1:-1:-1;;;17288:111:0;;;;;;;:::i;50419:114::-;50479:13;50512;50505:20;;;;;:::i;33049:723::-;33105:13;33326:10;33322:53;;-1:-1:-1;;33353:10:0;;;;;;;;;;;;-1:-1:-1;;;33353:10:0;;;;;33049:723::o;33322:53::-;33400:5;33385:12;33441:78;33448:9;;33441:78;;33474:8;;;;:::i;:::-;;-1:-1:-1;33497:10:0;;-1:-1:-1;33505:2:0;33497:10;;:::i;:::-;;;33441:78;;;33529:19;33561:6;33551:17;;;;;;-1:-1:-1;;;33551:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33551:17:0;;33529:39;;33579:154;33586:10;;33579:154;;33613:11;33623:1;33613:11;;:::i;:::-;;-1:-1:-1;33682:10:0;33690:2;33682:5;:10;:::i;:::-;33669:24;;:2;:24;:::i;:::-;33656:39;;33639:6;33646;33639:14;;;;;;-1:-1:-1;;;33639:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;33639:56:0;;;;;;;;-1:-1:-1;33710:11:0;33719:2;33710:11;;:::i;:::-;;;33579:154;;12088:292;12190:4;-1:-1:-1;;;;;;12214:40:0;;-1:-1:-1;;;12214:40:0;;:105;;-1:-1:-1;;;;;;;12271:48:0;;-1:-1:-1;;;12271:48:0;12214:105;:158;;;-1:-1:-1;;;;;;;;;;10769:40:0;;;12336:36;10660:157;52516:189;52652:45;52679:4;52685:2;52689:7;52652:26;:45::i;21409:843::-;21530:4;-1:-1:-1;;;;;21556:13:0;;35841:20;35889:8;21552:693;;21592:72;;-1:-1:-1;;;21592:72:0;;-1:-1:-1;;;;;21592:36:0;;;;;:72;;562:10;;21643:4;;21649:7;;21658:5;;21592:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21592:72:0;;;;;;;;-1:-1:-1;;21592:72:0;;;;;;;;;;;;:::i;:::-;;;21588:602;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21838:13:0;;21834:341;;21881:60;;-1:-1:-1;;;21881:60:0;;;;;;;:::i;21834:341::-;22125:6;22119:13;22110:6;22106:2;22102:15;22095:38;21588:602;-1:-1:-1;;;;;;21715:55:0;-1:-1:-1;;;21715:55:0;;-1:-1:-1;21708:62:0;;21552:693;-1:-1:-1;22229:4:0;21409:843;;;;;;:::o;26129:555::-;-1:-1:-1;;;;;26301:18:0;;26297:187;;26336:40;26368:7;27511:10;:17;;27484:24;;;;:15;:24;;;;;:44;;;27539:24;;;;;;;;;;;;27407:164;26336:40;26297:187;;;26406:2;-1:-1:-1;;;;;26398:10:0;:4;-1:-1:-1;;;;;26398:10:0;;26394:90;;26425:47;26458:4;26464:7;26425:32;:47::i;:::-;-1:-1:-1;;;;;26498:16:0;;26494:183;;26531:45;26568:7;26531:36;:45::i;26494:183::-;26604:4;-1:-1:-1;;;;;26598:10:0;:2;-1:-1:-1;;;;;26598:10:0;;26594:83;;26625:40;26653:2;26657:7;26625:27;:40::i;28198:988::-;28464:22;28514:1;28489:22;28506:4;28489:16;:22::i;:::-;:26;;;;:::i;:::-;28526:18;28547:26;;;:17;:26;;;;;;28464:51;;-1:-1:-1;28680:28:0;;;28676:328;;-1:-1:-1;;;;;28747:18:0;;28725:19;28747:18;;;:12;:18;;;;;;;;:34;;;;;;;;;28798:30;;;;;;:44;;;28915:30;;:17;:30;;;;;:43;;;28676:328;-1:-1:-1;29100:26:0;;;;:17;:26;;;;;;;;29093:33;;;-1:-1:-1;;;;;29144:18:0;;;;;:12;:18;;;;;:34;;;;;;;29137:41;28198:988::o;29481:1079::-;29759:10;:17;29734:22;;29759:21;;29779:1;;29759:21;:::i;:::-;29791:18;29812:24;;;:15;:24;;;;;;30185:10;:26;;29734:46;;-1:-1:-1;29812:24:0;;29734:46;;30185:26;;;;-1:-1:-1;;;30185:26:0;;;;;;;;;;;;;;;;;30163:48;;30249:11;30224:10;30235;30224:22;;;;;;-1:-1:-1;;;30224:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;30329:28;;;:15;:28;;;;;;;:41;;;30501:24;;;;;30494:31;30536:10;:16;;;;;-1:-1:-1;;;30536:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;29481:1079;;;;:::o;26985:221::-;27070:14;27087:20;27104:2;27087:16;:20::i;:::-;-1:-1:-1;;;;;27118:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;27163:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;26985:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:2;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:2;;;309:1;306;299:12;268:2;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;88:332;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:2;;588:1;585;578:12;522:2;474:124;;;:::o;603:196::-;662:6;715:2;703:9;694:7;690:23;686:32;683:2;;;736:6;728;721:22;683:2;764:29;783:9;764:29;:::i;804:270::-;872:6;880;933:2;921:9;912:7;908:23;904:32;901:2;;;954:6;946;939:22;901:2;982:29;1001:9;982:29;:::i;:::-;972:39;;1030:38;1064:2;1053:9;1049:18;1030:38;:::i;:::-;1020:48;;891:183;;;;;:::o;1079:338::-;1156:6;1164;1172;1225:2;1213:9;1204:7;1200:23;1196:32;1193:2;;;1246:6;1238;1231:22;1193:2;1274:29;1293:9;1274:29;:::i;:::-;1264:39;;1322:38;1356:2;1345:9;1341:18;1322:38;:::i;:::-;1312:48;;1407:2;1396:9;1392:18;1379:32;1369:42;;1183:234;;;;;:::o;1422:696::-;1517:6;1525;1533;1541;1594:3;1582:9;1573:7;1569:23;1565:33;1562:2;;;1616:6;1608;1601:22;1562:2;1644:29;1663:9;1644:29;:::i;:::-;1634:39;;1692:38;1726:2;1715:9;1711:18;1692:38;:::i;:::-;1682:48;;1777:2;1766:9;1762:18;1749:32;1739:42;;1832:2;1821:9;1817:18;1804:32;1859:18;1851:6;1848:30;1845:2;;;1896:6;1888;1881:22;1845:2;1924:22;;1977:4;1969:13;;1965:27;-1:-1:-1;1955:2:1;;2011:6;2003;1996:22;1955:2;2039:73;2104:7;2099:2;2086:16;2081:2;2077;2073:11;2039:73;:::i;:::-;2029:83;;;1552:566;;;;;;;:::o;2123:367::-;2188:6;2196;2249:2;2237:9;2228:7;2224:23;2220:32;2217:2;;;2270:6;2262;2255:22;2217:2;2298:29;2317:9;2298:29;:::i;:::-;2288:39;;2377:2;2366:9;2362:18;2349:32;2424:5;2417:13;2410:21;2403:5;2400:32;2390:2;;2451:6;2443;2436:22;2390:2;2479:5;2469:15;;;2207:283;;;;;:::o;2495:264::-;2563:6;2571;2624:2;2612:9;2603:7;2599:23;2595:32;2592:2;;;2645:6;2637;2630:22;2592:2;2673:29;2692:9;2673:29;:::i;:::-;2663:39;2749:2;2734:18;;;;2721:32;;-1:-1:-1;;;2582:177:1:o;2764:1002::-;2848:6;2879:2;2922;2910:9;2901:7;2897:23;2893:32;2890:2;;;2943:6;2935;2928:22;2890:2;2988:9;2975:23;3017:18;3058:2;3050:6;3047:14;3044:2;;;3079:6;3071;3064:22;3044:2;3122:6;3111:9;3107:22;3097:32;;3167:7;3160:4;3156:2;3152:13;3148:27;3138:2;;3194:6;3186;3179:22;3138:2;3235;3222:16;3257:2;3253;3250:10;3247:2;;;3263:18;;:::i;:::-;3309:2;3306:1;3302:10;3292:20;;3332:28;3356:2;3352;3348:11;3332:28;:::i;:::-;3394:15;;;3425:12;;;;3457:11;;;3487;;;3483:20;;3480:33;-1:-1:-1;3477:2:1;;;3531:6;3523;3516:22;3477:2;3558:6;3549:15;;3573:163;3587:2;3584:1;3581:9;3573:163;;;3644:17;;3632:30;;3605:1;3598:9;;;;;3682:12;;;;3714;;3573:163;;;-1:-1:-1;3755:5:1;2859:907;-1:-1:-1;;;;;;;;2859:907:1:o;3771:255::-;3829:6;3882:2;3870:9;3861:7;3857:23;3853:32;3850:2;;;3903:6;3895;3888:22;3850:2;3947:9;3934:23;3966:30;3990:5;3966:30;:::i;4031:259::-;4100:6;4153:2;4141:9;4132:7;4128:23;4124:32;4121:2;;;4174:6;4166;4159:22;4121:2;4211:9;4205:16;4230:30;4254:5;4230:30;:::i;4295:480::-;4364:6;4417:2;4405:9;4396:7;4392:23;4388:32;4385:2;;;4438:6;4430;4423:22;4385:2;4483:9;4470:23;4516:18;4508:6;4505:30;4502:2;;;4553:6;4545;4538:22;4502:2;4581:22;;4634:4;4626:13;;4622:27;-1:-1:-1;4612:2:1;;4668:6;4660;4653:22;4612:2;4696:73;4761:7;4756:2;4743:16;4738:2;4734;4730:11;4696:73;:::i;4780:190::-;4839:6;4892:2;4880:9;4871:7;4867:23;4863:32;4860:2;;;4913:6;4905;4898:22;4860:2;-1:-1:-1;4941:23:1;;4850:120;-1:-1:-1;4850:120:1:o;4975:194::-;5045:6;5098:2;5086:9;5077:7;5073:23;5069:32;5066:2;;;5119:6;5111;5104:22;5066:2;-1:-1:-1;5147:16:1;;5056:113;-1:-1:-1;5056:113:1:o;5174:257::-;5215:3;5253:5;5247:12;5280:6;5275:3;5268:19;5296:63;5352:6;5345:4;5340:3;5336:14;5329:4;5322:5;5318:16;5296:63;:::i;:::-;5413:2;5392:15;-1:-1:-1;;5388:29:1;5379:39;;;;5420:4;5375:50;;5223:208;-1:-1:-1;;5223:208:1:o;5436:470::-;5615:3;5653:6;5647:13;5669:53;5715:6;5710:3;5703:4;5695:6;5691:17;5669:53;:::i;:::-;5785:13;;5744:16;;;;5807:57;5785:13;5744:16;5841:4;5829:17;;5807:57;:::i;:::-;5880:20;;5623:283;-1:-1:-1;;;;5623:283:1:o;6436:488::-;-1:-1:-1;;;;;6705:15:1;;;6687:34;;6757:15;;6752:2;6737:18;;6730:43;6804:2;6789:18;;6782:34;;;6852:3;6847:2;6832:18;;6825:31;;;6630:4;;6873:45;;6898:19;;6890:6;6873:45;:::i;:::-;6865:53;6639:285;-1:-1:-1;;;;;;6639:285:1:o;7121:219::-;7270:2;7259:9;7252:21;7233:4;7290:44;7330:2;7319:9;7315:18;7307:6;7290:44;:::i;7757:414::-;7959:2;7941:21;;;7998:2;7978:18;;;7971:30;8037:34;8032:2;8017:18;;8010:62;-1:-1:-1;;;8103:2:1;8088:18;;8081:48;8161:3;8146:19;;7931:240::o;12485:356::-;12687:2;12669:21;;;12706:18;;;12699:30;12765:34;12760:2;12745:18;;12738:62;12832:2;12817:18;;12659:182::o;14074:413::-;14276:2;14258:21;;;14315:2;14295:18;;;14288:30;14354:34;14349:2;14334:18;;14327:62;-1:-1:-1;;;14420:2:1;14405:18;;14398:47;14477:3;14462:19;;14248:239::o;16162:275::-;16233:2;16227:9;16298:2;16279:13;;-1:-1:-1;;16275:27:1;16263:40;;16333:18;16318:34;;16354:22;;;16315:62;16312:2;;;16380:18;;:::i;:::-;16416:2;16409:22;16207:230;;-1:-1:-1;16207:230:1:o;16442:128::-;16482:3;16513:1;16509:6;16506:1;16503:13;16500:2;;;16519:18;;:::i;:::-;-1:-1:-1;16555:9:1;;16490:80::o;16575:120::-;16615:1;16641;16631:2;;16646:18;;:::i;:::-;-1:-1:-1;16680:9:1;;16621:74::o;16700:168::-;16740:7;16806:1;16802;16798:6;16794:14;16791:1;16788:21;16783:1;16776:9;16769:17;16765:45;16762:2;;;16813:18;;:::i;:::-;-1:-1:-1;16853:9:1;;16752:116::o;16873:125::-;16913:4;16941:1;16938;16935:8;16932:2;;;16946:18;;:::i;:::-;-1:-1:-1;16983:9:1;;16922:76::o;17003:258::-;17075:1;17085:113;17099:6;17096:1;17093:13;17085:113;;;17175:11;;;17169:18;17156:11;;;17149:39;17121:2;17114:10;17085:113;;;17216:6;17213:1;17210:13;17207:2;;;-1:-1:-1;;17251:1:1;17233:16;;17226:27;17056:205::o;17266:380::-;17345:1;17341:12;;;;17388;;;17409:2;;17463:4;17455:6;17451:17;17441:27;;17409:2;17516;17508:6;17505:14;17485:18;17482:38;17479:2;;;17562:10;17557:3;17553:20;17550:1;17543:31;17597:4;17594:1;17587:15;17625:4;17622:1;17615:15;17479:2;;17321:325;;;:::o;17651:135::-;17690:3;-1:-1:-1;;17711:17:1;;17708:2;;;17731:18;;:::i;:::-;-1:-1:-1;17778:1:1;17767:13;;17698:88::o;17791:112::-;17823:1;17849;17839:2;;17854:18;;:::i;:::-;-1:-1:-1;17888:9:1;;17829:74::o;17908:127::-;17969:10;17964:3;17960:20;17957:1;17950:31;18000:4;17997:1;17990:15;18024:4;18021:1;18014:15;18040:127;18101:10;18096:3;18092:20;18089:1;18082:31;18132:4;18129:1;18122:15;18156:4;18153:1;18146:15;18172:127;18233:10;18228:3;18224:20;18221:1;18214:31;18264:4;18261:1;18254:15;18288:4;18285:1;18278:15;18304:131;-1:-1:-1;;;;;;18378:32:1;;18368:43;;18358:2;;18425:1;18422;18415:12
Swarm Source
ipfs://abf07be5f47396ca5bdc9357cb0bbcee14f764a447842360d8c9efa8e2ffedc5
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 32 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.