Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 136 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 24379372 | 23 days ago | IN | 0 ETH | 0.0000075 | ||||
| Set Approval For... | 18216444 | 885 days ago | IN | 0 ETH | 0.00024371 | ||||
| Set Approval For... | 16424805 | 1137 days ago | IN | 0 ETH | 0.00074694 | ||||
| Set Approval For... | 16359173 | 1146 days ago | IN | 0 ETH | 0.00041761 | ||||
| Set Approval For... | 16153749 | 1175 days ago | IN | 0 ETH | 0.00065942 | ||||
| Set Approval For... | 16082955 | 1185 days ago | IN | 0 ETH | 0.00061739 | ||||
| Safe Transfer Fr... | 16036469 | 1191 days ago | IN | 0 ETH | 0.00119679 | ||||
| Set Approval For... | 15958721 | 1202 days ago | IN | 0 ETH | 0.00061238 | ||||
| Mint | 15872015 | 1214 days ago | IN | 0.022 ETH | 0.00107183 | ||||
| Safe Transfer Fr... | 15812320 | 1223 days ago | IN | 0 ETH | 0.001042 | ||||
| Safe Transfer Fr... | 15812298 | 1223 days ago | IN | 0 ETH | 0.00104063 | ||||
| Safe Transfer Fr... | 15578397 | 1255 days ago | IN | 0 ETH | 0.00137797 | ||||
| Safe Transfer Fr... | 15506938 | 1266 days ago | IN | 0 ETH | 0.00066686 | ||||
| Release | 15489073 | 1269 days ago | IN | 0 ETH | 0.00052016 | ||||
| Release | 15489069 | 1269 days ago | IN | 0 ETH | 0.00044763 | ||||
| Release | 15489057 | 1269 days ago | IN | 0 ETH | 0.00047892 | ||||
| Set Approval For... | 15464814 | 1273 days ago | IN | 0 ETH | 0.00034828 | ||||
| Set Approval For... | 15393835 | 1284 days ago | IN | 0 ETH | 0.00050728 | ||||
| Mint | 15365286 | 1289 days ago | IN | 0.022 ETH | 0.00093282 | ||||
| Mint | 15326004 | 1295 days ago | IN | 0.022 ETH | 0.0010048 | ||||
| Transfer From | 15320095 | 1296 days ago | IN | 0 ETH | 0.00098596 | ||||
| Mint | 15317231 | 1296 days ago | IN | 0.022 ETH | 0.0031924 | ||||
| Set Approval For... | 15313489 | 1297 days ago | IN | 0 ETH | 0.00037814 | ||||
| Mint | 15304099 | 1298 days ago | IN | 0.022 ETH | 0.00188758 | ||||
| Mint | 15302644 | 1299 days ago | IN | 0.022 ETH | 0.00233747 |
Latest 11 internal transactions
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 15489073 | 1269 days ago | 0.057135 ETH | ||||
| Transfer | 15489069 | 1269 days ago | 0.1618825 ETH | ||||
| Transfer | 15489057 | 1269 days ago | 0.1618825 ETH | ||||
| Transfer | 15249351 | 1307 days ago | 0.005 ETH | ||||
| Transfer | 15207783 | 1313 days ago | 0.0009 ETH | ||||
| Transfer | 15207762 | 1313 days ago | 0.001 ETH | ||||
| Transfer | 15196542 | 1315 days ago | 0.3657 ETH | ||||
| Transfer | 15196535 | 1315 days ago | 1.03615 ETH | ||||
| Transfer | 15196522 | 1315 days ago | 1.03615 ETH | ||||
| Transfer | 15153999 | 1322 days ago | 0.015 ETH | ||||
| Transfer | 15149932 | 1322 days ago | 0.003 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
TheSymms
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.....................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...........................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.....*******#######%%%%%%%.....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......*******#######%%%%%%%......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......*******#######%%%%%%%......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......#######%%%%%%%*******......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......#######%%%%%%%*/***/*......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......#######%%%%%%%*******......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......*******#######%%%%%%%......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......*******#######%%%%%%%......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......*******#######%%%%%%%......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......%%%%%%%*******#######......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......%%%%%%%*******#######......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......%%%%%%%*******#######......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......*******#######%%%%%%%......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......*******#######%%%%%%%......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@....*******#######%%%%%%%....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.........................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@&.........@@@@@#............@@@@....@@@@@@@@@....@@@@..........@@@@@@@@..........@@@@@...............@....@@@@@@@@@....@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@...............@@#..............*@@....&@@@@@&....@@@..............@@@&..............@@@...............@@....%@@@@@@....@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@&....@@@@@@@....@@#...*@@@@@@@....@@@....,@@@.....@@@....@@@@@@@@....@@....@@@@@@@@....@@....@@@@@@@@@@@@@@.....@@@,....@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@&....@@@@@@@....@@#...*@@@@@@@....@@@@.....@.....@@@@.....@@@@@@@....@@.....@@@@@@@....@@....@@@@@@@@@@@@@@@.....@.....@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@&....@@@@@@@....@@#...*@@@@@@@....@@@@@/.......%@@@@@@*........@@@@@@@@@,........@@@@@@@@..............@@@@@@#......./@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@&....@@@@@@@....@@#...*@@@@@@@....@@@@@@@.....@@@@@@@@@@@@@........&@@@@@@@@@........@@@@..............@@@@@@@@.....@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@&....@@@@@@@....@@#...*@@@@@@@....@@@@@@@*...(@@@@@@@....@@@@@@&.....@@....@@@@@@#.....@@....@@@@@@@@@@@@@@@@@@(...*@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@&....@@@@@@@....@@#...*@@@@@@@....@@@@@@@*...(@@@@@@@....@@@@@@@@....@@....@@@@@@@@....@@....@@@@@@@@@@@@@@@@@@(...*@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@...............@@#...............@@@@@@@*...(@@@@@@@&..............@@@%..............@@@...............@@@@@@@(...*@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@/.........@@@@@#............@@@@@@@@@@*...(@@@@@@@@@@..........@@@@@@@@..........@@@@@...............@@@@@@@(...*@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...............................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@....@@..........@@@@....@@@@@@@@@.@@@@@@@@@....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@....@@.........@@@@@@...@@%...(@@.@@@....@@....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@....@@.........@@..@@*..@@@@@@@@@....@@@@@.....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@....@@........@@@@@@@@..@@%....@@.@@@....@@....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@....@@@@@@@@.@@@....#@@.@@@@@@@@,..@@@@@@@(....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...............................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.10;
import "./ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
contract TheSymms is ERC721A, Ownable, PaymentSplitter, ReentrancyGuard {
using Strings for uint256;
string public baseURI;
string public baseExtension = ".json";
//sale settings
uint256 public presaleCost = 0.033 ether;
uint256 public publicMintCost = 0.044 ether;
uint256 public maxSupply = 1000;
uint256 public maxMint = 4;
bool public status = true;
//presale settings
uint256 public presaleDate = 1657892220;
uint256 public publicMintDate = 1657978620;
mapping(address => uint256) public presaleWhitelist;
address[] private addressList = [
0xbd9c204D7AAf2eE3Bc33a7521136DbF4A2bF3d5E,
0x37FFe79d00C8c33E3f9622ac940e46BFa56d70a7,
0xB35a9c1eeD6178C702DE894cfBc1C77b3C4feA4b
];
uint256[] private shareList = [150, 425, 425];
constructor(
string memory _name,
string memory _symbol,
string memory _initBaseURI
) ERC721A(_name, _symbol) PaymentSplitter(addressList, shareList) {
setBaseURI(_initBaseURI);
}
// internal
function _baseURI() internal view virtual override returns (string memory) {
return baseURI;
}
// public minting
function mint(uint256 _mintAmount) external payable nonReentrant {
require(publicMintDate <= block.timestamp, "Not yet");
uint256 s = totalSupply();
require(status, "Off");
require(_mintAmount > 0, "Duh");
require(_mintAmount <= maxMint, "Too many");
require(s + _mintAmount <= maxSupply, "Sorry");
require(msg.value >= publicMintCost * _mintAmount);
_safeMint(msg.sender, _mintAmount, "");
delete s;
}
function mintPresale(uint256 _mintAmount) external payable {
require(presaleDate <= block.timestamp, "Not yet");
require(publicMintDate >= block.timestamp, "Too late");
uint256 s = totalSupply();
uint256 reserve = presaleWhitelist[msg.sender];
require(status, "Off");
require(reserve > 0, "Low reserve");
require(_mintAmount <= reserve, "Try less");
require(s + _mintAmount <= maxSupply, "More than max");
require(presaleCost * _mintAmount == msg.value, "Wrong amount");
presaleWhitelist[msg.sender] = reserve - _mintAmount;
delete reserve;
_safeMint(msg.sender, _mintAmount, "");
delete s;
}
// admin minting
function gift(uint256[] calldata quantity, address[] calldata recipient)
external
onlyOwner
{
require(
quantity.length == recipient.length,
"Provide quantities and recipients"
);
uint256 totalQuantity = 0;
uint256 s = totalSupply();
for (uint256 i = 0; i < quantity.length; ++i) {
totalQuantity += quantity[i];
}
require(s + totalQuantity <= maxSupply, "Too many");
delete totalQuantity;
for (uint256 i = 0; i < recipient.length; ++i) {
_safeMint(recipient[i], quantity[i], "");
}
delete s;
}
// admin functionality
function presaleSet(
address[] calldata _addresses,
uint256[] calldata _amounts
) external onlyOwner {
for (uint256 i; i < _addresses.length; i++) {
presaleWhitelist[_addresses[i]] = _amounts[i];
}
}
function tokenURI(uint256 tokenId)
public
view
virtual
override
returns (string memory)
{
require(_exists(tokenId), "ERC721Metadata: Nonexistent token");
string memory currentBaseURI = _baseURI();
return
bytes(currentBaseURI).length > 0
? string(abi.encodePacked(currentBaseURI, tokenId.toString(),baseExtension))
: "";
}
function setPublicMintCost(uint256 _newCost) public onlyOwner {
publicMintCost = _newCost;
}
function setPresaleCost(uint256 _newCost) public onlyOwner {
presaleCost = _newCost;
}
function setPresaleDate(uint256 _date) public onlyOwner {
presaleDate = _date;
}
function setPublicMintDate(uint256 _date) public onlyOwner {
publicMintDate = _date;
}
function setMaxMintAmount(uint256 _newMaxMintAmount) public onlyOwner {
maxMint = _newMaxMintAmount;
}
function setmaxSupply(uint256 _newMaxSupply) public onlyOwner {
maxSupply = _newMaxSupply;
}
function setBaseURI(string memory _newBaseURI) public onlyOwner {
baseURI = _newBaseURI;
}
function setSaleStatus(bool _status) public onlyOwner {
status = _status;
}
function withdraw() public payable onlyOwner {
(bool success, ) = payable(msg.sender).call{
value: address(this).balance
}("");
require(success);
}
}// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import './IERC721A.sol';
/**
* @dev ERC721 token receiver interface.
*/
interface ERC721A__IERC721Receiver {
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard,
* including the Metadata extension. Built to optimize for lower gas during batch mints.
*
* Assumes serials are sequentially minted starting at `_startTokenId()`
* (defaults to 0, e.g. 0, 1, 2, 3..).
*
* Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
*
* Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
*/
contract ERC721A is IERC721A {
// Mask of an entry in packed address data.
uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;
// The bit position of `numberMinted` in packed address data.
uint256 private constant BITPOS_NUMBER_MINTED = 64;
// The bit position of `numberBurned` in packed address data.
uint256 private constant BITPOS_NUMBER_BURNED = 128;
// The bit position of `aux` in packed address data.
uint256 private constant BITPOS_AUX = 192;
// Mask of all 256 bits in packed address data except the 64 bits for `aux`.
uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;
// The bit position of `startTimestamp` in packed ownership.
uint256 private constant BITPOS_START_TIMESTAMP = 160;
// The bit mask of the `burned` bit in packed ownership.
uint256 private constant BITMASK_BURNED = 1 << 224;
// The bit position of the `nextInitialized` bit in packed ownership.
uint256 private constant BITPOS_NEXT_INITIALIZED = 225;
// The bit mask of the `nextInitialized` bit in packed ownership.
uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;
// The bit position of `extraData` in packed ownership.
uint256 private constant BITPOS_EXTRA_DATA = 232;
// Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;
// The mask of the lower 160 bits for addresses.
uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1;
// The maximum `quantity` that can be minted with `_mintERC2309`.
// This limit is to prevent overflows on the address data entries.
// For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309`
// is required to cause an overflow, which is unrealistic.
uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;
// The tokenId of the next token to be minted.
uint256 private _currentIndex;
// The number of tokens burned.
uint256 private _burnCounter;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to ownership details
// An empty struct value does not necessarily mean the token is unowned.
// See `_packedOwnershipOf` implementation for details.
//
// Bits Layout:
// - [0..159] `addr`
// - [160..223] `startTimestamp`
// - [224] `burned`
// - [225] `nextInitialized`
// - [232..255] `extraData`
mapping(uint256 => uint256) private _packedOwnerships;
// Mapping owner address to address data.
//
// Bits Layout:
// - [0..63] `balance`
// - [64..127] `numberMinted`
// - [128..191] `numberBurned`
// - [192..255] `aux`
mapping(address => uint256) private _packedAddressData;
// 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;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
_currentIndex = _startTokenId();
}
/**
* @dev Returns the starting token ID.
* To change the starting token ID, please override this function.
*/
function _startTokenId() internal view virtual returns (uint256) {
return 0;
}
/**
* @dev Returns the next token ID to be minted.
*/
function _nextTokenId() internal view returns (uint256) {
return _currentIndex;
}
/**
* @dev Returns the total number of tokens in existence.
* Burned tokens will reduce the count.
* To get the total number of tokens minted, please see `_totalMinted`.
*/
function totalSupply() public view override returns (uint256) {
// Counter underflow is impossible as _burnCounter cannot be incremented
// more than `_currentIndex - _startTokenId()` times.
unchecked {
return _currentIndex - _burnCounter - _startTokenId();
}
}
/**
* @dev Returns the total amount of tokens minted in the contract.
*/
function _totalMinted() internal view returns (uint256) {
// Counter underflow is impossible as _currentIndex does not decrement,
// and it is initialized to `_startTokenId()`
unchecked {
return _currentIndex - _startTokenId();
}
}
/**
* @dev Returns the total number of tokens burned.
*/
function _totalBurned() internal view returns (uint256) {
return _burnCounter;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
// The interface IDs are constants representing the first 4 bytes of the XOR of
// all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
// e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
return
interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view override returns (uint256) {
if (owner == address(0)) revert BalanceQueryForZeroAddress();
return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the number of tokens minted by `owner`.
*/
function _numberMinted(address owner) internal view returns (uint256) {
return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the number of tokens burned by or on behalf of `owner`.
*/
function _numberBurned(address owner) internal view returns (uint256) {
return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
*/
function _getAux(address owner) internal view returns (uint64) {
return uint64(_packedAddressData[owner] >> BITPOS_AUX);
}
/**
* Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
* If there are multiple variables, please pack them into a uint64.
*/
function _setAux(address owner, uint64 aux) internal {
uint256 packed = _packedAddressData[owner];
uint256 auxCasted;
// Cast `aux` with assembly to avoid redundant masking.
assembly {
auxCasted := aux
}
packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
_packedAddressData[owner] = packed;
}
/**
* Returns the packed ownership data of `tokenId`.
*/
function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
uint256 curr = tokenId;
unchecked {
if (_startTokenId() <= curr)
if (curr < _currentIndex) {
uint256 packed = _packedOwnerships[curr];
// If not burned.
if (packed & BITMASK_BURNED == 0) {
// Invariant:
// There will always be an ownership that has an address and is not burned
// before an ownership that does not have an address and is not burned.
// Hence, curr will not underflow.
//
// We can directly compare the packed value.
// If the address is zero, packed is zero.
while (packed == 0) {
packed = _packedOwnerships[--curr];
}
return packed;
}
}
}
revert OwnerQueryForNonexistentToken();
}
/**
* Returns the unpacked `TokenOwnership` struct from `packed`.
*/
function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
ownership.addr = address(uint160(packed));
ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
ownership.burned = packed & BITMASK_BURNED != 0;
ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA);
}
/**
* Returns the unpacked `TokenOwnership` struct at `index`.
*/
function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) {
return _unpackedOwnership(_packedOwnerships[index]);
}
/**
* @dev Initializes the ownership slot minted at `index` for efficiency purposes.
*/
function _initializeOwnershipAt(uint256 index) internal {
if (_packedOwnerships[index] == 0) {
_packedOwnerships[index] = _packedOwnershipOf(index);
}
}
/**
* Gas spent here starts off proportional to the maximum mint batch size.
* It gradually moves to O(1) as tokens get transferred around in the collection over time.
*/
function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
return _unpackedOwnership(_packedOwnershipOf(tokenId));
}
/**
* @dev Packs ownership data into a single uint256.
*/
function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
assembly {
// Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
owner := and(owner, BITMASK_ADDRESS)
// `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`.
result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags))
}
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view override returns (address) {
return address(uint160(_packedOwnershipOf(tokenId)));
}
/**
* @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) {
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
string memory baseURI = _baseURI();
return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
}
/**
* @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, it can be overridden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return '';
}
/**
* @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
*/
function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
// For branchless setting of the `nextInitialized` flag.
assembly {
// `(quantity == 1) << BITPOS_NEXT_INITIALIZED`.
result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
}
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public override {
address owner = ownerOf(tokenId);
if (_msgSenderERC721A() != owner)
if (!isApprovedForAll(owner, _msgSenderERC721A())) {
revert ApprovalCallerNotOwnerNorApproved();
}
_tokenApprovals[tokenId] = to;
emit Approval(owner, to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view override returns (address) {
if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
if (operator == _msgSenderERC721A()) revert ApproveToCaller();
_operatorApprovals[_msgSenderERC721A()][operator] = approved;
emit ApprovalForAll(_msgSenderERC721A(), 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-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 {
transferFrom(from, to, tokenId);
if (to.code.length != 0)
if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
}
/**
* @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`),
*/
function _exists(uint256 tokenId) internal view returns (bool) {
return
_startTokenId() <= tokenId &&
tokenId < _currentIndex && // If within bounds,
_packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
}
/**
* @dev Equivalent to `_safeMint(to, quantity, '')`.
*/
function _safeMint(address to, uint256 quantity) internal {
_safeMint(to, quantity, '');
}
/**
* @dev Safely mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - If `to` refers to a smart contract, it must implement
* {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
* - `quantity` must be greater than 0.
*
* See {_mint}.
*
* Emits a {Transfer} event for each mint.
*/
function _safeMint(
address to,
uint256 quantity,
bytes memory _data
) internal {
_mint(to, quantity);
unchecked {
if (to.code.length != 0) {
uint256 end = _currentIndex;
uint256 index = end - quantity;
do {
if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
} while (index < end);
// Reentrancy protection.
if (_currentIndex != end) revert();
}
}
}
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event for each mint.
*/
function _mint(address to, uint256 quantity) internal {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// `balance` and `numberMinted` have a maximum limit of 2**64.
// `tokenId` has a maximum limit of 2**256.
unchecked {
// Updates:
// - `balance += quantity`.
// - `numberMinted += quantity`.
//
// We can directly add to the `balance` and `numberMinted`.
_packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);
// Updates:
// - `address` to the owner.
// - `startTimestamp` to the timestamp of minting.
// - `burned` to `false`.
// - `nextInitialized` to `quantity == 1`.
_packedOwnerships[startTokenId] = _packOwnershipData(
to,
_nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
);
uint256 tokenId = startTokenId;
uint256 end = startTokenId + quantity;
do {
emit Transfer(address(0), to, tokenId++);
} while (tokenId < end);
_currentIndex = end;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* This function is intended for efficient minting only during contract creation.
*
* It emits only one {ConsecutiveTransfer} as defined in
* [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
* instead of a sequence of {Transfer} event(s).
*
* Calling this function outside of contract creation WILL make your contract
* non-compliant with the ERC721 standard.
* For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
* {ConsecutiveTransfer} event is only permissible during contract creation.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {ConsecutiveTransfer} event.
*/
function _mintERC2309(address to, uint256 quantity) internal {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are unrealistic due to the above check for `quantity` to be below the limit.
unchecked {
// Updates:
// - `balance += quantity`.
// - `numberMinted += quantity`.
//
// We can directly add to the `balance` and `numberMinted`.
_packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);
// Updates:
// - `address` to the owner.
// - `startTimestamp` to the timestamp of minting.
// - `burned` to `false`.
// - `nextInitialized` to `quantity == 1`.
_packedOwnerships[startTokenId] = _packOwnershipData(
to,
_nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
);
emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);
_currentIndex = startTokenId + quantity;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Returns the storage slot and value for the approved address of `tokenId`.
*/
function _getApprovedAddress(uint256 tokenId)
private
view
returns (uint256 approvedAddressSlot, address approvedAddress)
{
mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
// The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
assembly {
// Compute the slot.
mstore(0x00, tokenId)
mstore(0x20, tokenApprovalsPtr.slot)
approvedAddressSlot := keccak256(0x00, 0x40)
// Load the slot's value from storage.
approvedAddress := sload(approvedAddressSlot)
}
}
/**
* @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`.
*/
function _isOwnerOrApproved(
address approvedAddress,
address from,
address msgSender
) private pure returns (bool result) {
assembly {
// Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
from := and(from, BITMASK_ADDRESS)
// Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
msgSender := and(msgSender, BITMASK_ADDRESS)
// `msgSender == from || msgSender == approvedAddress`.
result := or(eq(msgSender, from), eq(msgSender, approvedAddress))
}
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);
if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();
(uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);
// The nested ifs save around 20+ gas over a compound boolean condition.
if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
if (to == address(0)) revert TransferToZeroAddress();
_beforeTokenTransfers(from, to, tokenId, 1);
// Clear approvals from the previous owner.
assembly {
if approvedAddress {
// This is equivalent to `delete _tokenApprovals[tokenId]`.
sstore(approvedAddressSlot, 0)
}
}
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
unchecked {
// We can directly increment and decrement the balances.
--_packedAddressData[from]; // Updates: `balance -= 1`.
++_packedAddressData[to]; // Updates: `balance += 1`.
// Updates:
// - `address` to the next owner.
// - `startTimestamp` to the timestamp of transfering.
// - `burned` to `false`.
// - `nextInitialized` to `true`.
_packedOwnerships[tokenId] = _packOwnershipData(
to,
BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
);
// If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
uint256 nextTokenId = tokenId + 1;
// If the next slot's address is zero and not burned (i.e. packed value is zero).
if (_packedOwnerships[nextTokenId] == 0) {
// If the next slot is within bounds.
if (nextTokenId != _currentIndex) {
// Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
_packedOwnerships[nextTokenId] = prevOwnershipPacked;
}
}
}
}
emit Transfer(from, to, tokenId);
_afterTokenTransfers(from, to, tokenId, 1);
}
/**
* @dev Equivalent to `_burn(tokenId, false)`.
*/
function _burn(uint256 tokenId) internal virtual {
_burn(tokenId, false);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);
address from = address(uint160(prevOwnershipPacked));
(uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);
if (approvalCheck) {
// The nested ifs save around 20+ gas over a compound boolean condition.
if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
}
_beforeTokenTransfers(from, address(0), tokenId, 1);
// Clear approvals from the previous owner.
assembly {
if approvedAddress {
// This is equivalent to `delete _tokenApprovals[tokenId]`.
sstore(approvedAddressSlot, 0)
}
}
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
unchecked {
// Updates:
// - `balance -= 1`.
// - `numberBurned += 1`.
//
// We can directly decrement the balance, and increment the number burned.
// This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
_packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;
// Updates:
// - `address` to the last owner.
// - `startTimestamp` to the timestamp of burning.
// - `burned` to `true`.
// - `nextInitialized` to `true`.
_packedOwnerships[tokenId] = _packOwnershipData(
from,
(BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
);
// If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
uint256 nextTokenId = tokenId + 1;
// If the next slot's address is zero and not burned (i.e. packed value is zero).
if (_packedOwnerships[nextTokenId] == 0) {
// If the next slot is within bounds.
if (nextTokenId != _currentIndex) {
// Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
_packedOwnerships[nextTokenId] = prevOwnershipPacked;
}
}
}
}
emit Transfer(from, address(0), tokenId);
_afterTokenTransfers(from, address(0), tokenId, 1);
// Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
unchecked {
_burnCounter++;
}
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
bytes4 retval
) {
return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert TransferToNonERC721ReceiverImplementer();
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
}
/**
* @dev Directly sets the extra data for the ownership data `index`.
*/
function _setExtraDataAt(uint256 index, uint24 extraData) internal {
uint256 packed = _packedOwnerships[index];
if (packed == 0) revert OwnershipNotInitializedForExtraData();
uint256 extraDataCasted;
// Cast `extraData` with assembly to avoid redundant masking.
assembly {
extraDataCasted := extraData
}
packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA);
_packedOwnerships[index] = packed;
}
/**
* @dev Returns the next extra data for the packed ownership data.
* The returned result is shifted into position.
*/
function _nextExtraData(
address from,
address to,
uint256 prevOwnershipPacked
) private view returns (uint256) {
uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA);
return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA;
}
/**
* @dev Called during each token transfer to set the 24bit `extraData` field.
* Intended to be overridden by the cosumer contract.
*
* `previousExtraData` - the value of `extraData` before transfer.
*
* 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, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _extraData(
address from,
address to,
uint24 previousExtraData
) internal view virtual returns (uint24) {}
/**
* @dev Hook that is called before a set of serially-ordered token ids are about to be transferred.
* This includes minting.
* And also called before burning one token.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* 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, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Hook that is called after a set of serially-ordered token ids have been transferred.
* This includes minting.
* And also called after one token has been burned.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
* transferred to `to`.
* - When `from` is zero, `tokenId` has been minted for `to`.
* - When `to` is zero, `tokenId` has been burned by `from`.
* - `from` and `to` are never both zero.
*/
function _afterTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Returns the message sender (defaults to `msg.sender`).
*
* If you are writing GSN compatible contracts, you need to override this function.
*/
function _msgSenderERC721A() internal view virtual returns (address) {
return msg.sender;
}
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function _toString(uint256 value) internal pure returns (string memory ptr) {
assembly {
// The maximum value of a uint256 contains 78 digits (1 byte per digit),
// but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
// We will need 1 32-byte word to store the length,
// and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
ptr := add(mload(0x40), 128)
// Update the free memory pointer to allocate.
mstore(0x40, ptr)
// Cache the end of the memory to calculate the length later.
let end := ptr
// We write the string from the rightmost digit to the leftmost digit.
// The following is essentially a do-while loop that also handles the zero case.
// Costs a bit more than early returning for the zero case,
// but cheaper in terms of deployment and overall runtime costs.
for {
// Initialize and perform the first pass without check.
let temp := value
// Move the pointer 1 byte leftwards to point to an empty character slot.
ptr := sub(ptr, 1)
// Write the character to the pointer. 48 is the ASCII index of '0'.
mstore8(ptr, add(48, mod(temp, 10)))
temp := div(temp, 10)
} temp {
// Keep dividing `temp` until zero.
temp := div(temp, 10)
} {
// Body of the for loop.
ptr := sub(ptr, 1)
mstore8(ptr, add(48, mod(temp, 10)))
}
let length := sub(end, ptr)
// Move the pointer 32 bytes leftwards to make room for the length.
ptr := sub(ptr, 32)
// Store the length.
mstore(ptr, length)
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (finance/PaymentSplitter.sol)
pragma solidity ^0.8.0;
import "../token/ERC20/utils/SafeERC20.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";
/**
* @title PaymentSplitter
* @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
* that the Ether will be split in this way, since it is handled transparently by the contract.
*
* The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
* account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
* an amount proportional to the percentage of total shares they were assigned.
*
* `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
* accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
* function.
*
* NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
* tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
* to run tests before sending real value to this contract.
*/
contract PaymentSplitter is Context {
event PayeeAdded(address account, uint256 shares);
event PaymentReleased(address to, uint256 amount);
event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
event PaymentReceived(address from, uint256 amount);
uint256 private _totalShares;
uint256 private _totalReleased;
mapping(address => uint256) private _shares;
mapping(address => uint256) private _released;
address[] private _payees;
mapping(IERC20 => uint256) private _erc20TotalReleased;
mapping(IERC20 => mapping(address => uint256)) private _erc20Released;
/**
* @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
* the matching position in the `shares` array.
*
* All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
* duplicates in `payees`.
*/
constructor(address[] memory payees, uint256[] memory shares_) payable {
require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
require(payees.length > 0, "PaymentSplitter: no payees");
for (uint256 i = 0; i < payees.length; i++) {
_addPayee(payees[i], shares_[i]);
}
}
/**
* @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
* reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
* reliability of the events, and not the actual splitting of Ether.
*
* To learn more about this see the Solidity documentation for
* https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
* functions].
*/
receive() external payable virtual {
emit PaymentReceived(_msgSender(), msg.value);
}
/**
* @dev Getter for the total shares held by payees.
*/
function totalShares() public view returns (uint256) {
return _totalShares;
}
/**
* @dev Getter for the total amount of Ether already released.
*/
function totalReleased() public view returns (uint256) {
return _totalReleased;
}
/**
* @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20
* contract.
*/
function totalReleased(IERC20 token) public view returns (uint256) {
return _erc20TotalReleased[token];
}
/**
* @dev Getter for the amount of shares held by an account.
*/
function shares(address account) public view returns (uint256) {
return _shares[account];
}
/**
* @dev Getter for the amount of Ether already released to a payee.
*/
function released(address account) public view returns (uint256) {
return _released[account];
}
/**
* @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an
* IERC20 contract.
*/
function released(IERC20 token, address account) public view returns (uint256) {
return _erc20Released[token][account];
}
/**
* @dev Getter for the address of the payee number `index`.
*/
function payee(uint256 index) public view returns (address) {
return _payees[index];
}
/**
* @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
* total shares and their previous withdrawals.
*/
function release(address payable account) public virtual {
require(_shares[account] > 0, "PaymentSplitter: account has no shares");
uint256 totalReceived = address(this).balance + totalReleased();
uint256 payment = _pendingPayment(account, totalReceived, released(account));
require(payment != 0, "PaymentSplitter: account is not due payment");
_released[account] += payment;
_totalReleased += payment;
Address.sendValue(account, payment);
emit PaymentReleased(account, payment);
}
/**
* @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their
* percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20
* contract.
*/
function release(IERC20 token, address account) public virtual {
require(_shares[account] > 0, "PaymentSplitter: account has no shares");
uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
uint256 payment = _pendingPayment(account, totalReceived, released(token, account));
require(payment != 0, "PaymentSplitter: account is not due payment");
_erc20Released[token][account] += payment;
_erc20TotalReleased[token] += payment;
SafeERC20.safeTransfer(token, account, payment);
emit ERC20PaymentReleased(token, account, payment);
}
/**
* @dev internal logic for computing the pending payment of an `account` given the token historical balances and
* already released amounts.
*/
function _pendingPayment(
address account,
uint256 totalReceived,
uint256 alreadyReleased
) private view returns (uint256) {
return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
}
/**
* @dev Add a new payee to the contract.
* @param account The address of the payee to add.
* @param shares_ The number of shares owned by the payee.
*/
function _addPayee(address account, uint256 shares_) private {
require(account != address(0), "PaymentSplitter: account is the zero address");
require(shares_ > 0, "PaymentSplitter: shares are 0");
require(_shares[account] == 0, "PaymentSplitter: account already has shares");
_payees.push(account);
_shares[account] = shares_;
_totalShares = _totalShares + shares_;
emit PayeeAdded(account, shares_);
}
}// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
/**
* @dev Interface of an ERC721A compliant contract.
*/
interface IERC721A {
/**
* The caller must own the token or be an approved operator.
*/
error ApprovalCallerNotOwnerNorApproved();
/**
* The token does not exist.
*/
error ApprovalQueryForNonexistentToken();
/**
* The caller cannot approve to their own address.
*/
error ApproveToCaller();
/**
* Cannot query the balance for the zero address.
*/
error BalanceQueryForZeroAddress();
/**
* Cannot mint to the zero address.
*/
error MintToZeroAddress();
/**
* The quantity of tokens minted must be more than zero.
*/
error MintZeroQuantity();
/**
* The token does not exist.
*/
error OwnerQueryForNonexistentToken();
/**
* The caller must own the token or be an approved operator.
*/
error TransferCallerNotOwnerNorApproved();
/**
* The token must be owned by `from`.
*/
error TransferFromIncorrectOwner();
/**
* Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
*/
error TransferToNonERC721ReceiverImplementer();
/**
* Cannot transfer to the zero address.
*/
error TransferToZeroAddress();
/**
* The token does not exist.
*/
error URIQueryForNonexistentToken();
/**
* The `quantity` minted with ERC2309 exceeds the safety limit.
*/
error MintERC2309QuantityExceedsLimit();
/**
* The `extraData` cannot be set on an unintialized ownership slot.
*/
error OwnershipNotInitializedForExtraData();
struct TokenOwnership {
// The address of the owner.
address addr;
// Keeps track of the start time of ownership with minimal overhead for tokenomics.
uint64 startTimestamp;
// Whether the token has been burned.
bool burned;
// Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
uint24 extraData;
}
/**
* @dev Returns the total amount of tokens stored by the contract.
*
* Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
*/
function totalSupply() external view returns (uint256);
// ==============================
// 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);
// ==============================
// IERC721
// ==============================
/**
* @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 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 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);
// ==============================
// IERC721Metadata
// ==============================
/**
* @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);
// ==============================
// IERC2309
// ==============================
/**
* @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
* as defined in the ERC2309 standard. See `_mintERC2309` for more details.
*/
event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 v4.4.0 (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
import "../../../utils/Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using Address for address;
function safeTransfer(
IERC20 token,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(
IERC20 token,
address from,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(
IERC20 token,
address spender,
uint256 value
) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
require(
(value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
uint256 newAllowance = token.allowance(address(this), spender) + value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
unchecked {
uint256 oldAllowance = token.allowance(address(this), spender);
require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
uint256 newAllowance = oldAllowance - value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) {
// Return data is optional
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}{
"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":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"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":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"presaleSet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPresaleCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_date","type":"uint256"}],"name":"setPresaleDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPublicMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_date","type":"uint256"}],"name":"setPublicMintDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"setmaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060129080519060200190620000519291906200084a565b5066753d533d968000601355669c51c4521e00006014556103e860155560046016556001601760006101000a81548160ff0219169083151502179055506362d16d7c6018556362d2befc601955604051806060016040528073bd9c204d7aaf2ee3bc33a7521136dbf4a2bf3d5e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020017337ffe79d00c8c33e3f9622ac940e46bfa56d70a773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173b35a9c1eed6178c702de894cfbc1c77b3c4fea4b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250601b9060036200018b929190620008db565b506040518060600160405280609661ffff1681526020016101a961ffff1681526020016101a961ffff16815250601c906003620001ca9291906200096a565b50348015620001d857600080fd5b5060405162006642380380620066428339818101604052810190620001fe919062000b7e565b601b8054806020026020016040519081016040528092919081815260200182805480156200028257602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831162000237575b5050505050601c805480602002602001604051908101604052809291908181526020018280548015620002d557602002820191906000526020600020905b815481526020019060010190808311620002c0575b505050505084848160029080519060200190620002f49291906200084a565b5080600390805190602001906200030d9291906200084a565b506200031e6200046860201b60201c565b6000819055505050620003466200033a6200046d60201b60201c565b6200047560201b60201c565b80518251146200038d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003849062000cbe565b60405180910390fd5b6000825111620003d4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003cb9062000d30565b60405180910390fd5b60005b825181101562000443576200042d838281518110620003fb57620003fa62000d52565b5b602002602001015183838151811062000419576200041862000d52565b5b60200260200101516200053b60201b60201c565b80806200043a9062000dba565b915050620003d7565b50505060016010819055506200045f816200077560201b60201c565b50505062001161565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620005ae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005a59062000e7e565b60405180910390fd5b60008111620005f4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005eb9062000ef0565b60405180910390fd5b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541462000679576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006709062000f88565b60405180910390fd5b600d829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060095462000730919062000faa565b6009819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051620007699291906200105d565b60405180910390a15050565b620007856200046d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620007ab6200082060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000804576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007fb90620010da565b60405180910390fd5b80601190805190602001906200081c9291906200084a565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b82805462000858906200112b565b90600052602060002090601f0160209004810192826200087c5760008555620008c8565b82601f106200089757805160ff1916838001178555620008c8565b82800160010185558215620008c8579182015b82811115620008c7578251825591602001919060010190620008aa565b5b509050620008d79190620009c2565b5090565b82805482825590600052602060002090810192821562000957579160200282015b82811115620009565782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620008fc565b5b509050620009669190620009c2565b5090565b828054828255906000526020600020908101928215620009af579160200282015b82811115620009ae578251829061ffff169055916020019190600101906200098b565b5b509050620009be9190620009c2565b5090565b5b80821115620009dd576000816000905550600101620009c3565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000a4a82620009ff565b810181811067ffffffffffffffff8211171562000a6c5762000a6b62000a10565b5b80604052505050565b600062000a81620009e1565b905062000a8f828262000a3f565b919050565b600067ffffffffffffffff82111562000ab25762000ab162000a10565b5b62000abd82620009ff565b9050602081019050919050565b60005b8381101562000aea57808201518184015260208101905062000acd565b8381111562000afa576000848401525b50505050565b600062000b1762000b118462000a94565b62000a75565b90508281526020810184848401111562000b365762000b35620009fa565b5b62000b4384828562000aca565b509392505050565b600082601f83011262000b635762000b62620009f5565b5b815162000b7584826020860162000b00565b91505092915050565b60008060006060848603121562000b9a5762000b99620009eb565b5b600084015167ffffffffffffffff81111562000bbb5762000bba620009f0565b5b62000bc98682870162000b4b565b935050602084015167ffffffffffffffff81111562000bed5762000bec620009f0565b5b62000bfb8682870162000b4b565b925050604084015167ffffffffffffffff81111562000c1f5762000c1e620009f0565b5b62000c2d8682870162000b4b565b9150509250925092565b600082825260208201905092915050565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b600062000ca660328362000c37565b915062000cb38262000c48565b604082019050919050565b6000602082019050818103600083015262000cd98162000c97565b9050919050565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b600062000d18601a8362000c37565b915062000d258262000ce0565b602082019050919050565b6000602082019050818103600083015262000d4b8162000d09565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b600062000dc78262000db0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000dfd5762000dfc62000d81565b5b600182019050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b600062000e66602c8362000c37565b915062000e738262000e08565b604082019050919050565b6000602082019050818103600083015262000e998162000e57565b9050919050565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b600062000ed8601d8362000c37565b915062000ee58262000ea0565b602082019050919050565b6000602082019050818103600083015262000f0b8162000ec9565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b600062000f70602b8362000c37565b915062000f7d8262000f12565b604082019050919050565b6000602082019050818103600083015262000fa38162000f61565b9050919050565b600062000fb78262000db0565b915062000fc48362000db0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000ffc5762000ffb62000d81565b5b828201905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620010348262001007565b9050919050565b620010468162001027565b82525050565b620010578162000db0565b82525050565b60006040820190506200107460008301856200103b565b6200108360208301846200104c565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620010c260208362000c37565b9150620010cf826200108a565b602082019050919050565b60006020820190508181036000830152620010f581620010b3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200114457607f821691505b602082108114156200115b576200115a620010fc565b5b50919050565b6154d180620011716000396000f3fe6080604052600436106102b25760003560e01c80637501f74111610175578063b88d4fde116100dc578063d79779b211610095578063e985e9c51161006f578063e985e9c514610adb578063eb8835ab14610b18578063f2fde38b14610b55578063f759867a14610b7e576102f9565b8063d79779b214610a4a578063d897833e14610a87578063e33b7de314610ab0576102f9565b8063b88d4fde14610926578063c66828621461094f578063c87b56dd1461097a578063c889004b146109b7578063ce7c2ac2146109e2578063d5abeb0114610a1f576102f9565b80638fdcf9421161012e5780638fdcf9421461082757806395d89b411461085057806396ea3a471461087b5780639852595c146108a4578063a0712d68146108e1578063a22cb465146108fd576102f9565b80637501f7411461071757806380eae5781461074257806382b23e881461076b5780638b83209b146107945780638c770067146107d15780638da5cb5b146107fc576102f9565b80632a23d07d1161021957806355f804b3116101d257806355f804b3146106095780636352211e146106325780636c0360eb1461066f57806370a082311461069a578063715018a6146106d7578063732e71ef146106ee576102f9565b80632a23d07d1461051a5780633a98ef39146105455780633ccfd60b14610570578063406072a91461057a57806342842e0e146105b757806348b75044146105e0576102f9565b806318160ddd1161026b57806318160ddd14610420578063191655871461044b5780631ee34fab14610474578063200d2ed21461049d578063228025e8146104c857806323b872dd146104f1576102f9565b806301ffc9a7146102fe57806306fdde031461033b578063074a130d14610366578063081812fc14610391578063088a4ed0146103ce578063095ea7b3146103f7576102f9565b366102f9577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102e0610b9a565b346040516102ef929190613ab1565b60405180910390a1005b600080fd5b34801561030a57600080fd5b5061032560048036038101906103209190613b46565b610ba2565b6040516103329190613b8e565b60405180910390f35b34801561034757600080fd5b50610350610c34565b60405161035d9190613c42565b60405180910390f35b34801561037257600080fd5b5061037b610cc6565b6040516103889190613c64565b60405180910390f35b34801561039d57600080fd5b506103b860048036038101906103b39190613cab565b610ccc565b6040516103c59190613cd8565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f09190613cab565b610d48565b005b34801561040357600080fd5b5061041e60048036038101906104199190613d1f565b610dce565b005b34801561042c57600080fd5b50610435610f0f565b6040516104429190613c64565b60405180910390f35b34801561045757600080fd5b50610472600480360381019061046d9190613d9d565b610f26565b005b34801561048057600080fd5b5061049b60048036038101906104969190613cab565b6110d1565b005b3480156104a957600080fd5b506104b2611157565b6040516104bf9190613b8e565b60405180910390f35b3480156104d457600080fd5b506104ef60048036038101906104ea9190613cab565b61116a565b005b3480156104fd57600080fd5b5061051860048036038101906105139190613dca565b6111f0565b005b34801561052657600080fd5b5061052f611515565b60405161053c9190613c64565b60405180910390f35b34801561055157600080fd5b5061055a61151b565b6040516105679190613c64565b60405180910390f35b610578611525565b005b34801561058657600080fd5b506105a1600480360381019061059c9190613e5b565b61161a565b6040516105ae9190613c64565b60405180910390f35b3480156105c357600080fd5b506105de60048036038101906105d99190613dca565b6116a1565b005b3480156105ec57600080fd5b5061060760048036038101906106029190613e5b565b6116c1565b005b34801561061557600080fd5b50610630600480360381019061062b9190613fd0565b61197a565b005b34801561063e57600080fd5b5061065960048036038101906106549190613cab565b611a10565b6040516106669190613cd8565b60405180910390f35b34801561067b57600080fd5b50610684611a22565b6040516106919190613c42565b60405180910390f35b3480156106a657600080fd5b506106c160048036038101906106bc9190614019565b611ab0565b6040516106ce9190613c64565b60405180910390f35b3480156106e357600080fd5b506106ec611b69565b005b3480156106fa57600080fd5b50610715600480360381019061071091906140fc565b611bf1565b005b34801561072357600080fd5b5061072c611d19565b6040516107399190613c64565b60405180910390f35b34801561074e57600080fd5b5061076960048036038101906107649190613cab565b611d1f565b005b34801561077757600080fd5b50610792600480360381019061078d9190613cab565b611da5565b005b3480156107a057600080fd5b506107bb60048036038101906107b69190613cab565b611e2b565b6040516107c89190613cd8565b60405180910390f35b3480156107dd57600080fd5b506107e6611e73565b6040516107f39190613c64565b60405180910390f35b34801561080857600080fd5b50610811611e79565b60405161081e9190613cd8565b60405180910390f35b34801561083357600080fd5b5061084e60048036038101906108499190613cab565b611ea3565b005b34801561085c57600080fd5b50610865611f29565b6040516108729190613c42565b60405180910390f35b34801561088757600080fd5b506108a2600480360381019061089d919061417d565b611fbb565b005b3480156108b057600080fd5b506108cb60048036038101906108c69190614019565b6121ad565b6040516108d89190613c64565b60405180910390f35b6108fb60048036038101906108f69190613cab565b6121f6565b005b34801561090957600080fd5b50610924600480360381019061091f919061422a565b612400565b005b34801561093257600080fd5b5061094d6004803603810190610948919061430b565b612578565b005b34801561095b57600080fd5b506109646125eb565b6040516109719190613c42565b60405180910390f35b34801561098657600080fd5b506109a1600480360381019061099c9190613cab565b612679565b6040516109ae9190613c42565b60405180910390f35b3480156109c357600080fd5b506109cc612723565b6040516109d99190613c64565b60405180910390f35b3480156109ee57600080fd5b50610a096004803603810190610a049190614019565b612729565b604051610a169190613c64565b60405180910390f35b348015610a2b57600080fd5b50610a34612772565b604051610a419190613c64565b60405180910390f35b348015610a5657600080fd5b50610a716004803603810190610a6c919061438e565b612778565b604051610a7e9190613c64565b60405180910390f35b348015610a9357600080fd5b50610aae6004803603810190610aa991906143bb565b6127c1565b005b348015610abc57600080fd5b50610ac561285a565b604051610ad29190613c64565b60405180910390f35b348015610ae757600080fd5b50610b026004803603810190610afd91906143e8565b612864565b604051610b0f9190613b8e565b60405180910390f35b348015610b2457600080fd5b50610b3f6004803603810190610b3a9190614019565b6128f8565b604051610b4c9190613c64565b60405180910390f35b348015610b6157600080fd5b50610b7c6004803603810190610b779190614019565b612910565b005b610b986004803603810190610b939190613cab565b612a08565b005b600033905090565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bfd57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c2d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610c4390614457565b80601f0160208091040260200160405190810160405280929190818152602001828054610c6f90614457565b8015610cbc5780601f10610c9157610100808354040283529160200191610cbc565b820191906000526020600020905b815481529060010190602001808311610c9f57829003601f168201915b5050505050905090565b60195481565b6000610cd782612ccc565b610d0d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610d50610b9a565b73ffffffffffffffffffffffffffffffffffffffff16610d6e611e79565b73ffffffffffffffffffffffffffffffffffffffff1614610dc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbb906144d5565b60405180910390fd5b8060168190555050565b6000610dd982611a10565b90508073ffffffffffffffffffffffffffffffffffffffff16610dfa612d2b565b73ffffffffffffffffffffffffffffffffffffffff1614610e5d57610e2681610e21612d2b565b612864565b610e5c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610f19612d33565b6001546000540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9f90614567565b60405180910390fd5b6000610fb261285a565b47610fbd91906145b6565b90506000610fd48383610fcf866121ad565b612d38565b9050600081141561101a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110119061467e565b60405180910390fd5b80600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461106991906145b6565b9250508190555080600a600082825461108291906145b6565b925050819055506110938382612da6565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05683826040516110c49291906146fd565b60405180910390a1505050565b6110d9610b9a565b73ffffffffffffffffffffffffffffffffffffffff166110f7611e79565b73ffffffffffffffffffffffffffffffffffffffff161461114d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611144906144d5565b60405180910390fd5b8060198190555050565b601760009054906101000a900460ff1681565b611172610b9a565b73ffffffffffffffffffffffffffffffffffffffff16611190611e79565b73ffffffffffffffffffffffffffffffffffffffff16146111e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dd906144d5565b60405180910390fd5b8060158190555050565b60006111fb82612e9a565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611262576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061126e84612f68565b91509150611284818761127f612d2b565b612f8a565b6112d05761129986611294612d2b565b612864565b6112cf576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611337576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113448686866001612fce565b801561134f57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061141d856113f9888887612fd4565b7c020000000000000000000000000000000000000000000000000000000017612ffc565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156114a55760006001850190506000600460008381526020019081526020016000205414156114a35760005481146114a2578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461150d8686866001613027565b505050505050565b60135481565b6000600954905090565b61152d610b9a565b73ffffffffffffffffffffffffffffffffffffffff1661154b611e79565b73ffffffffffffffffffffffffffffffffffffffff16146115a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611598906144d5565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16476040516115c790614757565b60006040518083038185875af1925050503d8060008114611604576040519150601f19603f3d011682016040523d82523d6000602084013e611609565b606091505b505090508061161757600080fd5b50565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6116bc83838360405180602001604052806000815250612578565b505050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173a90614567565b60405180910390fd5b600061174e83612778565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016117879190613cd8565b602060405180830381865afa1580156117a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c89190614781565b6117d291906145b6565b905060006117ea83836117e5878761161a565b612d38565b90506000811415611830576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118279061467e565b60405180910390fd5b80600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118bc91906145b6565b9250508190555080600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461191291906145b6565b9250508190555061192484848361302d565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a848360405161196c929190613ab1565b60405180910390a250505050565b611982610b9a565b73ffffffffffffffffffffffffffffffffffffffff166119a0611e79565b73ffffffffffffffffffffffffffffffffffffffff16146119f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ed906144d5565b60405180910390fd5b8060119080519060200190611a0c9291906139b4565b5050565b6000611a1b82612e9a565b9050919050565b60118054611a2f90614457565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5b90614457565b8015611aa85780601f10611a7d57610100808354040283529160200191611aa8565b820191906000526020600020905b815481529060010190602001808311611a8b57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b18576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611b71610b9a565b73ffffffffffffffffffffffffffffffffffffffff16611b8f611e79565b73ffffffffffffffffffffffffffffffffffffffff1614611be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdc906144d5565b60405180910390fd5b611bef60006130b3565b565b611bf9610b9a565b73ffffffffffffffffffffffffffffffffffffffff16611c17611e79565b73ffffffffffffffffffffffffffffffffffffffff1614611c6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c64906144d5565b60405180910390fd5b60005b84849050811015611d1257828282818110611c8e57611c8d6147ae565b5b90506020020135601a6000878785818110611cac57611cab6147ae565b5b9050602002016020810190611cc19190614019565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611d0a906147dd565b915050611c70565b5050505050565b60165481565b611d27610b9a565b73ffffffffffffffffffffffffffffffffffffffff16611d45611e79565b73ffffffffffffffffffffffffffffffffffffffff1614611d9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d92906144d5565b60405180910390fd5b8060148190555050565b611dad610b9a565b73ffffffffffffffffffffffffffffffffffffffff16611dcb611e79565b73ffffffffffffffffffffffffffffffffffffffff1614611e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e18906144d5565b60405180910390fd5b8060188190555050565b6000600d8281548110611e4157611e406147ae565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60145481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611eab610b9a565b73ffffffffffffffffffffffffffffffffffffffff16611ec9611e79565b73ffffffffffffffffffffffffffffffffffffffff1614611f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f16906144d5565b60405180910390fd5b8060138190555050565b606060038054611f3890614457565b80601f0160208091040260200160405190810160405280929190818152602001828054611f6490614457565b8015611fb15780601f10611f8657610100808354040283529160200191611fb1565b820191906000526020600020905b815481529060010190602001808311611f9457829003601f168201915b5050505050905090565b611fc3610b9a565b73ffffffffffffffffffffffffffffffffffffffff16611fe1611e79565b73ffffffffffffffffffffffffffffffffffffffff1614612037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202e906144d5565b60405180910390fd5b81819050848490501461207f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207690614898565b60405180910390fd5b60008061208a610f0f565b905060005b868690508110156120d2578686828181106120ad576120ac6147ae565b5b90506020020135836120bf91906145b6565b9250806120cb906147dd565b905061208f565b5060155482826120e291906145b6565b1115612123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211a90614904565b60405180910390fd5b6000915060005b848490508110156121a05761218f85858381811061214b5761214a6147ae565b5b90506020020160208101906121609190614019565b888884818110612173576121726147ae565b5b9050602002013560405180602001604052806000815250613179565b80612199906147dd565b905061212a565b5060009050505050505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6002601054141561223c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223390614970565b60405180910390fd5b6002601081905550426019541115612289576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612280906149dc565b60405180910390fd5b6000612293610f0f565b9050601760009054906101000a900460ff166122e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122db90614a48565b60405180910390fd5b60008211612327576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231e90614ab4565b60405180910390fd5b60165482111561236c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236390614904565b60405180910390fd5b601554828261237b91906145b6565b11156123bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b390614b20565b60405180910390fd5b816014546123ca9190614b40565b3410156123d657600080fd5b6123f0338360405180602001604052806000815250613179565b6000905050600160108190555050565b612408612d2b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561246d576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061247a612d2b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612527612d2b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161256c9190613b8e565b60405180910390a35050565b6125838484846111f0565b60008373ffffffffffffffffffffffffffffffffffffffff163b146125e5576125ae84848484613216565b6125e4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b601280546125f890614457565b80601f016020809104026020016040519081016040528092919081815260200182805461262490614457565b80156126715780601f1061264657610100808354040283529160200191612671565b820191906000526020600020905b81548152906001019060200180831161265457829003601f168201915b505050505081565b606061268482612ccc565b6126c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ba90614c0c565b60405180910390fd5b60006126cd613367565b905060008151116126ed576040518060200160405280600081525061271b565b806126f7846133f9565b601260405160200161270b93929190614cfc565b6040516020818303038152906040525b915050919050565b60185481565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60155481565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6127c9610b9a565b73ffffffffffffffffffffffffffffffffffffffff166127e7611e79565b73ffffffffffffffffffffffffffffffffffffffff161461283d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612834906144d5565b60405180910390fd5b80601760006101000a81548160ff02191690831515021790555050565b6000600a54905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601a6020528060005260406000206000915090505481565b612918610b9a565b73ffffffffffffffffffffffffffffffffffffffff16612936611e79565b73ffffffffffffffffffffffffffffffffffffffff161461298c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612983906144d5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f390614d9f565b60405180910390fd5b612a05816130b3565b50565b426018541115612a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a44906149dc565b60405180910390fd5b426019541015612a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8990614e0b565b60405180910390fd5b6000612a9c610f0f565b90506000601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601760009054906101000a900460ff16612b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2890614a48565b60405180910390fd5b60008111612b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6b90614e77565b60405180910390fd5b80831115612bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bae90614ee3565b60405180910390fd5b6015548383612bc691906145b6565b1115612c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfe90614f4f565b60405180910390fd5b3483601354612c169190614b40565b14612c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4d90614fbb565b60405180910390fd5b8281612c629190614fdb565b601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060009050612cc3338460405180602001604052806000815250613179565b60009150505050565b600081612cd7612d33565b11158015612ce6575060005482105b8015612d24575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600081600954600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485612d899190614b40565b612d93919061503e565b612d9d9190614fdb565b90509392505050565b80471015612de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de0906150bb565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612e0f90614757565b60006040518083038185875af1925050503d8060008114612e4c576040519150601f19603f3d011682016040523d82523d6000602084013e612e51565b606091505b5050905080612e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8c9061514d565b60405180910390fd5b505050565b60008082905080612ea9612d33565b11612f3157600054811015612f305760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612f2e575b6000811415612f24576004600083600190039350838152602001908152602001600020549050612ef9565b8092505050612f63565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612feb86868461355a565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6130ae8363a9059cbb60e01b848460405160240161304c929190613ab1565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613563565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613183838361362a565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461321157600080549050600083820390505b6131c36000868380600101945086613216565b6131f9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106131b057816000541461320e57600080fd5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261323c612d2b565b8786866040518563ffffffff1660e01b815260040161325e94939291906151c2565b6020604051808303816000875af192505050801561329a57506040513d601f19601f820116820180604052508101906132979190615223565b60015b613314573d80600081146132ca576040519150601f19603f3d011682016040523d82523d6000602084013e6132cf565b606091505b5060008151141561330c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606011805461337690614457565b80601f01602080910402602001604051908101604052809291908181526020018280546133a290614457565b80156133ef5780601f106133c4576101008083540402835291602001916133ef565b820191906000526020600020905b8154815290600101906020018083116133d257829003601f168201915b5050505050905090565b60606000821415613441576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613555565b600082905060005b6000821461347357808061345c906147dd565b915050600a8261346c919061503e565b9150613449565b60008167ffffffffffffffff81111561348f5761348e613ea5565b5b6040519080825280601f01601f1916602001820160405280156134c15781602001600182028036833780820191505090505b5090505b6000851461354e576001826134da9190614fdb565b9150600a856134e99190615250565b60306134f591906145b6565b60f81b81838151811061350b5761350a6147ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613547919061503e565b94506134c5565b8093505050505b919050565b60009392505050565b60006135c5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166137fe9092919063ffffffff16565b905060008151111561362557808060200190518101906135e59190615296565b613624576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361b90615335565b60405180910390fd5b5b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613697576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156136d2576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6136df6000848385612fce565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613756836137476000866000612fd4565b61375085613816565b17612ffc565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061377a578060008190555050506137f96000848385613027565b505050565b606061380d8484600085613826565b90509392505050565b60006001821460e11b9050919050565b60608247101561386b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613862906153c7565b60405180910390fd5b6138748561393a565b6138b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138aa90615433565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516138dc9190615484565b60006040518083038185875af1925050503d8060008114613919576040519150601f19603f3d011682016040523d82523d6000602084013e61391e565b606091505b509150915061392e82828661394d565b92505050949350505050565b600080823b905060008111915050919050565b6060831561395d578290506139ad565b6000835111156139705782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139a49190613c42565b60405180910390fd5b9392505050565b8280546139c090614457565b90600052602060002090601f0160209004810192826139e25760008555613a29565b82601f106139fb57805160ff1916838001178555613a29565b82800160010185558215613a29579182015b82811115613a28578251825591602001919060010190613a0d565b5b509050613a369190613a3a565b5090565b5b80821115613a53576000816000905550600101613a3b565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a8282613a57565b9050919050565b613a9281613a77565b82525050565b6000819050919050565b613aab81613a98565b82525050565b6000604082019050613ac66000830185613a89565b613ad36020830184613aa2565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b2381613aee565b8114613b2e57600080fd5b50565b600081359050613b4081613b1a565b92915050565b600060208284031215613b5c57613b5b613ae4565b5b6000613b6a84828501613b31565b91505092915050565b60008115159050919050565b613b8881613b73565b82525050565b6000602082019050613ba36000830184613b7f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613be3578082015181840152602081019050613bc8565b83811115613bf2576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c1482613ba9565b613c1e8185613bb4565b9350613c2e818560208601613bc5565b613c3781613bf8565b840191505092915050565b60006020820190508181036000830152613c5c8184613c09565b905092915050565b6000602082019050613c796000830184613aa2565b92915050565b613c8881613a98565b8114613c9357600080fd5b50565b600081359050613ca581613c7f565b92915050565b600060208284031215613cc157613cc0613ae4565b5b6000613ccf84828501613c96565b91505092915050565b6000602082019050613ced6000830184613a89565b92915050565b613cfc81613a77565b8114613d0757600080fd5b50565b600081359050613d1981613cf3565b92915050565b60008060408385031215613d3657613d35613ae4565b5b6000613d4485828601613d0a565b9250506020613d5585828601613c96565b9150509250929050565b6000613d6a82613a57565b9050919050565b613d7a81613d5f565b8114613d8557600080fd5b50565b600081359050613d9781613d71565b92915050565b600060208284031215613db357613db2613ae4565b5b6000613dc184828501613d88565b91505092915050565b600080600060608486031215613de357613de2613ae4565b5b6000613df186828701613d0a565b9350506020613e0286828701613d0a565b9250506040613e1386828701613c96565b9150509250925092565b6000613e2882613a77565b9050919050565b613e3881613e1d565b8114613e4357600080fd5b50565b600081359050613e5581613e2f565b92915050565b60008060408385031215613e7257613e71613ae4565b5b6000613e8085828601613e46565b9250506020613e9185828601613d0a565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613edd82613bf8565b810181811067ffffffffffffffff82111715613efc57613efb613ea5565b5b80604052505050565b6000613f0f613ada565b9050613f1b8282613ed4565b919050565b600067ffffffffffffffff821115613f3b57613f3a613ea5565b5b613f4482613bf8565b9050602081019050919050565b82818337600083830152505050565b6000613f73613f6e84613f20565b613f05565b905082815260208101848484011115613f8f57613f8e613ea0565b5b613f9a848285613f51565b509392505050565b600082601f830112613fb757613fb6613e9b565b5b8135613fc7848260208601613f60565b91505092915050565b600060208284031215613fe657613fe5613ae4565b5b600082013567ffffffffffffffff81111561400457614003613ae9565b5b61401084828501613fa2565b91505092915050565b60006020828403121561402f5761402e613ae4565b5b600061403d84828501613d0a565b91505092915050565b600080fd5b600080fd5b60008083601f84011261406657614065613e9b565b5b8235905067ffffffffffffffff81111561408357614082614046565b5b60208301915083602082028301111561409f5761409e61404b565b5b9250929050565b60008083601f8401126140bc576140bb613e9b565b5b8235905067ffffffffffffffff8111156140d9576140d8614046565b5b6020830191508360208202830111156140f5576140f461404b565b5b9250929050565b6000806000806040858703121561411657614115613ae4565b5b600085013567ffffffffffffffff81111561413457614133613ae9565b5b61414087828801614050565b9450945050602085013567ffffffffffffffff81111561416357614162613ae9565b5b61416f878288016140a6565b925092505092959194509250565b6000806000806040858703121561419757614196613ae4565b5b600085013567ffffffffffffffff8111156141b5576141b4613ae9565b5b6141c1878288016140a6565b9450945050602085013567ffffffffffffffff8111156141e4576141e3613ae9565b5b6141f087828801614050565b925092505092959194509250565b61420781613b73565b811461421257600080fd5b50565b600081359050614224816141fe565b92915050565b6000806040838503121561424157614240613ae4565b5b600061424f85828601613d0a565b925050602061426085828601614215565b9150509250929050565b600067ffffffffffffffff82111561428557614284613ea5565b5b61428e82613bf8565b9050602081019050919050565b60006142ae6142a98461426a565b613f05565b9050828152602081018484840111156142ca576142c9613ea0565b5b6142d5848285613f51565b509392505050565b600082601f8301126142f2576142f1613e9b565b5b813561430284826020860161429b565b91505092915050565b6000806000806080858703121561432557614324613ae4565b5b600061433387828801613d0a565b945050602061434487828801613d0a565b935050604061435587828801613c96565b925050606085013567ffffffffffffffff81111561437657614375613ae9565b5b614382878288016142dd565b91505092959194509250565b6000602082840312156143a4576143a3613ae4565b5b60006143b284828501613e46565b91505092915050565b6000602082840312156143d1576143d0613ae4565b5b60006143df84828501614215565b91505092915050565b600080604083850312156143ff576143fe613ae4565b5b600061440d85828601613d0a565b925050602061441e85828601613d0a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061446f57607f821691505b6020821081141561448357614482614428565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006144bf602083613bb4565b91506144ca82614489565b602082019050919050565b600060208201905081810360008301526144ee816144b2565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b6000614551602683613bb4565b915061455c826144f5565b604082019050919050565b6000602082019050818103600083015261458081614544565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006145c182613a98565b91506145cc83613a98565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561460157614600614587565b5b828201905092915050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b6000614668602b83613bb4565b91506146738261460c565b604082019050919050565b600060208201905081810360008301526146978161465b565b9050919050565b6000819050919050565b60006146c36146be6146b984613a57565b61469e565b613a57565b9050919050565b60006146d5826146a8565b9050919050565b60006146e7826146ca565b9050919050565b6146f7816146dc565b82525050565b600060408201905061471260008301856146ee565b61471f6020830184613aa2565b9392505050565b600081905092915050565b50565b6000614741600083614726565b915061474c82614731565b600082019050919050565b600061476282614734565b9150819050919050565b60008151905061477b81613c7f565b92915050565b60006020828403121561479757614796613ae4565b5b60006147a58482850161476c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006147e882613a98565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561481b5761481a614587565b5b600182019050919050565b7f50726f76696465207175616e74697469657320616e6420726563697069656e7460008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614882602183613bb4565b915061488d82614826565b604082019050919050565b600060208201905081810360008301526148b181614875565b9050919050565b7f546f6f206d616e79000000000000000000000000000000000000000000000000600082015250565b60006148ee600883613bb4565b91506148f9826148b8565b602082019050919050565b6000602082019050818103600083015261491d816148e1565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061495a601f83613bb4565b915061496582614924565b602082019050919050565b600060208201905081810360008301526149898161494d565b9050919050565b7f4e6f742079657400000000000000000000000000000000000000000000000000600082015250565b60006149c6600783613bb4565b91506149d182614990565b602082019050919050565b600060208201905081810360008301526149f5816149b9565b9050919050565b7f4f66660000000000000000000000000000000000000000000000000000000000600082015250565b6000614a32600383613bb4565b9150614a3d826149fc565b602082019050919050565b60006020820190508181036000830152614a6181614a25565b9050919050565b7f4475680000000000000000000000000000000000000000000000000000000000600082015250565b6000614a9e600383613bb4565b9150614aa982614a68565b602082019050919050565b60006020820190508181036000830152614acd81614a91565b9050919050565b7f536f727279000000000000000000000000000000000000000000000000000000600082015250565b6000614b0a600583613bb4565b9150614b1582614ad4565b602082019050919050565b60006020820190508181036000830152614b3981614afd565b9050919050565b6000614b4b82613a98565b9150614b5683613a98565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b8f57614b8e614587565b5b828202905092915050565b7f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b6000614bf6602183613bb4565b9150614c0182614b9a565b604082019050919050565b60006020820190508181036000830152614c2581614be9565b9050919050565b600081905092915050565b6000614c4282613ba9565b614c4c8185614c2c565b9350614c5c818560208601613bc5565b80840191505092915050565b60008190508160005260206000209050919050565b60008154614c8a81614457565b614c948186614c2c565b94506001821660008114614caf5760018114614cc057614cf3565b60ff19831686528186019350614cf3565b614cc985614c68565b60005b83811015614ceb57815481890152600182019150602081019050614ccc565b838801955050505b50505092915050565b6000614d088286614c37565b9150614d148285614c37565b9150614d208284614c7d565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614d89602683613bb4565b9150614d9482614d2d565b604082019050919050565b60006020820190508181036000830152614db881614d7c565b9050919050565b7f546f6f206c617465000000000000000000000000000000000000000000000000600082015250565b6000614df5600883613bb4565b9150614e0082614dbf565b602082019050919050565b60006020820190508181036000830152614e2481614de8565b9050919050565b7f4c6f772072657365727665000000000000000000000000000000000000000000600082015250565b6000614e61600b83613bb4565b9150614e6c82614e2b565b602082019050919050565b60006020820190508181036000830152614e9081614e54565b9050919050565b7f547279206c657373000000000000000000000000000000000000000000000000600082015250565b6000614ecd600883613bb4565b9150614ed882614e97565b602082019050919050565b60006020820190508181036000830152614efc81614ec0565b9050919050565b7f4d6f7265207468616e206d617800000000000000000000000000000000000000600082015250565b6000614f39600d83613bb4565b9150614f4482614f03565b602082019050919050565b60006020820190508181036000830152614f6881614f2c565b9050919050565b7f57726f6e6720616d6f756e740000000000000000000000000000000000000000600082015250565b6000614fa5600c83613bb4565b9150614fb082614f6f565b602082019050919050565b60006020820190508181036000830152614fd481614f98565b9050919050565b6000614fe682613a98565b9150614ff183613a98565b92508282101561500457615003614587565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061504982613a98565b915061505483613a98565b9250826150645761506361500f565b5b828204905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006150a5601d83613bb4565b91506150b08261506f565b602082019050919050565b600060208201905081810360008301526150d481615098565b9050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615137603a83613bb4565b9150615142826150db565b604082019050919050565b600060208201905081810360008301526151668161512a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006151948261516d565b61519e8185615178565b93506151ae818560208601613bc5565b6151b781613bf8565b840191505092915050565b60006080820190506151d76000830187613a89565b6151e46020830186613a89565b6151f16040830185613aa2565b81810360608301526152038184615189565b905095945050505050565b60008151905061521d81613b1a565b92915050565b60006020828403121561523957615238613ae4565b5b60006152478482850161520e565b91505092915050565b600061525b82613a98565b915061526683613a98565b9250826152765761527561500f565b5b828206905092915050565b600081519050615290816141fe565b92915050565b6000602082840312156152ac576152ab613ae4565b5b60006152ba84828501615281565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061531f602a83613bb4565b915061532a826152c3565b604082019050919050565b6000602082019050818103600083015261534e81615312565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006153b1602683613bb4565b91506153bc82615355565b604082019050919050565b600060208201905081810360008301526153e0816153a4565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b600061541d601d83613bb4565b9150615428826153e7565b602082019050919050565b6000602082019050818103600083015261544c81615410565b9050919050565b600061545e8261516d565b6154688185614726565b9350615478818560208601613bc5565b80840191505092915050565b60006154908284615453565b91508190509291505056fea2646970667358221220719ecf46febbbc1973aa814a962c5790d85740240392edcc61263bc847b671af64736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000095468652053796d6d730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000453594d4d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005768747470733a2f2f6f6479737365796c6162732e6d7970696e6174612e636c6f75642f697066732f516d5646444147466643674753517751786e456a4d593738726e6b6a7a4e4c6d6f443367483971367471654676792f000000000000000000
Deployed Bytecode
0x6080604052600436106102b25760003560e01c80637501f74111610175578063b88d4fde116100dc578063d79779b211610095578063e985e9c51161006f578063e985e9c514610adb578063eb8835ab14610b18578063f2fde38b14610b55578063f759867a14610b7e576102f9565b8063d79779b214610a4a578063d897833e14610a87578063e33b7de314610ab0576102f9565b8063b88d4fde14610926578063c66828621461094f578063c87b56dd1461097a578063c889004b146109b7578063ce7c2ac2146109e2578063d5abeb0114610a1f576102f9565b80638fdcf9421161012e5780638fdcf9421461082757806395d89b411461085057806396ea3a471461087b5780639852595c146108a4578063a0712d68146108e1578063a22cb465146108fd576102f9565b80637501f7411461071757806380eae5781461074257806382b23e881461076b5780638b83209b146107945780638c770067146107d15780638da5cb5b146107fc576102f9565b80632a23d07d1161021957806355f804b3116101d257806355f804b3146106095780636352211e146106325780636c0360eb1461066f57806370a082311461069a578063715018a6146106d7578063732e71ef146106ee576102f9565b80632a23d07d1461051a5780633a98ef39146105455780633ccfd60b14610570578063406072a91461057a57806342842e0e146105b757806348b75044146105e0576102f9565b806318160ddd1161026b57806318160ddd14610420578063191655871461044b5780631ee34fab14610474578063200d2ed21461049d578063228025e8146104c857806323b872dd146104f1576102f9565b806301ffc9a7146102fe57806306fdde031461033b578063074a130d14610366578063081812fc14610391578063088a4ed0146103ce578063095ea7b3146103f7576102f9565b366102f9577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102e0610b9a565b346040516102ef929190613ab1565b60405180910390a1005b600080fd5b34801561030a57600080fd5b5061032560048036038101906103209190613b46565b610ba2565b6040516103329190613b8e565b60405180910390f35b34801561034757600080fd5b50610350610c34565b60405161035d9190613c42565b60405180910390f35b34801561037257600080fd5b5061037b610cc6565b6040516103889190613c64565b60405180910390f35b34801561039d57600080fd5b506103b860048036038101906103b39190613cab565b610ccc565b6040516103c59190613cd8565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f09190613cab565b610d48565b005b34801561040357600080fd5b5061041e60048036038101906104199190613d1f565b610dce565b005b34801561042c57600080fd5b50610435610f0f565b6040516104429190613c64565b60405180910390f35b34801561045757600080fd5b50610472600480360381019061046d9190613d9d565b610f26565b005b34801561048057600080fd5b5061049b60048036038101906104969190613cab565b6110d1565b005b3480156104a957600080fd5b506104b2611157565b6040516104bf9190613b8e565b60405180910390f35b3480156104d457600080fd5b506104ef60048036038101906104ea9190613cab565b61116a565b005b3480156104fd57600080fd5b5061051860048036038101906105139190613dca565b6111f0565b005b34801561052657600080fd5b5061052f611515565b60405161053c9190613c64565b60405180910390f35b34801561055157600080fd5b5061055a61151b565b6040516105679190613c64565b60405180910390f35b610578611525565b005b34801561058657600080fd5b506105a1600480360381019061059c9190613e5b565b61161a565b6040516105ae9190613c64565b60405180910390f35b3480156105c357600080fd5b506105de60048036038101906105d99190613dca565b6116a1565b005b3480156105ec57600080fd5b5061060760048036038101906106029190613e5b565b6116c1565b005b34801561061557600080fd5b50610630600480360381019061062b9190613fd0565b61197a565b005b34801561063e57600080fd5b5061065960048036038101906106549190613cab565b611a10565b6040516106669190613cd8565b60405180910390f35b34801561067b57600080fd5b50610684611a22565b6040516106919190613c42565b60405180910390f35b3480156106a657600080fd5b506106c160048036038101906106bc9190614019565b611ab0565b6040516106ce9190613c64565b60405180910390f35b3480156106e357600080fd5b506106ec611b69565b005b3480156106fa57600080fd5b50610715600480360381019061071091906140fc565b611bf1565b005b34801561072357600080fd5b5061072c611d19565b6040516107399190613c64565b60405180910390f35b34801561074e57600080fd5b5061076960048036038101906107649190613cab565b611d1f565b005b34801561077757600080fd5b50610792600480360381019061078d9190613cab565b611da5565b005b3480156107a057600080fd5b506107bb60048036038101906107b69190613cab565b611e2b565b6040516107c89190613cd8565b60405180910390f35b3480156107dd57600080fd5b506107e6611e73565b6040516107f39190613c64565b60405180910390f35b34801561080857600080fd5b50610811611e79565b60405161081e9190613cd8565b60405180910390f35b34801561083357600080fd5b5061084e60048036038101906108499190613cab565b611ea3565b005b34801561085c57600080fd5b50610865611f29565b6040516108729190613c42565b60405180910390f35b34801561088757600080fd5b506108a2600480360381019061089d919061417d565b611fbb565b005b3480156108b057600080fd5b506108cb60048036038101906108c69190614019565b6121ad565b6040516108d89190613c64565b60405180910390f35b6108fb60048036038101906108f69190613cab565b6121f6565b005b34801561090957600080fd5b50610924600480360381019061091f919061422a565b612400565b005b34801561093257600080fd5b5061094d6004803603810190610948919061430b565b612578565b005b34801561095b57600080fd5b506109646125eb565b6040516109719190613c42565b60405180910390f35b34801561098657600080fd5b506109a1600480360381019061099c9190613cab565b612679565b6040516109ae9190613c42565b60405180910390f35b3480156109c357600080fd5b506109cc612723565b6040516109d99190613c64565b60405180910390f35b3480156109ee57600080fd5b50610a096004803603810190610a049190614019565b612729565b604051610a169190613c64565b60405180910390f35b348015610a2b57600080fd5b50610a34612772565b604051610a419190613c64565b60405180910390f35b348015610a5657600080fd5b50610a716004803603810190610a6c919061438e565b612778565b604051610a7e9190613c64565b60405180910390f35b348015610a9357600080fd5b50610aae6004803603810190610aa991906143bb565b6127c1565b005b348015610abc57600080fd5b50610ac561285a565b604051610ad29190613c64565b60405180910390f35b348015610ae757600080fd5b50610b026004803603810190610afd91906143e8565b612864565b604051610b0f9190613b8e565b60405180910390f35b348015610b2457600080fd5b50610b3f6004803603810190610b3a9190614019565b6128f8565b604051610b4c9190613c64565b60405180910390f35b348015610b6157600080fd5b50610b7c6004803603810190610b779190614019565b612910565b005b610b986004803603810190610b939190613cab565b612a08565b005b600033905090565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bfd57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c2d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610c4390614457565b80601f0160208091040260200160405190810160405280929190818152602001828054610c6f90614457565b8015610cbc5780601f10610c9157610100808354040283529160200191610cbc565b820191906000526020600020905b815481529060010190602001808311610c9f57829003601f168201915b5050505050905090565b60195481565b6000610cd782612ccc565b610d0d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610d50610b9a565b73ffffffffffffffffffffffffffffffffffffffff16610d6e611e79565b73ffffffffffffffffffffffffffffffffffffffff1614610dc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbb906144d5565b60405180910390fd5b8060168190555050565b6000610dd982611a10565b90508073ffffffffffffffffffffffffffffffffffffffff16610dfa612d2b565b73ffffffffffffffffffffffffffffffffffffffff1614610e5d57610e2681610e21612d2b565b612864565b610e5c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610f19612d33565b6001546000540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9f90614567565b60405180910390fd5b6000610fb261285a565b47610fbd91906145b6565b90506000610fd48383610fcf866121ad565b612d38565b9050600081141561101a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110119061467e565b60405180910390fd5b80600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461106991906145b6565b9250508190555080600a600082825461108291906145b6565b925050819055506110938382612da6565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05683826040516110c49291906146fd565b60405180910390a1505050565b6110d9610b9a565b73ffffffffffffffffffffffffffffffffffffffff166110f7611e79565b73ffffffffffffffffffffffffffffffffffffffff161461114d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611144906144d5565b60405180910390fd5b8060198190555050565b601760009054906101000a900460ff1681565b611172610b9a565b73ffffffffffffffffffffffffffffffffffffffff16611190611e79565b73ffffffffffffffffffffffffffffffffffffffff16146111e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dd906144d5565b60405180910390fd5b8060158190555050565b60006111fb82612e9a565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611262576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061126e84612f68565b91509150611284818761127f612d2b565b612f8a565b6112d05761129986611294612d2b565b612864565b6112cf576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611337576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113448686866001612fce565b801561134f57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061141d856113f9888887612fd4565b7c020000000000000000000000000000000000000000000000000000000017612ffc565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156114a55760006001850190506000600460008381526020019081526020016000205414156114a35760005481146114a2578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461150d8686866001613027565b505050505050565b60135481565b6000600954905090565b61152d610b9a565b73ffffffffffffffffffffffffffffffffffffffff1661154b611e79565b73ffffffffffffffffffffffffffffffffffffffff16146115a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611598906144d5565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16476040516115c790614757565b60006040518083038185875af1925050503d8060008114611604576040519150601f19603f3d011682016040523d82523d6000602084013e611609565b606091505b505090508061161757600080fd5b50565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6116bc83838360405180602001604052806000815250612578565b505050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173a90614567565b60405180910390fd5b600061174e83612778565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016117879190613cd8565b602060405180830381865afa1580156117a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c89190614781565b6117d291906145b6565b905060006117ea83836117e5878761161a565b612d38565b90506000811415611830576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118279061467e565b60405180910390fd5b80600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118bc91906145b6565b9250508190555080600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461191291906145b6565b9250508190555061192484848361302d565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a848360405161196c929190613ab1565b60405180910390a250505050565b611982610b9a565b73ffffffffffffffffffffffffffffffffffffffff166119a0611e79565b73ffffffffffffffffffffffffffffffffffffffff16146119f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ed906144d5565b60405180910390fd5b8060119080519060200190611a0c9291906139b4565b5050565b6000611a1b82612e9a565b9050919050565b60118054611a2f90614457565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5b90614457565b8015611aa85780601f10611a7d57610100808354040283529160200191611aa8565b820191906000526020600020905b815481529060010190602001808311611a8b57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b18576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611b71610b9a565b73ffffffffffffffffffffffffffffffffffffffff16611b8f611e79565b73ffffffffffffffffffffffffffffffffffffffff1614611be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdc906144d5565b60405180910390fd5b611bef60006130b3565b565b611bf9610b9a565b73ffffffffffffffffffffffffffffffffffffffff16611c17611e79565b73ffffffffffffffffffffffffffffffffffffffff1614611c6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c64906144d5565b60405180910390fd5b60005b84849050811015611d1257828282818110611c8e57611c8d6147ae565b5b90506020020135601a6000878785818110611cac57611cab6147ae565b5b9050602002016020810190611cc19190614019565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611d0a906147dd565b915050611c70565b5050505050565b60165481565b611d27610b9a565b73ffffffffffffffffffffffffffffffffffffffff16611d45611e79565b73ffffffffffffffffffffffffffffffffffffffff1614611d9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d92906144d5565b60405180910390fd5b8060148190555050565b611dad610b9a565b73ffffffffffffffffffffffffffffffffffffffff16611dcb611e79565b73ffffffffffffffffffffffffffffffffffffffff1614611e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e18906144d5565b60405180910390fd5b8060188190555050565b6000600d8281548110611e4157611e406147ae565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60145481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611eab610b9a565b73ffffffffffffffffffffffffffffffffffffffff16611ec9611e79565b73ffffffffffffffffffffffffffffffffffffffff1614611f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f16906144d5565b60405180910390fd5b8060138190555050565b606060038054611f3890614457565b80601f0160208091040260200160405190810160405280929190818152602001828054611f6490614457565b8015611fb15780601f10611f8657610100808354040283529160200191611fb1565b820191906000526020600020905b815481529060010190602001808311611f9457829003601f168201915b5050505050905090565b611fc3610b9a565b73ffffffffffffffffffffffffffffffffffffffff16611fe1611e79565b73ffffffffffffffffffffffffffffffffffffffff1614612037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202e906144d5565b60405180910390fd5b81819050848490501461207f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207690614898565b60405180910390fd5b60008061208a610f0f565b905060005b868690508110156120d2578686828181106120ad576120ac6147ae565b5b90506020020135836120bf91906145b6565b9250806120cb906147dd565b905061208f565b5060155482826120e291906145b6565b1115612123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211a90614904565b60405180910390fd5b6000915060005b848490508110156121a05761218f85858381811061214b5761214a6147ae565b5b90506020020160208101906121609190614019565b888884818110612173576121726147ae565b5b9050602002013560405180602001604052806000815250613179565b80612199906147dd565b905061212a565b5060009050505050505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6002601054141561223c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223390614970565b60405180910390fd5b6002601081905550426019541115612289576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612280906149dc565b60405180910390fd5b6000612293610f0f565b9050601760009054906101000a900460ff166122e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122db90614a48565b60405180910390fd5b60008211612327576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231e90614ab4565b60405180910390fd5b60165482111561236c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236390614904565b60405180910390fd5b601554828261237b91906145b6565b11156123bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b390614b20565b60405180910390fd5b816014546123ca9190614b40565b3410156123d657600080fd5b6123f0338360405180602001604052806000815250613179565b6000905050600160108190555050565b612408612d2b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561246d576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061247a612d2b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612527612d2b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161256c9190613b8e565b60405180910390a35050565b6125838484846111f0565b60008373ffffffffffffffffffffffffffffffffffffffff163b146125e5576125ae84848484613216565b6125e4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b601280546125f890614457565b80601f016020809104026020016040519081016040528092919081815260200182805461262490614457565b80156126715780601f1061264657610100808354040283529160200191612671565b820191906000526020600020905b81548152906001019060200180831161265457829003601f168201915b505050505081565b606061268482612ccc565b6126c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ba90614c0c565b60405180910390fd5b60006126cd613367565b905060008151116126ed576040518060200160405280600081525061271b565b806126f7846133f9565b601260405160200161270b93929190614cfc565b6040516020818303038152906040525b915050919050565b60185481565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60155481565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6127c9610b9a565b73ffffffffffffffffffffffffffffffffffffffff166127e7611e79565b73ffffffffffffffffffffffffffffffffffffffff161461283d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612834906144d5565b60405180910390fd5b80601760006101000a81548160ff02191690831515021790555050565b6000600a54905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601a6020528060005260406000206000915090505481565b612918610b9a565b73ffffffffffffffffffffffffffffffffffffffff16612936611e79565b73ffffffffffffffffffffffffffffffffffffffff161461298c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612983906144d5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f390614d9f565b60405180910390fd5b612a05816130b3565b50565b426018541115612a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a44906149dc565b60405180910390fd5b426019541015612a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8990614e0b565b60405180910390fd5b6000612a9c610f0f565b90506000601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601760009054906101000a900460ff16612b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2890614a48565b60405180910390fd5b60008111612b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6b90614e77565b60405180910390fd5b80831115612bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bae90614ee3565b60405180910390fd5b6015548383612bc691906145b6565b1115612c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfe90614f4f565b60405180910390fd5b3483601354612c169190614b40565b14612c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4d90614fbb565b60405180910390fd5b8281612c629190614fdb565b601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060009050612cc3338460405180602001604052806000815250613179565b60009150505050565b600081612cd7612d33565b11158015612ce6575060005482105b8015612d24575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600081600954600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485612d899190614b40565b612d93919061503e565b612d9d9190614fdb565b90509392505050565b80471015612de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de0906150bb565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612e0f90614757565b60006040518083038185875af1925050503d8060008114612e4c576040519150601f19603f3d011682016040523d82523d6000602084013e612e51565b606091505b5050905080612e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8c9061514d565b60405180910390fd5b505050565b60008082905080612ea9612d33565b11612f3157600054811015612f305760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612f2e575b6000811415612f24576004600083600190039350838152602001908152602001600020549050612ef9565b8092505050612f63565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612feb86868461355a565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6130ae8363a9059cbb60e01b848460405160240161304c929190613ab1565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613563565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613183838361362a565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461321157600080549050600083820390505b6131c36000868380600101945086613216565b6131f9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106131b057816000541461320e57600080fd5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261323c612d2b565b8786866040518563ffffffff1660e01b815260040161325e94939291906151c2565b6020604051808303816000875af192505050801561329a57506040513d601f19601f820116820180604052508101906132979190615223565b60015b613314573d80600081146132ca576040519150601f19603f3d011682016040523d82523d6000602084013e6132cf565b606091505b5060008151141561330c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606011805461337690614457565b80601f01602080910402602001604051908101604052809291908181526020018280546133a290614457565b80156133ef5780601f106133c4576101008083540402835291602001916133ef565b820191906000526020600020905b8154815290600101906020018083116133d257829003601f168201915b5050505050905090565b60606000821415613441576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613555565b600082905060005b6000821461347357808061345c906147dd565b915050600a8261346c919061503e565b9150613449565b60008167ffffffffffffffff81111561348f5761348e613ea5565b5b6040519080825280601f01601f1916602001820160405280156134c15781602001600182028036833780820191505090505b5090505b6000851461354e576001826134da9190614fdb565b9150600a856134e99190615250565b60306134f591906145b6565b60f81b81838151811061350b5761350a6147ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613547919061503e565b94506134c5565b8093505050505b919050565b60009392505050565b60006135c5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166137fe9092919063ffffffff16565b905060008151111561362557808060200190518101906135e59190615296565b613624576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361b90615335565b60405180910390fd5b5b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613697576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156136d2576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6136df6000848385612fce565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613756836137476000866000612fd4565b61375085613816565b17612ffc565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061377a578060008190555050506137f96000848385613027565b505050565b606061380d8484600085613826565b90509392505050565b60006001821460e11b9050919050565b60608247101561386b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613862906153c7565b60405180910390fd5b6138748561393a565b6138b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138aa90615433565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516138dc9190615484565b60006040518083038185875af1925050503d8060008114613919576040519150601f19603f3d011682016040523d82523d6000602084013e61391e565b606091505b509150915061392e82828661394d565b92505050949350505050565b600080823b905060008111915050919050565b6060831561395d578290506139ad565b6000835111156139705782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139a49190613c42565b60405180910390fd5b9392505050565b8280546139c090614457565b90600052602060002090601f0160209004810192826139e25760008555613a29565b82601f106139fb57805160ff1916838001178555613a29565b82800160010185558215613a29579182015b82811115613a28578251825591602001919060010190613a0d565b5b509050613a369190613a3a565b5090565b5b80821115613a53576000816000905550600101613a3b565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a8282613a57565b9050919050565b613a9281613a77565b82525050565b6000819050919050565b613aab81613a98565b82525050565b6000604082019050613ac66000830185613a89565b613ad36020830184613aa2565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b2381613aee565b8114613b2e57600080fd5b50565b600081359050613b4081613b1a565b92915050565b600060208284031215613b5c57613b5b613ae4565b5b6000613b6a84828501613b31565b91505092915050565b60008115159050919050565b613b8881613b73565b82525050565b6000602082019050613ba36000830184613b7f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613be3578082015181840152602081019050613bc8565b83811115613bf2576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c1482613ba9565b613c1e8185613bb4565b9350613c2e818560208601613bc5565b613c3781613bf8565b840191505092915050565b60006020820190508181036000830152613c5c8184613c09565b905092915050565b6000602082019050613c796000830184613aa2565b92915050565b613c8881613a98565b8114613c9357600080fd5b50565b600081359050613ca581613c7f565b92915050565b600060208284031215613cc157613cc0613ae4565b5b6000613ccf84828501613c96565b91505092915050565b6000602082019050613ced6000830184613a89565b92915050565b613cfc81613a77565b8114613d0757600080fd5b50565b600081359050613d1981613cf3565b92915050565b60008060408385031215613d3657613d35613ae4565b5b6000613d4485828601613d0a565b9250506020613d5585828601613c96565b9150509250929050565b6000613d6a82613a57565b9050919050565b613d7a81613d5f565b8114613d8557600080fd5b50565b600081359050613d9781613d71565b92915050565b600060208284031215613db357613db2613ae4565b5b6000613dc184828501613d88565b91505092915050565b600080600060608486031215613de357613de2613ae4565b5b6000613df186828701613d0a565b9350506020613e0286828701613d0a565b9250506040613e1386828701613c96565b9150509250925092565b6000613e2882613a77565b9050919050565b613e3881613e1d565b8114613e4357600080fd5b50565b600081359050613e5581613e2f565b92915050565b60008060408385031215613e7257613e71613ae4565b5b6000613e8085828601613e46565b9250506020613e9185828601613d0a565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613edd82613bf8565b810181811067ffffffffffffffff82111715613efc57613efb613ea5565b5b80604052505050565b6000613f0f613ada565b9050613f1b8282613ed4565b919050565b600067ffffffffffffffff821115613f3b57613f3a613ea5565b5b613f4482613bf8565b9050602081019050919050565b82818337600083830152505050565b6000613f73613f6e84613f20565b613f05565b905082815260208101848484011115613f8f57613f8e613ea0565b5b613f9a848285613f51565b509392505050565b600082601f830112613fb757613fb6613e9b565b5b8135613fc7848260208601613f60565b91505092915050565b600060208284031215613fe657613fe5613ae4565b5b600082013567ffffffffffffffff81111561400457614003613ae9565b5b61401084828501613fa2565b91505092915050565b60006020828403121561402f5761402e613ae4565b5b600061403d84828501613d0a565b91505092915050565b600080fd5b600080fd5b60008083601f84011261406657614065613e9b565b5b8235905067ffffffffffffffff81111561408357614082614046565b5b60208301915083602082028301111561409f5761409e61404b565b5b9250929050565b60008083601f8401126140bc576140bb613e9b565b5b8235905067ffffffffffffffff8111156140d9576140d8614046565b5b6020830191508360208202830111156140f5576140f461404b565b5b9250929050565b6000806000806040858703121561411657614115613ae4565b5b600085013567ffffffffffffffff81111561413457614133613ae9565b5b61414087828801614050565b9450945050602085013567ffffffffffffffff81111561416357614162613ae9565b5b61416f878288016140a6565b925092505092959194509250565b6000806000806040858703121561419757614196613ae4565b5b600085013567ffffffffffffffff8111156141b5576141b4613ae9565b5b6141c1878288016140a6565b9450945050602085013567ffffffffffffffff8111156141e4576141e3613ae9565b5b6141f087828801614050565b925092505092959194509250565b61420781613b73565b811461421257600080fd5b50565b600081359050614224816141fe565b92915050565b6000806040838503121561424157614240613ae4565b5b600061424f85828601613d0a565b925050602061426085828601614215565b9150509250929050565b600067ffffffffffffffff82111561428557614284613ea5565b5b61428e82613bf8565b9050602081019050919050565b60006142ae6142a98461426a565b613f05565b9050828152602081018484840111156142ca576142c9613ea0565b5b6142d5848285613f51565b509392505050565b600082601f8301126142f2576142f1613e9b565b5b813561430284826020860161429b565b91505092915050565b6000806000806080858703121561432557614324613ae4565b5b600061433387828801613d0a565b945050602061434487828801613d0a565b935050604061435587828801613c96565b925050606085013567ffffffffffffffff81111561437657614375613ae9565b5b614382878288016142dd565b91505092959194509250565b6000602082840312156143a4576143a3613ae4565b5b60006143b284828501613e46565b91505092915050565b6000602082840312156143d1576143d0613ae4565b5b60006143df84828501614215565b91505092915050565b600080604083850312156143ff576143fe613ae4565b5b600061440d85828601613d0a565b925050602061441e85828601613d0a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061446f57607f821691505b6020821081141561448357614482614428565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006144bf602083613bb4565b91506144ca82614489565b602082019050919050565b600060208201905081810360008301526144ee816144b2565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b6000614551602683613bb4565b915061455c826144f5565b604082019050919050565b6000602082019050818103600083015261458081614544565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006145c182613a98565b91506145cc83613a98565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561460157614600614587565b5b828201905092915050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b6000614668602b83613bb4565b91506146738261460c565b604082019050919050565b600060208201905081810360008301526146978161465b565b9050919050565b6000819050919050565b60006146c36146be6146b984613a57565b61469e565b613a57565b9050919050565b60006146d5826146a8565b9050919050565b60006146e7826146ca565b9050919050565b6146f7816146dc565b82525050565b600060408201905061471260008301856146ee565b61471f6020830184613aa2565b9392505050565b600081905092915050565b50565b6000614741600083614726565b915061474c82614731565b600082019050919050565b600061476282614734565b9150819050919050565b60008151905061477b81613c7f565b92915050565b60006020828403121561479757614796613ae4565b5b60006147a58482850161476c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006147e882613a98565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561481b5761481a614587565b5b600182019050919050565b7f50726f76696465207175616e74697469657320616e6420726563697069656e7460008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614882602183613bb4565b915061488d82614826565b604082019050919050565b600060208201905081810360008301526148b181614875565b9050919050565b7f546f6f206d616e79000000000000000000000000000000000000000000000000600082015250565b60006148ee600883613bb4565b91506148f9826148b8565b602082019050919050565b6000602082019050818103600083015261491d816148e1565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061495a601f83613bb4565b915061496582614924565b602082019050919050565b600060208201905081810360008301526149898161494d565b9050919050565b7f4e6f742079657400000000000000000000000000000000000000000000000000600082015250565b60006149c6600783613bb4565b91506149d182614990565b602082019050919050565b600060208201905081810360008301526149f5816149b9565b9050919050565b7f4f66660000000000000000000000000000000000000000000000000000000000600082015250565b6000614a32600383613bb4565b9150614a3d826149fc565b602082019050919050565b60006020820190508181036000830152614a6181614a25565b9050919050565b7f4475680000000000000000000000000000000000000000000000000000000000600082015250565b6000614a9e600383613bb4565b9150614aa982614a68565b602082019050919050565b60006020820190508181036000830152614acd81614a91565b9050919050565b7f536f727279000000000000000000000000000000000000000000000000000000600082015250565b6000614b0a600583613bb4565b9150614b1582614ad4565b602082019050919050565b60006020820190508181036000830152614b3981614afd565b9050919050565b6000614b4b82613a98565b9150614b5683613a98565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b8f57614b8e614587565b5b828202905092915050565b7f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b6000614bf6602183613bb4565b9150614c0182614b9a565b604082019050919050565b60006020820190508181036000830152614c2581614be9565b9050919050565b600081905092915050565b6000614c4282613ba9565b614c4c8185614c2c565b9350614c5c818560208601613bc5565b80840191505092915050565b60008190508160005260206000209050919050565b60008154614c8a81614457565b614c948186614c2c565b94506001821660008114614caf5760018114614cc057614cf3565b60ff19831686528186019350614cf3565b614cc985614c68565b60005b83811015614ceb57815481890152600182019150602081019050614ccc565b838801955050505b50505092915050565b6000614d088286614c37565b9150614d148285614c37565b9150614d208284614c7d565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614d89602683613bb4565b9150614d9482614d2d565b604082019050919050565b60006020820190508181036000830152614db881614d7c565b9050919050565b7f546f6f206c617465000000000000000000000000000000000000000000000000600082015250565b6000614df5600883613bb4565b9150614e0082614dbf565b602082019050919050565b60006020820190508181036000830152614e2481614de8565b9050919050565b7f4c6f772072657365727665000000000000000000000000000000000000000000600082015250565b6000614e61600b83613bb4565b9150614e6c82614e2b565b602082019050919050565b60006020820190508181036000830152614e9081614e54565b9050919050565b7f547279206c657373000000000000000000000000000000000000000000000000600082015250565b6000614ecd600883613bb4565b9150614ed882614e97565b602082019050919050565b60006020820190508181036000830152614efc81614ec0565b9050919050565b7f4d6f7265207468616e206d617800000000000000000000000000000000000000600082015250565b6000614f39600d83613bb4565b9150614f4482614f03565b602082019050919050565b60006020820190508181036000830152614f6881614f2c565b9050919050565b7f57726f6e6720616d6f756e740000000000000000000000000000000000000000600082015250565b6000614fa5600c83613bb4565b9150614fb082614f6f565b602082019050919050565b60006020820190508181036000830152614fd481614f98565b9050919050565b6000614fe682613a98565b9150614ff183613a98565b92508282101561500457615003614587565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061504982613a98565b915061505483613a98565b9250826150645761506361500f565b5b828204905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006150a5601d83613bb4565b91506150b08261506f565b602082019050919050565b600060208201905081810360008301526150d481615098565b9050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615137603a83613bb4565b9150615142826150db565b604082019050919050565b600060208201905081810360008301526151668161512a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006151948261516d565b61519e8185615178565b93506151ae818560208601613bc5565b6151b781613bf8565b840191505092915050565b60006080820190506151d76000830187613a89565b6151e46020830186613a89565b6151f16040830185613aa2565b81810360608301526152038184615189565b905095945050505050565b60008151905061521d81613b1a565b92915050565b60006020828403121561523957615238613ae4565b5b60006152478482850161520e565b91505092915050565b600061525b82613a98565b915061526683613a98565b9250826152765761527561500f565b5b828206905092915050565b600081519050615290816141fe565b92915050565b6000602082840312156152ac576152ab613ae4565b5b60006152ba84828501615281565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061531f602a83613bb4565b915061532a826152c3565b604082019050919050565b6000602082019050818103600083015261534e81615312565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006153b1602683613bb4565b91506153bc82615355565b604082019050919050565b600060208201905081810360008301526153e0816153a4565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b600061541d601d83613bb4565b9150615428826153e7565b602082019050919050565b6000602082019050818103600083015261544c81615410565b9050919050565b600061545e8261516d565b6154688185614726565b9350615478818560208601613bc5565b80840191505092915050565b60006154908284615453565b91508190509291505056fea2646970667358221220719ecf46febbbc1973aa814a962c5790d85740240392edcc61263bc847b671af64736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000095468652053796d6d730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000453594d4d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005768747470733a2f2f6f6479737365796c6162732e6d7970696e6174612e636c6f75642f697066732f516d5646444147466643674753517751786e456a4d593738726e6b6a7a4e4c6d6f443367483971367471654676792f000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): The Symms
Arg [1] : _symbol (string): SYMM
Arg [2] : _initBaseURI (string): https://odysseylabs.mypinata.cloud/ipfs/QmVFDAGFfCgGSQwQxnEjMY78rnkjzNLmoD3gH9q6tqeFvy/
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 5468652053796d6d730000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 53594d4d00000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000057
Arg [8] : 68747470733a2f2f6f6479737365796c6162732e6d7970696e6174612e636c6f
Arg [9] : 75642f697066732f516d5646444147466643674753517751786e456a4d593738
Arg [10] : 726e6b6a7a4e4c6d6f443367483971367471654676792f000000000000000000
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.