Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,188 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer From | 20394512 | 549 days ago | IN | 0 ETH | 0.00016425 | ||||
| Transfer From | 20394459 | 549 days ago | IN | 0 ETH | 0.00010739 | ||||
| Set Approval For... | 18485353 | 816 days ago | IN | 0 ETH | 0.0010088 | ||||
| Set Approval For... | 18141017 | 865 days ago | IN | 0 ETH | 0.00049024 | ||||
| Set Approval For... | 18138543 | 865 days ago | IN | 0 ETH | 0.00080322 | ||||
| Set Approval For... | 18131257 | 866 days ago | IN | 0 ETH | 0.00055883 | ||||
| Set Approval For... | 18100958 | 870 days ago | IN | 0 ETH | 0.00041121 | ||||
| Set Approval For... | 17658325 | 932 days ago | IN | 0 ETH | 0.00048034 | ||||
| Withdraw | 17398133 | 969 days ago | IN | 0 ETH | 0.00070774 | ||||
| Set Approval For... | 17058830 | 1017 days ago | IN | 0 ETH | 0.00115652 | ||||
| Set Approval For... | 17044117 | 1019 days ago | IN | 0 ETH | 0.00152447 | ||||
| Set Approval For... | 16901326 | 1039 days ago | IN | 0 ETH | 0.00066917 | ||||
| Mint | 16897757 | 1040 days ago | IN | 0.00838926 ETH | 0.00230141 | ||||
| Transfer | 16848393 | 1047 days ago | IN | 0.35 ETH | 0.00060973 | ||||
| Mint | 16848359 | 1047 days ago | IN | 0.00419463 ETH | 0.00206689 | ||||
| Set Sale State | 16848347 | 1047 days ago | IN | 0 ETH | 0.00134236 | ||||
| Safe Transfer Fr... | 16839298 | 1048 days ago | IN | 0 ETH | 0.00123508 | ||||
| Safe Transfer Fr... | 16836811 | 1048 days ago | IN | 0 ETH | 0.00154164 | ||||
| Set Approval For... | 16773228 | 1057 days ago | IN | 0 ETH | 0.00148434 | ||||
| Set Approval For... | 16769200 | 1058 days ago | IN | 0 ETH | 0.0005896 | ||||
| Set Approval For... | 16758041 | 1059 days ago | IN | 0 ETH | 0.00147506 | ||||
| Safe Transfer Fr... | 16757829 | 1059 days ago | IN | 0 ETH | 0.00212138 | ||||
| Set Sale State | 16730073 | 1063 days ago | IN | 0 ETH | 0.0004404 | ||||
| Withdraw | 16730065 | 1063 days ago | IN | 0 ETH | 0.00056664 | ||||
| Transfer From | 16726173 | 1064 days ago | IN | 0 ETH | 0.00073026 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 17398133 | 969 days ago | 0.36258389 ETH | ||||
| Transfer | 16730065 | 1063 days ago | 1.67463881 ETH | ||||
| Transfer | 16655294 | 1074 days ago | 0.00796979 ETH | ||||
| Transfer | 16655284 | 1074 days ago | 0.28355704 ETH | ||||
| Transfer | 16655281 | 1074 days ago | 0.02684563 ETH | ||||
| Transfer | 16501600 | 1095 days ago | 0.00008389 ETH | ||||
| Transfer | 16492882 | 1096 days ago | 0.74680726 ETH | ||||
| Transfer | 16468442 | 1100 days ago | 0.00079697 ETH | ||||
| Transfer | 16394420 | 1110 days ago | 0.1195948 ETH | ||||
| Transfer | 16388650 | 1111 days ago | 0.0771812 ETH | ||||
| Transfer | 16371694 | 1113 days ago | 0.00687919 ETH | ||||
| Transfer | 16363398 | 1114 days ago | 0.05285234 ETH | ||||
| Transfer | 16309648 | 1122 days ago | 0.04895506 ETH | ||||
| Transfer | 16309642 | 1122 days ago | 0.13422818 ETH | ||||
| Transfer | 16291375 | 1124 days ago | 0.00092281 ETH | ||||
| Transfer | 16227813 | 1133 days ago | 0.00234899 ETH | ||||
| Transfer | 16226683 | 1134 days ago | 0.48227397 ETH | ||||
| Transfer | 16172637 | 1141 days ago | 0.16613932 ETH | ||||
| Transfer | 16154778 | 1144 days ago | 0.22231543 ETH | ||||
| Transfer | 16149172 | 1144 days ago | 0.00146812 ETH | ||||
| Transfer | 16121045 | 1148 days ago | 0.00331375 ETH | ||||
| Transfer | 16076420 | 1155 days ago | 0.00180369 ETH | ||||
| Transfer | 16070256 | 1155 days ago | 0.00402684 ETH | ||||
| Transfer | 15925282 | 1176 days ago | 0.20503804 ETH | ||||
| Transfer | 15913885 | 1177 days ago | 0.16025467 ETH |
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
TonyMontanaMM
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
/*
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
|__ __ __ __ __ __ ______ __ |
| \ / \ | \ | \ | \ / \ / \ | \ |
| $$\ / $$ __ __ _______ _______ | $$____ \$$ ______ | $$\ / $$ ______ | $$$$$$\ \$$ ______ |
| $$$\ / $$$| \ | \| \ / \| $$ \ | \ / \ | $$$\ / $$$ | \ | $$_ \$$| \ | \ |
| $$$$\ $$$$| $$ | $$| $$$$$$$\| $$$$$$$| $$$$$$$\| $$| $$$$$$\| $$$$\ $$$$ \$$$$$$\| $$ \ | $$ \$$$$$$\ |
| $$\$$ $$ $$| $$ | $$| $$ | $$| $$ | $$ | $$| $$| $$ $$| $$\$$ $$ $$ / $$| $$$$ | $$ / $$ |
| $$ \$$$| $$| $$__/ $$| $$ | $$| $$_____ | $$ | $$| $$| $$$$$$$$| $$ \$$$| $$| $$$$$$$| $$ | $$| $$$$$$$ |
| $$ \$ | $$ \$$ $$| $$ | $$ \$$ \| $$ | $$| $$ \$$ \| $$ \$ | $$ \$$ $$| $$ | $$ \$$ $$ |
|\$$ \$$ \$$$$$$ \$$ \$$ \$$$$$$$ \$$ \$$ \$$ \$$$$$$$ \$$ \$$ \$$$$$$$ \$$ \$$ \$$$$$$$ |
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
*/
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
contract TonyMontanaMM is ERC721A, Ownable, PaymentSplitter {
bool public saleIsActive = false;
bool public isOgMintActive = false;
bool public isFreeOgMintActive = false;
string private _baseURIextended;
uint256 public PRICE_PER_TOKEN = 10000000000000000 wei; // (PRICE_PER_TOKEN / 1e18) => ETH
uint256 public PRICE_PER_TOKEN_OG = 20000000000000000 wei; // (PRICE_PER_TOKEN_OG / 1e18) => ETH
uint256 public MAX_SUPPLY = 2100;
uint256 public constant MAX_PUBLIC_MINT = 20;
mapping(address => uint16) private ogList;
mapping(address => uint16) private freeOgList;
constructor(address[] memory payees, uint256[] memory shares)
ERC721A("TonyMontanaMM", "TMMM")
PaymentSplitter(payees, shares)
{}
function setPublicMintPrice(uint256 price) external onlyOwner {
PRICE_PER_TOKEN = price;
}
function setOgMintPrice(uint256 price) external onlyOwner {
PRICE_PER_TOKEN_OG = price;
}
function setMaxSupply(uint256 maxSupply) external onlyOwner {
MAX_SUPPLY = maxSupply;
}
function setIsOgMintActive(bool _isOgMintActive) external onlyOwner {
isOgMintActive = _isOgMintActive;
}
struct OgMintEntry {
address wallet;
uint16 allowed_mints;
}
function setFreeOgList(OgMintEntry[] calldata entries) external onlyOwner {
for (uint256 i = 0; i < entries.length; i++) {
freeOgList[entries[i].wallet] = entries[i].allowed_mints;
}
}
function setOgList(OgMintEntry[] calldata entries) external onlyOwner {
for (uint256 i = 0; i < entries.length; i++) {
ogList[entries[i].wallet] = entries[i].allowed_mints;
}
}
function numAvailableToFreeMint(address addr) external view returns (uint16) {
return freeOgList[addr];
}
function numAvailableToMint(address addr) external view returns (uint16) {
return ogList[addr];
}
function mintOgList(uint16 numberOfTokens) external payable {
uint256 ts = totalSupply();
require(isOgMintActive, "OG mint is not active");
require(
numberOfTokens <= ogList[msg.sender],
"Exceeded max available to purchase"
);
require(
ts + numberOfTokens <= MAX_SUPPLY,
"Purchase would exceed max tokens"
);
require(
PRICE_PER_TOKEN_OG * numberOfTokens <= msg.value,
"Ether value sent is not correct"
);
ogList[msg.sender] -= numberOfTokens;
_mint(msg.sender, numberOfTokens);
}
function setIsFreeOgMintActive(bool _isFreeOkMintActive)
external
onlyOwner
{
isFreeOgMintActive = _isFreeOkMintActive;
}
function mintOgFree(uint16 numberOfTokens) external {
uint256 ts = totalSupply();
require(isFreeOgMintActive, "Free OG mint is not active");
require(
ts + numberOfTokens <= MAX_SUPPLY,
"Purchase would exceed max tokens"
);
require(freeOgList[msg.sender] > 0, "No Free Mint left");
freeOgList[msg.sender] -= numberOfTokens;
_mint(msg.sender, numberOfTokens);
}
function setBaseURI(string memory baseURI_) external onlyOwner {
_baseURIextended = baseURI_;
}
function _baseURI() internal view virtual override returns (string memory) {
return _baseURIextended;
}
function reserve(uint256 quantity) public onlyOwner {
uint256 supply = totalSupply();
require(
supply + quantity <= MAX_SUPPLY,
"Reserve would exceed max tokens"
);
_mint(msg.sender, quantity);
}
function setSaleState(bool newState) public onlyOwner {
saleIsActive = newState;
}
function mint(uint256 numberOfTokens) public payable {
uint256 ts = totalSupply();
require(saleIsActive, "Sale must be active to mint tokens");
require(
numberOfTokens <= MAX_PUBLIC_MINT,
"Exceeded max token purchase"
);
require(
ts + numberOfTokens <= MAX_SUPPLY,
"Purchase would exceed max tokens"
);
require(
PRICE_PER_TOKEN * numberOfTokens <= msg.value,
"Ether value sent is not correct"
);
_safeMint(msg.sender, numberOfTokens);
}
function withdraw() public onlyOwner {
uint256 balance = address(this).balance;
payable(msg.sender).transfer(balance);
}
}// 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.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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.1 (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.1 (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":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"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":[],"name":"MAX_PUBLIC_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PER_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PER_TOKEN_OG","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isFreeOgMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOgMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"numberOfTokens","type":"uint16"}],"name":"mintOgFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"numberOfTokens","type":"uint16"}],"name":"mintOgList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"numAvailableToFreeMint","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"numAvailableToMint","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"uint256","name":"quantity","type":"uint256"}],"name":"reserve","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint16","name":"allowed_mints","type":"uint16"}],"internalType":"struct TonyMontanaMM.OgMintEntry[]","name":"entries","type":"tuple[]"}],"name":"setFreeOgList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isFreeOkMintActive","type":"bool"}],"name":"setIsFreeOgMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOgMintActive","type":"bool"}],"name":"setIsOgMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint16","name":"allowed_mints","type":"uint16"}],"internalType":"struct TonyMontanaMM.OgMintEntry[]","name":"entries","type":"tuple[]"}],"name":"setOgList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setOgMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPublicMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60806040526000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff0219169083151502179055506000601060026101000a81548160ff021916908315150217905550662386f26fc1000060125566470de4df8200006013556108346014553480156200007e57600080fd5b5060405162005f5138038062005f518339818101604052810190620000a49190620007fb565b81816040518060400160405280600d81526020017f546f6e794d6f6e74616e614d4d000000000000000000000000000000000000008152506040518060400160405280600481526020017f544d4d4d0000000000000000000000000000000000000000000000000000000081525081600290805190602001906200012a929190620005d9565b50806003908051906020019062000143929190620005d9565b5062000154620002cc60201b60201c565b60008190555050506200017c62000170620002d160201b60201c565b620002d960201b60201c565b8051825114620001c3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001ba90620009a2565b60405180910390fd5b60008251116200020a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200020190620009e6565b60405180910390fd5b60005b8251811015620002c157620002ab83828151811062000255577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183838151811062000297577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516200039f60201b60201c565b8080620002b89062000bc9565b9150506200020d565b505050505062000e28565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000412576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004099062000980565b60405180910390fd5b6000811162000458576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200044f9062000a08565b60405180910390fd5b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620004dd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004d490620009c4565b60405180910390fd5b600d829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060095462000594919062000ac2565b6009819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051620005cd92919062000953565b60405180910390a15050565b828054620005e79062000b5d565b90600052602060002090601f0160209004810192826200060b576000855562000657565b82601f106200062657805160ff191683800117855562000657565b8280016001018555821562000657579182015b828111156200065657825182559160200191906001019062000639565b5b5090506200066691906200066a565b5090565b5b80821115620006855760008160009055506001016200066b565b5090565b6000620006a06200069a8462000a53565b62000a2a565b90508083825260208201905082856020860282011115620006c057600080fd5b60005b85811015620006f45781620006d9888262000773565b845260208401935060208301925050600181019050620006c3565b5050509392505050565b6000620007156200070f8462000a82565b62000a2a565b905080838252602082019050828560208602820111156200073557600080fd5b60005b858110156200076957816200074e8882620007e4565b84526020840193506020830192505060018101905062000738565b5050509392505050565b600081519050620007848162000df4565b92915050565b600082601f8301126200079c57600080fd5b8151620007ae84826020860162000689565b91505092915050565b600082601f830112620007c957600080fd5b8151620007db848260208601620006fe565b91505092915050565b600081519050620007f58162000e0e565b92915050565b600080604083850312156200080f57600080fd5b600083015167ffffffffffffffff8111156200082a57600080fd5b62000838858286016200078a565b925050602083015167ffffffffffffffff8111156200085657600080fd5b6200086485828601620007b7565b9150509250929050565b620008798162000b1f565b82525050565b60006200088e602c8362000ab1565b91506200089b8262000cb5565b604082019050919050565b6000620008b560328362000ab1565b9150620008c28262000d04565b604082019050919050565b6000620008dc602b8362000ab1565b9150620008e98262000d53565b604082019050919050565b600062000903601a8362000ab1565b9150620009108262000da2565b602082019050919050565b60006200092a601d8362000ab1565b9150620009378262000dcb565b602082019050919050565b6200094d8162000b53565b82525050565b60006040820190506200096a60008301856200086e565b62000979602083018462000942565b9392505050565b600060208201905081810360008301526200099b816200087f565b9050919050565b60006020820190508181036000830152620009bd81620008a6565b9050919050565b60006020820190508181036000830152620009df81620008cd565b9050919050565b6000602082019050818103600083015262000a0181620008f4565b9050919050565b6000602082019050818103600083015262000a23816200091b565b9050919050565b600062000a3662000a49565b905062000a44828262000b93565b919050565b6000604051905090565b600067ffffffffffffffff82111562000a715762000a7062000c75565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000aa05762000a9f62000c75565b5b602082029050602081019050919050565b600082825260208201905092915050565b600062000acf8262000b53565b915062000adc8362000b53565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000b145762000b1362000c17565b5b828201905092915050565b600062000b2c8262000b33565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000600282049050600182168062000b7657607f821691505b6020821081141562000b8d5762000b8c62000c46565b5b50919050565b62000b9e8262000ca4565b810181811067ffffffffffffffff8211171562000bc05762000bbf62000c75565b5b80604052505050565b600062000bd68262000b53565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000c0c5762000c0b62000c17565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b62000dff8162000b1f565b811462000e0b57600080fd5b50565b62000e198162000b53565b811462000e2557600080fd5b50565b6151198062000e386000396000f3fe6080604052600436106102b25760003560e01c806370a0823111610175578063c04a2836116100dc578063e33b7de311610095578063eb550d6b1161006f578063eb550d6b14610afd578063eb8d244414610b3a578063ee3a26c214610b65578063f2fde38b14610b8e576102f9565b8063e33b7de314610a6c578063e5365dcf14610a97578063e985e9c514610ac0576102f9565b8063c04a283614610933578063c400665d14610970578063c4e370951461098c578063c87b56dd146109b5578063ce7c2ac2146109f2578063d79779b214610a2f576102f9565b806395d89b411161012e57806395d89b41146108345780639852595c1461085f578063a0712d681461089c578063a22cb465146108b8578063b824ca88146108e1578063b88d4fde1461090a576102f9565b806370a0823114610724578063715018a614610761578063819b25ba14610778578063833b9499146107a15780638b83209b146107cc5780638da5cb5b14610809576102f9565b80633a98ef391161021957806348b75044116101d257806348b750441461061857806355f804b3146106415780635d82cf6e1461066a5780636352211e1461069357806365f13097146106d05780636f8b44b0146106fb576102f9565b80633a98ef391461051c5780633ccfd60b14610547578063406072a91461055e57806342842e0e1461059b5780634404da8b146105c457806347966ad9146105ef576102f9565b80631d9d85491161026b5780631d9d85491461042057806323b872dd1461044957806327081a66146104725780632ffb6fe81461049b578063306c9ece146104c657806332cb6b0c146104f1576102f9565b806301ffc9a7146102fe57806306fdde031461033b578063081812fc14610366578063095ea7b3146103a357806318160ddd146103cc57806319165587146103f7576102f9565b366102f9577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102e0610bb7565b346040516102ef92919061449c565b60405180910390a1005b600080fd5b34801561030a57600080fd5b5061032560048036038101906103209190613e91565b610bbf565b60405161033291906144c5565b60405180910390f35b34801561034757600080fd5b50610350610c51565b60405161035d91906144e0565b60405180910390f35b34801561037257600080fd5b5061038d60048036038101906103889190613fb2565b610ce3565b60405161039a919061440c565b60405180910390f35b3480156103af57600080fd5b506103ca60048036038101906103c59190613dbe565b610d5f565b005b3480156103d857600080fd5b506103e1610ea0565b6040516103ee919061475d565b60405180910390f35b34801561040357600080fd5b5061041e60048036038101906104199190613c53565b610eb7565b005b34801561042c57600080fd5b5061044760048036038101906104429190613f89565b611062565b005b34801561045557600080fd5b50610470600480360381019061046b9190613cb8565b61122d565b005b34801561047e57600080fd5b5061049960048036038101906104949190613e3f565b611552565b005b3480156104a757600080fd5b506104b06115eb565b6040516104bd91906144c5565b60405180910390f35b3480156104d257600080fd5b506104db6115fe565b6040516104e8919061475d565b60405180910390f35b3480156104fd57600080fd5b50610506611604565b604051610513919061475d565b60405180910390f35b34801561052857600080fd5b5061053161160a565b60405161053e919061475d565b60405180910390f35b34801561055357600080fd5b5061055c611614565b005b34801561056a57600080fd5b5061058560048036038101906105809190613f0c565b6116df565b604051610592919061475d565b60405180910390f35b3480156105a757600080fd5b506105c260048036038101906105bd9190613cb8565b611766565b005b3480156105d057600080fd5b506105d9611786565b6040516105e691906144c5565b60405180910390f35b3480156105fb57600080fd5b5061061660048036038101906106119190613dfa565b611799565b005b34801561062457600080fd5b5061063f600480360381019061063a9190613f0c565b611935565b005b34801561064d57600080fd5b5061066860048036038101906106639190613f48565b611bfd565b005b34801561067657600080fd5b50610691600480360381019061068c9190613fb2565b611c93565b005b34801561069f57600080fd5b506106ba60048036038101906106b59190613fb2565b611d19565b6040516106c7919061440c565b60405180910390f35b3480156106dc57600080fd5b506106e5611d2b565b6040516106f2919061475d565b60405180910390f35b34801561070757600080fd5b50610722600480360381019061071d9190613fb2565b611d30565b005b34801561073057600080fd5b5061074b60048036038101906107469190613c2a565b611db6565b604051610758919061475d565b60405180910390f35b34801561076d57600080fd5b50610776611e6f565b005b34801561078457600080fd5b5061079f600480360381019061079a9190613fb2565b611ef7565b005b3480156107ad57600080fd5b506107b6611fdd565b6040516107c3919061475d565b60405180910390f35b3480156107d857600080fd5b506107f360048036038101906107ee9190613fb2565b611fe3565b604051610800919061440c565b60405180910390f35b34801561081557600080fd5b5061081e612051565b60405161082b919061440c565b60405180910390f35b34801561084057600080fd5b5061084961207b565b60405161085691906144e0565b60405180910390f35b34801561086b57600080fd5b5061088660048036038101906108819190613c2a565b61210d565b604051610893919061475d565b60405180910390f35b6108b660048036038101906108b19190613fb2565b612156565b005b3480156108c457600080fd5b506108df60048036038101906108da9190613d82565b6122a3565b005b3480156108ed57600080fd5b5061090860048036038101906109039190613fb2565b61241b565b005b34801561091657600080fd5b50610931600480360381019061092c9190613d07565b6124a1565b005b34801561093f57600080fd5b5061095a60048036038101906109559190613c2a565b612514565b6040516109679190614742565b60405180910390f35b61098a60048036038101906109859190613f89565b61256b565b005b34801561099857600080fd5b506109b360048036038101906109ae9190613e3f565b61278e565b005b3480156109c157600080fd5b506109dc60048036038101906109d79190613fb2565b612827565b6040516109e991906144e0565b60405180910390f35b3480156109fe57600080fd5b50610a196004803603810190610a149190613c2a565b6128c6565b604051610a26919061475d565b60405180910390f35b348015610a3b57600080fd5b50610a566004803603810190610a519190613ee3565b61290f565b604051610a63919061475d565b60405180910390f35b348015610a7857600080fd5b50610a81612958565b604051610a8e919061475d565b60405180910390f35b348015610aa357600080fd5b50610abe6004803603810190610ab99190613dfa565b612962565b005b348015610acc57600080fd5b50610ae76004803603810190610ae29190613c7c565b612afe565b604051610af491906144c5565b60405180910390f35b348015610b0957600080fd5b50610b246004803603810190610b1f9190613c2a565b612b92565b604051610b319190614742565b60405180910390f35b348015610b4657600080fd5b50610b4f612be9565b604051610b5c91906144c5565b60405180910390f35b348015610b7157600080fd5b50610b8c6004803603810190610b879190613e3f565b612bfc565b005b348015610b9a57600080fd5b50610bb56004803603810190610bb09190613c2a565b612c95565b005b600033905090565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c1a57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c4a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610c6090614ab4565b80601f0160208091040260200160405190810160405280929190818152602001828054610c8c90614ab4565b8015610cd95780601f10610cae57610100808354040283529160200191610cd9565b820191906000526020600020905b815481529060010190602001808311610cbc57829003601f168201915b5050505050905090565b6000610cee82612d8d565b610d24576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d6a82611d19565b90508073ffffffffffffffffffffffffffffffffffffffff16610d8b612dec565b73ffffffffffffffffffffffffffffffffffffffff1614610dee57610db781610db2612dec565b612afe565b610ded576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610eaa612df4565b6001546000540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3090614542565b60405180910390fd5b6000610f43612958565b47610f4e919061484d565b90506000610f658383610f608661210d565b612df9565b90506000811415610fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa2906145e2565b60405180910390fd5b80600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ffa919061484d565b9250508190555080600a6000828254611013919061484d565b925050819055506110248382612e67565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051611055929190614427565b60405180910390a1505050565b600061106c610ea0565b9050601060029054906101000a900460ff166110bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b490614722565b60405180910390fd5b6014548261ffff16826110d0919061484d565b1115611111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110890614522565b60405180910390fd5b6000601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff16116111a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119c90614622565b60405180910390fd5b81601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff16611201919061492e565b92506101000a81548161ffff021916908361ffff160217905550611229338361ffff16612f5b565b5050565b60006112388261312f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461129f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806112ab846131fd565b915091506112c181876112bc612dec565b61321f565b61130d576112d6866112d1612dec565b612afe565b61130c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611374576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113818686866001613263565b801561138c57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061145a85611436888887613269565b7c020000000000000000000000000000000000000000000000000000000017613291565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156114e25760006001850190506000600460008381526020019081526020016000205414156114e05760005481146114df578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461154a86868660016132bc565b505050505050565b61155a610bb7565b73ffffffffffffffffffffffffffffffffffffffff16611578612051565b73ffffffffffffffffffffffffffffffffffffffff16146115ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c590614602565b60405180910390fd5b80601060026101000a81548160ff02191690831515021790555050565b601060019054906101000a900460ff1681565b60135481565b60145481565b6000600954905090565b61161c610bb7565b73ffffffffffffffffffffffffffffffffffffffff1661163a612051565b73ffffffffffffffffffffffffffffffffffffffff1614611690576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168790614602565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156116db573d6000803e3d6000fd5b5050565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611781838383604051806020016040528060008152506124a1565b505050565b601060029054906101000a900460ff1681565b6117a1610bb7565b73ffffffffffffffffffffffffffffffffffffffff166117bf612051565b73ffffffffffffffffffffffffffffffffffffffff1614611815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180c90614602565b60405180910390fd5b60005b828290508110156119305782828281811061185c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506040020160200160208101906118749190613f89565b601560008585858181106118b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506040020160000160208101906118c99190613c2a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550808061192890614b17565b915050611818565b505050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116119b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ae90614542565b60405180910390fd5b60006119c28361290f565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016119fb919061440c565b60206040518083038186803b158015611a1357600080fd5b505afa158015611a27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4b9190613fdb565b611a55919061484d565b90506000611a6d8383611a6887876116df565b612df9565b90506000811415611ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaa906145e2565b60405180910390fd5b80600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b3f919061484d565b9250508190555080600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b95919061484d565b92505081905550611ba78484836132c2565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8483604051611bef92919061449c565b60405180910390a250505050565b611c05610bb7565b73ffffffffffffffffffffffffffffffffffffffff16611c23612051565b73ffffffffffffffffffffffffffffffffffffffff1614611c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7090614602565b60405180910390fd5b8060119080519060200190611c8f92919061399b565b5050565b611c9b610bb7565b73ffffffffffffffffffffffffffffffffffffffff16611cb9612051565b73ffffffffffffffffffffffffffffffffffffffff1614611d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0690614602565b60405180910390fd5b8060128190555050565b6000611d248261312f565b9050919050565b601481565b611d38610bb7565b73ffffffffffffffffffffffffffffffffffffffff16611d56612051565b73ffffffffffffffffffffffffffffffffffffffff1614611dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da390614602565b60405180910390fd5b8060148190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e1e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611e77610bb7565b73ffffffffffffffffffffffffffffffffffffffff16611e95612051565b73ffffffffffffffffffffffffffffffffffffffff1614611eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee290614602565b60405180910390fd5b611ef56000613348565b565b611eff610bb7565b73ffffffffffffffffffffffffffffffffffffffff16611f1d612051565b73ffffffffffffffffffffffffffffffffffffffff1614611f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6a90614602565b60405180910390fd5b6000611f7d610ea0565b90506014548282611f8e919061484d565b1115611fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc690614682565b60405180910390fd5b611fd93383612f5b565b5050565b60125481565b6000600d828154811061201f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461208a90614ab4565b80601f01602080910402602001604051908101604052809291908181526020018280546120b690614ab4565b80156121035780601f106120d857610100808354040283529160200191612103565b820191906000526020600020905b8154815290600101906020018083116120e657829003601f168201915b5050505050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000612160610ea0565b9050601060009054906101000a900460ff166121b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a890614642565b60405180910390fd5b60148211156121f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ec90614662565b60405180910390fd5b6014548282612204919061484d565b1115612245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223c90614522565b60405180910390fd5b348260125461225491906148d4565b1115612295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228c90614562565b60405180910390fd5b61229f338361340e565b5050565b6122ab612dec565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612310576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061231d612dec565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166123ca612dec565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161240f91906144c5565b60405180910390a35050565b612423610bb7565b73ffffffffffffffffffffffffffffffffffffffff16612441612051565b73ffffffffffffffffffffffffffffffffffffffff1614612497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248e90614602565b60405180910390fd5b8060138190555050565b6124ac84848461122d565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461250e576124d78484848461342c565b61250d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff169050919050565b6000612575610ea0565b9050601060019054906101000a900460ff166125c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bd906146c2565b60405180910390fd5b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff168261ffff16111561265e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612655906146a2565b60405180910390fd5b6014548261ffff1682612671919061484d565b11156126b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a990614522565b60405180910390fd5b348261ffff166013546126c591906148d4565b1115612706576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fd90614562565b60405180910390fd5b81601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff16612762919061492e565b92506101000a81548161ffff021916908361ffff16021790555061278a338361ffff16612f5b565b5050565b612796610bb7565b73ffffffffffffffffffffffffffffffffffffffff166127b4612051565b73ffffffffffffffffffffffffffffffffffffffff161461280a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280190614602565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b606061283282612d8d565b612868576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061287261358c565b905060008151141561289357604051806020016040528060008152506128be565b8061289d8461361e565b6040516020016128ae9291906143d3565b6040516020818303038152906040525b915050919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600a54905090565b61296a610bb7565b73ffffffffffffffffffffffffffffffffffffffff16612988612051565b73ffffffffffffffffffffffffffffffffffffffff16146129de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d590614602565b60405180910390fd5b60005b82829050811015612af957828282818110612a25577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050604002016020016020810190612a3d9190613f89565b60166000858585818110612a7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050604002016000016020810190612a929190613c2a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055508080612af190614b17565b9150506129e1565b505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff169050919050565b601060009054906101000a900460ff1681565b612c04610bb7565b73ffffffffffffffffffffffffffffffffffffffff16612c22612051565b73ffffffffffffffffffffffffffffffffffffffff1614612c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6f90614602565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b612c9d610bb7565b73ffffffffffffffffffffffffffffffffffffffff16612cbb612051565b73ffffffffffffffffffffffffffffffffffffffff1614612d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0890614602565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7890614502565b60405180910390fd5b612d8a81613348565b50565b600081612d98612df4565b11158015612da7575060005482105b8015612de5575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600081600954600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485612e4a91906148d4565b612e5491906148a3565b612e5e9190614962565b90509392505050565b80471015612eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea1906145a2565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612ed0906143f7565b60006040518083038185875af1925050503d8060008114612f0d576040519150601f19603f3d011682016040523d82523d6000602084013e612f12565b606091505b5050905080612f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4d90614582565b60405180910390fd5b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fc8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415613003576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130106000848385613263565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613087836130786000866000613269565b61308185613678565b17613291565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106130ab5780600081905550505061312a60008483856132bc565b505050565b6000808290508061313e612df4565b116131c6576000548110156131c55760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156131c3575b60008114156131b957600460008360019003935083815260200190815260200160002054905061318e565b80925050506131f8565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613280868684613688565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6133438363a9059cbb60e01b84846040516024016132e192919061449c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613691565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613428828260405180602001604052806000815250613758565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613452612dec565b8786866040518563ffffffff1660e01b81526004016134749493929190614450565b602060405180830381600087803b15801561348e57600080fd5b505af19250505080156134bf57506040513d601f19601f820116820180604052508101906134bc9190613eba565b60015b613539573d80600081146134ef576040519150601f19603f3d011682016040523d82523d6000602084013e6134f4565b606091505b50600081511415613531576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606011805461359b90614ab4565b80601f01602080910402602001604051908101604052809291908181526020018280546135c790614ab4565b80156136145780601f106135e957610100808354040283529160200191613614565b820191906000526020600020905b8154815290600101906020018083116135f757829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561366457600183039250600a81066030018353600a81049050613644565b508181036020830392508083525050919050565b60006001821460e11b9050919050565b60009392505050565b60006136f3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166137f59092919063ffffffff16565b905060008151111561375357808060200190518101906137139190613e68565b613752576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374990614702565b60405180910390fd5b5b505050565b6137628383612f5b565b60008373ffffffffffffffffffffffffffffffffffffffff163b146137f057600080549050600083820390505b6137a2600086838060010194508661342c565b6137d8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061378f5781600054146137ed57600080fd5b50505b505050565b6060613804848460008561380d565b90509392505050565b606082471015613852576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613849906145c2565b60405180910390fd5b61385b85613921565b61389a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613891906146e2565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516138c391906143bc565b60006040518083038185875af1925050503d8060008114613900576040519150601f19603f3d011682016040523d82523d6000602084013e613905565b606091505b5091509150613915828286613934565b92505050949350505050565b600080823b905060008111915050919050565b6060831561394457829050613994565b6000835111156139575782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161398b91906144e0565b60405180910390fd5b9392505050565b8280546139a790614ab4565b90600052602060002090601f0160209004810192826139c95760008555613a10565b82601f106139e257805160ff1916838001178555613a10565b82800160010185558215613a10579182015b82811115613a0f5782518255916020019190600101906139f4565b5b509050613a1d9190613a21565b5090565b5b80821115613a3a576000816000905550600101613a22565b5090565b6000613a51613a4c8461479d565b614778565b905082815260208101848484011115613a6957600080fd5b613a74848285614a72565b509392505050565b6000613a8f613a8a846147ce565b614778565b905082815260208101848484011115613aa757600080fd5b613ab2848285614a72565b509392505050565b600081359050613ac981615042565b92915050565b600081359050613ade81615059565b92915050565b60008083601f840112613af657600080fd5b8235905067ffffffffffffffff811115613b0f57600080fd5b602083019150836040820283011115613b2757600080fd5b9250929050565b600081359050613b3d81615070565b92915050565b600081519050613b5281615070565b92915050565b600081359050613b6781615087565b92915050565b600081519050613b7c81615087565b92915050565b600082601f830112613b9357600080fd5b8135613ba3848260208601613a3e565b91505092915050565b600081359050613bbb8161509e565b92915050565b600082601f830112613bd257600080fd5b8135613be2848260208601613a7c565b91505092915050565b600081359050613bfa816150b5565b92915050565b600081359050613c0f816150cc565b92915050565b600081519050613c24816150cc565b92915050565b600060208284031215613c3c57600080fd5b6000613c4a84828501613aba565b91505092915050565b600060208284031215613c6557600080fd5b6000613c7384828501613acf565b91505092915050565b60008060408385031215613c8f57600080fd5b6000613c9d85828601613aba565b9250506020613cae85828601613aba565b9150509250929050565b600080600060608486031215613ccd57600080fd5b6000613cdb86828701613aba565b9350506020613cec86828701613aba565b9250506040613cfd86828701613c00565b9150509250925092565b60008060008060808587031215613d1d57600080fd5b6000613d2b87828801613aba565b9450506020613d3c87828801613aba565b9350506040613d4d87828801613c00565b925050606085013567ffffffffffffffff811115613d6a57600080fd5b613d7687828801613b82565b91505092959194509250565b60008060408385031215613d9557600080fd5b6000613da385828601613aba565b9250506020613db485828601613b2e565b9150509250929050565b60008060408385031215613dd157600080fd5b6000613ddf85828601613aba565b9250506020613df085828601613c00565b9150509250929050565b60008060208385031215613e0d57600080fd5b600083013567ffffffffffffffff811115613e2757600080fd5b613e3385828601613ae4565b92509250509250929050565b600060208284031215613e5157600080fd5b6000613e5f84828501613b2e565b91505092915050565b600060208284031215613e7a57600080fd5b6000613e8884828501613b43565b91505092915050565b600060208284031215613ea357600080fd5b6000613eb184828501613b58565b91505092915050565b600060208284031215613ecc57600080fd5b6000613eda84828501613b6d565b91505092915050565b600060208284031215613ef557600080fd5b6000613f0384828501613bac565b91505092915050565b60008060408385031215613f1f57600080fd5b6000613f2d85828601613bac565b9250506020613f3e85828601613aba565b9150509250929050565b600060208284031215613f5a57600080fd5b600082013567ffffffffffffffff811115613f7457600080fd5b613f8084828501613bc1565b91505092915050565b600060208284031215613f9b57600080fd5b6000613fa984828501613beb565b91505092915050565b600060208284031215613fc457600080fd5b6000613fd284828501613c00565b91505092915050565b600060208284031215613fed57600080fd5b6000613ffb84828501613c15565b91505092915050565b61400d81614a3c565b82525050565b61401c81614996565b82525050565b61402b816149ba565b82525050565b600061403c826147ff565b6140468185614815565b9350614056818560208601614a81565b61405f81614c1c565b840191505092915050565b6000614075826147ff565b61407f8185614826565b935061408f818560208601614a81565b80840191505092915050565b60006140a68261480a565b6140b08185614831565b93506140c0818560208601614a81565b6140c981614c1c565b840191505092915050565b60006140df8261480a565b6140e98185614842565b93506140f9818560208601614a81565b80840191505092915050565b6000614112602683614831565b915061411d82614c2d565b604082019050919050565b6000614135602083614831565b915061414082614c7c565b602082019050919050565b6000614158602683614831565b915061416382614ca5565b604082019050919050565b600061417b601f83614831565b915061418682614cf4565b602082019050919050565b600061419e603a83614831565b91506141a982614d1d565b604082019050919050565b60006141c1601d83614831565b91506141cc82614d6c565b602082019050919050565b60006141e4602683614831565b91506141ef82614d95565b604082019050919050565b6000614207602b83614831565b915061421282614de4565b604082019050919050565b600061422a602083614831565b915061423582614e33565b602082019050919050565b600061424d601183614831565b915061425882614e5c565b602082019050919050565b6000614270602283614831565b915061427b82614e85565b604082019050919050565b6000614293601b83614831565b915061429e82614ed4565b602082019050919050565b60006142b6601f83614831565b91506142c182614efd565b602082019050919050565b60006142d9602283614831565b91506142e482614f26565b604082019050919050565b60006142fc601583614831565b915061430782614f75565b602082019050919050565b600061431f600083614826565b915061432a82614f9e565b600082019050919050565b6000614342601d83614831565b915061434d82614fa1565b602082019050919050565b6000614365602a83614831565b915061437082614fca565b604082019050919050565b6000614388601a83614831565b915061439382615019565b602082019050919050565b6143a781614a04565b82525050565b6143b681614a32565b82525050565b60006143c8828461406a565b915081905092915050565b60006143df82856140d4565b91506143eb82846140d4565b91508190509392505050565b600061440282614312565b9150819050919050565b60006020820190506144216000830184614013565b92915050565b600060408201905061443c6000830185614004565b61444960208301846143ad565b9392505050565b60006080820190506144656000830187614013565b6144726020830186614013565b61447f60408301856143ad565b81810360608301526144918184614031565b905095945050505050565b60006040820190506144b16000830185614013565b6144be60208301846143ad565b9392505050565b60006020820190506144da6000830184614022565b92915050565b600060208201905081810360008301526144fa818461409b565b905092915050565b6000602082019050818103600083015261451b81614105565b9050919050565b6000602082019050818103600083015261453b81614128565b9050919050565b6000602082019050818103600083015261455b8161414b565b9050919050565b6000602082019050818103600083015261457b8161416e565b9050919050565b6000602082019050818103600083015261459b81614191565b9050919050565b600060208201905081810360008301526145bb816141b4565b9050919050565b600060208201905081810360008301526145db816141d7565b9050919050565b600060208201905081810360008301526145fb816141fa565b9050919050565b6000602082019050818103600083015261461b8161421d565b9050919050565b6000602082019050818103600083015261463b81614240565b9050919050565b6000602082019050818103600083015261465b81614263565b9050919050565b6000602082019050818103600083015261467b81614286565b9050919050565b6000602082019050818103600083015261469b816142a9565b9050919050565b600060208201905081810360008301526146bb816142cc565b9050919050565b600060208201905081810360008301526146db816142ef565b9050919050565b600060208201905081810360008301526146fb81614335565b9050919050565b6000602082019050818103600083015261471b81614358565b9050919050565b6000602082019050818103600083015261473b8161437b565b9050919050565b6000602082019050614757600083018461439e565b92915050565b600060208201905061477260008301846143ad565b92915050565b6000614782614793565b905061478e8282614ae6565b919050565b6000604051905090565b600067ffffffffffffffff8211156147b8576147b7614bed565b5b6147c182614c1c565b9050602081019050919050565b600067ffffffffffffffff8211156147e9576147e8614bed565b5b6147f282614c1c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061485882614a32565b915061486383614a32565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561489857614897614b60565b5b828201905092915050565b60006148ae82614a32565b91506148b983614a32565b9250826148c9576148c8614b8f565b5b828204905092915050565b60006148df82614a32565b91506148ea83614a32565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561492357614922614b60565b5b828202905092915050565b600061493982614a04565b915061494483614a04565b92508282101561495757614956614b60565b5b828203905092915050565b600061496d82614a32565b915061497883614a32565b92508282101561498b5761498a614b60565b5b828203905092915050565b60006149a182614a12565b9050919050565b60006149b382614a12565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006149fd82614996565b9050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614a4782614a4e565b9050919050565b6000614a5982614a60565b9050919050565b6000614a6b82614a12565b9050919050565b82818337600083830152505050565b60005b83811015614a9f578082015181840152602081019050614a84565b83811115614aae576000848401525b50505050565b60006002820490506001821680614acc57607f821691505b60208210811415614ae057614adf614bbe565b5b50919050565b614aef82614c1c565b810181811067ffffffffffffffff82111715614b0e57614b0d614bed565b5b80604052505050565b6000614b2282614a32565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b5557614b54614b60565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4e6f2046726565204d696e74206c656674000000000000000000000000000000600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d617820746f6b656e2070757263686173650000000000600082015250565b7f5265736572766520776f756c6420657863656564206d617820746f6b656e7300600082015250565b7f4578636565646564206d617820617661696c61626c6520746f2070757263686160008201527f7365000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f47206d696e74206973206e6f74206163746976650000000000000000000000600082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f46726565204f47206d696e74206973206e6f7420616374697665000000000000600082015250565b61504b81614996565b811461505657600080fd5b50565b615062816149a8565b811461506d57600080fd5b50565b615079816149ba565b811461508457600080fd5b50565b615090816149c6565b811461509b57600080fd5b50565b6150a7816149f2565b81146150b257600080fd5b50565b6150be81614a04565b81146150c957600080fd5b50565b6150d581614a32565b81146150e057600080fd5b5056fea264697066735822122089813d3acdd529fdf14dd0388cb0f81ddccb1a5a01f508737840558201f8a39664736f6c63430008040033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000000b000000000000000000000000f6c115fe7064aba7523bfe896d7bf4dc7b2bd29100000000000000000000000048615509a78b70c9105a859659669750dc361284000000000000000000000000fe711410c7d79631700c85c691e9fa08ba13bc3e000000000000000000000000fa6b20e94b72db37174d06302ed9d58123910154000000000000000000000000a1e0152ddd2bc7018765ca2b8a9b843d4a3a8a1600000000000000000000000099d9d7e44fc5bb2ef8fa0a4f1bd1d01f9d29262b00000000000000000000000034d8f1dc4cac94ad6d4c1cc4968e424948ea0139000000000000000000000000682ffa280b9f6cc315d80e98ca80f1d24a4a1ef6000000000000000000000000b200646840e2076ccf60a26ca7bc7c49cf22b530000000000000000000000000fc2d538d97caaf6e6832cf754c9ec019fc3e776c000000000000000000000000decbf7a422b8289b90958ac4aa7e9354eee9a7aa000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000d0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000008
Deployed Bytecode
0x6080604052600436106102b25760003560e01c806370a0823111610175578063c04a2836116100dc578063e33b7de311610095578063eb550d6b1161006f578063eb550d6b14610afd578063eb8d244414610b3a578063ee3a26c214610b65578063f2fde38b14610b8e576102f9565b8063e33b7de314610a6c578063e5365dcf14610a97578063e985e9c514610ac0576102f9565b8063c04a283614610933578063c400665d14610970578063c4e370951461098c578063c87b56dd146109b5578063ce7c2ac2146109f2578063d79779b214610a2f576102f9565b806395d89b411161012e57806395d89b41146108345780639852595c1461085f578063a0712d681461089c578063a22cb465146108b8578063b824ca88146108e1578063b88d4fde1461090a576102f9565b806370a0823114610724578063715018a614610761578063819b25ba14610778578063833b9499146107a15780638b83209b146107cc5780638da5cb5b14610809576102f9565b80633a98ef391161021957806348b75044116101d257806348b750441461061857806355f804b3146106415780635d82cf6e1461066a5780636352211e1461069357806365f13097146106d05780636f8b44b0146106fb576102f9565b80633a98ef391461051c5780633ccfd60b14610547578063406072a91461055e57806342842e0e1461059b5780634404da8b146105c457806347966ad9146105ef576102f9565b80631d9d85491161026b5780631d9d85491461042057806323b872dd1461044957806327081a66146104725780632ffb6fe81461049b578063306c9ece146104c657806332cb6b0c146104f1576102f9565b806301ffc9a7146102fe57806306fdde031461033b578063081812fc14610366578063095ea7b3146103a357806318160ddd146103cc57806319165587146103f7576102f9565b366102f9577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102e0610bb7565b346040516102ef92919061449c565b60405180910390a1005b600080fd5b34801561030a57600080fd5b5061032560048036038101906103209190613e91565b610bbf565b60405161033291906144c5565b60405180910390f35b34801561034757600080fd5b50610350610c51565b60405161035d91906144e0565b60405180910390f35b34801561037257600080fd5b5061038d60048036038101906103889190613fb2565b610ce3565b60405161039a919061440c565b60405180910390f35b3480156103af57600080fd5b506103ca60048036038101906103c59190613dbe565b610d5f565b005b3480156103d857600080fd5b506103e1610ea0565b6040516103ee919061475d565b60405180910390f35b34801561040357600080fd5b5061041e60048036038101906104199190613c53565b610eb7565b005b34801561042c57600080fd5b5061044760048036038101906104429190613f89565b611062565b005b34801561045557600080fd5b50610470600480360381019061046b9190613cb8565b61122d565b005b34801561047e57600080fd5b5061049960048036038101906104949190613e3f565b611552565b005b3480156104a757600080fd5b506104b06115eb565b6040516104bd91906144c5565b60405180910390f35b3480156104d257600080fd5b506104db6115fe565b6040516104e8919061475d565b60405180910390f35b3480156104fd57600080fd5b50610506611604565b604051610513919061475d565b60405180910390f35b34801561052857600080fd5b5061053161160a565b60405161053e919061475d565b60405180910390f35b34801561055357600080fd5b5061055c611614565b005b34801561056a57600080fd5b5061058560048036038101906105809190613f0c565b6116df565b604051610592919061475d565b60405180910390f35b3480156105a757600080fd5b506105c260048036038101906105bd9190613cb8565b611766565b005b3480156105d057600080fd5b506105d9611786565b6040516105e691906144c5565b60405180910390f35b3480156105fb57600080fd5b5061061660048036038101906106119190613dfa565b611799565b005b34801561062457600080fd5b5061063f600480360381019061063a9190613f0c565b611935565b005b34801561064d57600080fd5b5061066860048036038101906106639190613f48565b611bfd565b005b34801561067657600080fd5b50610691600480360381019061068c9190613fb2565b611c93565b005b34801561069f57600080fd5b506106ba60048036038101906106b59190613fb2565b611d19565b6040516106c7919061440c565b60405180910390f35b3480156106dc57600080fd5b506106e5611d2b565b6040516106f2919061475d565b60405180910390f35b34801561070757600080fd5b50610722600480360381019061071d9190613fb2565b611d30565b005b34801561073057600080fd5b5061074b60048036038101906107469190613c2a565b611db6565b604051610758919061475d565b60405180910390f35b34801561076d57600080fd5b50610776611e6f565b005b34801561078457600080fd5b5061079f600480360381019061079a9190613fb2565b611ef7565b005b3480156107ad57600080fd5b506107b6611fdd565b6040516107c3919061475d565b60405180910390f35b3480156107d857600080fd5b506107f360048036038101906107ee9190613fb2565b611fe3565b604051610800919061440c565b60405180910390f35b34801561081557600080fd5b5061081e612051565b60405161082b919061440c565b60405180910390f35b34801561084057600080fd5b5061084961207b565b60405161085691906144e0565b60405180910390f35b34801561086b57600080fd5b5061088660048036038101906108819190613c2a565b61210d565b604051610893919061475d565b60405180910390f35b6108b660048036038101906108b19190613fb2565b612156565b005b3480156108c457600080fd5b506108df60048036038101906108da9190613d82565b6122a3565b005b3480156108ed57600080fd5b5061090860048036038101906109039190613fb2565b61241b565b005b34801561091657600080fd5b50610931600480360381019061092c9190613d07565b6124a1565b005b34801561093f57600080fd5b5061095a60048036038101906109559190613c2a565b612514565b6040516109679190614742565b60405180910390f35b61098a60048036038101906109859190613f89565b61256b565b005b34801561099857600080fd5b506109b360048036038101906109ae9190613e3f565b61278e565b005b3480156109c157600080fd5b506109dc60048036038101906109d79190613fb2565b612827565b6040516109e991906144e0565b60405180910390f35b3480156109fe57600080fd5b50610a196004803603810190610a149190613c2a565b6128c6565b604051610a26919061475d565b60405180910390f35b348015610a3b57600080fd5b50610a566004803603810190610a519190613ee3565b61290f565b604051610a63919061475d565b60405180910390f35b348015610a7857600080fd5b50610a81612958565b604051610a8e919061475d565b60405180910390f35b348015610aa357600080fd5b50610abe6004803603810190610ab99190613dfa565b612962565b005b348015610acc57600080fd5b50610ae76004803603810190610ae29190613c7c565b612afe565b604051610af491906144c5565b60405180910390f35b348015610b0957600080fd5b50610b246004803603810190610b1f9190613c2a565b612b92565b604051610b319190614742565b60405180910390f35b348015610b4657600080fd5b50610b4f612be9565b604051610b5c91906144c5565b60405180910390f35b348015610b7157600080fd5b50610b8c6004803603810190610b879190613e3f565b612bfc565b005b348015610b9a57600080fd5b50610bb56004803603810190610bb09190613c2a565b612c95565b005b600033905090565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c1a57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c4a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610c6090614ab4565b80601f0160208091040260200160405190810160405280929190818152602001828054610c8c90614ab4565b8015610cd95780601f10610cae57610100808354040283529160200191610cd9565b820191906000526020600020905b815481529060010190602001808311610cbc57829003601f168201915b5050505050905090565b6000610cee82612d8d565b610d24576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d6a82611d19565b90508073ffffffffffffffffffffffffffffffffffffffff16610d8b612dec565b73ffffffffffffffffffffffffffffffffffffffff1614610dee57610db781610db2612dec565b612afe565b610ded576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610eaa612df4565b6001546000540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3090614542565b60405180910390fd5b6000610f43612958565b47610f4e919061484d565b90506000610f658383610f608661210d565b612df9565b90506000811415610fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa2906145e2565b60405180910390fd5b80600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ffa919061484d565b9250508190555080600a6000828254611013919061484d565b925050819055506110248382612e67565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051611055929190614427565b60405180910390a1505050565b600061106c610ea0565b9050601060029054906101000a900460ff166110bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b490614722565b60405180910390fd5b6014548261ffff16826110d0919061484d565b1115611111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110890614522565b60405180910390fd5b6000601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff16116111a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119c90614622565b60405180910390fd5b81601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff16611201919061492e565b92506101000a81548161ffff021916908361ffff160217905550611229338361ffff16612f5b565b5050565b60006112388261312f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461129f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806112ab846131fd565b915091506112c181876112bc612dec565b61321f565b61130d576112d6866112d1612dec565b612afe565b61130c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611374576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113818686866001613263565b801561138c57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061145a85611436888887613269565b7c020000000000000000000000000000000000000000000000000000000017613291565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156114e25760006001850190506000600460008381526020019081526020016000205414156114e05760005481146114df578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461154a86868660016132bc565b505050505050565b61155a610bb7565b73ffffffffffffffffffffffffffffffffffffffff16611578612051565b73ffffffffffffffffffffffffffffffffffffffff16146115ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c590614602565b60405180910390fd5b80601060026101000a81548160ff02191690831515021790555050565b601060019054906101000a900460ff1681565b60135481565b60145481565b6000600954905090565b61161c610bb7565b73ffffffffffffffffffffffffffffffffffffffff1661163a612051565b73ffffffffffffffffffffffffffffffffffffffff1614611690576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168790614602565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156116db573d6000803e3d6000fd5b5050565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611781838383604051806020016040528060008152506124a1565b505050565b601060029054906101000a900460ff1681565b6117a1610bb7565b73ffffffffffffffffffffffffffffffffffffffff166117bf612051565b73ffffffffffffffffffffffffffffffffffffffff1614611815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180c90614602565b60405180910390fd5b60005b828290508110156119305782828281811061185c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506040020160200160208101906118749190613f89565b601560008585858181106118b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506040020160000160208101906118c99190613c2a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550808061192890614b17565b915050611818565b505050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116119b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ae90614542565b60405180910390fd5b60006119c28361290f565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016119fb919061440c565b60206040518083038186803b158015611a1357600080fd5b505afa158015611a27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4b9190613fdb565b611a55919061484d565b90506000611a6d8383611a6887876116df565b612df9565b90506000811415611ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaa906145e2565b60405180910390fd5b80600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b3f919061484d565b9250508190555080600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b95919061484d565b92505081905550611ba78484836132c2565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8483604051611bef92919061449c565b60405180910390a250505050565b611c05610bb7565b73ffffffffffffffffffffffffffffffffffffffff16611c23612051565b73ffffffffffffffffffffffffffffffffffffffff1614611c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7090614602565b60405180910390fd5b8060119080519060200190611c8f92919061399b565b5050565b611c9b610bb7565b73ffffffffffffffffffffffffffffffffffffffff16611cb9612051565b73ffffffffffffffffffffffffffffffffffffffff1614611d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0690614602565b60405180910390fd5b8060128190555050565b6000611d248261312f565b9050919050565b601481565b611d38610bb7565b73ffffffffffffffffffffffffffffffffffffffff16611d56612051565b73ffffffffffffffffffffffffffffffffffffffff1614611dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da390614602565b60405180910390fd5b8060148190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e1e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611e77610bb7565b73ffffffffffffffffffffffffffffffffffffffff16611e95612051565b73ffffffffffffffffffffffffffffffffffffffff1614611eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee290614602565b60405180910390fd5b611ef56000613348565b565b611eff610bb7565b73ffffffffffffffffffffffffffffffffffffffff16611f1d612051565b73ffffffffffffffffffffffffffffffffffffffff1614611f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6a90614602565b60405180910390fd5b6000611f7d610ea0565b90506014548282611f8e919061484d565b1115611fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc690614682565b60405180910390fd5b611fd93383612f5b565b5050565b60125481565b6000600d828154811061201f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461208a90614ab4565b80601f01602080910402602001604051908101604052809291908181526020018280546120b690614ab4565b80156121035780601f106120d857610100808354040283529160200191612103565b820191906000526020600020905b8154815290600101906020018083116120e657829003601f168201915b5050505050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000612160610ea0565b9050601060009054906101000a900460ff166121b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a890614642565b60405180910390fd5b60148211156121f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ec90614662565b60405180910390fd5b6014548282612204919061484d565b1115612245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223c90614522565b60405180910390fd5b348260125461225491906148d4565b1115612295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228c90614562565b60405180910390fd5b61229f338361340e565b5050565b6122ab612dec565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612310576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061231d612dec565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166123ca612dec565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161240f91906144c5565b60405180910390a35050565b612423610bb7565b73ffffffffffffffffffffffffffffffffffffffff16612441612051565b73ffffffffffffffffffffffffffffffffffffffff1614612497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248e90614602565b60405180910390fd5b8060138190555050565b6124ac84848461122d565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461250e576124d78484848461342c565b61250d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff169050919050565b6000612575610ea0565b9050601060019054906101000a900460ff166125c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bd906146c2565b60405180910390fd5b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff168261ffff16111561265e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612655906146a2565b60405180910390fd5b6014548261ffff1682612671919061484d565b11156126b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a990614522565b60405180910390fd5b348261ffff166013546126c591906148d4565b1115612706576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fd90614562565b60405180910390fd5b81601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff16612762919061492e565b92506101000a81548161ffff021916908361ffff16021790555061278a338361ffff16612f5b565b5050565b612796610bb7565b73ffffffffffffffffffffffffffffffffffffffff166127b4612051565b73ffffffffffffffffffffffffffffffffffffffff161461280a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280190614602565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b606061283282612d8d565b612868576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061287261358c565b905060008151141561289357604051806020016040528060008152506128be565b8061289d8461361e565b6040516020016128ae9291906143d3565b6040516020818303038152906040525b915050919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600a54905090565b61296a610bb7565b73ffffffffffffffffffffffffffffffffffffffff16612988612051565b73ffffffffffffffffffffffffffffffffffffffff16146129de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d590614602565b60405180910390fd5b60005b82829050811015612af957828282818110612a25577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050604002016020016020810190612a3d9190613f89565b60166000858585818110612a7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050604002016000016020810190612a929190613c2a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055508080612af190614b17565b9150506129e1565b505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff169050919050565b601060009054906101000a900460ff1681565b612c04610bb7565b73ffffffffffffffffffffffffffffffffffffffff16612c22612051565b73ffffffffffffffffffffffffffffffffffffffff1614612c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6f90614602565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b612c9d610bb7565b73ffffffffffffffffffffffffffffffffffffffff16612cbb612051565b73ffffffffffffffffffffffffffffffffffffffff1614612d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0890614602565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7890614502565b60405180910390fd5b612d8a81613348565b50565b600081612d98612df4565b11158015612da7575060005482105b8015612de5575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600081600954600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485612e4a91906148d4565b612e5491906148a3565b612e5e9190614962565b90509392505050565b80471015612eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea1906145a2565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612ed0906143f7565b60006040518083038185875af1925050503d8060008114612f0d576040519150601f19603f3d011682016040523d82523d6000602084013e612f12565b606091505b5050905080612f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4d90614582565b60405180910390fd5b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fc8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415613003576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130106000848385613263565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613087836130786000866000613269565b61308185613678565b17613291565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106130ab5780600081905550505061312a60008483856132bc565b505050565b6000808290508061313e612df4565b116131c6576000548110156131c55760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156131c3575b60008114156131b957600460008360019003935083815260200190815260200160002054905061318e565b80925050506131f8565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613280868684613688565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6133438363a9059cbb60e01b84846040516024016132e192919061449c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613691565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613428828260405180602001604052806000815250613758565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613452612dec565b8786866040518563ffffffff1660e01b81526004016134749493929190614450565b602060405180830381600087803b15801561348e57600080fd5b505af19250505080156134bf57506040513d601f19601f820116820180604052508101906134bc9190613eba565b60015b613539573d80600081146134ef576040519150601f19603f3d011682016040523d82523d6000602084013e6134f4565b606091505b50600081511415613531576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606011805461359b90614ab4565b80601f01602080910402602001604051908101604052809291908181526020018280546135c790614ab4565b80156136145780601f106135e957610100808354040283529160200191613614565b820191906000526020600020905b8154815290600101906020018083116135f757829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561366457600183039250600a81066030018353600a81049050613644565b508181036020830392508083525050919050565b60006001821460e11b9050919050565b60009392505050565b60006136f3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166137f59092919063ffffffff16565b905060008151111561375357808060200190518101906137139190613e68565b613752576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374990614702565b60405180910390fd5b5b505050565b6137628383612f5b565b60008373ffffffffffffffffffffffffffffffffffffffff163b146137f057600080549050600083820390505b6137a2600086838060010194508661342c565b6137d8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061378f5781600054146137ed57600080fd5b50505b505050565b6060613804848460008561380d565b90509392505050565b606082471015613852576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613849906145c2565b60405180910390fd5b61385b85613921565b61389a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613891906146e2565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516138c391906143bc565b60006040518083038185875af1925050503d8060008114613900576040519150601f19603f3d011682016040523d82523d6000602084013e613905565b606091505b5091509150613915828286613934565b92505050949350505050565b600080823b905060008111915050919050565b6060831561394457829050613994565b6000835111156139575782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161398b91906144e0565b60405180910390fd5b9392505050565b8280546139a790614ab4565b90600052602060002090601f0160209004810192826139c95760008555613a10565b82601f106139e257805160ff1916838001178555613a10565b82800160010185558215613a10579182015b82811115613a0f5782518255916020019190600101906139f4565b5b509050613a1d9190613a21565b5090565b5b80821115613a3a576000816000905550600101613a22565b5090565b6000613a51613a4c8461479d565b614778565b905082815260208101848484011115613a6957600080fd5b613a74848285614a72565b509392505050565b6000613a8f613a8a846147ce565b614778565b905082815260208101848484011115613aa757600080fd5b613ab2848285614a72565b509392505050565b600081359050613ac981615042565b92915050565b600081359050613ade81615059565b92915050565b60008083601f840112613af657600080fd5b8235905067ffffffffffffffff811115613b0f57600080fd5b602083019150836040820283011115613b2757600080fd5b9250929050565b600081359050613b3d81615070565b92915050565b600081519050613b5281615070565b92915050565b600081359050613b6781615087565b92915050565b600081519050613b7c81615087565b92915050565b600082601f830112613b9357600080fd5b8135613ba3848260208601613a3e565b91505092915050565b600081359050613bbb8161509e565b92915050565b600082601f830112613bd257600080fd5b8135613be2848260208601613a7c565b91505092915050565b600081359050613bfa816150b5565b92915050565b600081359050613c0f816150cc565b92915050565b600081519050613c24816150cc565b92915050565b600060208284031215613c3c57600080fd5b6000613c4a84828501613aba565b91505092915050565b600060208284031215613c6557600080fd5b6000613c7384828501613acf565b91505092915050565b60008060408385031215613c8f57600080fd5b6000613c9d85828601613aba565b9250506020613cae85828601613aba565b9150509250929050565b600080600060608486031215613ccd57600080fd5b6000613cdb86828701613aba565b9350506020613cec86828701613aba565b9250506040613cfd86828701613c00565b9150509250925092565b60008060008060808587031215613d1d57600080fd5b6000613d2b87828801613aba565b9450506020613d3c87828801613aba565b9350506040613d4d87828801613c00565b925050606085013567ffffffffffffffff811115613d6a57600080fd5b613d7687828801613b82565b91505092959194509250565b60008060408385031215613d9557600080fd5b6000613da385828601613aba565b9250506020613db485828601613b2e565b9150509250929050565b60008060408385031215613dd157600080fd5b6000613ddf85828601613aba565b9250506020613df085828601613c00565b9150509250929050565b60008060208385031215613e0d57600080fd5b600083013567ffffffffffffffff811115613e2757600080fd5b613e3385828601613ae4565b92509250509250929050565b600060208284031215613e5157600080fd5b6000613e5f84828501613b2e565b91505092915050565b600060208284031215613e7a57600080fd5b6000613e8884828501613b43565b91505092915050565b600060208284031215613ea357600080fd5b6000613eb184828501613b58565b91505092915050565b600060208284031215613ecc57600080fd5b6000613eda84828501613b6d565b91505092915050565b600060208284031215613ef557600080fd5b6000613f0384828501613bac565b91505092915050565b60008060408385031215613f1f57600080fd5b6000613f2d85828601613bac565b9250506020613f3e85828601613aba565b9150509250929050565b600060208284031215613f5a57600080fd5b600082013567ffffffffffffffff811115613f7457600080fd5b613f8084828501613bc1565b91505092915050565b600060208284031215613f9b57600080fd5b6000613fa984828501613beb565b91505092915050565b600060208284031215613fc457600080fd5b6000613fd284828501613c00565b91505092915050565b600060208284031215613fed57600080fd5b6000613ffb84828501613c15565b91505092915050565b61400d81614a3c565b82525050565b61401c81614996565b82525050565b61402b816149ba565b82525050565b600061403c826147ff565b6140468185614815565b9350614056818560208601614a81565b61405f81614c1c565b840191505092915050565b6000614075826147ff565b61407f8185614826565b935061408f818560208601614a81565b80840191505092915050565b60006140a68261480a565b6140b08185614831565b93506140c0818560208601614a81565b6140c981614c1c565b840191505092915050565b60006140df8261480a565b6140e98185614842565b93506140f9818560208601614a81565b80840191505092915050565b6000614112602683614831565b915061411d82614c2d565b604082019050919050565b6000614135602083614831565b915061414082614c7c565b602082019050919050565b6000614158602683614831565b915061416382614ca5565b604082019050919050565b600061417b601f83614831565b915061418682614cf4565b602082019050919050565b600061419e603a83614831565b91506141a982614d1d565b604082019050919050565b60006141c1601d83614831565b91506141cc82614d6c565b602082019050919050565b60006141e4602683614831565b91506141ef82614d95565b604082019050919050565b6000614207602b83614831565b915061421282614de4565b604082019050919050565b600061422a602083614831565b915061423582614e33565b602082019050919050565b600061424d601183614831565b915061425882614e5c565b602082019050919050565b6000614270602283614831565b915061427b82614e85565b604082019050919050565b6000614293601b83614831565b915061429e82614ed4565b602082019050919050565b60006142b6601f83614831565b91506142c182614efd565b602082019050919050565b60006142d9602283614831565b91506142e482614f26565b604082019050919050565b60006142fc601583614831565b915061430782614f75565b602082019050919050565b600061431f600083614826565b915061432a82614f9e565b600082019050919050565b6000614342601d83614831565b915061434d82614fa1565b602082019050919050565b6000614365602a83614831565b915061437082614fca565b604082019050919050565b6000614388601a83614831565b915061439382615019565b602082019050919050565b6143a781614a04565b82525050565b6143b681614a32565b82525050565b60006143c8828461406a565b915081905092915050565b60006143df82856140d4565b91506143eb82846140d4565b91508190509392505050565b600061440282614312565b9150819050919050565b60006020820190506144216000830184614013565b92915050565b600060408201905061443c6000830185614004565b61444960208301846143ad565b9392505050565b60006080820190506144656000830187614013565b6144726020830186614013565b61447f60408301856143ad565b81810360608301526144918184614031565b905095945050505050565b60006040820190506144b16000830185614013565b6144be60208301846143ad565b9392505050565b60006020820190506144da6000830184614022565b92915050565b600060208201905081810360008301526144fa818461409b565b905092915050565b6000602082019050818103600083015261451b81614105565b9050919050565b6000602082019050818103600083015261453b81614128565b9050919050565b6000602082019050818103600083015261455b8161414b565b9050919050565b6000602082019050818103600083015261457b8161416e565b9050919050565b6000602082019050818103600083015261459b81614191565b9050919050565b600060208201905081810360008301526145bb816141b4565b9050919050565b600060208201905081810360008301526145db816141d7565b9050919050565b600060208201905081810360008301526145fb816141fa565b9050919050565b6000602082019050818103600083015261461b8161421d565b9050919050565b6000602082019050818103600083015261463b81614240565b9050919050565b6000602082019050818103600083015261465b81614263565b9050919050565b6000602082019050818103600083015261467b81614286565b9050919050565b6000602082019050818103600083015261469b816142a9565b9050919050565b600060208201905081810360008301526146bb816142cc565b9050919050565b600060208201905081810360008301526146db816142ef565b9050919050565b600060208201905081810360008301526146fb81614335565b9050919050565b6000602082019050818103600083015261471b81614358565b9050919050565b6000602082019050818103600083015261473b8161437b565b9050919050565b6000602082019050614757600083018461439e565b92915050565b600060208201905061477260008301846143ad565b92915050565b6000614782614793565b905061478e8282614ae6565b919050565b6000604051905090565b600067ffffffffffffffff8211156147b8576147b7614bed565b5b6147c182614c1c565b9050602081019050919050565b600067ffffffffffffffff8211156147e9576147e8614bed565b5b6147f282614c1c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061485882614a32565b915061486383614a32565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561489857614897614b60565b5b828201905092915050565b60006148ae82614a32565b91506148b983614a32565b9250826148c9576148c8614b8f565b5b828204905092915050565b60006148df82614a32565b91506148ea83614a32565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561492357614922614b60565b5b828202905092915050565b600061493982614a04565b915061494483614a04565b92508282101561495757614956614b60565b5b828203905092915050565b600061496d82614a32565b915061497883614a32565b92508282101561498b5761498a614b60565b5b828203905092915050565b60006149a182614a12565b9050919050565b60006149b382614a12565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006149fd82614996565b9050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614a4782614a4e565b9050919050565b6000614a5982614a60565b9050919050565b6000614a6b82614a12565b9050919050565b82818337600083830152505050565b60005b83811015614a9f578082015181840152602081019050614a84565b83811115614aae576000848401525b50505050565b60006002820490506001821680614acc57607f821691505b60208210811415614ae057614adf614bbe565b5b50919050565b614aef82614c1c565b810181811067ffffffffffffffff82111715614b0e57614b0d614bed565b5b80604052505050565b6000614b2282614a32565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b5557614b54614b60565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4e6f2046726565204d696e74206c656674000000000000000000000000000000600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d617820746f6b656e2070757263686173650000000000600082015250565b7f5265736572766520776f756c6420657863656564206d617820746f6b656e7300600082015250565b7f4578636565646564206d617820617661696c61626c6520746f2070757263686160008201527f7365000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f47206d696e74206973206e6f74206163746976650000000000000000000000600082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f46726565204f47206d696e74206973206e6f7420616374697665000000000000600082015250565b61504b81614996565b811461505657600080fd5b50565b615062816149a8565b811461506d57600080fd5b50565b615079816149ba565b811461508457600080fd5b50565b615090816149c6565b811461509b57600080fd5b50565b6150a7816149f2565b81146150b257600080fd5b50565b6150be81614a04565b81146150c957600080fd5b50565b6150d581614a32565b81146150e057600080fd5b5056fea264697066735822122089813d3acdd529fdf14dd0388cb0f81ddccb1a5a01f508737840558201f8a39664736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000000b000000000000000000000000f6c115fe7064aba7523bfe896d7bf4dc7b2bd29100000000000000000000000048615509a78b70c9105a859659669750dc361284000000000000000000000000fe711410c7d79631700c85c691e9fa08ba13bc3e000000000000000000000000fa6b20e94b72db37174d06302ed9d58123910154000000000000000000000000a1e0152ddd2bc7018765ca2b8a9b843d4a3a8a1600000000000000000000000099d9d7e44fc5bb2ef8fa0a4f1bd1d01f9d29262b00000000000000000000000034d8f1dc4cac94ad6d4c1cc4968e424948ea0139000000000000000000000000682ffa280b9f6cc315d80e98ca80f1d24a4a1ef6000000000000000000000000b200646840e2076ccf60a26ca7bc7c49cf22b530000000000000000000000000fc2d538d97caaf6e6832cf754c9ec019fc3e776c000000000000000000000000decbf7a422b8289b90958ac4aa7e9354eee9a7aa000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000d0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000008
-----Decoded View---------------
Arg [0] : payees (address[]): 0xF6c115FE7064ABA7523Bfe896D7Bf4dc7B2BD291,0x48615509A78B70C9105A859659669750DC361284,0xFe711410C7D79631700C85C691e9fa08Ba13Bc3e,0xfA6B20e94b72dB37174D06302ED9D58123910154,0xA1E0152DdD2bc7018765CA2b8a9B843D4A3a8a16,0x99d9d7E44fc5bb2EF8fA0a4f1bD1d01f9D29262B,0x34D8f1DC4cAc94Ad6d4c1CC4968E424948Ea0139,0x682ffa280b9F6CC315d80e98Ca80F1D24a4a1EF6,0xB200646840E2076Ccf60A26ca7Bc7C49cf22b530,0xFC2D538D97caaf6e6832CF754C9EC019FC3E776C,0xdeCBf7a422b8289B90958aC4Aa7e9354eee9a7aa
Arg [1] : shares (uint256[]): 8,13,20,10,20,10,4,4,2,1,8
-----Encoded View---------------
26 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [3] : 000000000000000000000000f6c115fe7064aba7523bfe896d7bf4dc7b2bd291
Arg [4] : 00000000000000000000000048615509a78b70c9105a859659669750dc361284
Arg [5] : 000000000000000000000000fe711410c7d79631700c85c691e9fa08ba13bc3e
Arg [6] : 000000000000000000000000fa6b20e94b72db37174d06302ed9d58123910154
Arg [7] : 000000000000000000000000a1e0152ddd2bc7018765ca2b8a9b843d4a3a8a16
Arg [8] : 00000000000000000000000099d9d7e44fc5bb2ef8fa0a4f1bd1d01f9d29262b
Arg [9] : 00000000000000000000000034d8f1dc4cac94ad6d4c1cc4968e424948ea0139
Arg [10] : 000000000000000000000000682ffa280b9f6cc315d80e98ca80f1d24a4a1ef6
Arg [11] : 000000000000000000000000b200646840e2076ccf60a26ca7bc7c49cf22b530
Arg [12] : 000000000000000000000000fc2d538d97caaf6e6832cf754c9ec019fc3e776c
Arg [13] : 000000000000000000000000decbf7a422b8289b90958ac4aa7e9354eee9a7aa
Arg [14] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [16] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [18] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [20] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [25] : 0000000000000000000000000000000000000000000000000000000000000008
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0.000001
Token Allocations
POL
100.00%
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| POL | 100.00% | $0.11534 | 0.0213 | $0.00246 |
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.