Source Code
Overview
ETH Balance
0.0088 ETH
Eth Value
$19.87 (@ $2,257.91/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 2,655 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 24361729 | 2 days ago | IN | 0 ETH | 0.00001788 | ||||
| Set Approval For... | 24002494 | 53 days ago | IN | 0 ETH | 0.00002412 | ||||
| Set Approval For... | 23195353 | 166 days ago | IN | 0 ETH | 0.00003084 | ||||
| Set Approval For... | 23014216 | 191 days ago | IN | 0 ETH | 0.0000072 | ||||
| Set Approval For... | 22730110 | 231 days ago | IN | 0 ETH | 0.00002338 | ||||
| Set Approval For... | 22730079 | 231 days ago | IN | 0 ETH | 0.00002225 | ||||
| Set Approval For... | 21881588 | 349 days ago | IN | 0 ETH | 0.00003621 | ||||
| Set Approval For... | 21858224 | 353 days ago | IN | 0 ETH | 0.000028 | ||||
| Set Approval For... | 21725504 | 371 days ago | IN | 0 ETH | 0.0001699 | ||||
| Set Approval For... | 21151005 | 451 days ago | IN | 0 ETH | 0.00056219 | ||||
| Set Approval For... | 21146859 | 452 days ago | IN | 0 ETH | 0.00036629 | ||||
| Set Approval For... | 18615296 | 806 days ago | IN | 0 ETH | 0.00082071 | ||||
| Set Approval For... | 18496252 | 823 days ago | IN | 0 ETH | 0.00055907 | ||||
| Set Approval For... | 17184719 | 1007 days ago | IN | 0 ETH | 0.00272278 | ||||
| Set Approval For... | 17110016 | 1017 days ago | IN | 0 ETH | 0.0021877 | ||||
| Set Approval For... | 17049632 | 1026 days ago | IN | 0 ETH | 0.00101712 | ||||
| Set Approval For... | 17010113 | 1032 days ago | IN | 0 ETH | 0.00051457 | ||||
| Safe Transfer Fr... | 16708867 | 1074 days ago | IN | 0 ETH | 0.00100137 | ||||
| Safe Transfer Fr... | 16704968 | 1074 days ago | IN | 0 ETH | 0.00130172 | ||||
| Set Approval For... | 16698228 | 1075 days ago | IN | 0 ETH | 0.00131665 | ||||
| Set Approval For... | 16641791 | 1083 days ago | IN | 0 ETH | 0.00184063 | ||||
| Set Approval For... | 16589564 | 1091 days ago | IN | 0 ETH | 0.00108063 | ||||
| Set Approval For... | 16564184 | 1094 days ago | IN | 0 ETH | 0.00139428 | ||||
| Set Approval For... | 16518248 | 1101 days ago | IN | 0 ETH | 0.00068896 | ||||
| Set Approval For... | 16486617 | 1105 days ago | IN | 0 ETH | 0.00166282 |
Latest 7 internal transactions
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 15527580 | 1239 days ago | 0.127776 ETH | ||||
| Transfer | 15527580 | 1239 days ago | 0.191664 ETH | ||||
| Transfer | 15527580 | 1239 days ago | 0.191664 ETH | ||||
| Transfer | 15527580 | 1239 days ago | 0.127776 ETH | ||||
| Transfer | 15527580 | 1239 days ago | 0.42592 ETH | ||||
| Transfer | 15527580 | 1239 days ago | 0.5324 ETH | ||||
| Transfer | 15527580 | 1239 days ago | 0.5324 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
SacredSerpentz
Compiler Version
v0.8.16+commit.07a7930e
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2022-09-06
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;
/*
_________ .___
/ _____/____ ___________ ____ __| _/
\_____ \\__ \ _/ ___\_ __ \_/ __ \ / __ |
/ \/ __ \\ \___| | \/\ ___// /_/ |
/_______ (____ /\___ >__| \___ >____ |
\/ \/ \/ \/ \/
_________ __
/ _____/ _________________ ____ _____/ |_________
\_____ \_/ __ \_ __ \____ \_/ __ \ / \ __\___ /
/ \ ___/| | \/ |_> > ___/| | \ | / /
/_______ /\___ >__| | __/ \___ >___| /__| /_____ \
\/ \/ |__| \/ \/ \/
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
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();
// =============================================================
// STRUCTS
// =============================================================
struct TokenOwnership {
// The address of the owner.
address addr;
// Stores 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 via {_extraData}.
uint24 extraData;
}
// =============================================================
// TOKEN COUNTERS
// =============================================================
/**
* @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() external view returns (uint256);
// =============================================================
// IERC165
// =============================================================
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
* to learn more about how these ids are created.
*
* This function call must use less than 30000 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`,
* 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,
bytes calldata data
) external;
/**
* @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` 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](https://eips.ethereum.org/EIPS/eip-2309) standard.
*
* See {_mintERC2309} for more details.
*/
event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}
interface IERC20 {
/**
* @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);
/**
* @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 `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, 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 `from` to `to` 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 from,
address to,
uint256 amount
) external returns (bool);
}
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));
}
}
function safePermit(
IERC20Permit token,
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) internal {
uint256 nonceBefore = token.nonces(owner);
token.permit(owner, spender, value, deadline, v, r, s);
uint256 nonceAfter = token.nonces(owner);
require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
}
/**
* @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");
}
}
}
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
}
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
library ECDSA {
enum RecoverError {
NoError,
InvalidSignature,
InvalidSignatureLength,
InvalidSignatureS,
InvalidSignatureV
}
function _throwError(RecoverError error) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
revert("ECDSA: invalid signature");
} else if (error == RecoverError.InvalidSignatureLength) {
revert("ECDSA: invalid signature length");
} else if (error == RecoverError.InvalidSignatureS) {
revert("ECDSA: invalid signature 's' value");
} else if (error == RecoverError.InvalidSignatureV) {
revert("ECDSA: invalid signature 'v' value");
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature` or error string. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*
* Documentation for signature generation:
* - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
* - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
*
* _Available since v4.3._
*/
function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
// Check the signature length
// - case 65: r,s,v signature (standard)
// - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
if (signature.length == 65) {
bytes32 r;
bytes32 s;
uint8 v;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
/// @solidity memory-safe-assembly
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
return tryRecover(hash, v, r, s);
} else if (signature.length == 64) {
bytes32 r;
bytes32 vs;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
/// @solidity memory-safe-assembly
assembly {
r := mload(add(signature, 0x20))
vs := mload(add(signature, 0x40))
}
return tryRecover(hash, r, vs);
} else {
return (address(0), RecoverError.InvalidSignatureLength);
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, signature);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
*
* See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address, RecoverError) {
bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
uint8 v = uint8((uint256(vs) >> 255) + 27);
return tryRecover(hash, v, r, s);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
*
* _Available since v4.2._
*/
function recover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, r, vs);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `v`,
* `r` and `s` signature fields separately.
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address, RecoverError) {
// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
// the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
// signatures from current libraries generate a unique signature with an s-value in the lower half order.
//
// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
// these malleable signatures as well.
if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
return (address(0), RecoverError.InvalidSignatureS);
}
if (v != 27 && v != 28) {
return (address(0), RecoverError.InvalidSignatureV);
}
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
if (signer == address(0)) {
return (address(0), RecoverError.InvalidSignature);
}
return (signer, RecoverError.NoError);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function recover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, v, r, s);
_throwError(error);
return recovered;
}
/**
* @dev Returns an Ethereum Signed Message, created from a `hash`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
}
/**
* @dev Returns an Ethereum Signed Message, created from `s`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
}
/**
* @dev Returns an Ethereum Signed Typed Data, created from a
* `domainSeparator` and a `structHash`. This produces hash corresponding
* to the one signed with the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
* JSON-RPC method as part of EIP-712.
*
* See {recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
}
}
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 Getter for the amount of payee's releasable Ether.
*/
function releasable(address account) public view returns (uint256) {
uint256 totalReceived = address(this).balance + totalReleased();
return _pendingPayment(account, totalReceived, released(account));
}
/**
* @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an
* IERC20 contract.
*/
function releasable(IERC20 token, address account) public view returns (uint256) {
uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
return _pendingPayment(account, totalReceived, released(token, account));
}
/**
* @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 payment = releasable(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 payment = releasable(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_);
}
}
/**
* @dev Interface of ERC721 token receiver.
*/
interface ERC721A__IERC721Receiver {
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
/**
* @title ERC721A
*
* @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
* Non-Fungible Token Standard, including the Metadata extension.
* Optimized for lower gas during batch mints.
*
* Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
* starting from `_startTokenId()`.
*
* Assumptions:
*
* - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
* - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
*/
contract ERC721A is IERC721A {
// Reference type for token approval.
struct TokenApprovalRef {
address value;
}
// =============================================================
// CONSTANTS
// =============================================================
// 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 `Transfer` event signature is given by:
// `keccak256(bytes("Transfer(address,address,uint256)"))`.
bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;
// =============================================================
// STORAGE
// =============================================================
// The next token ID 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 => TokenApprovalRef) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
// =============================================================
// CONSTRUCTOR
// =============================================================
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
_currentIndex = _startTokenId();
}
// =============================================================
// TOKEN COUNTING OPERATIONS
// =============================================================
/**
* @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 virtual 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 virtual 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 virtual 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 virtual returns (uint256) {
return _burnCounter;
}
// =============================================================
// ADDRESS DATA OPERATIONS
// =============================================================
/**
* @dev Returns the number of tokens in `owner`'s account.
*/
function balanceOf(address owner) public view virtual 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 virtual {
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;
}
// =============================================================
// IERC165
// =============================================================
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
* to learn more about how these ids are created.
*
* This function call must use less than 30000 gas.
*/
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: [ERC165](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.
}
// =============================================================
// IERC721Metadata
// =============================================================
/**
* @dev Returns the token collection name.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the token collection symbol.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
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 '';
}
// =============================================================
// OWNERSHIPS OPERATIONS
// =============================================================
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
return address(uint160(_packedOwnershipOf(tokenId)));
}
/**
* @dev Gas spent here starts off proportional to the maximum mint batch size.
* It gradually moves to O(1) as tokens get transferred around over time.
*/
function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
return _unpackedOwnership(_packedOwnershipOf(tokenId));
}
/**
* @dev Returns the unpacked `TokenOwnership` struct at `index`.
*/
function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
return _unpackedOwnership(_packedOwnerships[index]);
}
/**
* @dev Initializes the ownership slot minted at `index` for efficiency purposes.
*/
function _initializeOwnershipAt(uint256 index) internal virtual {
if (_packedOwnerships[index] == 0) {
_packedOwnerships[index] = _packedOwnershipOf(index);
}
}
/**
* 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 initialized ownership slot
// (i.e. `ownership.addr != address(0) && ownership.burned == false`)
// before an unintialized ownership slot
// (i.e. `ownership.addr == address(0) && ownership.burned == false`)
// Hence, `curr` will not underflow.
//
// We can directly compare the packed value.
// If the address is zero, packed will be zero.
while (packed == 0) {
packed = _packedOwnerships[--curr];
}
return packed;
}
}
}
revert OwnerQueryForNonexistentToken();
}
/**
* @dev 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);
}
/**
* @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 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))
}
}
// =============================================================
// APPROVAL OPERATIONS
// =============================================================
/**
* @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) public virtual override {
address owner = ownerOf(tokenId);
if (_msgSenderERC721A() != owner)
if (!isApprovedForAll(owner, _msgSenderERC721A())) {
revert ApprovalCallerNotOwnerNorApproved();
}
_tokenApprovals[tokenId].value = to;
emit Approval(owner, to, tokenId);
}
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();
return _tokenApprovals[tokenId].value;
}
/**
* @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) public virtual override {
if (operator == _msgSenderERC721A()) revert ApproveToCaller();
_operatorApprovals[_msgSenderERC721A()][operator] = approved;
emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
}
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @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. See {_mint}.
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return
_startTokenId() <= tokenId &&
tokenId < _currentIndex && // If within bounds,
_packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
}
/**
* @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
*/
function _isSenderApprovedOrOwner(
address approvedAddress,
address owner,
address msgSender
) private pure returns (bool result) {
assembly {
// Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
owner := and(owner, _BITMASK_ADDRESS)
// Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
msgSender := and(msgSender, _BITMASK_ADDRESS)
// `msgSender == owner || msgSender == approvedAddress`.
result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
}
}
/**
* @dev Returns the storage slot and value for the approved address of `tokenId`.
*/
function _getApprovedSlotAndAddress(uint256 tokenId)
private
view
returns (uint256 approvedAddressSlot, address approvedAddress)
{
TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
// The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
assembly {
approvedAddressSlot := tokenApproval.slot
approvedAddress := sload(approvedAddressSlot)
}
}
// =============================================================
// TRANSFER OPERATIONS
// =============================================================
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* 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
) public virtual override {
uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);
if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();
(uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);
// The nested ifs save around 20+ gas over a compound boolean condition.
if (!_isSenderApprovedOrOwner(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 `safeTransferFrom(from, to, tokenId, '')`.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, '');
}
/**
* @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 memory _data
) public virtual override {
transferFrom(from, to, tokenId);
if (to.code.length != 0)
if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
}
/**
* @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
*
* `from` - Previous owner of the given token ID.
* `to` - Target address that will receive the token.
* `tokenId` - Token ID to be transferred.
* `_data` - Optional data to send along with the call.
*
* Returns 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))
}
}
}
}
// =============================================================
// MINT OPERATIONS
// =============================================================
/**
* @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 virtual {
uint256 startTokenId = _currentIndex;
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 toMasked;
uint256 end = startTokenId + quantity;
// Use assembly to loop and emit the `Transfer` event for gas savings.
assembly {
// Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
toMasked := and(to, _BITMASK_ADDRESS)
// Emit the `Transfer` event.
log4(
0, // Start of data (0, since no data).
0, // End of data (0, since no data).
_TRANSFER_EVENT_SIGNATURE, // Signature.
0, // `address(0)`.
toMasked, // `to`.
startTokenId // `tokenId`.
)
for {
let tokenId := add(startTokenId, 1)
} iszero(eq(tokenId, end)) {
tokenId := add(tokenId, 1)
} {
// Emit the `Transfer` event. Similar to above.
log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
}
}
if (toMasked == 0) revert MintToZeroAddress();
_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 virtual {
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 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 virtual {
_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 Equivalent to `_safeMint(to, quantity, '')`.
*/
function _safeMint(address to, uint256 quantity) internal virtual {
_safeMint(to, quantity, '');
}
// =============================================================
// BURN OPERATIONS
// =============================================================
/**
* @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) = _getApprovedSlotAndAddress(tokenId);
if (approvalCheck) {
// The nested ifs save around 20+ gas over a compound boolean condition.
if (!_isSenderApprovedOrOwner(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++;
}
}
// =============================================================
// EXTRA DATA OPERATIONS
// =============================================================
/**
* @dev Directly sets the extra data for the ownership data `index`.
*/
function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
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 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 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;
}
// =============================================================
// OTHER OPERATIONS
// =============================================================
/**
* @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 virtual 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.
// The ASCII index of the '0' character is 48.
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)
}
}
}
contract SacredSerpentz is Ownable, ERC721A, PaymentSplitter {
using ECDSA for bytes32;
using Strings for uint;
address private signerAddressVIP;
address private signerAddressWL;
enum Step {
Before,
VIPSale,
WhitelistSale,
PublicSale,
SoldOut,
Reveal
}
string public baseURI;
Step public sellingStep;
uint private constant MAX_SUPPLY = 8888;
uint private constant MAX_VIP = 1888;
uint public wlSalePrice = 0.0088 ether;
mapping(address => uint) public mintedAmountNFTsperWalletWhitelistSale;
// Use _numberMinted for VIPs
uint public maxMintAmountPerVIP = 1;
uint public maxMintAmountPerWhitelist = 2;
uint public maxAmountPerTxnPublic = 2;
uint private teamLength;
constructor(address[] memory _team, uint[] memory _teamShares, address _signerAddressVIP, address _signerAddressWL, string memory _baseURI) ERC721A("Serpentz", "SERPENTZ")
PaymentSplitter(_team, _teamShares) {
signerAddressVIP = _signerAddressVIP;
signerAddressWL = _signerAddressWL;
baseURI = _baseURI;
teamLength = _team.length;
}
function changeVIPSignerAddress(address newSigner) external onlyOwner{
signerAddressVIP = newSigner;
}
function changeWLSignerAddress(address newSigner) external onlyOwner{
signerAddressWL = newSigner;
}
function mintForOpensea() external onlyOwner{
if(totalSupply() != 0) revert("Only one mint for deployer");
_mint(msg.sender, 1);
}
function getNumberMinted(address account) external view returns (uint256) {
return _numberMinted(account);
}
function VIPMint(address _account, uint _quantity, bytes calldata signature) external {
if(sellingStep != Step.VIPSale) revert("VIP Mint is not open");
if(totalSupply() + _quantity > MAX_VIP) revert("Max supply for VIP exceeded");
if(signerAddressVIP != keccak256(
abi.encodePacked(
"\x19Ethereum Signed Message:\n32",
bytes32(uint256(uint160(msg.sender)))
)
).recover(signature)) revert("You are not in VIP whitelist");
if(_numberMinted(msg.sender) + _quantity > maxMintAmountPerVIP) revert("Over max amount of nft minted for VIP");
// The _numberMinted is incremented internally
_mint(_account, _quantity);
}
function publicSaleMint(address _account, uint _quantity) external payable {
uint price = wlSalePrice;
if(price <= 0) revert("Price is 0");
if(_quantity > maxAmountPerTxnPublic) revert("Max amount per txn is 2");
if(sellingStep != Step.PublicSale) revert("Public Mint not live.");
if(totalSupply() + _quantity > MAX_SUPPLY) revert("Max supply exceeded");
if(msg.value < price * _quantity) revert("Not enough funds");
_mint(_account, _quantity);
}
function WLMint(address _account, uint _quantity, bytes calldata signature) external payable {
uint price = wlSalePrice;
if(price <= 0) revert("Price is 0");
if(sellingStep != Step.WhitelistSale) revert("WL Mint not live.");
if(totalSupply() + _quantity > MAX_SUPPLY) revert("Max supply exceeded");
if(msg.value < price * _quantity) revert("Not enough funds");
if(signerAddressWL != keccak256(
abi.encodePacked(
"\x19Ethereum Signed Message:\n32",
bytes32(uint256(uint160(msg.sender)))
)
).recover(signature)) revert("You are not in WL whitelist");
if(mintedAmountNFTsperWalletWhitelistSale[msg.sender] + _quantity > maxMintAmountPerWhitelist) revert("You can only get 2 NFT on the Whitelist Sale");
if(_numberMinted(msg.sender) + _quantity > 2) revert("VIP minter can only mint 1 NFT in WL stage");
mintedAmountNFTsperWalletWhitelistSale[msg.sender] += _quantity;
_mint(_account, _quantity);
}
function setBaseUri(string memory _baseURI) external onlyOwner {
baseURI = _baseURI;
}
function setStep(uint _step) external onlyOwner {
sellingStep = Step(_step);
}
function setMaxMintPerVIP(uint amount) external onlyOwner {
maxMintAmountPerVIP = amount;
}
function setMaxMintPerWhitelist(uint amount) external onlyOwner{
maxMintAmountPerWhitelist = amount;
}
function setMaxTxnPublic(uint amount) external onlyOwner{
maxAmountPerTxnPublic = amount;
}
function testSignerRecovery(bytes calldata signature) external view returns (address) {
return keccak256(
abi.encodePacked(
"\x19Ethereum Signed Message:\n32",
bytes32(uint256(uint160(msg.sender)))
)
).recover(signature);
}
function tokenURI(uint _tokenId) public view virtual override returns (string memory) {
require(_exists(_tokenId), "URI query for nonexistent token");
return string(abi.encodePacked(baseURI, _toString(_tokenId), ".json"));
}
function releaseAll() external {
for(uint i = 0 ; i < teamLength ; i++) {
release(payable(payee(i)));
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address[]","name":"_team","type":"address[]"},{"internalType":"uint256[]","name":"_teamShares","type":"uint256[]"},{"internalType":"address","name":"_signerAddressVIP","type":"address"},{"internalType":"address","name":"_signerAddressWL","type":"address"},{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"VIPMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"WLMint","outputs":[],"stateMutability":"payable","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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"changeVIPSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"changeWLSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNumberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAmountPerTxnPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerVIP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintForOpensea","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedAmountNFTsperWalletWhitelistSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellingStep","outputs":[{"internalType":"enum SacredSerpentz.Step","name":"","type":"uint8"}],"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxMintPerVIP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxMintPerWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTxnPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_step","type":"uint256"}],"name":"setStep","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":"bytes","name":"signature","type":"bytes"}],"name":"testSignerRecovery","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"wlSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
6080604052661f438daa0600006014556001601655600260175560026018553480156200002b57600080fd5b5060405162003805380380620038058339810160408190526200004e9162000622565b84846040518060400160405280600881526020016729b2b93832b73a3d60c11b8152506040518060400160405280600881526020016729a2a92822a72a2d60c11b815250620000ac620000a66200025460201b60201c565b62000258565b6003620000ba8382620007ce565b506004620000c98282620007ce565b50600060015550508051825114620001435760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620001965760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200013a565b60005b82518110156200020257620001ed838281518110620001bc57620001bc6200089a565b6020026020010151838381518110620001d957620001d96200089a565b6020026020010151620002a860201b60201c565b80620001f981620008c6565b91505062000199565b5050601080546001600160a01b038087166001600160a01b0319928316179092556011805492861692909116919091179055506012620002438282620007ce565b5050925160195550620008fe915050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620003155760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200013a565b60008111620003675760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200013a565b6001600160a01b0382166000908152600b602052604090205415620003e35760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200013a565b600d8054600181019091557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0384169081179091556000908152600b602052604090208190556009546200044d908290620008e2565b600955604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620004d757620004d762000496565b604052919050565b60006001600160401b03821115620004fb57620004fb62000496565b5060051b60200190565b80516001600160a01b03811681146200051d57600080fd5b919050565b600082601f8301126200053457600080fd5b815160206200054d6200054783620004df565b620004ac565b82815260059290921b840181019181810190868411156200056d57600080fd5b8286015b848110156200058a578051835291830191830162000571565b509695505050505050565b600082601f830112620005a757600080fd5b81516001600160401b03811115620005c357620005c362000496565b6020620005d9601f8301601f19168201620004ac565b8281528582848701011115620005ee57600080fd5b60005b838110156200060e578581018301518282018401528201620005f1565b506000928101909101919091529392505050565b600080600080600060a086880312156200063b57600080fd5b85516001600160401b03808211156200065357600080fd5b818801915088601f8301126200066857600080fd5b815160206200067b6200054783620004df565b82815260059290921b8401810191818101908c8411156200069b57600080fd5b948201945b83861015620006c457620006b48662000505565b82529482019490820190620006a0565b918b0151919950909350505080821115620006de57600080fd5b620006ec89838a0162000522565b9550620006fc6040890162000505565b94506200070c6060890162000505565b935060808801519150808211156200072357600080fd5b50620007328882890162000595565b9150509295509295909350565b600181811c908216806200075457607f821691505b6020821081036200077557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620007c957600081815260208120601f850160051c81016020861015620007a45750805b601f850160051c820191505b81811015620007c557828155600101620007b0565b5050505b505050565b81516001600160401b03811115620007ea57620007ea62000496565b6200080281620007fb84546200073f565b846200077b565b602080601f8311600181146200083a5760008415620008215750858301515b600019600386901b1c1916600185901b178555620007c5565b600085815260208120601f198616915b828110156200086b578886015182559484019460019091019084016200084a565b50858210156200088a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201620008db57620008db620008b0565b5060010190565b80820180821115620008f857620008f8620008b0565b92915050565b612ef7806200090e6000396000f3fe6080604052600436106102b15760003560e01c80638a02e3b911610175578063c87b56dd116100dc578063d79779b211610095578063ed1920ff1161006f578063ed1920ff146108fe578063ee70c7cb14610911578063f2fde38b14610927578063f8dcbddb1461094757600080fd5b8063d79779b21461086a578063e33b7de3146108a0578063e985e9c5146108b557600080fd5b8063c87b56dd1461078b578063c893575a146107ab578063cbccefb2146107c0578063cbf1b53e146107e7578063ce7c2ac214610807578063d0cd8e691461083d57600080fd5b8063a0bcfc7f1161012e578063a0bcfc7f146106d8578063a22cb465146106f8578063a3f8eace14610718578063ac5ae11b14610738578063b88d4fde1461074b578063c45ac0501461076b57600080fd5b80638a02e3b91461060f5780638a59a7fd1461062f5780638b83209b1461064f5780638da5cb5b1461066f57806395d89b411461068d5780639852595c146106a257600080fd5b806342842e0e116102195780636c0360eb116101d25780636c0360eb146105795780636fef70ba1461058e57806370a08231146105ae578063715018a6146105ce578063734c66bd146105e35780638137b22e146105f957600080fd5b806342842e0e146104c457806347e5535c146104e457806348b75044146105045780634fdb27c0146105245780635be7fde8146105445780636352211e1461055957600080fd5b8063191655871161026b57806319165587146103f357806323b872dd146104135780632cefffa7146104335780633a98ef3914610449578063406072a91461045e57806340ce3b86146104a457600080fd5b8062eb7013146102ff57806301ffc9a71461032157806306fdde0314610356578063081812fc14610378578063095ea7b3146103b057806318160ddd146103d057600080fd5b366102fa577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561030b57600080fd5b5061031f61031a3660046126cb565b610967565b005b34801561032d57600080fd5b5061034161033c3660046126fa565b610974565b60405190151581526020015b60405180910390f35b34801561036257600080fd5b5061036b6109c6565b60405161034d9190612767565b34801561038457600080fd5b506103986103933660046126cb565b610a58565b6040516001600160a01b03909116815260200161034d565b3480156103bc57600080fd5b5061031f6103cb36600461278f565b610a9c565b3480156103dc57600080fd5b50600254600154035b60405190815260200161034d565b3480156103ff57600080fd5b5061031f61040e3660046127bb565b610b3c565b34801561041f57600080fd5b5061031f61042e3660046127d8565b610c3e565b34801561043f57600080fd5b506103e560175481565b34801561045557600080fd5b506009546103e5565b34801561046a57600080fd5b506103e5610479366004612819565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b3480156104b057600080fd5b5061031f6104bf366004612894565b610dd7565b3480156104d057600080fd5b5061031f6104df3660046127d8565b611013565b3480156104f057600080fd5b5061031f6104ff3660046127bb565b611033565b34801561051057600080fd5b5061031f61051f366004612819565b61105d565b34801561053057600080fd5b5061031f61053f3660046127bb565b611180565b34801561055057600080fd5b5061031f6111aa565b34801561056557600080fd5b506103986105743660046126cb565b6111d8565b34801561058557600080fd5b5061036b6111e3565b34801561059a57600080fd5b5061031f6105a93660046126cb565b611271565b3480156105ba57600080fd5b506103e56105c93660046127bb565b61127e565b3480156105da57600080fd5b5061031f6112cd565b3480156105ef57600080fd5b506103e560145481565b34801561060557600080fd5b506103e560165481565b34801561061b57600080fd5b5061031f61062a3660046126cb565b6112e1565b34801561063b57600080fd5b506103e561064a3660046127bb565b6112ee565b34801561065b57600080fd5b5061039861066a3660046126cb565b6112f9565b34801561067b57600080fd5b506000546001600160a01b0316610398565b34801561069957600080fd5b5061036b611329565b3480156106ae57600080fd5b506103e56106bd3660046127bb565b6001600160a01b03166000908152600c602052604090205490565b3480156106e457600080fd5b5061031f6106f336600461297c565b611338565b34801561070457600080fd5b5061031f6107133660046129d3565b611350565b34801561072457600080fd5b506103e56107333660046127bb565b6113e5565b61031f61074636600461278f565b61142d565b34801561075757600080fd5b5061031f610766366004612a01565b6115cf565b34801561077757600080fd5b506103e5610786366004612819565b611613565b34801561079757600080fd5b5061036b6107a63660046126cb565b6116de565b3480156107b757600080fd5b5061031f611767565b3480156107cc57600080fd5b506013546107da9060ff1681565b60405161034d9190612a97565b3480156107f357600080fd5b50610398610802366004612abf565b6117cd565b34801561081357600080fd5b506103e56108223660046127bb565b6001600160a01b03166000908152600b602052604090205490565b34801561084957600080fd5b506103e56108583660046127bb565b60156020526000908152604090205481565b34801561087657600080fd5b506103e56108853660046127bb565b6001600160a01b03166000908152600e602052604090205490565b3480156108ac57600080fd5b50600a546103e5565b3480156108c157600080fd5b506103416108d0366004612819565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b61031f61090c366004612894565b611841565b34801561091d57600080fd5b506103e560185481565b34801561093357600080fd5b5061031f6109423660046127bb565b611b80565b34801561095357600080fd5b5061031f6109623660046126cb565b611bf6565b61096f611c34565b601755565b60006301ffc9a760e01b6001600160e01b0319831614806109a557506380ac58cd60e01b6001600160e01b03198316145b806109c05750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546109d590612b01565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0190612b01565b8015610a4e5780601f10610a2357610100808354040283529160200191610a4e565b820191906000526020600020905b815481529060010190602001808311610a3157829003601f168201915b5050505050905090565b6000610a6382611c8e565b610a80576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610aa7826111d8565b9050336001600160a01b03821614610ae057610ac381336108d0565b610ae0576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001600160a01b0381166000908152600b6020526040902054610b7a5760405162461bcd60e51b8152600401610b7190612b3b565b60405180910390fd5b6000610b85826113e5565b905080600003610ba75760405162461bcd60e51b8152600401610b7190612b81565b6001600160a01b0382166000908152600c602052604081208054839290610bcf908490612be2565b9250508190555080600a6000828254610be89190612be2565b90915550610bf890508282611cb6565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b6000610c4982611dcf565b9050836001600160a01b0316816001600160a01b031614610c7c5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610cc957610cac86336108d0565b610cc957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610cf057604051633a954ecd60e21b815260040160405180910390fd5b8015610cfb57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610d8d57600184016000818152600560205260408120549003610d8b576001548114610d8b5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600160135460ff166005811115610df057610df0612a81565b14610e345760405162461bcd60e51b81526020600482015260146024820152732b24a81026b4b73a1034b9903737ba1037b832b760611b6044820152606401610b71565b61076083610e456002546001540390565b610e4f9190612be2565b1115610e9d5760405162461bcd60e51b815260206004820152601b60248201527f4d617820737570706c7920666f722056495020657863656564656400000000006044820152606401610b71565b610f3382828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c019150610f0f9050565b60405160208183030381529060405280519060200120611e3690919063ffffffff16565b6010546001600160a01b03908116911614610f905760405162461bcd60e51b815260206004820152601c60248201527f596f7520617265206e6f7420696e205649502077686974656c697374000000006044820152606401610b71565b60165483610f9d33611e5a565b610fa79190612be2565b11156110035760405162461bcd60e51b815260206004820152602560248201527f4f766572206d617820616d6f756e74206f66206e6674206d696e74656420666f604482015264072205649560dc1b6064820152608401610b71565b61100d8484611e83565b50505050565b61102e838383604051806020016040528060008152506115cf565b505050565b61103b611c34565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152600b60205260409020546110925760405162461bcd60e51b8152600401610b7190612b3b565b600061109e8383611613565b9050806000036110c05760405162461bcd60e51b8152600401610b7190612b81565b6001600160a01b038084166000908152600f60209081526040808320938616835292905290812080548392906110f7908490612be2565b90915550506001600160a01b0383166000908152600e602052604081208054839290611124908490612be2565b909155506111359050838383611f81565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b611188611c34565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b60005b6019548110156111d5576111c361040e826112f9565b806111cd81612bf5565b9150506111ad565b50565b60006109c082611dcf565b601280546111f090612b01565b80601f016020809104026020016040519081016040528092919081815260200182805461121c90612b01565b80156112695780601f1061123e57610100808354040283529160200191611269565b820191906000526020600020905b81548152906001019060200180831161124c57829003601f168201915b505050505081565b611279611c34565b601655565b60006001600160a01b0382166112a7576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6112d5611c34565b6112df6000611fd3565b565b6112e9611c34565b601855565b60006109c082611e5a565b6000600d828154811061130e5761130e612c0e565b6000918252602090912001546001600160a01b031692915050565b6060600480546109d590612b01565b611340611c34565b601261134c8282612c6a565b5050565b336001600160a01b038316036113795760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000806113f1600a5490565b6113fb9047612be2565b90506114268382611421866001600160a01b03166000908152600c602052604090205490565b612023565b9392505050565b6014548061146a5760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610b71565b6018548211156114bc5760405162461bcd60e51b815260206004820152601760248201527f4d617820616d6f756e74207065722074786e20697320320000000000000000006044820152606401610b71565b600360135460ff1660058111156114d5576114d5612a81565b1461151a5760405162461bcd60e51b8152602060048201526015602482015274283ab13634b19026b4b73a103737ba103634bb329760591b6044820152606401610b71565b6122b88261152b6002546001540390565b6115359190612be2565b11156115795760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610b71565b6115838282612d2a565b3410156115c55760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610b71565b61102e8383611e83565b6115da848484610c3e565b6001600160a01b0383163b1561100d576115f684848484612061565b61100d576040516368d2bf6b60e11b815260040160405180910390fd5b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611672573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116969190612d49565b6116a09190612be2565b6001600160a01b038086166000908152600f60209081526040808320938816835292905220549091506116d69084908390612023565b949350505050565b60606116e982611c8e565b6117355760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610b71565b60126117408361214c565b604051602001611751929190612d62565b6040516020818303038152906040529050919050565b61176f611c34565b600254600154146117c25760405162461bcd60e51b815260206004820152601a60248201527f4f6e6c79206f6e65206d696e7420666f72206465706c6f7965720000000000006044820152606401610b71565b6112df336001611e83565b600061142683838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c019150610f0f9050565b6014548061187e5760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610b71565b600260135460ff16600581111561189757611897612a81565b146118d85760405162461bcd60e51b81526020600482015260116024820152702ba61026b4b73a103737ba103634bb329760791b6044820152606401610b71565b6122b8846118e96002546001540390565b6118f39190612be2565b11156119375760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610b71565b6119418482612d2a565b3410156119835760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610b71565b6119f583838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c019150610f0f9050565b6011546001600160a01b03908116911614611a525760405162461bcd60e51b815260206004820152601b60248201527f596f7520617265206e6f7420696e20574c2077686974656c69737400000000006044820152606401610b71565b60175433600090815260156020526040902054611a70908690612be2565b1115611ad35760405162461bcd60e51b815260206004820152602c60248201527f596f752063616e206f6e6c79206765742032204e4654206f6e2074686520576860448201526b6974656c6973742053616c6560a01b6064820152608401610b71565b600284611adf33611e5a565b611ae99190612be2565b1115611b4a5760405162461bcd60e51b815260206004820152602a60248201527f564950206d696e7465722063616e206f6e6c79206d696e742031204e465420696044820152696e20574c20737461676560b01b6064820152608401610b71565b3360009081526015602052604081208054869290611b69908490612be2565b90915550611b7990508585611e83565b5050505050565b611b88611c34565b6001600160a01b038116611bed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b71565b6111d581611fd3565b611bfe611c34565b806005811115611c1057611c10612a81565b6013805460ff19166001836005811115611c2c57611c2c612a81565b021790555050565b6000546001600160a01b031633146112df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b71565b6000600154821080156109c0575050600090815260056020526040902054600160e01b161590565b80471015611d065760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610b71565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611d53576040519150601f19603f3d011682016040523d82523d6000602084013e611d58565b606091505b505090508061102e5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610b71565b600081600154811015611e1d5760008181526005602052604081205490600160e01b82169003611e1b575b80600003611426575060001901600081815260056020526040902054611dfa565b505b604051636f96cda160e11b815260040160405180910390fd5b6000806000611e45858561219b565b91509150611e5281612209565b509392505050565b6001600160a01b03166000908152600660205260409081902054901c67ffffffffffffffff1690565b6001546000829003611ea85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611f5757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611f1f565b5081600003611f7857604051622e076360e81b815260040160405180910390fd5b60015550505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261102e9084906123bf565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546001600160a01b0384166000908152600b60205260408120549091839161204d9086612d2a565b6120579190612df9565b6116d69190612e1b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612096903390899088908890600401612e2e565b6020604051808303816000875af19250505080156120d1575060408051601f3d908101601f191682019092526120ce91810190612e6b565b60015b61212f573d8080156120ff576040519150601f19603f3d011682016040523d82523d6000602084013e612104565b606091505b508051600003612127576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810191829052607f0190826030600a8206018353600a90045b801561218957600183039250600a81066030018353600a900461216b565b50819003601f19909101908152919050565b60008082516041036121d15760208301516040840151606085015160001a6121c587828585612491565b94509450505050612202565b82516040036121fa57602083015160408401516121ef86838361257e565b935093505050612202565b506000905060025b9250929050565b600081600481111561221d5761221d612a81565b036122255750565b600181600481111561223957612239612a81565b036122865760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610b71565b600281600481111561229a5761229a612a81565b036122e75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610b71565b60038160048111156122fb576122fb612a81565b036123535760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610b71565b600481600481111561236757612367612a81565b036111d55760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610b71565b6000612414826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166125b79092919063ffffffff16565b80519091501561102e57808060200190518101906124329190612e88565b61102e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610b71565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156124c85750600090506003612575565b8460ff16601b141580156124e057508460ff16601c14155b156124f15750600090506004612575565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612545573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661256e57600060019250925050612575565b9150600090505b94509492505050565b6000806001600160ff1b0383168161259b60ff86901c601b612be2565b90506125a987828885612491565b935093505050935093915050565b60606116d68484600085856001600160a01b0385163b6126195760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610b71565b600080866001600160a01b031685876040516126359190612ea5565b60006040518083038185875af1925050503d8060008114612672576040519150601f19603f3d011682016040523d82523d6000602084013e612677565b606091505b5091509150612687828286612692565b979650505050505050565b606083156126a1575081611426565b8251156126b15782518084602001fd5b8160405162461bcd60e51b8152600401610b719190612767565b6000602082840312156126dd57600080fd5b5035919050565b6001600160e01b0319811681146111d557600080fd5b60006020828403121561270c57600080fd5b8135611426816126e4565b60005b8381101561273257818101518382015260200161271a565b50506000910152565b60008151808452612753816020860160208601612717565b601f01601f19169290920160200192915050565b602081526000611426602083018461273b565b6001600160a01b03811681146111d557600080fd5b600080604083850312156127a257600080fd5b82356127ad8161277a565b946020939093013593505050565b6000602082840312156127cd57600080fd5b81356114268161277a565b6000806000606084860312156127ed57600080fd5b83356127f88161277a565b925060208401356128088161277a565b929592945050506040919091013590565b6000806040838503121561282c57600080fd5b82356128378161277a565b915060208301356128478161277a565b809150509250929050565b60008083601f84011261286457600080fd5b50813567ffffffffffffffff81111561287c57600080fd5b60208301915083602082850101111561220257600080fd5b600080600080606085870312156128aa57600080fd5b84356128b58161277a565b935060208501359250604085013567ffffffffffffffff8111156128d857600080fd5b6128e487828801612852565b95989497509550505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612921576129216128f0565b604051601f8501601f19908116603f01168101908282118183101715612949576129496128f0565b8160405280935085815286868601111561296257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561298e57600080fd5b813567ffffffffffffffff8111156129a557600080fd5b8201601f810184136129b657600080fd5b6116d684823560208401612906565b80151581146111d557600080fd5b600080604083850312156129e657600080fd5b82356129f18161277a565b91506020830135612847816129c5565b60008060008060808587031215612a1757600080fd5b8435612a228161277a565b93506020850135612a328161277a565b925060408501359150606085013567ffffffffffffffff811115612a5557600080fd5b8501601f81018713612a6657600080fd5b612a7587823560208401612906565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b6020810160068310612ab957634e487b7160e01b600052602160045260246000fd5b91905290565b60008060208385031215612ad257600080fd5b823567ffffffffffffffff811115612ae957600080fd5b612af585828601612852565b90969095509350505050565b600181811c90821680612b1557607f821691505b602082108103612b3557634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808201808211156109c0576109c0612bcc565b600060018201612c0757612c07612bcc565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f82111561102e57600081815260208120601f850160051c81016020861015612c4b5750805b601f850160051c820191505b81811015610dcf57828155600101612c57565b815167ffffffffffffffff811115612c8457612c846128f0565b612c9881612c928454612b01565b84612c24565b602080601f831160018114612ccd5760008415612cb55750858301515b600019600386901b1c1916600185901b178555610dcf565b600085815260208120601f198616915b82811015612cfc57888601518255948401946001909101908401612cdd565b5085821015612d1a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000816000190483118215151615612d4457612d44612bcc565b500290565b600060208284031215612d5b57600080fd5b5051919050565b6000808454612d7081612b01565b60018281168015612d885760018114612d9d57612dcc565b60ff1984168752821515830287019450612dcc565b8860005260208060002060005b85811015612dc35781548a820152908401908201612daa565b50505082870194505b505050508351612de0818360208801612717565b64173539b7b760d91b9101908152600501949350505050565b600082612e1657634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156109c0576109c0612bcc565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e619083018461273b565b9695505050505050565b600060208284031215612e7d57600080fd5b8151611426816126e4565b600060208284031215612e9a57600080fd5b8151611426816129c5565b60008251612eb7818460208701612717565b919091019291505056fea26469706673582212208c705639f7b8559762310585dec3e8e29117b32e9df08f0b0a15d71ec82f14f864736f6c6343000810003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000d88306b19a660836379dab1845624b3a879989170000000000000000000000006d5cffbcbef82b9e7e302a195ffdb282c188addb00000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000007000000000000000000000000a7f6afa036a752c20fed404cca066bb82b2ff7c40000000000000000000000004ac20a4d023465f15e9c57142a69c25cc7ebd7450000000000000000000000000d3591c2daebc314c2ee667a90e2b7a0903ac0090000000000000000000000009ef3fac71348a5a9b95c721761f8b784927745f000000000000000000000000023c217d17381af4406ee4c3a9aa4d699d011eeb5000000000000000000000000f3173ab0f63b90d80d905464d718c85d62c0caaf000000000000000000000000a532ca2134919add7833c1f3fce0e49be0429bff000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696861366f736e69717978777a6a3478723265777965756436717169637177783737756a6d623274656c74636d33373436337572342f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102b15760003560e01c80638a02e3b911610175578063c87b56dd116100dc578063d79779b211610095578063ed1920ff1161006f578063ed1920ff146108fe578063ee70c7cb14610911578063f2fde38b14610927578063f8dcbddb1461094757600080fd5b8063d79779b21461086a578063e33b7de3146108a0578063e985e9c5146108b557600080fd5b8063c87b56dd1461078b578063c893575a146107ab578063cbccefb2146107c0578063cbf1b53e146107e7578063ce7c2ac214610807578063d0cd8e691461083d57600080fd5b8063a0bcfc7f1161012e578063a0bcfc7f146106d8578063a22cb465146106f8578063a3f8eace14610718578063ac5ae11b14610738578063b88d4fde1461074b578063c45ac0501461076b57600080fd5b80638a02e3b91461060f5780638a59a7fd1461062f5780638b83209b1461064f5780638da5cb5b1461066f57806395d89b411461068d5780639852595c146106a257600080fd5b806342842e0e116102195780636c0360eb116101d25780636c0360eb146105795780636fef70ba1461058e57806370a08231146105ae578063715018a6146105ce578063734c66bd146105e35780638137b22e146105f957600080fd5b806342842e0e146104c457806347e5535c146104e457806348b75044146105045780634fdb27c0146105245780635be7fde8146105445780636352211e1461055957600080fd5b8063191655871161026b57806319165587146103f357806323b872dd146104135780632cefffa7146104335780633a98ef3914610449578063406072a91461045e57806340ce3b86146104a457600080fd5b8062eb7013146102ff57806301ffc9a71461032157806306fdde0314610356578063081812fc14610378578063095ea7b3146103b057806318160ddd146103d057600080fd5b366102fa577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561030b57600080fd5b5061031f61031a3660046126cb565b610967565b005b34801561032d57600080fd5b5061034161033c3660046126fa565b610974565b60405190151581526020015b60405180910390f35b34801561036257600080fd5b5061036b6109c6565b60405161034d9190612767565b34801561038457600080fd5b506103986103933660046126cb565b610a58565b6040516001600160a01b03909116815260200161034d565b3480156103bc57600080fd5b5061031f6103cb36600461278f565b610a9c565b3480156103dc57600080fd5b50600254600154035b60405190815260200161034d565b3480156103ff57600080fd5b5061031f61040e3660046127bb565b610b3c565b34801561041f57600080fd5b5061031f61042e3660046127d8565b610c3e565b34801561043f57600080fd5b506103e560175481565b34801561045557600080fd5b506009546103e5565b34801561046a57600080fd5b506103e5610479366004612819565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b3480156104b057600080fd5b5061031f6104bf366004612894565b610dd7565b3480156104d057600080fd5b5061031f6104df3660046127d8565b611013565b3480156104f057600080fd5b5061031f6104ff3660046127bb565b611033565b34801561051057600080fd5b5061031f61051f366004612819565b61105d565b34801561053057600080fd5b5061031f61053f3660046127bb565b611180565b34801561055057600080fd5b5061031f6111aa565b34801561056557600080fd5b506103986105743660046126cb565b6111d8565b34801561058557600080fd5b5061036b6111e3565b34801561059a57600080fd5b5061031f6105a93660046126cb565b611271565b3480156105ba57600080fd5b506103e56105c93660046127bb565b61127e565b3480156105da57600080fd5b5061031f6112cd565b3480156105ef57600080fd5b506103e560145481565b34801561060557600080fd5b506103e560165481565b34801561061b57600080fd5b5061031f61062a3660046126cb565b6112e1565b34801561063b57600080fd5b506103e561064a3660046127bb565b6112ee565b34801561065b57600080fd5b5061039861066a3660046126cb565b6112f9565b34801561067b57600080fd5b506000546001600160a01b0316610398565b34801561069957600080fd5b5061036b611329565b3480156106ae57600080fd5b506103e56106bd3660046127bb565b6001600160a01b03166000908152600c602052604090205490565b3480156106e457600080fd5b5061031f6106f336600461297c565b611338565b34801561070457600080fd5b5061031f6107133660046129d3565b611350565b34801561072457600080fd5b506103e56107333660046127bb565b6113e5565b61031f61074636600461278f565b61142d565b34801561075757600080fd5b5061031f610766366004612a01565b6115cf565b34801561077757600080fd5b506103e5610786366004612819565b611613565b34801561079757600080fd5b5061036b6107a63660046126cb565b6116de565b3480156107b757600080fd5b5061031f611767565b3480156107cc57600080fd5b506013546107da9060ff1681565b60405161034d9190612a97565b3480156107f357600080fd5b50610398610802366004612abf565b6117cd565b34801561081357600080fd5b506103e56108223660046127bb565b6001600160a01b03166000908152600b602052604090205490565b34801561084957600080fd5b506103e56108583660046127bb565b60156020526000908152604090205481565b34801561087657600080fd5b506103e56108853660046127bb565b6001600160a01b03166000908152600e602052604090205490565b3480156108ac57600080fd5b50600a546103e5565b3480156108c157600080fd5b506103416108d0366004612819565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b61031f61090c366004612894565b611841565b34801561091d57600080fd5b506103e560185481565b34801561093357600080fd5b5061031f6109423660046127bb565b611b80565b34801561095357600080fd5b5061031f6109623660046126cb565b611bf6565b61096f611c34565b601755565b60006301ffc9a760e01b6001600160e01b0319831614806109a557506380ac58cd60e01b6001600160e01b03198316145b806109c05750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546109d590612b01565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0190612b01565b8015610a4e5780601f10610a2357610100808354040283529160200191610a4e565b820191906000526020600020905b815481529060010190602001808311610a3157829003601f168201915b5050505050905090565b6000610a6382611c8e565b610a80576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610aa7826111d8565b9050336001600160a01b03821614610ae057610ac381336108d0565b610ae0576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001600160a01b0381166000908152600b6020526040902054610b7a5760405162461bcd60e51b8152600401610b7190612b3b565b60405180910390fd5b6000610b85826113e5565b905080600003610ba75760405162461bcd60e51b8152600401610b7190612b81565b6001600160a01b0382166000908152600c602052604081208054839290610bcf908490612be2565b9250508190555080600a6000828254610be89190612be2565b90915550610bf890508282611cb6565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b6000610c4982611dcf565b9050836001600160a01b0316816001600160a01b031614610c7c5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610cc957610cac86336108d0565b610cc957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610cf057604051633a954ecd60e21b815260040160405180910390fd5b8015610cfb57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610d8d57600184016000818152600560205260408120549003610d8b576001548114610d8b5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600160135460ff166005811115610df057610df0612a81565b14610e345760405162461bcd60e51b81526020600482015260146024820152732b24a81026b4b73a1034b9903737ba1037b832b760611b6044820152606401610b71565b61076083610e456002546001540390565b610e4f9190612be2565b1115610e9d5760405162461bcd60e51b815260206004820152601b60248201527f4d617820737570706c7920666f722056495020657863656564656400000000006044820152606401610b71565b610f3382828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c019150610f0f9050565b60405160208183030381529060405280519060200120611e3690919063ffffffff16565b6010546001600160a01b03908116911614610f905760405162461bcd60e51b815260206004820152601c60248201527f596f7520617265206e6f7420696e205649502077686974656c697374000000006044820152606401610b71565b60165483610f9d33611e5a565b610fa79190612be2565b11156110035760405162461bcd60e51b815260206004820152602560248201527f4f766572206d617820616d6f756e74206f66206e6674206d696e74656420666f604482015264072205649560dc1b6064820152608401610b71565b61100d8484611e83565b50505050565b61102e838383604051806020016040528060008152506115cf565b505050565b61103b611c34565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152600b60205260409020546110925760405162461bcd60e51b8152600401610b7190612b3b565b600061109e8383611613565b9050806000036110c05760405162461bcd60e51b8152600401610b7190612b81565b6001600160a01b038084166000908152600f60209081526040808320938616835292905290812080548392906110f7908490612be2565b90915550506001600160a01b0383166000908152600e602052604081208054839290611124908490612be2565b909155506111359050838383611f81565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b611188611c34565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b60005b6019548110156111d5576111c361040e826112f9565b806111cd81612bf5565b9150506111ad565b50565b60006109c082611dcf565b601280546111f090612b01565b80601f016020809104026020016040519081016040528092919081815260200182805461121c90612b01565b80156112695780601f1061123e57610100808354040283529160200191611269565b820191906000526020600020905b81548152906001019060200180831161124c57829003601f168201915b505050505081565b611279611c34565b601655565b60006001600160a01b0382166112a7576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6112d5611c34565b6112df6000611fd3565b565b6112e9611c34565b601855565b60006109c082611e5a565b6000600d828154811061130e5761130e612c0e565b6000918252602090912001546001600160a01b031692915050565b6060600480546109d590612b01565b611340611c34565b601261134c8282612c6a565b5050565b336001600160a01b038316036113795760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000806113f1600a5490565b6113fb9047612be2565b90506114268382611421866001600160a01b03166000908152600c602052604090205490565b612023565b9392505050565b6014548061146a5760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610b71565b6018548211156114bc5760405162461bcd60e51b815260206004820152601760248201527f4d617820616d6f756e74207065722074786e20697320320000000000000000006044820152606401610b71565b600360135460ff1660058111156114d5576114d5612a81565b1461151a5760405162461bcd60e51b8152602060048201526015602482015274283ab13634b19026b4b73a103737ba103634bb329760591b6044820152606401610b71565b6122b88261152b6002546001540390565b6115359190612be2565b11156115795760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610b71565b6115838282612d2a565b3410156115c55760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610b71565b61102e8383611e83565b6115da848484610c3e565b6001600160a01b0383163b1561100d576115f684848484612061565b61100d576040516368d2bf6b60e11b815260040160405180910390fd5b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611672573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116969190612d49565b6116a09190612be2565b6001600160a01b038086166000908152600f60209081526040808320938816835292905220549091506116d69084908390612023565b949350505050565b60606116e982611c8e565b6117355760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610b71565b60126117408361214c565b604051602001611751929190612d62565b6040516020818303038152906040529050919050565b61176f611c34565b600254600154146117c25760405162461bcd60e51b815260206004820152601a60248201527f4f6e6c79206f6e65206d696e7420666f72206465706c6f7965720000000000006044820152606401610b71565b6112df336001611e83565b600061142683838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c019150610f0f9050565b6014548061187e5760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610b71565b600260135460ff16600581111561189757611897612a81565b146118d85760405162461bcd60e51b81526020600482015260116024820152702ba61026b4b73a103737ba103634bb329760791b6044820152606401610b71565b6122b8846118e96002546001540390565b6118f39190612be2565b11156119375760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610b71565b6119418482612d2a565b3410156119835760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610b71565b6119f583838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c019150610f0f9050565b6011546001600160a01b03908116911614611a525760405162461bcd60e51b815260206004820152601b60248201527f596f7520617265206e6f7420696e20574c2077686974656c69737400000000006044820152606401610b71565b60175433600090815260156020526040902054611a70908690612be2565b1115611ad35760405162461bcd60e51b815260206004820152602c60248201527f596f752063616e206f6e6c79206765742032204e4654206f6e2074686520576860448201526b6974656c6973742053616c6560a01b6064820152608401610b71565b600284611adf33611e5a565b611ae99190612be2565b1115611b4a5760405162461bcd60e51b815260206004820152602a60248201527f564950206d696e7465722063616e206f6e6c79206d696e742031204e465420696044820152696e20574c20737461676560b01b6064820152608401610b71565b3360009081526015602052604081208054869290611b69908490612be2565b90915550611b7990508585611e83565b5050505050565b611b88611c34565b6001600160a01b038116611bed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b71565b6111d581611fd3565b611bfe611c34565b806005811115611c1057611c10612a81565b6013805460ff19166001836005811115611c2c57611c2c612a81565b021790555050565b6000546001600160a01b031633146112df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b71565b6000600154821080156109c0575050600090815260056020526040902054600160e01b161590565b80471015611d065760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610b71565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611d53576040519150601f19603f3d011682016040523d82523d6000602084013e611d58565b606091505b505090508061102e5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610b71565b600081600154811015611e1d5760008181526005602052604081205490600160e01b82169003611e1b575b80600003611426575060001901600081815260056020526040902054611dfa565b505b604051636f96cda160e11b815260040160405180910390fd5b6000806000611e45858561219b565b91509150611e5281612209565b509392505050565b6001600160a01b03166000908152600660205260409081902054901c67ffffffffffffffff1690565b6001546000829003611ea85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611f5757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611f1f565b5081600003611f7857604051622e076360e81b815260040160405180910390fd5b60015550505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261102e9084906123bf565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546001600160a01b0384166000908152600b60205260408120549091839161204d9086612d2a565b6120579190612df9565b6116d69190612e1b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612096903390899088908890600401612e2e565b6020604051808303816000875af19250505080156120d1575060408051601f3d908101601f191682019092526120ce91810190612e6b565b60015b61212f573d8080156120ff576040519150601f19603f3d011682016040523d82523d6000602084013e612104565b606091505b508051600003612127576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810191829052607f0190826030600a8206018353600a90045b801561218957600183039250600a81066030018353600a900461216b565b50819003601f19909101908152919050565b60008082516041036121d15760208301516040840151606085015160001a6121c587828585612491565b94509450505050612202565b82516040036121fa57602083015160408401516121ef86838361257e565b935093505050612202565b506000905060025b9250929050565b600081600481111561221d5761221d612a81565b036122255750565b600181600481111561223957612239612a81565b036122865760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610b71565b600281600481111561229a5761229a612a81565b036122e75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610b71565b60038160048111156122fb576122fb612a81565b036123535760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610b71565b600481600481111561236757612367612a81565b036111d55760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610b71565b6000612414826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166125b79092919063ffffffff16565b80519091501561102e57808060200190518101906124329190612e88565b61102e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610b71565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156124c85750600090506003612575565b8460ff16601b141580156124e057508460ff16601c14155b156124f15750600090506004612575565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612545573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661256e57600060019250925050612575565b9150600090505b94509492505050565b6000806001600160ff1b0383168161259b60ff86901c601b612be2565b90506125a987828885612491565b935093505050935093915050565b60606116d68484600085856001600160a01b0385163b6126195760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610b71565b600080866001600160a01b031685876040516126359190612ea5565b60006040518083038185875af1925050503d8060008114612672576040519150601f19603f3d011682016040523d82523d6000602084013e612677565b606091505b5091509150612687828286612692565b979650505050505050565b606083156126a1575081611426565b8251156126b15782518084602001fd5b8160405162461bcd60e51b8152600401610b719190612767565b6000602082840312156126dd57600080fd5b5035919050565b6001600160e01b0319811681146111d557600080fd5b60006020828403121561270c57600080fd5b8135611426816126e4565b60005b8381101561273257818101518382015260200161271a565b50506000910152565b60008151808452612753816020860160208601612717565b601f01601f19169290920160200192915050565b602081526000611426602083018461273b565b6001600160a01b03811681146111d557600080fd5b600080604083850312156127a257600080fd5b82356127ad8161277a565b946020939093013593505050565b6000602082840312156127cd57600080fd5b81356114268161277a565b6000806000606084860312156127ed57600080fd5b83356127f88161277a565b925060208401356128088161277a565b929592945050506040919091013590565b6000806040838503121561282c57600080fd5b82356128378161277a565b915060208301356128478161277a565b809150509250929050565b60008083601f84011261286457600080fd5b50813567ffffffffffffffff81111561287c57600080fd5b60208301915083602082850101111561220257600080fd5b600080600080606085870312156128aa57600080fd5b84356128b58161277a565b935060208501359250604085013567ffffffffffffffff8111156128d857600080fd5b6128e487828801612852565b95989497509550505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612921576129216128f0565b604051601f8501601f19908116603f01168101908282118183101715612949576129496128f0565b8160405280935085815286868601111561296257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561298e57600080fd5b813567ffffffffffffffff8111156129a557600080fd5b8201601f810184136129b657600080fd5b6116d684823560208401612906565b80151581146111d557600080fd5b600080604083850312156129e657600080fd5b82356129f18161277a565b91506020830135612847816129c5565b60008060008060808587031215612a1757600080fd5b8435612a228161277a565b93506020850135612a328161277a565b925060408501359150606085013567ffffffffffffffff811115612a5557600080fd5b8501601f81018713612a6657600080fd5b612a7587823560208401612906565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b6020810160068310612ab957634e487b7160e01b600052602160045260246000fd5b91905290565b60008060208385031215612ad257600080fd5b823567ffffffffffffffff811115612ae957600080fd5b612af585828601612852565b90969095509350505050565b600181811c90821680612b1557607f821691505b602082108103612b3557634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808201808211156109c0576109c0612bcc565b600060018201612c0757612c07612bcc565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f82111561102e57600081815260208120601f850160051c81016020861015612c4b5750805b601f850160051c820191505b81811015610dcf57828155600101612c57565b815167ffffffffffffffff811115612c8457612c846128f0565b612c9881612c928454612b01565b84612c24565b602080601f831160018114612ccd5760008415612cb55750858301515b600019600386901b1c1916600185901b178555610dcf565b600085815260208120601f198616915b82811015612cfc57888601518255948401946001909101908401612cdd565b5085821015612d1a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000816000190483118215151615612d4457612d44612bcc565b500290565b600060208284031215612d5b57600080fd5b5051919050565b6000808454612d7081612b01565b60018281168015612d885760018114612d9d57612dcc565b60ff1984168752821515830287019450612dcc565b8860005260208060002060005b85811015612dc35781548a820152908401908201612daa565b50505082870194505b505050508351612de0818360208801612717565b64173539b7b760d91b9101908152600501949350505050565b600082612e1657634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156109c0576109c0612bcc565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e619083018461273b565b9695505050505050565b600060208284031215612e7d57600080fd5b8151611426816126e4565b600060208284031215612e9a57600080fd5b8151611426816129c5565b60008251612eb7818460208701612717565b919091019291505056fea26469706673582212208c705639f7b8559762310585dec3e8e29117b32e9df08f0b0a15d71ec82f14f864736f6c63430008100033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000d88306b19a660836379dab1845624b3a879989170000000000000000000000006d5cffbcbef82b9e7e302a195ffdb282c188addb00000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000007000000000000000000000000a7f6afa036a752c20fed404cca066bb82b2ff7c40000000000000000000000004ac20a4d023465f15e9c57142a69c25cc7ebd7450000000000000000000000000d3591c2daebc314c2ee667a90e2b7a0903ac0090000000000000000000000009ef3fac71348a5a9b95c721761f8b784927745f000000000000000000000000023c217d17381af4406ee4c3a9aa4d699d011eeb5000000000000000000000000f3173ab0f63b90d80d905464d718c85d62c0caaf000000000000000000000000a532ca2134919add7833c1f3fce0e49be0429bff000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696861366f736e69717978777a6a3478723265777965756436717169637177783737756a6d623274656c74636d33373436337572342f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _team (address[]): 0xa7F6AfA036A752C20FeD404Cca066bB82b2fF7C4,0x4aC20a4D023465F15E9C57142A69C25cC7EBD745,0x0D3591c2DAEbC314c2eE667A90E2b7A0903ac009,0x9EF3fac71348a5a9B95c721761f8B784927745f0,0x23C217d17381af4406Ee4C3A9aa4D699d011EEB5,0xF3173aB0F63B90d80D905464d718c85D62C0CaAf,0xa532ca2134919ADD7833C1f3FcE0e49be0429bfF
Arg [1] : _teamShares (uint256[]): 25,25,20,6,9,9,6
Arg [2] : _signerAddressVIP (address): 0xd88306B19A660836379dAb1845624b3a87998917
Arg [3] : _signerAddressWL (address): 0x6d5cffBcbeF82B9E7E302A195fFDb282C188AddB
Arg [4] : _baseURI (string): ipfs://bafybeiha6osniqyxwzj4xr2ewyeud6qqicqwx77ujmb2teltcm37463ur4/
-----Encoded View---------------
25 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [2] : 000000000000000000000000d88306b19a660836379dab1845624b3a87998917
Arg [3] : 0000000000000000000000006d5cffbcbef82b9e7e302a195ffdb282c188addb
Arg [4] : 00000000000000000000000000000000000000000000000000000000000002a0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [6] : 000000000000000000000000a7f6afa036a752c20fed404cca066bb82b2ff7c4
Arg [7] : 0000000000000000000000004ac20a4d023465f15e9c57142a69c25cc7ebd745
Arg [8] : 0000000000000000000000000d3591c2daebc314c2ee667a90e2b7a0903ac009
Arg [9] : 0000000000000000000000009ef3fac71348a5a9b95c721761f8b784927745f0
Arg [10] : 00000000000000000000000023c217d17381af4406ee4c3a9aa4d699d011eeb5
Arg [11] : 000000000000000000000000f3173ab0f63b90d80d905464d718c85d62c0caaf
Arg [12] : 000000000000000000000000a532ca2134919add7833c1f3fce0e49be0429bff
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [22] : 697066733a2f2f626166796265696861366f736e69717978777a6a3478723265
Arg [23] : 777965756436717169637177783737756a6d623274656c74636d333734363375
Arg [24] : 72342f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
88919:5395:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42029:40;9289:10;42029:40;;;-1:-1:-1;;;;;206:32:1;;;188:51;;42059:9:0;270:2:1;255:18;;248:34;161:18;42029:40:0;;;;;;;88919:5395;;;;;93364:116;;;;;;;;;;-1:-1:-1;93364:116:0;;;;;:::i;:::-;;:::i;:::-;;56107:639;;;;;;;;;;-1:-1:-1;56107:639:0;;;;;:::i;:::-;;:::i;:::-;;;1029:14:1;;1022:22;1004:41;;992:2;977:18;56107:639:0;;;;;;;;57009:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;63492:218::-;;;;;;;;;;-1:-1:-1;63492:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1976:32:1;;;1958:51;;1946:2;1931:18;63492:218:0;1812:203:1;62933:400:0;;;;;;;;;;-1:-1:-1;62933:400:0;;;;;:::i;:::-;;:::i;52760:323::-;;;;;;;;;;-1:-1:-1;53034:12:0;;53018:13;;:28;52760:323;;;2622:25:1;;;2610:2;2595:18;52760:323:0;2476:177:1;44550:453:0;;;;;;;;;;-1:-1:-1;44550:453:0;;;;;:::i;:::-;;:::i;67199:2817::-;;;;;;;;;;-1:-1:-1;67199:2817:0;;;;;:::i;:::-;;:::i;89625:41::-;;;;;;;;;;;;;;;;42160:91;;;;;;;;;;-1:-1:-1;42231:12:0;;42160:91;;43289:135;;;;;;;;;;-1:-1:-1;43289:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;43386:21:0;;;43359:7;43386:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;43289:135;90678:748;;;;;;;;;;-1:-1:-1;90678:748:0;;;;;:::i;:::-;;:::i;70112:185::-;;;;;;;;;;-1:-1:-1;70112:185:0;;;;;:::i;:::-;;:::i;90141:116::-;;;;;;;;;;-1:-1:-1;90141:116:0;;;;;:::i;:::-;;:::i;45271:514::-;;;;;;;;;;-1:-1:-1;45271:514:0;;;;;:::i;:::-;;:::i;90265:114::-;;;;;;;;;;-1:-1:-1;90265:114:0;;;;;:::i;:::-;;:::i;94170:141::-;;;;;;;;;;;;;:::i;58402:152::-;;;;;;;;;;-1:-1:-1;58402:152:0;;;;;:::i;:::-;;:::i;89269:21::-;;;;;;;;;;;;;:::i;93251:105::-;;;;;;;;;;-1:-1:-1;93251:105:0;;;;;:::i;:::-;;:::i;53944:233::-;;;;;;;;;;-1:-1:-1;53944:233:0;;;;;:::i;:::-;;:::i;30032:103::-;;;;;;;;;;;;;:::i;89422:38::-;;;;;;;;;;;;;;;;89583:35;;;;;;;;;;;;;;;;93488:105;;;;;;;;;;-1:-1:-1;93488:105:0;;;;;:::i;:::-;;:::i;90548:122::-;;;;;;;;;;-1:-1:-1;90548:122:0;;;;;:::i;:::-;;:::i;43515:100::-;;;;;;;;;;-1:-1:-1;43515:100:0;;;;;:::i;:::-;;:::i;29384:87::-;;;;;;;;;;-1:-1:-1;29430:7:0;29457:6;-1:-1:-1;;;;;29457:6:0;29384:87;;57185:104;;;;;;;;;;;;;:::i;43011:109::-;;;;;;;;;;-1:-1:-1;43011:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;43094:18:0;43067:7;43094:18;;;:9;:18;;;;;;;43011:109;93043:100;;;;;;;;;;-1:-1:-1;93043:100:0;;;;;:::i;:::-;;:::i;64050:308::-;;;;;;;;;;-1:-1:-1;64050:308:0;;;;;:::i;:::-;;:::i;43705:225::-;;;;;;;;;;-1:-1:-1;43705:225:0;;;;;:::i;:::-;;:::i;91434:523::-;;;;;;:::i;:::-;;:::i;70895:399::-;;;;;;;;;;-1:-1:-1;70895:399:0;;;;;:::i;:::-;;:::i;44090:260::-;;;;;;;;;;-1:-1:-1;44090:260:0;;;;;:::i;:::-;;:::i;93915:247::-;;;;;;;;;;-1:-1:-1;93915:247:0;;;;;:::i;:::-;;:::i;90387:153::-;;;;;;;;;;;;;:::i;89299:23::-;;;;;;;;;;-1:-1:-1;89299:23:0;;;;;;;;;;;;;;;:::i;93601:306::-;;;;;;;;;;-1:-1:-1;93601:306:0;;;;;:::i;:::-;;:::i;42807:105::-;;;;;;;;;;-1:-1:-1;42807:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;42888:16:0;42861:7;42888:16;;;:7;:16;;;;;;;42807:105;89469:70;;;;;;;;;;-1:-1:-1;89469:70:0;;;;;:::i;:::-;;;;;;;;;;;;;;42597:119;;;;;;;;;;-1:-1:-1;42597:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;42682:26:0;42655:7;42682:26;;;:19;:26;;;;;;;42597:119;42345:95;;;;;;;;;;-1:-1:-1;42418:14:0;;42345:95;;64515:164;;;;;;;;;;-1:-1:-1;64515:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;64636:25:0;;;64612:4;64636:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;64515:164;91965:1070;;;;;;:::i;:::-;;:::i;89676:37::-;;;;;;;;;;;;;;;;30290:201;;;;;;;;;;-1:-1:-1;30290:201:0;;;;;:::i;:::-;;:::i;93151:92::-;;;;;;;;;;-1:-1:-1;93151:92:0;;;;;:::i;:::-;;:::i;93364:116::-;29270:13;:11;:13::i;:::-;93438:25:::1;:34:::0;93364:116::o;56107:639::-;56192:4;-1:-1:-1;;;;;;;;;56516:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;56593:25:0;;;56516:102;:179;;;-1:-1:-1;;;;;;;;;;56670:25:0;;;56516:179;56496:199;56107:639;-1:-1:-1;;56107:639:0:o;57009:100::-;57063:13;57096:5;57089:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57009:100;:::o;63492:218::-;63568:7;63593:16;63601:7;63593;:16::i;:::-;63588:64;;63618:34;;-1:-1:-1;;;63618:34:0;;;;;;;;;;;63588:64;-1:-1:-1;63672:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;63672:30:0;;63492:218::o;62933:400::-;63014:13;63030:16;63038:7;63030;:16::i;:::-;63014:32;-1:-1:-1;9289:10:0;-1:-1:-1;;;;;63063:28:0;;;63059:175;;63111:44;63128:5;9289:10;64515:164;:::i;63111:44::-;63106:128;;63183:35;;-1:-1:-1;;;63183:35:0;;;;;;;;;;;63106:128;63246:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;63246:35:0;-1:-1:-1;;;;;63246:35:0;;;;;;;;;63297:28;;63246:24;;63297:28;;;;;;;63003:330;62933:400;;:::o;44550:453::-;-1:-1:-1;;;;;44626:16:0;;44645:1;44626:16;;;:7;:16;;;;;;44618:71;;;;-1:-1:-1;;;44618:71:0;;;;;;;:::i;:::-;;;;;;;;;44702:15;44720:19;44731:7;44720:10;:19::i;:::-;44702:37;;44760:7;44771:1;44760:12;44752:68;;;;-1:-1:-1;;;44752:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;44833:18:0;;;;;;:9;:18;;;;;:29;;44855:7;;44833:18;:29;;44855:7;;44833:29;:::i;:::-;;;;;;;;44891:7;44873:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;44911:35:0;;-1:-1:-1;44929:7:0;44938;44911:17;:35::i;:::-;44962:33;;;-1:-1:-1;;;;;206:32:1;;188:51;;270:2;255:18;;248:34;;;44962:33:0;;161:18:1;44962:33:0;;;;;;;44607:396;44550:453;:::o;67199:2817::-;67333:27;67363;67382:7;67363:18;:27::i;:::-;67333:57;;67448:4;-1:-1:-1;;;;;67407:45:0;67423:19;-1:-1:-1;;;;;67407:45:0;;67403:86;;67461:28;;-1:-1:-1;;;67461:28:0;;;;;;;;;;;67403:86;67503:27;66313:24;;;:15;:24;;;;;66535:26;;9289:10;65938:30;;;-1:-1:-1;;;;;65631:28:0;;65916:20;;;65913:56;67689:180;;67782:43;67799:4;9289:10;64515:164;:::i;67782:43::-;67777:92;;67834:35;;-1:-1:-1;;;67834:35:0;;;;;;;;;;;67777:92;-1:-1:-1;;;;;67886:16:0;;67882:52;;67911:23;;-1:-1:-1;;;67911:23:0;;;;;;;;;;;67882:52;68083:15;68080:160;;;68223:1;68202:19;68195:30;68080:160;-1:-1:-1;;;;;68620:24:0;;;;;;;:18;:24;;;;;;68618:26;;-1:-1:-1;;68618:26:0;;;68689:22;;;;;;;;;68687:24;;-1:-1:-1;68687:24:0;;;61791:11;61766:23;61762:41;61749:63;-1:-1:-1;;;61749:63:0;68982:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;69277:47:0;;:52;;69273:627;;69382:1;69372:11;;69350:19;69505:30;;;:17;:30;;;;;;:35;;69501:384;;69643:13;;69628:11;:28;69624:242;;69790:30;;;;:17;:30;;;;;:52;;;69624:242;69331:569;69273:627;69947:7;69943:2;-1:-1:-1;;;;;69928:27:0;69937:4;-1:-1:-1;;;;;69928:27:0;;;;;;;;;;;69966:42;67322:2694;;;67199:2817;;;:::o;90678:748::-;90793:12;90778:11;;;;:27;;;;;;;;:::i;:::-;;90775:62;;90807:30;;-1:-1:-1;;;90807:30:0;;11044:2:1;90807:30:0;;;11026:21:1;11083:2;11063:18;;;11056:30;-1:-1:-1;;;11102:18:1;;;11095:50;11162:18;;90807:30:0;10842:344:1;90775:62:0;89409:4;90867:9;90851:13;53034:12;;53018:13;;:28;;52760:323;90851:13;:25;;;;:::i;:::-;:35;90848:77;;;90888:37;;-1:-1:-1;;;90888:37:0;;11393:2:1;90888:37:0;;;11375:21:1;11432:2;11412:18;;;11405:30;11471:29;11451:18;;;11444:57;11518:18;;90888:37:0;11191:351:1;90848:77:0;90959:194;91143:9;;90959:194;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;90983:140:0;;11789:66:1;90983:140:0;;;11777:79:1;91095:10:0;11872:12:1;;;11865:28;11909:12;;;-1:-1:-1;90983:140:0;;-1:-1:-1;11547:380:1;90983:140:0;;;;;;;;;;;;;90959:175;;;;;;:183;;:194;;;;:::i;:::-;90939:16;;-1:-1:-1;;;;;90939:16:0;;;:214;;;90936:257;;91155:38;;-1:-1:-1;;;91155:38:0;;12134:2:1;91155:38:0;;;12116:21:1;12173:2;12153:18;;;12146:30;12212;12192:18;;;12185:58;12260:18;;91155:38:0;11932:352:1;90936:257:0;91247:19;;91235:9;91207:25;91221:10;91207:13;:25::i;:::-;:37;;;;:::i;:::-;:59;91204:111;;;91268:47;;-1:-1:-1;;;91268:47:0;;12491:2:1;91268:47:0;;;12473:21:1;12530:2;12510:18;;;12503:30;12569:34;12549:18;;;12542:62;-1:-1:-1;;;12620:18:1;;;12613:35;12665:19;;91268:47:0;12289:401:1;91204:111:0;91392:26;91398:8;91408:9;91392:5;:26::i;:::-;90678:748;;;;:::o;70112:185::-;70250:39;70267:4;70273:2;70277:7;70250:39;;;;;;;;;;;;:16;:39::i;:::-;70112:185;;;:::o;90141:116::-;29270:13;:11;:13::i;:::-;90221:16:::1;:28:::0;;-1:-1:-1;;;;;;90221:28:0::1;-1:-1:-1::0;;;;;90221:28:0;;;::::1;::::0;;;::::1;::::0;;90141:116::o;45271:514::-;-1:-1:-1;;;;;45353:16:0;;45372:1;45353:16;;;:7;:16;;;;;;45345:71;;;;-1:-1:-1;;;45345:71:0;;;;;;;:::i;:::-;45429:15;45447:26;45458:5;45465:7;45447:10;:26::i;:::-;45429:44;;45494:7;45505:1;45494:12;45486:68;;;;-1:-1:-1;;;45486:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;45567:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;;;:41;;45601:7;;45567:21;:41;;45601:7;;45567:41;:::i;:::-;;;;-1:-1:-1;;;;;;;45619:26:0;;;;;;:19;:26;;;;;:37;;45649:7;;45619:26;:37;;45649:7;;45619:37;:::i;:::-;;;;-1:-1:-1;45669:47:0;;-1:-1:-1;45692:5:0;45699:7;45708;45669:22;:47::i;:::-;45732:45;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;45732:45:0;;;;;161:18:1;45732:45:0;;;;;;;45334:451;45271:514;;:::o;90265:114::-;29270:13;:11;:13::i;:::-;90344:15:::1;:27:::0;;-1:-1:-1;;;;;;90344:27:0::1;-1:-1:-1::0;;;;;90344:27:0;;;::::1;::::0;;;::::1;::::0;;90265:114::o;94170:141::-;94216:6;94212:92;94233:10;;94229:1;:14;94212:92;;;94266:26;94282:8;94288:1;94282:5;:8::i;94266:26::-;94246:3;;;;:::i;:::-;;;;94212:92;;;;94170:141::o;58402:152::-;58474:7;58517:27;58536:7;58517:18;:27::i;89269:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;93251:105::-;29270:13;:11;:13::i;:::-;93320:19:::1;:28:::0;93251:105::o;53944:233::-;54016:7;-1:-1:-1;;;;;54040:19:0;;54036:60;;54068:28;;-1:-1:-1;;;54068:28:0;;;;;;;;;;;54036:60;-1:-1:-1;;;;;;54114:25:0;;;;;:18;:25;;;;;;48103:13;54114:55;;53944:233::o;30032:103::-;29270:13;:11;:13::i;:::-;30097:30:::1;30124:1;30097:18;:30::i;:::-;30032:103::o:0;93488:105::-;29270:13;:11;:13::i;:::-;93555:21:::1;:30:::0;93488:105::o;90548:122::-;90613:7;90640:22;90654:7;90640:13;:22::i;43515:100::-;43566:7;43593;43601:5;43593:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;43593:14:0;;43515:100;-1:-1:-1;;43515:100:0:o;57185:104::-;57241:13;57274:7;57267:14;;;;;:::i;93043:100::-;29270:13;:11;:13::i;:::-;93117:7:::1;:18;93127:8:::0;93117:7;:18:::1;:::i;:::-;;93043:100:::0;:::o;64050:308::-;9289:10;-1:-1:-1;;;;;64149:31:0;;;64145:61;;64189:17;;-1:-1:-1;;;64189:17:0;;;;;;;;;;;64145:61;9289:10;64219:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;64219:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;64219:60:0;;;;;;;;;;64295:55;;1004:41:1;;;64219:49:0;;9289:10;64295:55;;977:18:1;64295:55:0;;;;;;;64050:308;;:::o;43705:225::-;43763:7;43783:21;43831:15;42418:14;;;42345:95;43831:15;43807:39;;:21;:39;:::i;:::-;43783:63;;43864:58;43880:7;43889:13;43904:17;43913:7;-1:-1:-1;;;;;43094:18:0;43067:7;43094:18;;;:9;:18;;;;;;;43011:109;43904:17;43864:15;:58::i;:::-;43857:65;43705:225;-1:-1:-1;;;43705:225:0:o;91434:523::-;91533:11;;91558:10;91555:35;;91570:20;;-1:-1:-1;;;91570:20:0;;15373:2:1;91570:20:0;;;15355:21:1;15412:2;15392:18;;;15385:30;-1:-1:-1;;;15431:18:1;;;15424:40;15481:18;;91570:20:0;15171:334:1;91555:35:0;91618:21;;91606:9;:33;91603:71;;;91641:33;;-1:-1:-1;;;91641:33:0;;15712:2:1;91641:33:0;;;15694:21:1;15751:2;15731:18;;;15724:30;15790:25;15770:18;;;15763:53;15833:18;;91641:33:0;15510:347:1;91603:71:0;91705:15;91690:11;;;;:30;;;;;;;;:::i;:::-;;91687:66;;91722:31;;-1:-1:-1;;;91722:31:0;;16064:2:1;91722:31:0;;;16046:21:1;16103:2;16083:18;;;16076:30;-1:-1:-1;;;16122:18:1;;;16115:51;16183:18;;91722:31:0;15862:345:1;91687:66:0;89366:4;91783:9;91767:13;53034:12;;53018:13;;:28;;52760:323;91767:13;:25;;;;:::i;:::-;:38;91764:72;;;91807:29;;-1:-1:-1;;;91807:29:0;;16414:2:1;91807:29:0;;;16396:21:1;16453:2;16433:18;;;16426:30;-1:-1:-1;;;16472:18:1;;;16465:49;16531:18;;91807:29:0;16212:343:1;91764:72:0;91862:17;91870:9;91862:5;:17;:::i;:::-;91850:9;:29;91847:60;;;91881:26;;-1:-1:-1;;;91881:26:0;;16935:2:1;91881:26:0;;;16917:21:1;16974:2;16954:18;;;16947:30;-1:-1:-1;;;16993:18:1;;;16986:46;17049:18;;91881:26:0;16733:340:1;91847:60:0;91923:26;91929:8;91939:9;91923:5;:26::i;70895:399::-;71062:31;71075:4;71081:2;71085:7;71062:12;:31::i;:::-;-1:-1:-1;;;;;71108:14:0;;;:19;71104:183;;71147:56;71178:4;71184:2;71188:7;71197:5;71147:30;:56::i;:::-;71142:145;;71231:40;;-1:-1:-1;;;71231:40:0;;;;;;;;;;;44090:260;-1:-1:-1;;;;;42682:26:0;;44162:7;42682:26;;;:19;:26;;;;;;44162:7;;44206:30;;-1:-1:-1;;;44206:30:0;;44230:4;44206:30;;;1958:51:1;-1:-1:-1;;;;;44206:15:0;;;;;1931:18:1;;44206:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;43386:21:0;;;43359:7;43386:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;44182:77;;-1:-1:-1;44277:65:0;;44293:7;;44182:77;;43864:15;:58::i;44277:65::-;44270:72;44090:260;-1:-1:-1;;;;44090:260:0:o;93915:247::-;93986:13;94020:17;94028:8;94020:7;:17::i;:::-;94012:61;;;;-1:-1:-1;;;94012:61:0;;17469:2:1;94012:61:0;;;17451:21:1;17508:2;17488:18;;;17481:30;17547:33;17527:18;;;17520:61;17598:18;;94012:61:0;17267:355:1;94012:61:0;94115:7;94124:19;94134:8;94124:9;:19::i;:::-;94098:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;94084:70;;93915:247;;;:::o;90387:153::-;29270:13;:11;:13::i;:::-;53034:12;;53018:13;;90445:18;90442:59:::1;;90465:36;::::0;-1:-1:-1;;;90465:36:0;;19021:2:1;90465:36:0::1;::::0;::::1;19003:21:1::0;19060:2;19040:18;;;19033:30;19099:28;19079:18;;;19072:56;19145:18;;90465:36:0::1;18819:350:1::0;90442:59:0::1;90512:20;90518:10;90530:1;90512:5;:20::i;93601:306::-:0;93678:7;93705:194;93889:9;;93705:194;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;93729:140:0;;11789:66:1;93729:140:0;;;11777:79:1;93841:10:0;11872:12:1;;;11865:28;11909:12;;;-1:-1:-1;93729:140:0;;-1:-1:-1;11547:380:1;91965:1070:0;92082:11;;92107:10;92104:35;;92119:20;;-1:-1:-1;;;92119:20:0;;15373:2:1;92119:20:0;;;15355:21:1;15412:2;15392:18;;;15385:30;-1:-1:-1;;;15431:18:1;;;15424:40;15481:18;;92119:20:0;15171:334:1;92104:35:0;92170:18;92155:11;;;;:33;;;;;;;;:::i;:::-;;92152:65;;92190:27;;-1:-1:-1;;;92190:27:0;;19376:2:1;92190:27:0;;;19358:21:1;19415:2;19395:18;;;19388:30;-1:-1:-1;;;19434:18:1;;;19427:47;19491:18;;92190:27:0;19174:341:1;92152:65:0;89366:4;92247:9;92231:13;53034:12;;53018:13;;:28;;52760:323;92231:13;:25;;;;:::i;:::-;:38;92228:72;;;92271:29;;-1:-1:-1;;;92271:29:0;;16414:2:1;92271:29:0;;;16396:21:1;16453:2;16433:18;;;16426:30;-1:-1:-1;;;16472:18:1;;;16465:49;16531:18;;92271:29:0;16212:343:1;92228:72:0;92326:17;92334:9;92326:5;:17;:::i;:::-;92314:9;:29;92311:60;;;92345:26;;-1:-1:-1;;;92345:26:0;;16935:2:1;92345:26:0;;;16917:21:1;16974:2;16954:18;;;16947:30;-1:-1:-1;;;16993:18:1;;;16986:46;17049:18;;92345:26:0;16733:340:1;92311:60:0;92414:194;92598:9;;92414:194;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;92438:140:0;;11789:66:1;92438:140:0;;;11777:79:1;92550:10:0;11872:12:1;;;11865:28;11909:12;;;-1:-1:-1;92438:140:0;;-1:-1:-1;11547:380:1;92414:194:0;92395:15;;-1:-1:-1;;;;;92395:15:0;;;:213;;;92392:255;;92610:37;;-1:-1:-1;;;92610:37:0;;19722:2:1;92610:37:0;;;19704:21:1;19761:2;19741:18;;;19734:30;19800:29;19780:18;;;19773:57;19847:18;;92610:37:0;19520:351:1;92392:255:0;92726:25;;92700:10;92661:50;;;;:38;:50;;;;;;:62;;92714:9;;92661:62;:::i;:::-;:90;92658:149;;;92753:54;;-1:-1:-1;;;92753:54:0;;20078:2:1;92753:54:0;;;20060:21:1;20117:2;20097:18;;;20090:30;20156:34;20136:18;;;20129:62;-1:-1:-1;;;20207:18:1;;;20200:42;20259:19;;92753:54:0;19876:408:1;92658:149:0;92861:1;92849:9;92821:25;92835:10;92821:13;:25::i;:::-;:37;;;;:::i;:::-;:41;92818:98;;;92864:52;;-1:-1:-1;;;92864:52:0;;20491:2:1;92864:52:0;;;20473:21:1;20530:2;20510:18;;;20503:30;20569:34;20549:18;;;20542:62;-1:-1:-1;;;20620:18:1;;;20613:40;20670:19;;92864:52:0;20289:406:1;92818:98:0;92966:10;92927:50;;;;:38;:50;;;;;:63;;92981:9;;92927:50;:63;;92981:9;;92927:63;:::i;:::-;;;;-1:-1:-1;93001:26:0;;-1:-1:-1;93007:8:0;93017:9;93001:5;:26::i;:::-;92058:977;91965:1070;;;;:::o;30290:201::-;29270:13;:11;:13::i;:::-;-1:-1:-1;;;;;30379:22:0;::::1;30371:73;;;::::0;-1:-1:-1;;;30371:73:0;;20902:2:1;30371:73:0::1;::::0;::::1;20884:21:1::0;20941:2;20921:18;;;20914:30;20980:34;20960:18;;;20953:62;-1:-1:-1;;;21031:18:1;;;21024:36;21077:19;;30371:73:0::1;20700:402:1::0;30371:73:0::1;30455:28;30474:8;30455:18;:28::i;93151:92::-:0;29270:13;:11;:13::i;:::-;93229:5:::1;93224:11;;;;;;;;:::i;:::-;93210;:25:::0;;-1:-1:-1;;93210:25:0::1;::::0;;::::1;::::0;::::1;;;;;;:::i;:::-;;;;;;93151:92:::0;:::o;29549:132::-;29430:7;29457:6;-1:-1:-1;;;;;29457:6:0;9289:10;29613:23;29605:68;;;;-1:-1:-1;;;29605:68:0;;21309:2:1;29605:68:0;;;21291:21:1;;;21328:18;;;21321:30;21387:34;21367:18;;;21360:62;21439:18;;29605:68:0;21107:356:1;64937:282:0;65002:4;65092:13;;65082:7;:23;65039:153;;;;-1:-1:-1;;65143:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;65143:44:0;:49;;64937:282::o;3117:317::-;3232:6;3207:21;:31;;3199:73;;;;-1:-1:-1;;;3199:73:0;;21670:2:1;3199:73:0;;;21652:21:1;21709:2;21689:18;;;21682:30;21748:31;21728:18;;;21721:59;21797:18;;3199:73:0;21468:353:1;3199:73:0;3286:12;3304:9;-1:-1:-1;;;;;3304:14:0;3326:6;3304:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3285:52;;;3356:7;3348:78;;;;-1:-1:-1;;;3348:78:0;;22238:2:1;3348:78:0;;;22220:21:1;22277:2;22257:18;;;22250:30;22316:34;22296:18;;;22289:62;22387:28;22367:18;;;22360:56;22433:19;;3348:78:0;22036:422:1;59557:1275:0;59624:7;59659;59761:13;;59754:4;:20;59750:1015;;;59799:14;59816:23;;;:17;:23;;;;;;;-1:-1:-1;;;59905:24:0;;:29;;59901:845;;60570:113;60577:6;60587:1;60577:11;60570:113;;-1:-1:-1;;;60648:6:0;60630:25;;;;:17;:25;;;;;;60570:113;;59901:845;59776:989;59750:1015;60793:31;;-1:-1:-1;;;60793:31:0;;;;;;;;;;;34972:231;35050:7;35071:17;35090:18;35112:27;35123:4;35129:9;35112:10;:27::i;:::-;35070:69;;;;35150:18;35162:5;35150:11;:18::i;:::-;-1:-1:-1;35186:9:0;34972:231;-1:-1:-1;;;34972:231:0:o;54259:178::-;-1:-1:-1;;;;;54348:25:0;54320:7;54348:25;;;:18;:25;;48241:2;54348:25;;;;;:50;;48103:13;54347:82;;54259:178::o;74556:2454::-;74652:13;;74629:20;74680:13;;;74676:44;;74702:18;;-1:-1:-1;;;74702:18:0;;;;;;;;;;;74676:44;-1:-1:-1;;;;;75208:22:0;;;;;;:18;:22;;;;48241:2;75208:22;;;:71;;75246:32;75234:45;;75208:71;;;75522:31;;;:17;:31;;;;;-1:-1:-1;62222:15:0;;62196:24;62192:46;61791:11;61766:23;61762:41;61759:52;61749:63;;75522:173;;75757:23;;;;75522:31;;75208:22;;76256:25;75208:22;;76109:335;76524:1;76510:12;76506:20;76464:346;76565:3;76556:7;76553:16;76464:346;;76783:7;76773:8;76770:1;76743:25;76740:1;76737;76732:59;76618:1;76605:15;76464:346;;;76468:77;76843:8;76855:1;76843:13;76839:45;;76865:19;;-1:-1:-1;;;76865:19:0;;;;;;;;;;;76839:45;76901:13;:19;-1:-1:-1;70112:185:0;;;:::o;22719:211::-;22863:58;;;-1:-1:-1;;;;;206:32:1;;22863:58:0;;;188:51:1;255:18;;;;248:34;;;22863:58:0;;;;;;;;;;161:18:1;;;;22863:58:0;;;;;;;;-1:-1:-1;;;;;22863:58:0;-1:-1:-1;;;22863:58:0;;;22836:86;;22856:5;;22836:19;:86::i;30651:191::-;30725:16;30744:6;;-1:-1:-1;;;;;30761:17:0;;;-1:-1:-1;;;;;;30761:17:0;;;;;;30794:40;;30744:6;;;;;;;30794:40;;30725:16;30794:40;30714:128;30651:191;:::o;45963:248::-;46173:12;;-1:-1:-1;;;;;46153:16:0;;46109:7;46153:16;;;:7;:16;;;;;;46109:7;;46188:15;;46137:32;;:13;:32;:::i;:::-;46136:49;;;;:::i;:::-;:67;;;;:::i;73378:716::-;73562:88;;-1:-1:-1;;;73562:88:0;;73541:4;;-1:-1:-1;;;;;73562:45:0;;;;;:88;;9289:10;;73629:4;;73635:7;;73644:5;;73562:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73562:88:0;;;;;;;;-1:-1:-1;;73562:88:0;;;;;;;;;;;;:::i;:::-;;;73558:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73845:6;:13;73862:1;73845:18;73841:235;;73891:40;;-1:-1:-1;;;73891:40:0;;;;;;;;;;;73841:235;74034:6;74028:13;74019:6;74015:2;74011:15;74004:38;73558:529;-1:-1:-1;;;;;;73721:64:0;-1:-1:-1;;;73721:64:0;;-1:-1:-1;73378:716:0;;;;;;:::o;86910:2002::-;87387:4;87381:11;;87394:3;87377:21;;87472:17;;;;88168:11;;;88047:5;88334:2;88348;88338:13;;88330:22;88168:11;88317:36;88389:2;88379:13;;87939:731;88408:4;87939:731;;;88599:1;88594:3;88590:11;88583:18;;88650:2;88644:4;88640:13;88636:2;88632:22;88627:3;88619:36;88503:2;88493:13;;87939:731;;;-1:-1:-1;88700:13:0;;;-1:-1:-1;;88815:12:0;;;88875:19;;;88815:12;86910:2002;-1:-1:-1;86910:2002:0:o;32766:1404::-;32847:7;32856:12;33081:9;:16;33101:2;33081:22;33077:1086;;33425:4;33410:20;;33404:27;33475:4;33460:20;;33454:27;33533:4;33518:20;;33512:27;33120:9;33504:36;33576:25;33587:4;33504:36;33404:27;33454;33576:10;:25::i;:::-;33569:32;;;;;;;;;33077:1086;33623:9;:16;33643:2;33623:22;33619:544;;33946:4;33931:20;;33925:27;33997:4;33982:20;;33976:27;34039:23;34050:4;33925:27;33976;34039:10;:23::i;:::-;34032:30;;;;;;;;33619:544;-1:-1:-1;34111:1:0;;-1:-1:-1;34115:35:0;33619:544;32766:1404;;;;;:::o;31037:643::-;31115:20;31106:5;:29;;;;;;;;:::i;:::-;;31102:571;;31037:643;:::o;31102:571::-;31213:29;31204:5;:38;;;;;;;;:::i;:::-;;31200:473;;31259:34;;-1:-1:-1;;;31259:34:0;;23768:2:1;31259:34:0;;;23750:21:1;23807:2;23787:18;;;23780:30;23846:26;23826:18;;;23819:54;23890:18;;31259:34:0;23566:348:1;31200:473:0;31324:35;31315:5;:44;;;;;;;;:::i;:::-;;31311:362;;31376:41;;-1:-1:-1;;;31376:41:0;;24121:2:1;31376:41:0;;;24103:21:1;24160:2;24140:18;;;24133:30;24199:33;24179:18;;;24172:61;24250:18;;31376:41:0;23919:355:1;31311:362:0;31448:30;31439:5;:39;;;;;;;;:::i;:::-;;31435:238;;31495:44;;-1:-1:-1;;;31495:44:0;;24481:2:1;31495:44:0;;;24463:21:1;24520:2;24500:18;;;24493:30;24559:34;24539:18;;;24532:62;-1:-1:-1;;;24610:18:1;;;24603:32;24652:19;;31495:44:0;24279:398:1;31435:238:0;31570:30;31561:5;:39;;;;;;;;:::i;:::-;;31557:116;;31617:44;;-1:-1:-1;;;31617:44:0;;24884:2:1;31617:44:0;;;24866:21:1;24923:2;24903:18;;;24896:30;24962:34;24942:18;;;24935:62;-1:-1:-1;;;25013:18:1;;;25006:32;25055:19;;31617:44:0;24682:398:1;25786:716:0;26210:23;26236:69;26264:4;26236:69;;;;;;;;;;;;;;;;;26244:5;-1:-1:-1;;;;;26236:27:0;;;:69;;;;;:::i;:::-;26320:17;;26210:95;;-1:-1:-1;26320:21:0;26316:179;;26417:10;26406:30;;;;;;;;;;;;:::i;:::-;26398:85;;;;-1:-1:-1;;;26398:85:0;;25537:2:1;26398:85:0;;;25519:21:1;25576:2;25556:18;;;25549:30;25615:34;25595:18;;;25588:62;-1:-1:-1;;;25666:18:1;;;25659:40;25716:19;;26398:85:0;25335:406:1;36424:1632:0;36555:7;;37489:66;37476:79;;37472:163;;;-1:-1:-1;37588:1:0;;-1:-1:-1;37592:30:0;37572:51;;37472:163;37649:1;:7;;37654:2;37649:7;;:18;;;;;37660:1;:7;;37665:2;37660:7;;37649:18;37645:102;;;-1:-1:-1;37700:1:0;;-1:-1:-1;37704:30:0;37684:51;;37645:102;37861:24;;;37844:14;37861:24;;;;;;;;;25973:25:1;;;26046:4;26034:17;;26014:18;;;26007:45;;;;26068:18;;;26061:34;;;26111:18;;;26104:34;;;37861:24:0;;25945:19:1;;37861:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37861:24:0;;-1:-1:-1;;37861:24:0;;;-1:-1:-1;;;;;;;37900:20:0;;37896:103;;37953:1;37957:29;37937:50;;;;;;;37896:103;38019:6;-1:-1:-1;38027:20:0;;-1:-1:-1;36424:1632:0;;;;;;;;:::o;35466:344::-;35580:7;;-1:-1:-1;;;;;35626:80:0;;35580:7;35733:25;35749:3;35734:18;;;35756:2;35733:25;:::i;:::-;35717:42;;35777:25;35788:4;35794:1;35797;35800;35777:10;:25::i;:::-;35770:32;;;;;;35466:344;;;;;;:::o;4601:229::-;4738:12;4770:52;4792:6;4800:4;4806:1;4809:12;4738;-1:-1:-1;;;;;2151:19:0;;;6008:60;;;;-1:-1:-1;;;6008:60:0;;26758:2:1;6008:60:0;;;26740:21:1;26797:2;26777:18;;;26770:30;26836:31;26816:18;;;26809:59;26885:18;;6008:60:0;26556:353:1;6008:60:0;6082:12;6096:23;6123:6;-1:-1:-1;;;;;6123:11:0;6142:5;6149:4;6123:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6081:73;;;;6172:51;6189:7;6198:10;6210:12;6172:16;:51::i;:::-;6165:58;5721:510;-1:-1:-1;;;;;;;5721:510:0:o;8407:762::-;8557:12;8586:7;8582:580;;;-1:-1:-1;8617:10:0;8610:17;;8582:580;8731:17;;:21;8727:424;;8979:10;8973:17;9040:15;9027:10;9023:2;9019:19;9012:44;8727:424;9122:12;9115:20;;-1:-1:-1;;;9115:20:0;;;;;;;;:::i;293:180:1:-;352:6;405:2;393:9;384:7;380:23;376:32;373:52;;;421:1;418;411:12;373:52;-1:-1:-1;444:23:1;;293:180;-1:-1:-1;293:180:1:o;478:131::-;-1:-1:-1;;;;;;552:32:1;;542:43;;532:71;;599:1;596;589:12;614:245;672:6;725:2;713:9;704:7;700:23;696:32;693:52;;;741:1;738;731:12;693:52;780:9;767:23;799:30;823:5;799:30;:::i;1056:250::-;1141:1;1151:113;1165:6;1162:1;1159:13;1151:113;;;1241:11;;;1235:18;1222:11;;;1215:39;1187:2;1180:10;1151:113;;;-1:-1:-1;;1298:1:1;1280:16;;1273:27;1056:250::o;1311:271::-;1353:3;1391:5;1385:12;1418:6;1413:3;1406:19;1434:76;1503:6;1496:4;1491:3;1487:14;1480:4;1473:5;1469:16;1434:76;:::i;:::-;1564:2;1543:15;-1:-1:-1;;1539:29:1;1530:39;;;;1571:4;1526:50;;1311:271;-1:-1:-1;;1311:271:1:o;1587:220::-;1736:2;1725:9;1718:21;1699:4;1756:45;1797:2;1786:9;1782:18;1774:6;1756:45;:::i;2020:131::-;-1:-1:-1;;;;;2095:31:1;;2085:42;;2075:70;;2141:1;2138;2131:12;2156:315;2224:6;2232;2285:2;2273:9;2264:7;2260:23;2256:32;2253:52;;;2301:1;2298;2291:12;2253:52;2340:9;2327:23;2359:31;2384:5;2359:31;:::i;:::-;2409:5;2461:2;2446:18;;;;2433:32;;-1:-1:-1;;;2156:315:1:o;2658:255::-;2725:6;2778:2;2766:9;2757:7;2753:23;2749:32;2746:52;;;2794:1;2791;2784:12;2746:52;2833:9;2820:23;2852:31;2877:5;2852:31;:::i;2918:456::-;2995:6;3003;3011;3064:2;3052:9;3043:7;3039:23;3035:32;3032:52;;;3080:1;3077;3070:12;3032:52;3119:9;3106:23;3138:31;3163:5;3138:31;:::i;:::-;3188:5;-1:-1:-1;3245:2:1;3230:18;;3217:32;3258:33;3217:32;3258:33;:::i;:::-;2918:456;;3310:7;;-1:-1:-1;;;3364:2:1;3349:18;;;;3336:32;;2918:456::o;3379:402::-;3461:6;3469;3522:2;3510:9;3501:7;3497:23;3493:32;3490:52;;;3538:1;3535;3528:12;3490:52;3577:9;3564:23;3596:31;3621:5;3596:31;:::i;:::-;3646:5;-1:-1:-1;3703:2:1;3688:18;;3675:32;3716:33;3675:32;3716:33;:::i;:::-;3768:7;3758:17;;;3379:402;;;;;:::o;3786:347::-;3837:8;3847:6;3901:3;3894:4;3886:6;3882:17;3878:27;3868:55;;3919:1;3916;3909:12;3868:55;-1:-1:-1;3942:20:1;;3985:18;3974:30;;3971:50;;;4017:1;4014;4007:12;3971:50;4054:4;4046:6;4042:17;4030:29;;4106:3;4099:4;4090:6;4082;4078:19;4074:30;4071:39;4068:59;;;4123:1;4120;4113:12;4138:612;4226:6;4234;4242;4250;4303:2;4291:9;4282:7;4278:23;4274:32;4271:52;;;4319:1;4316;4309:12;4271:52;4358:9;4345:23;4377:31;4402:5;4377:31;:::i;:::-;4427:5;-1:-1:-1;4479:2:1;4464:18;;4451:32;;-1:-1:-1;4534:2:1;4519:18;;4506:32;4561:18;4550:30;;4547:50;;;4593:1;4590;4583:12;4547:50;4632:58;4682:7;4673:6;4662:9;4658:22;4632:58;:::i;:::-;4138:612;;;;-1:-1:-1;4709:8:1;-1:-1:-1;;;;4138:612:1:o;5007:127::-;5068:10;5063:3;5059:20;5056:1;5049:31;5099:4;5096:1;5089:15;5123:4;5120:1;5113:15;5139:632;5204:5;5234:18;5275:2;5267:6;5264:14;5261:40;;;5281:18;;:::i;:::-;5356:2;5350:9;5324:2;5410:15;;-1:-1:-1;;5406:24:1;;;5432:2;5402:33;5398:42;5386:55;;;5456:18;;;5476:22;;;5453:46;5450:72;;;5502:18;;:::i;:::-;5542:10;5538:2;5531:22;5571:6;5562:15;;5601:6;5593;5586:22;5641:3;5632:6;5627:3;5623:16;5620:25;5617:45;;;5658:1;5655;5648:12;5617:45;5708:6;5703:3;5696:4;5688:6;5684:17;5671:44;5763:1;5756:4;5747:6;5739;5735:19;5731:30;5724:41;;;;5139:632;;;;;:::o;5776:451::-;5845:6;5898:2;5886:9;5877:7;5873:23;5869:32;5866:52;;;5914:1;5911;5904:12;5866:52;5954:9;5941:23;5987:18;5979:6;5976:30;5973:50;;;6019:1;6016;6009:12;5973:50;6042:22;;6095:4;6087:13;;6083:27;-1:-1:-1;6073:55:1;;6124:1;6121;6114:12;6073:55;6147:74;6213:7;6208:2;6195:16;6190:2;6186;6182:11;6147:74;:::i;6232:118::-;6318:5;6311:13;6304:21;6297:5;6294:32;6284:60;;6340:1;6337;6330:12;6355:382;6420:6;6428;6481:2;6469:9;6460:7;6456:23;6452:32;6449:52;;;6497:1;6494;6487:12;6449:52;6536:9;6523:23;6555:31;6580:5;6555:31;:::i;:::-;6605:5;-1:-1:-1;6662:2:1;6647:18;;6634:32;6675:30;6634:32;6675:30;:::i;6742:795::-;6837:6;6845;6853;6861;6914:3;6902:9;6893:7;6889:23;6885:33;6882:53;;;6931:1;6928;6921:12;6882:53;6970:9;6957:23;6989:31;7014:5;6989:31;:::i;:::-;7039:5;-1:-1:-1;7096:2:1;7081:18;;7068:32;7109:33;7068:32;7109:33;:::i;:::-;7161:7;-1:-1:-1;7215:2:1;7200:18;;7187:32;;-1:-1:-1;7270:2:1;7255:18;;7242:32;7297:18;7286:30;;7283:50;;;7329:1;7326;7319:12;7283:50;7352:22;;7405:4;7397:13;;7393:27;-1:-1:-1;7383:55:1;;7434:1;7431;7424:12;7383:55;7457:74;7523:7;7518:2;7505:16;7500:2;7496;7492:11;7457:74;:::i;:::-;7447:84;;;6742:795;;;;;;;:::o;7542:127::-;7603:10;7598:3;7594:20;7591:1;7584:31;7634:4;7631:1;7624:15;7658:4;7655:1;7648:15;7674:337;7815:2;7800:18;;7848:1;7837:13;;7827:144;;7893:10;7888:3;7884:20;7881:1;7874:31;7928:4;7925:1;7918:15;7956:4;7953:1;7946:15;7827:144;7980:25;;;7674:337;:::o;8016:409::-;8086:6;8094;8147:2;8135:9;8126:7;8122:23;8118:32;8115:52;;;8163:1;8160;8153:12;8115:52;8203:9;8190:23;8236:18;8228:6;8225:30;8222:50;;;8268:1;8265;8258:12;8222:50;8307:58;8357:7;8348:6;8337:9;8333:22;8307:58;:::i;:::-;8384:8;;8281:84;;-1:-1:-1;8016:409:1;-1:-1:-1;;;;8016:409:1:o;9089:380::-;9168:1;9164:12;;;;9211;;;9232:61;;9286:4;9278:6;9274:17;9264:27;;9232:61;9339:2;9331:6;9328:14;9308:18;9305:38;9302:161;;9385:10;9380:3;9376:20;9373:1;9366:31;9420:4;9417:1;9410:15;9448:4;9445:1;9438:15;9302:161;;9089:380;;;:::o;9474:402::-;9676:2;9658:21;;;9715:2;9695:18;;;9688:30;9754:34;9749:2;9734:18;;9727:62;-1:-1:-1;;;9820:2:1;9805:18;;9798:36;9866:3;9851:19;;9474:402::o;9881:407::-;10083:2;10065:21;;;10122:2;10102:18;;;10095:30;10161:34;10156:2;10141:18;;10134:62;-1:-1:-1;;;10227:2:1;10212:18;;10205:41;10278:3;10263:19;;9881:407::o;10293:127::-;10354:10;10349:3;10345:20;10342:1;10335:31;10385:4;10382:1;10375:15;10409:4;10406:1;10399:15;10425:125;10490:9;;;10511:10;;;10508:36;;;10524:18;;:::i;12695:135::-;12734:3;12755:17;;;12752:43;;12775:18;;:::i;:::-;-1:-1:-1;12822:1:1;12811:13;;12695:135::o;12835:127::-;12896:10;12891:3;12887:20;12884:1;12877:31;12927:4;12924:1;12917:15;12951:4;12948:1;12941:15;13093:545;13195:2;13190:3;13187:11;13184:448;;;13231:1;13256:5;13252:2;13245:17;13301:4;13297:2;13287:19;13371:2;13359:10;13355:19;13352:1;13348:27;13342:4;13338:38;13407:4;13395:10;13392:20;13389:47;;;-1:-1:-1;13430:4:1;13389:47;13485:2;13480:3;13476:12;13473:1;13469:20;13463:4;13459:31;13449:41;;13540:82;13558:2;13551:5;13548:13;13540:82;;;13603:17;;;13584:1;13573:13;13540:82;;13814:1352;13940:3;13934:10;13967:18;13959:6;13956:30;13953:56;;;13989:18;;:::i;:::-;14018:97;14108:6;14068:38;14100:4;14094:11;14068:38;:::i;:::-;14062:4;14018:97;:::i;:::-;14170:4;;14234:2;14223:14;;14251:1;14246:663;;;;14953:1;14970:6;14967:89;;;-1:-1:-1;15022:19:1;;;15016:26;14967:89;-1:-1:-1;;13771:1:1;13767:11;;;13763:24;13759:29;13749:40;13795:1;13791:11;;;13746:57;15069:81;;14216:944;;14246:663;13040:1;13033:14;;;13077:4;13064:18;;-1:-1:-1;;14282:20:1;;;14400:236;14414:7;14411:1;14408:14;14400:236;;;14503:19;;;14497:26;14482:42;;14595:27;;;;14563:1;14551:14;;;;14430:19;;14400:236;;;14404:3;14664:6;14655:7;14652:19;14649:201;;;14725:19;;;14719:26;-1:-1:-1;;14808:1:1;14804:14;;;14820:3;14800:24;14796:37;14792:42;14777:58;14762:74;;14649:201;-1:-1:-1;;;;;14896:1:1;14880:14;;;14876:22;14863:36;;-1:-1:-1;13814:1352:1:o;16560:168::-;16600:7;16666:1;16662;16658:6;16654:14;16651:1;16648:21;16643:1;16636:9;16629:17;16625:45;16622:71;;;16673:18;;:::i;:::-;-1:-1:-1;16713:9:1;;16560:168::o;17078:184::-;17148:6;17201:2;17189:9;17180:7;17176:23;17172:32;17169:52;;;17217:1;17214;17207:12;17169:52;-1:-1:-1;17240:16:1;;17078:184;-1:-1:-1;17078:184:1:o;17627:1187::-;17904:3;17933:1;17966:6;17960:13;17996:36;18022:9;17996:36;:::i;:::-;18051:1;18068:18;;;18095:133;;;;18242:1;18237:356;;;;18061:532;;18095:133;-1:-1:-1;;18128:24:1;;18116:37;;18201:14;;18194:22;18182:35;;18173:45;;;-1:-1:-1;18095:133:1;;18237:356;18268:6;18265:1;18258:17;18298:4;18343:2;18340:1;18330:16;18368:1;18382:165;18396:6;18393:1;18390:13;18382:165;;;18474:14;;18461:11;;;18454:35;18517:16;;;;18411:10;;18382:165;;;18386:3;;;18576:6;18571:3;18567:16;18560:23;;18061:532;;;;;18624:6;18618:13;18640:68;18699:8;18694:3;18687:4;18679:6;18675:17;18640:68;:::i;:::-;-1:-1:-1;;;18730:18:1;;18757:22;;;18806:1;18795:13;;17627:1187;-1:-1:-1;;;;17627:1187:1:o;22463:217::-;22503:1;22529;22519:132;;22573:10;22568:3;22564:20;22561:1;22554:31;22608:4;22605:1;22598:15;22636:4;22633:1;22626:15;22519:132;-1:-1:-1;22665:9:1;;22463:217::o;22685:128::-;22752:9;;;22773:11;;;22770:37;;;22787:18;;:::i;22818:489::-;-1:-1:-1;;;;;23087:15:1;;;23069:34;;23139:15;;23134:2;23119:18;;23112:43;23186:2;23171:18;;23164:34;;;23234:3;23229:2;23214:18;;23207:31;;;23012:4;;23255:46;;23281:19;;23273:6;23255:46;:::i;:::-;23247:54;22818:489;-1:-1:-1;;;;;;22818:489:1:o;23312:249::-;23381:6;23434:2;23422:9;23413:7;23409:23;23405:32;23402:52;;;23450:1;23447;23440:12;23402:52;23482:9;23476:16;23501:30;23525:5;23501:30;:::i;25085:245::-;25152:6;25205:2;25193:9;25184:7;25180:23;25176:32;25173:52;;;25221:1;25218;25211:12;25173:52;25253:9;25247:16;25272:28;25294:5;25272:28;:::i;26914:287::-;27043:3;27081:6;27075:13;27097:66;27156:6;27151:3;27144:4;27136:6;27132:17;27097:66;:::i;:::-;27179:16;;;;;26914:287;-1:-1:-1;;26914:287:1:o
Swarm Source
ipfs://8c705639f7b8559762310585dec3e8e29117b32e9df08f0b0a15d71ec82f14f8
Loading...
Loading
Loading...
Loading
Net Worth in USD
$51.09
Net Worth in ETH
0.022628
Token Allocations
ETH
60.97%
BNB
39.02%
POL
0.01%
Multichain Portfolio | 34 Chains
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.