Source Code
Overview
ETH Balance
0.011 ETH
Eth Value
$30.82 (@ $2,801.83/ETH)Latest 25 from a total of 658 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Bulk Reserve | 20698937 | 509 days ago | IN | 0.0045 ETH | 0.00074858 | ||||
| Bulk Reserve | 20184176 | 581 days ago | IN | 0.0015 ETH | 0.00170467 | ||||
| Bulk Reserve | 20184082 | 581 days ago | IN | 0.005 ETH | 0.00480142 | ||||
| Payout | 18579182 | 806 days ago | IN | 0 ETH | 0.00223725 | ||||
| Bulk Reserve | 18519663 | 814 days ago | IN | 0.001 ETH | 0.00191361 | ||||
| Bulk Reserve | 18513397 | 815 days ago | IN | 0.003 ETH | 0.00668093 | ||||
| Bulk Mint To ERC... | 18369689 | 835 days ago | IN | 0.003 ETH | 0.00359878 | ||||
| Record Ownership | 18369680 | 835 days ago | IN | 0 ETH | 0.00057791 | ||||
| Bulk Mint To ERC... | 18339380 | 839 days ago | IN | 0.002 ETH | 0.00242496 | ||||
| Record Ownership | 18339374 | 839 days ago | IN | 0 ETH | 0.00037058 | ||||
| Bulk Mint To ERC... | 17025062 | 1024 days ago | IN | 0.001 ETH | 0.00526696 | ||||
| Record Ownership | 17025058 | 1024 days ago | IN | 0 ETH | 0.00110965 | ||||
| Bulk Reserve | 16984383 | 1030 days ago | IN | 0.001 ETH | 0.00265273 | ||||
| Bulk Reserve | 16984360 | 1030 days ago | IN | 0.001 ETH | 0.00266551 | ||||
| Bulk Reserve | 16901060 | 1042 days ago | IN | 0.005 ETH | 0.00533119 | ||||
| Bulk Reserve | 16899885 | 1042 days ago | IN | 0.005 ETH | 0.00722896 | ||||
| Bulk Reserve | 16879907 | 1044 days ago | IN | 0.005 ETH | 0.00362987 | ||||
| Bulk Reserve | 16879704 | 1045 days ago | IN | 0.005 ETH | 0.00425905 | ||||
| Bulk Reserve | 16746885 | 1063 days ago | IN | 0.004 ETH | 0.00526719 | ||||
| Reserve And Mint... | 16728183 | 1066 days ago | IN | 0.001 ETH | 0.00823134 | ||||
| Reserve And Mint... | 16726411 | 1066 days ago | IN | 0.001 ETH | 0.00471119 | ||||
| Reserve And Mint... | 16726202 | 1066 days ago | IN | 0.001 ETH | 0.00434004 | ||||
| Reserve And Mint... | 16726190 | 1066 days ago | IN | 0.001 ETH | 0.00512044 | ||||
| Reserve And Mint... | 16726186 | 1066 days ago | IN | 0.001 ETH | 0.0053486 | ||||
| Reserve And Mint... | 16726177 | 1066 days ago | IN | 0.001 ETH | 0.00488549 |
Latest 20 internal transactions
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 18579182 | 806 days ago | 0.0305 ETH | ||||
| Transfer | 18579182 | 806 days ago | 0.0305 ETH | ||||
| Transfer | 16574520 | 1087 days ago | 0.05 ETH | ||||
| Transfer | 16574520 | 1087 days ago | 0.05 ETH | ||||
| Transfer | 16256823 | 1132 days ago | 0.039 ETH | ||||
| Transfer | 16256823 | 1132 days ago | 0.039 ETH | ||||
| Transfer | 15976850 | 1171 days ago | 0.0875 ETH | ||||
| Transfer | 15976850 | 1171 days ago | 0.0875 ETH | ||||
| Transfer | 15883864 | 1184 days ago | 0.13075 ETH | ||||
| Transfer | 15883864 | 1184 days ago | 0.13075 ETH | ||||
| Transfer | 15861558 | 1187 days ago | 0.116 ETH | ||||
| Transfer | 15861558 | 1187 days ago | 0.116 ETH | ||||
| Transfer | 15847372 | 1189 days ago | 0.05775 ETH | ||||
| Transfer | 15847372 | 1189 days ago | 0.05775 ETH | ||||
| Transfer | 15819428 | 1193 days ago | 0.0775 ETH | ||||
| Transfer | 15819428 | 1193 days ago | 0.0775 ETH | ||||
| Transfer | 15805367 | 1195 days ago | 0.01925 ETH | ||||
| Transfer | 15805367 | 1195 days ago | 0.01925 ETH | ||||
| Transfer | 15790939 | 1197 days ago | 0.1865 ETH | ||||
| Transfer | 15790939 | 1197 days ago | 0.1865 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
LinageeTools
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
interface ILinagee {
function transfer (bytes32 nameId, address receiver) external;
function reserve (bytes32 nameId) external;
function owner (bytes32 nameId) view external returns(address);
}
interface ILinageeWrapper {
function nameToId(bytes32) external returns (uint256);
function wrap(bytes32) external;
function transferFrom(address,address,uint256) external;
function createWrapper(bytes32) external;
}
contract LinageeTools is Ownable {
ILinagee public constant linagee = ILinagee(0x5564886ca2C518d1964E5FCea4f423b41Db9F561);
ILinageeWrapper public constant erlw = ILinageeWrapper(0x2Cc8342d7c8BFf5A213eb2cdE39DE9a59b3461A7);
address public dev;
uint256 public tip = 0.001 ether;
mapping (bytes32 => address) public namesToOwners;
constructor(address _dev) {
super.transferOwnership(msg.sender);
dev = _dev;
}
function unstuck(bytes32 _name, address destination) public payable {
require(msg.sender == owner() || msg.sender == dev, "shoo");
require(namesToOwners[_name] == address(0), "not stuck");
linagee.transfer(_name, destination);
}
function reserveAndMintErc721(bytes32 _name) public payable {
require(msg.value >= tip, ":(");
linagee.reserve(_name);
erlw.createWrapper(_name);
linagee.transfer(_name, address(erlw));
erlw.wrap(_name);
erlw.transferFrom(address(this), msg.sender, erlw.nameToId(_name));
}
function bulkReserveAndMintErc721(bytes32[] calldata _names) public payable {
uint256 numNames = _names.length;
require(numNames <= 10, "max 10 names");
require(msg.value >= tip * numNames, ":(");
uint i;
for (;i < numNames;) {
bytes32 _name = _names[i];
linagee.reserve(_name);
erlw.createWrapper(_name);
linagee.transfer(_name, address(erlw));
erlw.wrap(_name);
erlw.transferFrom(address(this), msg.sender, erlw.nameToId(_name));
unchecked {++i;}
}
}
function bulkReserve(bytes32[] calldata _names) public payable {
uint256 numNames = _names.length;
require(numNames <= 10, "max 10 names");
require(msg.value >= tip * numNames / 2, ":(");
uint i;
for (;i < numNames;) {
bytes32 _name = _names[i];
linagee.reserve(_name);
linagee.transfer(_name, msg.sender);
unchecked {++i;}
}
}
function recordOwnership(bytes32[] calldata _names) public {
uint256 numNames = _names.length;
require(numNames <= 10, "max 10 names");
uint i;
for (;i < numNames;) {
require(linagee.owner(_names[i]) == msg.sender);
namesToOwners[_names[i]] = msg.sender;
unchecked {++i;}
}
}
function bulkMintToERC721(bytes32[] calldata _names) public payable {
require(msg.value >= tip * _names.length, ":(");
uint256 numNames = _names.length;
require(numNames <= 10, "max 10 names");
uint i;
for (;i < numNames;) {
bytes32 _name = _names[i];
require(namesToOwners[_name] == msg.sender, "not recorded as owner");
delete namesToOwners[_name];
require(linagee.owner(_name) == address(this), "not transferred yet");
erlw.createWrapper(_name);
linagee.transfer(_name, address(erlw));
erlw.wrap(_name);
erlw.transferFrom(address(this), msg.sender, erlw.nameToId(_name));
unchecked {++i;}
}
}
function payout() external {
uint256 bal = address(this).balance;
payable(owner()).transfer(bal/2);
payable(dev).transfer(bal/2);
}
function updateDevAddress(address _dev) external {
require(msg.sender == dev, "shoo");
dev = _dev;
}
function setTip(uint256 _tip) external {
require(msg.sender == owner() || msg.sender == dev, "shoo");
tip = _tip;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping(uint256 => address) private _owners;
// Mapping owner address to token count
mapping(address => uint256) private _balances;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: address zero is not a valid owner");
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: invalid token ID");
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) {
_requireMinted(tokenId);
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overridden 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 token owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
_requireMinted(tokenId);
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
_setApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token 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: caller is not token 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) {
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(
address to,
uint256 tokenId,
bytes memory data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
_afterTokenTransfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
_afterTokenTransfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
_afterTokenTransfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits an {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Emits an {ApprovalForAll} event.
*/
function _setApprovalForAll(
address owner,
address operator,
bool approved
) internal virtual {
require(owner != operator, "ERC721: approve to caller");
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @dev Reverts if the `tokenId` has not been minted yet.
*/
function _requireMinted(uint256 tokenId) internal view virtual {
require(_exists(tokenId), "ERC721: invalid token ID");
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory data
) private returns (bool) {
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
return retval == IERC721Receiver.onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
/// @solidity memory-safe-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` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "./IERC721Enumerable.sol";
/**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract 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();
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* 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;
/**
* @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 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 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 the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @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);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);
/**
* @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);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_dev","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"bytes32[]","name":"_names","type":"bytes32[]"}],"name":"bulkMintToERC721","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_names","type":"bytes32[]"}],"name":"bulkReserve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_names","type":"bytes32[]"}],"name":"bulkReserveAndMintErc721","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"dev","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"erlw","outputs":[{"internalType":"contract ILinageeWrapper","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"linagee","outputs":[{"internalType":"contract ILinagee","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"namesToOwners","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payout","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_names","type":"bytes32[]"}],"name":"recordOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_name","type":"bytes32"}],"name":"reserveAndMintErc721","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tip","type":"uint256"}],"name":"setTip","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tip","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_name","type":"bytes32"},{"internalType":"address","name":"destination","type":"address"}],"name":"unstuck","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_dev","type":"address"}],"name":"updateDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405266038d7ea4c680006002553480156200001c57600080fd5b506040516200292f3803806200292f8339818101604052810190620000429190620002f4565b6200006262000056620000c060201b60201c565b620000c860201b60201c565b62000078336200018c60201b620016791760201c565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000489565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200019c6200022360201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200020f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000206906200036e565b60405180910390fd5b6200022081620000c860201b60201c565b50565b62000233620000c060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000259620002b460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002b2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002a99062000390565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081519050620002ee816200046f565b92915050565b6000602082840312156200030757600080fd5b60006200031784828501620002dd565b91505092915050565b60006200032f602683620003b2565b91506200033c82620003f7565b604082019050919050565b600062000356602083620003b2565b9150620003638262000446565b602082019050919050565b60006020820190508181036000830152620003898162000320565b9050919050565b60006020820190508181036000830152620003ab8162000347565b9050919050565b600082825260208201905092915050565b6000620003d082620003d7565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6200047a81620003c3565b81146200048657600080fd5b50565b61249680620004996000396000f3fe6080604052600436106100fe5760003560e01c80638503376211610095578063a4c6bc7b11610064578063a4c6bc7b146102be578063b284714b146102da578063f2fde38b14610305578063f3461a7b1461032e578063fda7cb741461034a576100fe565b806385033762146102165780638da5cb5b1461023f57806391cca3db1461026a5780639ce73b1614610295576100fe565b806362a52fff116100d157806362a52fff146101b057806363bd1d4a146101cc578063715018a6146101e357806371ec7785146101fa576100fe565b80630efe450d146101035780632755cd2d146101405780632e0de5151461016b5780632e4e4c9314610194575b600080fd5b34801561010f57600080fd5b5061012a60048036038101906101259190611d24565b610375565b6040516101379190611f3e565b60405180910390f35b34801561014c57600080fd5b506101556103a8565b604051610162919061210a565b60405180910390f35b34801561017757600080fd5b50610192600480360381019061018d9190611d89565b6103ae565b005b6101ae60048036038101906101a99190611d4d565b610485565b005b6101ca60048036038101906101c59190611cdf565b610679565b005b3480156101d857600080fd5b506101e1610882565b005b3480156101ef57600080fd5b506101f8610959565b005b610214600480360381019061020f9190611cdf565b61096d565b005b34801561022257600080fd5b5061023d60048036038101906102389190611c8d565b610d9d565b005b34801561024b57600080fd5b50610254610e71565b6040516102619190611f3e565b60405180910390f35b34801561027657600080fd5b5061027f610e9a565b60405161028c9190611f3e565b60405180910390f35b3480156102a157600080fd5b506102bc60048036038101906102b79190611cdf565b610ec0565b005b6102d860048036038101906102d39190611cdf565b6110cc565b005b3480156102e657600080fd5b506102ef611661565b6040516102fc9190611fef565b60405180910390f35b34801561031157600080fd5b5061032c60048036038101906103279190611c8d565b611679565b005b61034860048036038101906103439190611d24565b6116fd565b005b34801561035657600080fd5b5061035f611a78565b60405161036c9190611fd4565b60405180910390f35b60036020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025481565b6103b6610e71565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061043c5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61047b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104729061208a565b60405180910390fd5b8060028190555050565b61048d610e71565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806105135750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610552576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105499061208a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146105f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105eb9061206a565b60405180910390fd5b735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff166379ce9fac83836040518363ffffffff1660e01b8152600401610643929190611fab565b600060405180830381600087803b15801561065d57600080fd5b505af1158015610671573d6000803e3d6000fd5b505050505050565b6000828290509050600a8111156106c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106bc906120aa565b60405180910390fd5b6002816002546106d59190612167565b6106df9190612136565b341015610721576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107189061202a565b60405180910390fd5b60005b8181101561087c576000848483818110610767577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201359050735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff1663432ced04826040518263ffffffff1660e01b81526004016107bd9190611f90565b600060405180830381600087803b1580156107d757600080fd5b505af11580156107eb573d6000803e3d6000fd5b50505050735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff166379ce9fac82336040518363ffffffff1660e01b815260040161083e929190611fab565b600060405180830381600087803b15801561085857600080fd5b505af115801561086c573d6000803e3d6000fd5b5050505081600101915050610724565b50505050565b600047905061088f610e71565b73ffffffffffffffffffffffffffffffffffffffff166108fc6002836108b59190612136565b9081150290604051600060405180830381858888f193505050501580156108e0573d6000803e3d6000fd5b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc60028361092a9190612136565b9081150290604051600060405180830381858888f19350505050158015610955573d6000803e3d6000fd5b5050565b610961611a90565b61096b6000611b0e565b565b6000828290509050600a8111156109b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b0906120aa565b60405180910390fd5b806002546109c79190612167565b341015610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a009061202a565b60405180910390fd5b60005b81811015610d97576000848483818110610a4f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201359050735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff1663432ced04826040518263ffffffff1660e01b8152600401610aa59190611f90565b600060405180830381600087803b158015610abf57600080fd5b505af1158015610ad3573d6000803e3d6000fd5b50505050732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff166307e53c3f826040518263ffffffff1660e01b8152600401610b249190611f90565b600060405180830381600087803b158015610b3e57600080fd5b505af1158015610b52573d6000803e3d6000fd5b50505050735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff166379ce9fac82732cc8342d7c8bff5a213eb2cde39de9a59b3461a76040518363ffffffff1660e01b8152600401610bb9929190611fab565b600060405180830381600087803b158015610bd357600080fd5b505af1158015610be7573d6000803e3d6000fd5b50505050732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff16635f029ebe826040518263ffffffff1660e01b8152600401610c389190611f90565b600060405180830381600087803b158015610c5257600080fd5b505af1158015610c66573d6000803e3d6000fd5b50505050732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff166323b872dd3033732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff16636c86a430866040518263ffffffff1660e01b8152600401610ce99190611f90565b602060405180830381600087803b158015610d0357600080fd5b505af1158015610d17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3b9190611db2565b6040518463ffffffff1660e01b8152600401610d5993929190611f59565b600060405180830381600087803b158015610d7357600080fd5b505af1158015610d87573d6000803e3d6000fd5b5050505081600101915050610a0c565b50505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e249061208a565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000828290509050600a811115610f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f03906120aa565b60405180910390fd5b60005b818110156110c6573373ffffffffffffffffffffffffffffffffffffffff16735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff166302571be3868685818110610f97577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518263ffffffff1660e01b8152600401610fba9190611f90565b60206040518083038186803b158015610fd257600080fd5b505afa158015610fe6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100a9190611cb6565b73ffffffffffffffffffffffffffffffffffffffff161461102a57600080fd5b3360036000868685818110611068577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806001019050610f0f565b50505050565b818190506002546110dd9190612167565b34101561111f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111169061202a565b60405180910390fd5b6000828290509050600a81111561116b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611162906120aa565b60405180910390fd5b60005b8181101561165b5760008484838181106111b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013590503373ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461125b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112529061200a565b60405180910390fd5b6003600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690553073ffffffffffffffffffffffffffffffffffffffff16735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff166302571be3836040518263ffffffff1660e01b81526004016112f59190611f90565b60206040518083038186803b15801561130d57600080fd5b505afa158015611321573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113459190611cb6565b73ffffffffffffffffffffffffffffffffffffffff161461139b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611392906120ea565b60405180910390fd5b732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff166307e53c3f826040518263ffffffff1660e01b81526004016113e89190611f90565b600060405180830381600087803b15801561140257600080fd5b505af1158015611416573d6000803e3d6000fd5b50505050735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff166379ce9fac82732cc8342d7c8bff5a213eb2cde39de9a59b3461a76040518363ffffffff1660e01b815260040161147d929190611fab565b600060405180830381600087803b15801561149757600080fd5b505af11580156114ab573d6000803e3d6000fd5b50505050732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff16635f029ebe826040518263ffffffff1660e01b81526004016114fc9190611f90565b600060405180830381600087803b15801561151657600080fd5b505af115801561152a573d6000803e3d6000fd5b50505050732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff166323b872dd3033732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff16636c86a430866040518263ffffffff1660e01b81526004016115ad9190611f90565b602060405180830381600087803b1580156115c757600080fd5b505af11580156115db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ff9190611db2565b6040518463ffffffff1660e01b815260040161161d93929190611f59565b600060405180830381600087803b15801561163757600080fd5b505af115801561164b573d6000803e3d6000fd5b505050508160010191505061116e565b50505050565b735564886ca2c518d1964e5fcea4f423b41db9f56181565b611681611a90565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e89061204a565b60405180910390fd5b6116fa81611b0e565b50565b600254341015611742576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117399061202a565b60405180910390fd5b735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff1663432ced04826040518263ffffffff1660e01b815260040161178f9190611f90565b600060405180830381600087803b1580156117a957600080fd5b505af11580156117bd573d6000803e3d6000fd5b50505050732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff166307e53c3f826040518263ffffffff1660e01b815260040161180e9190611f90565b600060405180830381600087803b15801561182857600080fd5b505af115801561183c573d6000803e3d6000fd5b50505050735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff166379ce9fac82732cc8342d7c8bff5a213eb2cde39de9a59b3461a76040518363ffffffff1660e01b81526004016118a3929190611fab565b600060405180830381600087803b1580156118bd57600080fd5b505af11580156118d1573d6000803e3d6000fd5b50505050732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff16635f029ebe826040518263ffffffff1660e01b81526004016119229190611f90565b600060405180830381600087803b15801561193c57600080fd5b505af1158015611950573d6000803e3d6000fd5b50505050732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff166323b872dd3033732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff16636c86a430866040518263ffffffff1660e01b81526004016119d39190611f90565b602060405180830381600087803b1580156119ed57600080fd5b505af1158015611a01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a259190611db2565b6040518463ffffffff1660e01b8152600401611a4393929190611f59565b600060405180830381600087803b158015611a5d57600080fd5b505af1158015611a71573d6000803e3d6000fd5b5050505050565b732cc8342d7c8bff5a213eb2cde39de9a59b3461a781565b611a98611bd2565b73ffffffffffffffffffffffffffffffffffffffff16611ab6610e71565b73ffffffffffffffffffffffffffffffffffffffff1614611b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b03906120ca565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600081359050611be98161241b565b92915050565b600081519050611bfe8161241b565b92915050565b60008083601f840112611c1657600080fd5b8235905067ffffffffffffffff811115611c2f57600080fd5b602083019150836020820283011115611c4757600080fd5b9250929050565b600081359050611c5d81612432565b92915050565b600081359050611c7281612449565b92915050565b600081519050611c8781612449565b92915050565b600060208284031215611c9f57600080fd5b6000611cad84828501611bda565b91505092915050565b600060208284031215611cc857600080fd5b6000611cd684828501611bef565b91505092915050565b60008060208385031215611cf257600080fd5b600083013567ffffffffffffffff811115611d0c57600080fd5b611d1885828601611c04565b92509250509250929050565b600060208284031215611d3657600080fd5b6000611d4484828501611c4e565b91505092915050565b60008060408385031215611d6057600080fd5b6000611d6e85828601611c4e565b9250506020611d7f85828601611bda565b9150509250929050565b600060208284031215611d9b57600080fd5b6000611da984828501611c63565b91505092915050565b600060208284031215611dc457600080fd5b6000611dd284828501611c78565b91505092915050565b611de4816121c1565b82525050565b611df3816121d3565b82525050565b611e0281612207565b82525050565b611e118161222b565b82525050565b6000611e24601583612125565b9150611e2f826122ad565b602082019050919050565b6000611e47600283612125565b9150611e52826122d6565b602082019050919050565b6000611e6a602683612125565b9150611e75826122ff565b604082019050919050565b6000611e8d600983612125565b9150611e988261234e565b602082019050919050565b6000611eb0600483612125565b9150611ebb82612377565b602082019050919050565b6000611ed3600c83612125565b9150611ede826123a0565b602082019050919050565b6000611ef6602083612125565b9150611f01826123c9565b602082019050919050565b6000611f19601383612125565b9150611f24826123f2565b602082019050919050565b611f38816121fd565b82525050565b6000602082019050611f536000830184611ddb565b92915050565b6000606082019050611f6e6000830186611ddb565b611f7b6020830185611ddb565b611f886040830184611f2f565b949350505050565b6000602082019050611fa56000830184611dea565b92915050565b6000604082019050611fc06000830185611dea565b611fcd6020830184611ddb565b9392505050565b6000602082019050611fe96000830184611df9565b92915050565b60006020820190506120046000830184611e08565b92915050565b6000602082019050818103600083015261202381611e17565b9050919050565b6000602082019050818103600083015261204381611e3a565b9050919050565b6000602082019050818103600083015261206381611e5d565b9050919050565b6000602082019050818103600083015261208381611e80565b9050919050565b600060208201905081810360008301526120a381611ea3565b9050919050565b600060208201905081810360008301526120c381611ec6565b9050919050565b600060208201905081810360008301526120e381611ee9565b9050919050565b6000602082019050818103600083015261210381611f0c565b9050919050565b600060208201905061211f6000830184611f2f565b92915050565b600082825260208201905092915050565b6000612141826121fd565b915061214c836121fd565b92508261215c5761215b61227e565b5b828204905092915050565b6000612172826121fd565b915061217d836121fd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156121b6576121b561224f565b5b828202905092915050565b60006121cc826121dd565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061221282612219565b9050919050565b6000612224826121dd565b9050919050565b60006122368261223d565b9050919050565b6000612248826121dd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f6e6f74207265636f72646564206173206f776e65720000000000000000000000600082015250565b7f3a28000000000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6e6f7420737475636b0000000000000000000000000000000000000000000000600082015250565b7f73686f6f00000000000000000000000000000000000000000000000000000000600082015250565b7f6d6178203130206e616d65730000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6e6f74207472616e736665727265642079657400000000000000000000000000600082015250565b612424816121c1565b811461242f57600080fd5b50565b61243b816121d3565b811461244657600080fd5b50565b612452816121fd565b811461245d57600080fd5b5056fea26469706673582212208236799463dcb3ecc9de871e0773e0f64e300d9b17bdbb3ae0efa13380f5878c64736f6c63430008040033000000000000000000000000ce57c2b87e34fdf23711ede964e72c51e862b68f
Deployed Bytecode
0x6080604052600436106100fe5760003560e01c80638503376211610095578063a4c6bc7b11610064578063a4c6bc7b146102be578063b284714b146102da578063f2fde38b14610305578063f3461a7b1461032e578063fda7cb741461034a576100fe565b806385033762146102165780638da5cb5b1461023f57806391cca3db1461026a5780639ce73b1614610295576100fe565b806362a52fff116100d157806362a52fff146101b057806363bd1d4a146101cc578063715018a6146101e357806371ec7785146101fa576100fe565b80630efe450d146101035780632755cd2d146101405780632e0de5151461016b5780632e4e4c9314610194575b600080fd5b34801561010f57600080fd5b5061012a60048036038101906101259190611d24565b610375565b6040516101379190611f3e565b60405180910390f35b34801561014c57600080fd5b506101556103a8565b604051610162919061210a565b60405180910390f35b34801561017757600080fd5b50610192600480360381019061018d9190611d89565b6103ae565b005b6101ae60048036038101906101a99190611d4d565b610485565b005b6101ca60048036038101906101c59190611cdf565b610679565b005b3480156101d857600080fd5b506101e1610882565b005b3480156101ef57600080fd5b506101f8610959565b005b610214600480360381019061020f9190611cdf565b61096d565b005b34801561022257600080fd5b5061023d60048036038101906102389190611c8d565b610d9d565b005b34801561024b57600080fd5b50610254610e71565b6040516102619190611f3e565b60405180910390f35b34801561027657600080fd5b5061027f610e9a565b60405161028c9190611f3e565b60405180910390f35b3480156102a157600080fd5b506102bc60048036038101906102b79190611cdf565b610ec0565b005b6102d860048036038101906102d39190611cdf565b6110cc565b005b3480156102e657600080fd5b506102ef611661565b6040516102fc9190611fef565b60405180910390f35b34801561031157600080fd5b5061032c60048036038101906103279190611c8d565b611679565b005b61034860048036038101906103439190611d24565b6116fd565b005b34801561035657600080fd5b5061035f611a78565b60405161036c9190611fd4565b60405180910390f35b60036020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025481565b6103b6610e71565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061043c5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61047b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104729061208a565b60405180910390fd5b8060028190555050565b61048d610e71565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806105135750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610552576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105499061208a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146105f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105eb9061206a565b60405180910390fd5b735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff166379ce9fac83836040518363ffffffff1660e01b8152600401610643929190611fab565b600060405180830381600087803b15801561065d57600080fd5b505af1158015610671573d6000803e3d6000fd5b505050505050565b6000828290509050600a8111156106c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106bc906120aa565b60405180910390fd5b6002816002546106d59190612167565b6106df9190612136565b341015610721576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107189061202a565b60405180910390fd5b60005b8181101561087c576000848483818110610767577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201359050735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff1663432ced04826040518263ffffffff1660e01b81526004016107bd9190611f90565b600060405180830381600087803b1580156107d757600080fd5b505af11580156107eb573d6000803e3d6000fd5b50505050735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff166379ce9fac82336040518363ffffffff1660e01b815260040161083e929190611fab565b600060405180830381600087803b15801561085857600080fd5b505af115801561086c573d6000803e3d6000fd5b5050505081600101915050610724565b50505050565b600047905061088f610e71565b73ffffffffffffffffffffffffffffffffffffffff166108fc6002836108b59190612136565b9081150290604051600060405180830381858888f193505050501580156108e0573d6000803e3d6000fd5b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc60028361092a9190612136565b9081150290604051600060405180830381858888f19350505050158015610955573d6000803e3d6000fd5b5050565b610961611a90565b61096b6000611b0e565b565b6000828290509050600a8111156109b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b0906120aa565b60405180910390fd5b806002546109c79190612167565b341015610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a009061202a565b60405180910390fd5b60005b81811015610d97576000848483818110610a4f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201359050735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff1663432ced04826040518263ffffffff1660e01b8152600401610aa59190611f90565b600060405180830381600087803b158015610abf57600080fd5b505af1158015610ad3573d6000803e3d6000fd5b50505050732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff166307e53c3f826040518263ffffffff1660e01b8152600401610b249190611f90565b600060405180830381600087803b158015610b3e57600080fd5b505af1158015610b52573d6000803e3d6000fd5b50505050735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff166379ce9fac82732cc8342d7c8bff5a213eb2cde39de9a59b3461a76040518363ffffffff1660e01b8152600401610bb9929190611fab565b600060405180830381600087803b158015610bd357600080fd5b505af1158015610be7573d6000803e3d6000fd5b50505050732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff16635f029ebe826040518263ffffffff1660e01b8152600401610c389190611f90565b600060405180830381600087803b158015610c5257600080fd5b505af1158015610c66573d6000803e3d6000fd5b50505050732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff166323b872dd3033732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff16636c86a430866040518263ffffffff1660e01b8152600401610ce99190611f90565b602060405180830381600087803b158015610d0357600080fd5b505af1158015610d17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3b9190611db2565b6040518463ffffffff1660e01b8152600401610d5993929190611f59565b600060405180830381600087803b158015610d7357600080fd5b505af1158015610d87573d6000803e3d6000fd5b5050505081600101915050610a0c565b50505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e249061208a565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000828290509050600a811115610f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f03906120aa565b60405180910390fd5b60005b818110156110c6573373ffffffffffffffffffffffffffffffffffffffff16735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff166302571be3868685818110610f97577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518263ffffffff1660e01b8152600401610fba9190611f90565b60206040518083038186803b158015610fd257600080fd5b505afa158015610fe6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100a9190611cb6565b73ffffffffffffffffffffffffffffffffffffffff161461102a57600080fd5b3360036000868685818110611068577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806001019050610f0f565b50505050565b818190506002546110dd9190612167565b34101561111f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111169061202a565b60405180910390fd5b6000828290509050600a81111561116b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611162906120aa565b60405180910390fd5b60005b8181101561165b5760008484838181106111b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013590503373ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461125b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112529061200a565b60405180910390fd5b6003600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690553073ffffffffffffffffffffffffffffffffffffffff16735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff166302571be3836040518263ffffffff1660e01b81526004016112f59190611f90565b60206040518083038186803b15801561130d57600080fd5b505afa158015611321573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113459190611cb6565b73ffffffffffffffffffffffffffffffffffffffff161461139b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611392906120ea565b60405180910390fd5b732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff166307e53c3f826040518263ffffffff1660e01b81526004016113e89190611f90565b600060405180830381600087803b15801561140257600080fd5b505af1158015611416573d6000803e3d6000fd5b50505050735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff166379ce9fac82732cc8342d7c8bff5a213eb2cde39de9a59b3461a76040518363ffffffff1660e01b815260040161147d929190611fab565b600060405180830381600087803b15801561149757600080fd5b505af11580156114ab573d6000803e3d6000fd5b50505050732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff16635f029ebe826040518263ffffffff1660e01b81526004016114fc9190611f90565b600060405180830381600087803b15801561151657600080fd5b505af115801561152a573d6000803e3d6000fd5b50505050732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff166323b872dd3033732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff16636c86a430866040518263ffffffff1660e01b81526004016115ad9190611f90565b602060405180830381600087803b1580156115c757600080fd5b505af11580156115db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ff9190611db2565b6040518463ffffffff1660e01b815260040161161d93929190611f59565b600060405180830381600087803b15801561163757600080fd5b505af115801561164b573d6000803e3d6000fd5b505050508160010191505061116e565b50505050565b735564886ca2c518d1964e5fcea4f423b41db9f56181565b611681611a90565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e89061204a565b60405180910390fd5b6116fa81611b0e565b50565b600254341015611742576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117399061202a565b60405180910390fd5b735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff1663432ced04826040518263ffffffff1660e01b815260040161178f9190611f90565b600060405180830381600087803b1580156117a957600080fd5b505af11580156117bd573d6000803e3d6000fd5b50505050732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff166307e53c3f826040518263ffffffff1660e01b815260040161180e9190611f90565b600060405180830381600087803b15801561182857600080fd5b505af115801561183c573d6000803e3d6000fd5b50505050735564886ca2c518d1964e5fcea4f423b41db9f56173ffffffffffffffffffffffffffffffffffffffff166379ce9fac82732cc8342d7c8bff5a213eb2cde39de9a59b3461a76040518363ffffffff1660e01b81526004016118a3929190611fab565b600060405180830381600087803b1580156118bd57600080fd5b505af11580156118d1573d6000803e3d6000fd5b50505050732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff16635f029ebe826040518263ffffffff1660e01b81526004016119229190611f90565b600060405180830381600087803b15801561193c57600080fd5b505af1158015611950573d6000803e3d6000fd5b50505050732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff166323b872dd3033732cc8342d7c8bff5a213eb2cde39de9a59b3461a773ffffffffffffffffffffffffffffffffffffffff16636c86a430866040518263ffffffff1660e01b81526004016119d39190611f90565b602060405180830381600087803b1580156119ed57600080fd5b505af1158015611a01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a259190611db2565b6040518463ffffffff1660e01b8152600401611a4393929190611f59565b600060405180830381600087803b158015611a5d57600080fd5b505af1158015611a71573d6000803e3d6000fd5b5050505050565b732cc8342d7c8bff5a213eb2cde39de9a59b3461a781565b611a98611bd2565b73ffffffffffffffffffffffffffffffffffffffff16611ab6610e71565b73ffffffffffffffffffffffffffffffffffffffff1614611b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b03906120ca565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600081359050611be98161241b565b92915050565b600081519050611bfe8161241b565b92915050565b60008083601f840112611c1657600080fd5b8235905067ffffffffffffffff811115611c2f57600080fd5b602083019150836020820283011115611c4757600080fd5b9250929050565b600081359050611c5d81612432565b92915050565b600081359050611c7281612449565b92915050565b600081519050611c8781612449565b92915050565b600060208284031215611c9f57600080fd5b6000611cad84828501611bda565b91505092915050565b600060208284031215611cc857600080fd5b6000611cd684828501611bef565b91505092915050565b60008060208385031215611cf257600080fd5b600083013567ffffffffffffffff811115611d0c57600080fd5b611d1885828601611c04565b92509250509250929050565b600060208284031215611d3657600080fd5b6000611d4484828501611c4e565b91505092915050565b60008060408385031215611d6057600080fd5b6000611d6e85828601611c4e565b9250506020611d7f85828601611bda565b9150509250929050565b600060208284031215611d9b57600080fd5b6000611da984828501611c63565b91505092915050565b600060208284031215611dc457600080fd5b6000611dd284828501611c78565b91505092915050565b611de4816121c1565b82525050565b611df3816121d3565b82525050565b611e0281612207565b82525050565b611e118161222b565b82525050565b6000611e24601583612125565b9150611e2f826122ad565b602082019050919050565b6000611e47600283612125565b9150611e52826122d6565b602082019050919050565b6000611e6a602683612125565b9150611e75826122ff565b604082019050919050565b6000611e8d600983612125565b9150611e988261234e565b602082019050919050565b6000611eb0600483612125565b9150611ebb82612377565b602082019050919050565b6000611ed3600c83612125565b9150611ede826123a0565b602082019050919050565b6000611ef6602083612125565b9150611f01826123c9565b602082019050919050565b6000611f19601383612125565b9150611f24826123f2565b602082019050919050565b611f38816121fd565b82525050565b6000602082019050611f536000830184611ddb565b92915050565b6000606082019050611f6e6000830186611ddb565b611f7b6020830185611ddb565b611f886040830184611f2f565b949350505050565b6000602082019050611fa56000830184611dea565b92915050565b6000604082019050611fc06000830185611dea565b611fcd6020830184611ddb565b9392505050565b6000602082019050611fe96000830184611df9565b92915050565b60006020820190506120046000830184611e08565b92915050565b6000602082019050818103600083015261202381611e17565b9050919050565b6000602082019050818103600083015261204381611e3a565b9050919050565b6000602082019050818103600083015261206381611e5d565b9050919050565b6000602082019050818103600083015261208381611e80565b9050919050565b600060208201905081810360008301526120a381611ea3565b9050919050565b600060208201905081810360008301526120c381611ec6565b9050919050565b600060208201905081810360008301526120e381611ee9565b9050919050565b6000602082019050818103600083015261210381611f0c565b9050919050565b600060208201905061211f6000830184611f2f565b92915050565b600082825260208201905092915050565b6000612141826121fd565b915061214c836121fd565b92508261215c5761215b61227e565b5b828204905092915050565b6000612172826121fd565b915061217d836121fd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156121b6576121b561224f565b5b828202905092915050565b60006121cc826121dd565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061221282612219565b9050919050565b6000612224826121dd565b9050919050565b60006122368261223d565b9050919050565b6000612248826121dd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f6e6f74207265636f72646564206173206f776e65720000000000000000000000600082015250565b7f3a28000000000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6e6f7420737475636b0000000000000000000000000000000000000000000000600082015250565b7f73686f6f00000000000000000000000000000000000000000000000000000000600082015250565b7f6d6178203130206e616d65730000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6e6f74207472616e736665727265642079657400000000000000000000000000600082015250565b612424816121c1565b811461242f57600080fd5b50565b61243b816121d3565b811461244657600080fd5b50565b612452816121fd565b811461245d57600080fd5b5056fea26469706673582212208236799463dcb3ecc9de871e0773e0f64e300d9b17bdbb3ae0efa13380f5878c64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ce57c2b87e34fdf23711ede964e72c51e862b68f
-----Decoded View---------------
Arg [0] : _dev (address): 0xce57C2B87E34FDf23711Ede964E72C51e862B68F
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ce57c2b87e34fdf23711ede964e72c51e862b68f
Loading...
Loading
Loading...
Loading
Net Worth in USD
$30.84
Net Worth in ETH
0.011009
Token Allocations
ETH
100.00%
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $2,804.06 | 0.011 | $30.84 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.