Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 53 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Release All | 16356430 | 711 days ago | IN | 0 ETH | 0.00279616 | ||||
Public Sale Mint | 16355989 | 711 days ago | IN | 0.0035 ETH | 0.00182793 | ||||
Public Sale Mint | 16355985 | 711 days ago | IN | 0.0035 ETH | 0.00191617 | ||||
Public Sale Mint | 16355983 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355983 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355983 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355983 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355983 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355983 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355983 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355983 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355983 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355983 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355983 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355983 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355983 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355983 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355983 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355968 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355968 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355968 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355968 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355968 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355968 | 711 days ago | IN | 0.0035 ETH | 0.00140304 | ||||
Public Sale Mint | 16355968 | 711 days ago | IN | 0.0035 ETH | 0.00140304 |
Loading...
Loading
Contract Name:
Pirateer
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-07 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.17; /* * @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); } } 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 1; } /** * @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 Pirateer is Ownable, ERC721A, PaymentSplitter { using Strings for uint; enum Step { Before, PublicSale, SoldOut, Reveal } string public baseURI; Step public sellingStep; uint private constant MAX_PUBLIC = 878; uint public publicSalePrice = 0.0035 ether; mapping(address => uint) public mintedAmountNFTsperWalletPublicSale; uint public maxMintAmountPerPublic = 3; uint private teamLength; constructor(address[] memory _team, uint[] memory _teamShares, string memory _baseURI) ERC721A("Pirateers", "AHOY") PaymentSplitter(_team, _teamShares) { baseURI = _baseURI; teamLength = _team.length; } function mintForOpensea() external onlyOwner{ if(totalSupply() != 0) revert("Only 8 mint for deployer"); _mint(msg.sender, 8); } function publicSaleMint(uint _quantity) external payable { uint price = publicSalePrice; if(price <= 0) revert("Price is 0"); if(sellingStep != Step.PublicSale) revert("Public Mint not live."); if(totalSupply() + _quantity > (MAX_PUBLIC)) revert("Max supply exceeded for public exceeded"); if(msg.value < price * _quantity) revert("Not enough funds"); if(mintedAmountNFTsperWalletPublicSale[msg.sender] + _quantity > maxMintAmountPerPublic) revert("Max exceeded"); mintedAmountNFTsperWalletPublicSale[msg.sender] += _quantity; _mint(msg.sender, _quantity); } function currentState() external view returns (Step, uint, uint) { return (sellingStep, publicSalePrice, maxMintAmountPerPublic); } function changePublicSalePrice(uint256 new_price) external onlyOwner{ publicSalePrice = new_price; } function setBaseUri(string memory _baseURI) external onlyOwner { baseURI = _baseURI; } function setStep(uint _step) external onlyOwner { sellingStep = Step(_step); } function setMaxMintPerPublic(uint amount) external onlyOwner{ maxMintAmountPerPublic = amount; } function getNumberMinted(address account) external view returns (uint256) { return _numberMinted(account); } function getNumberPublicMinted(address account) external view returns (uint256) { return mintedAmountNFTsperWalletPublicSale[account]; } 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
[{"inputs":[{"internalType":"address[]","name":"_team","type":"address[]"},{"internalType":"uint256[]","name":"_teamShares","type":"uint256[]"},{"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":"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":"uint256","name":"new_price","type":"uint256"}],"name":"changePublicSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentState","outputs":[{"internalType":"enum Pirateer.Step","name":"","type":"uint8"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNumberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNumberPublicMinted","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":"maxMintAmountPerPublic","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":"mintedAmountNFTsperWalletPublicSale","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":"uint256","name":"_quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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 Pirateer.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":"setMaxMintPerPublic","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":"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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052660c6f3b40b6c00060125560036014553480156200002157600080fd5b5060405162002ca338038062002ca38339810160408190526200004491620005c6565b82826040518060400160405280600981526020016850697261746565727360b81b8152506040518060400160405280600481526020016341484f5960e01b8152506200009f620000996200021560201b60201c565b62000219565b6003620000ad83826200075a565b506004620000bc82826200075a565b506001805550508051825114620001355760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620001885760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200012c565b60005b8251811015620001f457620001df838281518110620001ae57620001ae62000826565b6020026020010151838381518110620001cb57620001cb62000826565b60200260200101516200026960201b60201c565b80620001eb8162000852565b9150506200018b565b506010915062000207905082826200075a565b50509051601555506200088a565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620002d65760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200012c565b60008111620003285760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200012c565b6001600160a01b0382166000908152600b602052604090205415620003a45760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200012c565b600d8054600181019091557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0384169081179091556000908152600b602052604090208190556009546200040e9082906200086e565b600955604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000498576200049862000457565b604052919050565b60006001600160401b03821115620004bc57620004bc62000457565b5060051b60200190565b600082601f830112620004d857600080fd5b81516020620004f1620004eb83620004a0565b6200046d565b82815260059290921b840181019181810190868411156200051157600080fd5b8286015b848110156200052e578051835291830191830162000515565b509695505050505050565b600082601f8301126200054b57600080fd5b81516001600160401b0381111562000567576200056762000457565b60206200057d601f8301601f191682016200046d565b82815285828487010111156200059257600080fd5b60005b83811015620005b257858101830151828201840152820162000595565b506000928101909101919091529392505050565b600080600060608486031215620005dc57600080fd5b83516001600160401b0380821115620005f457600080fd5b818601915086601f8301126200060957600080fd5b815160206200061c620004eb83620004a0565b82815260059290921b8401810191818101908a8411156200063c57600080fd5b948201945b83861015620006735785516001600160a01b0381168114620006635760008081fd5b8252948201949082019062000641565b918901519197509093505050808211156200068d57600080fd5b6200069b87838801620004c6565b93506040860151915080821115620006b257600080fd5b50620006c18682870162000539565b9150509250925092565b600181811c90821680620006e057607f821691505b6020821081036200070157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200075557600081815260208120601f850160051c81016020861015620007305750805b601f850160051c820191505b8181101562000751578281556001016200073c565b5050505b505050565b81516001600160401b0381111562000776576200077662000457565b6200078e81620007878454620006cb565b8462000707565b602080601f831160018114620007c65760008415620007ad5750858301515b600019600386901b1c1916600185901b17855562000751565b600085815260208120601f198616915b82811015620007f757888601518255948401946001909101908401620007d6565b5085821015620008165787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016200086757620008676200083c565b5060010190565b808201808211156200088457620008846200083c565b92915050565b612409806200089a6000396000f3fe6080604052600436106102605760003560e01c80638a59a7fd11610144578063b9bbe00a116100b6578063ce7c2ac21161007a578063ce7c2ac21461078f578063d79779b2146107c5578063e33b7de3146107fb578063e985e9c514610810578063f2fde38b14610859578063f8dcbddb1461087957600080fd5b8063b9bbe00a146106e6578063c45ac05014610713578063c87b56dd14610733578063c893575a14610753578063cbccefb21461076857600080fd5b80639b6860c8116101085780639b6860c81461063d578063a0bcfc7f14610653578063a22cb46514610673578063a3f8eace14610693578063b3ab66b0146106b3578063b88d4fde146106c657600080fd5b80638a59a7fd146105945780638b83209b146105b45780638da5cb5b146105d457806395d89b41146105f25780639852595c1461060757600080fd5b806342842e0e116101dd5780635be7fde8116101a15780635be7fde8146104df5780636352211e146104f45780636c0360eb1461051457806370a0823114610529578063715018a6146105495780637f16053a1461055e57600080fd5b806342842e0e1461044957806348b750441461046957806349e949e7146104895780634ef22ea9146104a95780634fda7285146104bf57600080fd5b806318160ddd1161022457806318160ddd1461038757806319165587146103ae57806323b872dd146103ce5780633a98ef39146103ee578063406072a91461040357600080fd5b806301ffc9a7146102ae57806306fdde03146102e3578063081812fc14610305578063095ea7b31461033d5780630c3f6acf1461035f57600080fd5b366102a9577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156102ba57600080fd5b506102ce6102c9366004611cb4565b610899565b60405190151581526020015b60405180910390f35b3480156102ef57600080fd5b506102f86108eb565b6040516102da9190611d21565b34801561031157600080fd5b50610325610320366004611d34565b61097d565b6040516001600160a01b0390911681526020016102da565b34801561034957600080fd5b5061035d610358366004611d62565b6109c1565b005b34801561036b57600080fd5b506011546012546014546040516102da9360ff16929190611dc6565b34801561039357600080fd5b5060025460015403600019015b6040519081526020016102da565b3480156103ba57600080fd5b5061035d6103c9366004611de5565b610a61565b3480156103da57600080fd5b5061035d6103e9366004611e02565b610b63565b3480156103fa57600080fd5b506009546103a0565b34801561040f57600080fd5b506103a061041e366004611e43565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b34801561045557600080fd5b5061035d610464366004611e02565b610cfc565b34801561047557600080fd5b5061035d610484366004611e43565b610d1c565b34801561049557600080fd5b5061035d6104a4366004611d34565b610e3f565b3480156104b557600080fd5b506103a060145481565b3480156104cb57600080fd5b5061035d6104da366004611d34565b610e4c565b3480156104eb57600080fd5b5061035d610e59565b34801561050057600080fd5b5061032561050f366004611d34565b610e87565b34801561052057600080fd5b506102f8610e92565b34801561053557600080fd5b506103a0610544366004611de5565b610f20565b34801561055557600080fd5b5061035d610f6f565b34801561056a57600080fd5b506103a0610579366004611de5565b6001600160a01b031660009081526013602052604090205490565b3480156105a057600080fd5b506103a06105af366004611de5565b610f83565b3480156105c057600080fd5b506103256105cf366004611d34565b610fae565b3480156105e057600080fd5b506000546001600160a01b0316610325565b3480156105fe57600080fd5b506102f8610fde565b34801561061357600080fd5b506103a0610622366004611de5565b6001600160a01b03166000908152600c602052604090205490565b34801561064957600080fd5b506103a060125481565b34801561065f57600080fd5b5061035d61066e366004611f08565b610fed565b34801561067f57600080fd5b5061035d61068e366004611f5f565b611005565b34801561069f57600080fd5b506103a06106ae366004611de5565b61109a565b61035d6106c1366004611d34565b6110e2565b3480156106d257600080fd5b5061035d6106e1366004611f8d565b6112cc565b3480156106f257600080fd5b506103a0610701366004611de5565b60136020526000908152604090205481565b34801561071f57600080fd5b506103a061072e366004611e43565b611316565b34801561073f57600080fd5b506102f861074e366004611d34565b6113e1565b34801561075f57600080fd5b5061035d61146a565b34801561077457600080fd5b506011546107829060ff1681565b6040516102da919061200d565b34801561079b57600080fd5b506103a06107aa366004611de5565b6001600160a01b03166000908152600b602052604090205490565b3480156107d157600080fd5b506103a06107e0366004611de5565b6001600160a01b03166000908152600e602052604090205490565b34801561080757600080fd5b50600a546103a0565b34801561081c57600080fd5b506102ce61082b366004611e43565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561086557600080fd5b5061035d610874366004611de5565b6114d5565b34801561088557600080fd5b5061035d610894366004611d34565b61154b565b60006301ffc9a760e01b6001600160e01b0319831614806108ca57506380ac58cd60e01b6001600160e01b03198316145b806108e55750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546108fa9061201b565b80601f01602080910402602001604051908101604052809291908181526020018280546109269061201b565b80156109735780601f1061094857610100808354040283529160200191610973565b820191906000526020600020905b81548152906001019060200180831161095657829003601f168201915b5050505050905090565b600061098882611589565b6109a5576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006109cc82610e87565b9050336001600160a01b03821614610a05576109e8813361082b565b610a05576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001600160a01b0381166000908152600b6020526040902054610a9f5760405162461bcd60e51b8152600401610a9690612055565b60405180910390fd5b6000610aaa8261109a565b905080600003610acc5760405162461bcd60e51b8152600401610a969061209b565b6001600160a01b0382166000908152600c602052604081208054839290610af49084906120fc565b9250508190555080600a6000828254610b0d91906120fc565b90915550610b1d905082826115be565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b6000610b6e826116d7565b9050836001600160a01b0316816001600160a01b031614610ba15760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610bee57610bd1863361082b565b610bee57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610c1557604051633a954ecd60e21b815260040160405180910390fd5b8015610c2057600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610cb257600184016000818152600560205260408120549003610cb0576001548114610cb05760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610d17838383604051806020016040528060008152506112cc565b505050565b6001600160a01b0381166000908152600b6020526040902054610d515760405162461bcd60e51b8152600401610a9690612055565b6000610d5d8383611316565b905080600003610d7f5760405162461bcd60e51b8152600401610a969061209b565b6001600160a01b038084166000908152600f6020908152604080832093861683529290529081208054839290610db69084906120fc565b90915550506001600160a01b0383166000908152600e602052604081208054839290610de39084906120fc565b90915550610df49050838383611746565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b610e47611798565b601455565b610e54611798565b601255565b60005b601554811015610e8457610e726103c982610fae565b80610e7c8161210f565b915050610e5c565b50565b60006108e5826116d7565b60108054610e9f9061201b565b80601f0160208091040260200160405190810160405280929190818152602001828054610ecb9061201b565b8015610f185780601f10610eed57610100808354040283529160200191610f18565b820191906000526020600020905b815481529060010190602001808311610efb57829003601f168201915b505050505081565b60006001600160a01b038216610f49576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610f77611798565b610f8160006117f2565b565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c166108e5565b6000600d8281548110610fc357610fc3612128565b6000918252602090912001546001600160a01b031692915050565b6060600480546108fa9061201b565b610ff5611798565b60106110018282612184565b5050565b336001600160a01b0383160361102e5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000806110a6600a5490565b6110b090476120fc565b90506110db83826110d6866001600160a01b03166000908152600c602052604090205490565b611842565b9392505050565b6012548061111f5760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610a96565b600160115460ff16600381111561113857611138611d8e565b1461117d5760405162461bcd60e51b8152602060048201526015602482015274283ab13634b19026b4b73a103737ba103634bb329760591b6044820152606401610a96565b60025460015461036e918491036000190161119891906120fc565b11156111f65760405162461bcd60e51b815260206004820152602760248201527f4d617820737570706c7920657863656564656420666f72207075626c696320656044820152661e18d95959195960ca1b6064820152608401610a96565b6112008282612244565b3410156112425760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610a96565b601454336000908152601360205260409020546112609084906120fc565b111561129d5760405162461bcd60e51b815260206004820152600c60248201526b13585e08195e18d95959195960a21b6044820152606401610a96565b33600090815260136020526040812080548492906112bc9084906120fc565b9091555061100190503383611880565b6112d7848484610b63565b6001600160a01b0383163b15611310576112f38484848461197e565b611310576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611375573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611399919061225b565b6113a391906120fc565b6001600160a01b038086166000908152600f60209081526040808320938816835292905220549091506113d99084908390611842565b949350505050565b60606113ec82611589565b6114385760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610a96565b601061144383611a69565b604051602001611454929190612274565b6040516020818303038152906040529050919050565b611472611798565b6002546001540360001901156114ca5760405162461bcd60e51b815260206004820152601860248201527f4f6e6c792038206d696e7420666f72206465706c6f79657200000000000000006044820152606401610a96565b610f81336008611880565b6114dd611798565b6001600160a01b0381166115425760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a96565b610e84816117f2565b611553611798565b80600381111561156557611565611d8e565b6011805460ff1916600183600381111561158157611581611d8e565b021790555050565b60008160011115801561159d575060015482105b80156108e5575050600090815260056020526040902054600160e01b161590565b8047101561160e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a96565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461165b576040519150601f19603f3d011682016040523d82523d6000602084013e611660565b606091505b5050905080610d175760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a96565b6000818060011161172d5760015481101561172d5760008181526005602052604081205490600160e01b8216900361172b575b806000036110db57506000190160008181526005602052604090205461170a565b505b604051636f96cda160e11b815260040160405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610d17908490611ab8565b6000546001600160a01b03163314610f815760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a96565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546001600160a01b0384166000908152600b60205260408120549091839161186c9086612244565b611876919061230b565b6113d9919061232d565b60015460008290036118a55760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461195457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161191c565b508160000361197557604051622e076360e81b815260040160405180910390fd5b60015550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119b3903390899088908890600401612340565b6020604051808303816000875af19250505080156119ee575060408051601f3d908101601f191682019092526119eb9181019061237d565b60015b611a4c573d808015611a1c576040519150601f19603f3d011682016040523d82523d6000602084013e611a21565b606091505b508051600003611a44576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810191829052607f0190826030600a8206018353600a90045b8015611aa657600183039250600a81066030018353600a9004611a88565b50819003601f19909101908152919050565b6000611b0d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611b8a9092919063ffffffff16565b805190915015610d175780806020019051810190611b2b919061239a565b610d175760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a96565b60606113d98484600085856001600160a01b0385163b611bec5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a96565b600080866001600160a01b03168587604051611c0891906123b7565b60006040518083038185875af1925050503d8060008114611c45576040519150601f19603f3d011682016040523d82523d6000602084013e611c4a565b606091505b5091509150611c5a828286611c65565b979650505050505050565b60608315611c745750816110db565b825115611c845782518084602001fd5b8160405162461bcd60e51b8152600401610a969190611d21565b6001600160e01b031981168114610e8457600080fd5b600060208284031215611cc657600080fd5b81356110db81611c9e565b60005b83811015611cec578181015183820152602001611cd4565b50506000910152565b60008151808452611d0d816020860160208601611cd1565b601f01601f19169290920160200192915050565b6020815260006110db6020830184611cf5565b600060208284031215611d4657600080fd5b5035919050565b6001600160a01b0381168114610e8457600080fd5b60008060408385031215611d7557600080fd5b8235611d8081611d4d565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b60048110611dc257634e487b7160e01b600052602160045260246000fd5b9052565b60608101611dd48286611da4565b602082019390935260400152919050565b600060208284031215611df757600080fd5b81356110db81611d4d565b600080600060608486031215611e1757600080fd5b8335611e2281611d4d565b92506020840135611e3281611d4d565b929592945050506040919091013590565b60008060408385031215611e5657600080fd5b8235611e6181611d4d565b91506020830135611e7181611d4d565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611ead57611ead611e7c565b604051601f8501601f19908116603f01168101908282118183101715611ed557611ed5611e7c565b81604052809350858152868686011115611eee57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f1a57600080fd5b813567ffffffffffffffff811115611f3157600080fd5b8201601f81018413611f4257600080fd5b6113d984823560208401611e92565b8015158114610e8457600080fd5b60008060408385031215611f7257600080fd5b8235611f7d81611d4d565b91506020830135611e7181611f51565b60008060008060808587031215611fa357600080fd5b8435611fae81611d4d565b93506020850135611fbe81611d4d565b925060408501359150606085013567ffffffffffffffff811115611fe157600080fd5b8501601f81018713611ff257600080fd5b61200187823560208401611e92565b91505092959194509250565b602081016108e58284611da4565b600181811c9082168061202f57607f821691505b60208210810361204f57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808201808211156108e5576108e56120e6565b600060018201612121576121216120e6565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f821115610d1757600081815260208120601f850160051c810160208610156121655750805b601f850160051c820191505b81811015610cf457828155600101612171565b815167ffffffffffffffff81111561219e5761219e611e7c565b6121b2816121ac845461201b565b8461213e565b602080601f8311600181146121e757600084156121cf5750858301515b600019600386901b1c1916600185901b178555610cf4565b600085815260208120601f198616915b82811015612216578886015182559484019460019091019084016121f7565b50858210156122345787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820281158282048414176108e5576108e56120e6565b60006020828403121561226d57600080fd5b5051919050565b60008084546122828161201b565b6001828116801561229a57600181146122af576122de565b60ff19841687528215158302870194506122de565b8860005260208060002060005b858110156122d55781548a8201529084019082016122bc565b50505082870194505b5050505083516122f2818360208801611cd1565b64173539b7b760d91b9101908152600501949350505050565b60008261232857634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156108e5576108e56120e6565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061237390830184611cf5565b9695505050505050565b60006020828403121561238f57600080fd5b81516110db81611c9e565b6000602082840312156123ac57600080fd5b81516110db81611f51565b600082516123c9818460208701611cd1565b919091019291505056fea264697066735822122070fcb4864275d5e5463e0fc3930648c0ae6cc98fb58ff35518db6c1f7513a8f964736f6c63430008110033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000020000000000000000000000005eae9fa44babcbc2263efb7f6c9e24ff9fd861f60000000000000000000000002fa4920db09041e6592a8c01668866adbfcf400c0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000009600000000000000000000000000000000000000000000000000000000000003520000000000000000000000000000000000000000000000000000000000000007697066733a2f2f00000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102605760003560e01c80638a59a7fd11610144578063b9bbe00a116100b6578063ce7c2ac21161007a578063ce7c2ac21461078f578063d79779b2146107c5578063e33b7de3146107fb578063e985e9c514610810578063f2fde38b14610859578063f8dcbddb1461087957600080fd5b8063b9bbe00a146106e6578063c45ac05014610713578063c87b56dd14610733578063c893575a14610753578063cbccefb21461076857600080fd5b80639b6860c8116101085780639b6860c81461063d578063a0bcfc7f14610653578063a22cb46514610673578063a3f8eace14610693578063b3ab66b0146106b3578063b88d4fde146106c657600080fd5b80638a59a7fd146105945780638b83209b146105b45780638da5cb5b146105d457806395d89b41146105f25780639852595c1461060757600080fd5b806342842e0e116101dd5780635be7fde8116101a15780635be7fde8146104df5780636352211e146104f45780636c0360eb1461051457806370a0823114610529578063715018a6146105495780637f16053a1461055e57600080fd5b806342842e0e1461044957806348b750441461046957806349e949e7146104895780634ef22ea9146104a95780634fda7285146104bf57600080fd5b806318160ddd1161022457806318160ddd1461038757806319165587146103ae57806323b872dd146103ce5780633a98ef39146103ee578063406072a91461040357600080fd5b806301ffc9a7146102ae57806306fdde03146102e3578063081812fc14610305578063095ea7b31461033d5780630c3f6acf1461035f57600080fd5b366102a9577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156102ba57600080fd5b506102ce6102c9366004611cb4565b610899565b60405190151581526020015b60405180910390f35b3480156102ef57600080fd5b506102f86108eb565b6040516102da9190611d21565b34801561031157600080fd5b50610325610320366004611d34565b61097d565b6040516001600160a01b0390911681526020016102da565b34801561034957600080fd5b5061035d610358366004611d62565b6109c1565b005b34801561036b57600080fd5b506011546012546014546040516102da9360ff16929190611dc6565b34801561039357600080fd5b5060025460015403600019015b6040519081526020016102da565b3480156103ba57600080fd5b5061035d6103c9366004611de5565b610a61565b3480156103da57600080fd5b5061035d6103e9366004611e02565b610b63565b3480156103fa57600080fd5b506009546103a0565b34801561040f57600080fd5b506103a061041e366004611e43565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b34801561045557600080fd5b5061035d610464366004611e02565b610cfc565b34801561047557600080fd5b5061035d610484366004611e43565b610d1c565b34801561049557600080fd5b5061035d6104a4366004611d34565b610e3f565b3480156104b557600080fd5b506103a060145481565b3480156104cb57600080fd5b5061035d6104da366004611d34565b610e4c565b3480156104eb57600080fd5b5061035d610e59565b34801561050057600080fd5b5061032561050f366004611d34565b610e87565b34801561052057600080fd5b506102f8610e92565b34801561053557600080fd5b506103a0610544366004611de5565b610f20565b34801561055557600080fd5b5061035d610f6f565b34801561056a57600080fd5b506103a0610579366004611de5565b6001600160a01b031660009081526013602052604090205490565b3480156105a057600080fd5b506103a06105af366004611de5565b610f83565b3480156105c057600080fd5b506103256105cf366004611d34565b610fae565b3480156105e057600080fd5b506000546001600160a01b0316610325565b3480156105fe57600080fd5b506102f8610fde565b34801561061357600080fd5b506103a0610622366004611de5565b6001600160a01b03166000908152600c602052604090205490565b34801561064957600080fd5b506103a060125481565b34801561065f57600080fd5b5061035d61066e366004611f08565b610fed565b34801561067f57600080fd5b5061035d61068e366004611f5f565b611005565b34801561069f57600080fd5b506103a06106ae366004611de5565b61109a565b61035d6106c1366004611d34565b6110e2565b3480156106d257600080fd5b5061035d6106e1366004611f8d565b6112cc565b3480156106f257600080fd5b506103a0610701366004611de5565b60136020526000908152604090205481565b34801561071f57600080fd5b506103a061072e366004611e43565b611316565b34801561073f57600080fd5b506102f861074e366004611d34565b6113e1565b34801561075f57600080fd5b5061035d61146a565b34801561077457600080fd5b506011546107829060ff1681565b6040516102da919061200d565b34801561079b57600080fd5b506103a06107aa366004611de5565b6001600160a01b03166000908152600b602052604090205490565b3480156107d157600080fd5b506103a06107e0366004611de5565b6001600160a01b03166000908152600e602052604090205490565b34801561080757600080fd5b50600a546103a0565b34801561081c57600080fd5b506102ce61082b366004611e43565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561086557600080fd5b5061035d610874366004611de5565b6114d5565b34801561088557600080fd5b5061035d610894366004611d34565b61154b565b60006301ffc9a760e01b6001600160e01b0319831614806108ca57506380ac58cd60e01b6001600160e01b03198316145b806108e55750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546108fa9061201b565b80601f01602080910402602001604051908101604052809291908181526020018280546109269061201b565b80156109735780601f1061094857610100808354040283529160200191610973565b820191906000526020600020905b81548152906001019060200180831161095657829003601f168201915b5050505050905090565b600061098882611589565b6109a5576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006109cc82610e87565b9050336001600160a01b03821614610a05576109e8813361082b565b610a05576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001600160a01b0381166000908152600b6020526040902054610a9f5760405162461bcd60e51b8152600401610a9690612055565b60405180910390fd5b6000610aaa8261109a565b905080600003610acc5760405162461bcd60e51b8152600401610a969061209b565b6001600160a01b0382166000908152600c602052604081208054839290610af49084906120fc565b9250508190555080600a6000828254610b0d91906120fc565b90915550610b1d905082826115be565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b6000610b6e826116d7565b9050836001600160a01b0316816001600160a01b031614610ba15760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610bee57610bd1863361082b565b610bee57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610c1557604051633a954ecd60e21b815260040160405180910390fd5b8015610c2057600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610cb257600184016000818152600560205260408120549003610cb0576001548114610cb05760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610d17838383604051806020016040528060008152506112cc565b505050565b6001600160a01b0381166000908152600b6020526040902054610d515760405162461bcd60e51b8152600401610a9690612055565b6000610d5d8383611316565b905080600003610d7f5760405162461bcd60e51b8152600401610a969061209b565b6001600160a01b038084166000908152600f6020908152604080832093861683529290529081208054839290610db69084906120fc565b90915550506001600160a01b0383166000908152600e602052604081208054839290610de39084906120fc565b90915550610df49050838383611746565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b610e47611798565b601455565b610e54611798565b601255565b60005b601554811015610e8457610e726103c982610fae565b80610e7c8161210f565b915050610e5c565b50565b60006108e5826116d7565b60108054610e9f9061201b565b80601f0160208091040260200160405190810160405280929190818152602001828054610ecb9061201b565b8015610f185780601f10610eed57610100808354040283529160200191610f18565b820191906000526020600020905b815481529060010190602001808311610efb57829003601f168201915b505050505081565b60006001600160a01b038216610f49576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610f77611798565b610f8160006117f2565b565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c166108e5565b6000600d8281548110610fc357610fc3612128565b6000918252602090912001546001600160a01b031692915050565b6060600480546108fa9061201b565b610ff5611798565b60106110018282612184565b5050565b336001600160a01b0383160361102e5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000806110a6600a5490565b6110b090476120fc565b90506110db83826110d6866001600160a01b03166000908152600c602052604090205490565b611842565b9392505050565b6012548061111f5760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610a96565b600160115460ff16600381111561113857611138611d8e565b1461117d5760405162461bcd60e51b8152602060048201526015602482015274283ab13634b19026b4b73a103737ba103634bb329760591b6044820152606401610a96565b60025460015461036e918491036000190161119891906120fc565b11156111f65760405162461bcd60e51b815260206004820152602760248201527f4d617820737570706c7920657863656564656420666f72207075626c696320656044820152661e18d95959195960ca1b6064820152608401610a96565b6112008282612244565b3410156112425760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610a96565b601454336000908152601360205260409020546112609084906120fc565b111561129d5760405162461bcd60e51b815260206004820152600c60248201526b13585e08195e18d95959195960a21b6044820152606401610a96565b33600090815260136020526040812080548492906112bc9084906120fc565b9091555061100190503383611880565b6112d7848484610b63565b6001600160a01b0383163b15611310576112f38484848461197e565b611310576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611375573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611399919061225b565b6113a391906120fc565b6001600160a01b038086166000908152600f60209081526040808320938816835292905220549091506113d99084908390611842565b949350505050565b60606113ec82611589565b6114385760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610a96565b601061144383611a69565b604051602001611454929190612274565b6040516020818303038152906040529050919050565b611472611798565b6002546001540360001901156114ca5760405162461bcd60e51b815260206004820152601860248201527f4f6e6c792038206d696e7420666f72206465706c6f79657200000000000000006044820152606401610a96565b610f81336008611880565b6114dd611798565b6001600160a01b0381166115425760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a96565b610e84816117f2565b611553611798565b80600381111561156557611565611d8e565b6011805460ff1916600183600381111561158157611581611d8e565b021790555050565b60008160011115801561159d575060015482105b80156108e5575050600090815260056020526040902054600160e01b161590565b8047101561160e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a96565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461165b576040519150601f19603f3d011682016040523d82523d6000602084013e611660565b606091505b5050905080610d175760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a96565b6000818060011161172d5760015481101561172d5760008181526005602052604081205490600160e01b8216900361172b575b806000036110db57506000190160008181526005602052604090205461170a565b505b604051636f96cda160e11b815260040160405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610d17908490611ab8565b6000546001600160a01b03163314610f815760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a96565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546001600160a01b0384166000908152600b60205260408120549091839161186c9086612244565b611876919061230b565b6113d9919061232d565b60015460008290036118a55760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461195457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161191c565b508160000361197557604051622e076360e81b815260040160405180910390fd5b60015550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119b3903390899088908890600401612340565b6020604051808303816000875af19250505080156119ee575060408051601f3d908101601f191682019092526119eb9181019061237d565b60015b611a4c573d808015611a1c576040519150601f19603f3d011682016040523d82523d6000602084013e611a21565b606091505b508051600003611a44576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810191829052607f0190826030600a8206018353600a90045b8015611aa657600183039250600a81066030018353600a9004611a88565b50819003601f19909101908152919050565b6000611b0d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611b8a9092919063ffffffff16565b805190915015610d175780806020019051810190611b2b919061239a565b610d175760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a96565b60606113d98484600085856001600160a01b0385163b611bec5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a96565b600080866001600160a01b03168587604051611c0891906123b7565b60006040518083038185875af1925050503d8060008114611c45576040519150601f19603f3d011682016040523d82523d6000602084013e611c4a565b606091505b5091509150611c5a828286611c65565b979650505050505050565b60608315611c745750816110db565b825115611c845782518084602001fd5b8160405162461bcd60e51b8152600401610a969190611d21565b6001600160e01b031981168114610e8457600080fd5b600060208284031215611cc657600080fd5b81356110db81611c9e565b60005b83811015611cec578181015183820152602001611cd4565b50506000910152565b60008151808452611d0d816020860160208601611cd1565b601f01601f19169290920160200192915050565b6020815260006110db6020830184611cf5565b600060208284031215611d4657600080fd5b5035919050565b6001600160a01b0381168114610e8457600080fd5b60008060408385031215611d7557600080fd5b8235611d8081611d4d565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b60048110611dc257634e487b7160e01b600052602160045260246000fd5b9052565b60608101611dd48286611da4565b602082019390935260400152919050565b600060208284031215611df757600080fd5b81356110db81611d4d565b600080600060608486031215611e1757600080fd5b8335611e2281611d4d565b92506020840135611e3281611d4d565b929592945050506040919091013590565b60008060408385031215611e5657600080fd5b8235611e6181611d4d565b91506020830135611e7181611d4d565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611ead57611ead611e7c565b604051601f8501601f19908116603f01168101908282118183101715611ed557611ed5611e7c565b81604052809350858152868686011115611eee57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f1a57600080fd5b813567ffffffffffffffff811115611f3157600080fd5b8201601f81018413611f4257600080fd5b6113d984823560208401611e92565b8015158114610e8457600080fd5b60008060408385031215611f7257600080fd5b8235611f7d81611d4d565b91506020830135611e7181611f51565b60008060008060808587031215611fa357600080fd5b8435611fae81611d4d565b93506020850135611fbe81611d4d565b925060408501359150606085013567ffffffffffffffff811115611fe157600080fd5b8501601f81018713611ff257600080fd5b61200187823560208401611e92565b91505092959194509250565b602081016108e58284611da4565b600181811c9082168061202f57607f821691505b60208210810361204f57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808201808211156108e5576108e56120e6565b600060018201612121576121216120e6565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f821115610d1757600081815260208120601f850160051c810160208610156121655750805b601f850160051c820191505b81811015610cf457828155600101612171565b815167ffffffffffffffff81111561219e5761219e611e7c565b6121b2816121ac845461201b565b8461213e565b602080601f8311600181146121e757600084156121cf5750858301515b600019600386901b1c1916600185901b178555610cf4565b600085815260208120601f198616915b82811015612216578886015182559484019460019091019084016121f7565b50858210156122345787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820281158282048414176108e5576108e56120e6565b60006020828403121561226d57600080fd5b5051919050565b60008084546122828161201b565b6001828116801561229a57600181146122af576122de565b60ff19841687528215158302870194506122de565b8860005260208060002060005b858110156122d55781548a8201529084019082016122bc565b50505082870194505b5050505083516122f2818360208801611cd1565b64173539b7b760d91b9101908152600501949350505050565b60008261232857634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156108e5576108e56120e6565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061237390830184611cf5565b9695505050505050565b60006020828403121561238f57600080fd5b81516110db81611c9e565b6000602082840312156123ac57600080fd5b81516110db81611f51565b600082516123c9818460208701611cd1565b919091019291505056fea264697066735822122070fcb4864275d5e5463e0fc3930648c0ae6cc98fb58ff35518db6c1f7513a8f964736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000020000000000000000000000005eae9fa44babcbc2263efb7f6c9e24ff9fd861f60000000000000000000000002fa4920db09041e6592a8c01668866adbfcf400c0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000009600000000000000000000000000000000000000000000000000000000000003520000000000000000000000000000000000000000000000000000000000000007697066733a2f2f00000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _team (address[]): 0x5EAe9fa44bAbcbC2263efb7F6c9E24ff9Fd861f6,0x2FA4920db09041E6592A8c01668866AdbFCf400C
Arg [1] : _teamShares (uint256[]): 150,850
Arg [2] : _baseURI (string): ipfs://
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [4] : 0000000000000000000000005eae9fa44babcbc2263efb7f6c9e24ff9fd861f6
Arg [5] : 0000000000000000000000002fa4920db09041e6592a8c01668866adbfcf400c
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000096
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000352
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [10] : 697066733a2f2f00000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
79000:2839:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32110:40;8610:10;32110:40;;;-1:-1:-1;;;;;206:32:1;;;188:51;;32140:9:0;270:2:1;255:18;;248:34;161:18;32110:40:0;;;;;;;79000:2839;;;;;46188:639;;;;;;;;;;-1:-1:-1;46188:639:0;;;;;:::i;:::-;;:::i;:::-;;;844:14:1;;837:22;819:41;;807:2;792:18;46188:639:0;;;;;;;;47090:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;53573:218::-;;;;;;;;;;-1:-1:-1;53573:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1976:32:1;;;1958:51;;1946:2;1931:18;53573:218:0;1812:203:1;53014:400:0;;;;;;;;;;-1:-1:-1;53014:400:0;;;;;:::i;:::-;;:::i;:::-;;80551:145;;;;;;;;;;-1:-1:-1;80635:11:0;;80648:15;;80665:22;;80551:145;;;;80635:11;;;80648:15;80665:22;80551:145;:::i;42841:323::-;;;;;;;;;;-1:-1:-1;43115:12:0;;42440:1;43099:13;:28;-1:-1:-1;;43099:46:0;42841:323;;;3336:25:1;;;3324:2;3309:18;42841:323:0;3190:177:1;34631:453:0;;;;;;;;;;-1:-1:-1;34631:453:0;;;;;:::i;:::-;;:::i;57280:2817::-;;;;;;;;;;-1:-1:-1;57280:2817:0;;;;;:::i;:::-;;:::i;32241:91::-;;;;;;;;;;-1:-1:-1;32312:12:0;;32241:91;;33370:135;;;;;;;;;;-1:-1:-1;33370:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;33467:21:0;;;33440:7;33467:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;33370:135;60193:185;;;;;;;;;;-1:-1:-1;60193:185:0;;;;;:::i;:::-;;:::i;35352:514::-;;;;;;;;;;-1:-1:-1;35352:514:0;;;;;:::i;:::-;;:::i;81034:110::-;;;;;;;;;;-1:-1:-1;81034:110:0;;;;;:::i;:::-;;:::i;79427:38::-;;;;;;;;;;;;;;;;80704:114;;;;;;;;;;-1:-1:-1;80704:114:0;;;;;:::i;:::-;;:::i;81695:141::-;;;;;;;;;;;;;:::i;48483:152::-;;;;;;;;;;-1:-1:-1;48483:152:0;;;;;:::i;:::-;;:::i;79193:21::-;;;;;;;;;;;;;:::i;44025:233::-;;;;;;;;;;-1:-1:-1;44025:233:0;;;;;:::i;:::-;;:::i;29353:103::-;;;;;;;;;;;;;:::i;81282:150::-;;;;;;;;;;-1:-1:-1;81282:150:0;;;;;:::i;:::-;-1:-1:-1;;;;;81380:44:0;81353:7;81380:44;;;:35;:44;;;;;;;81282:150;81152:122;;;;;;;;;;-1:-1:-1;81152:122:0;;;;;:::i;:::-;;:::i;33596:100::-;;;;;;;;;;-1:-1:-1;33596:100:0;;;;;:::i;:::-;;:::i;28705:87::-;;;;;;;;;;-1:-1:-1;28751:7:0;28778:6;-1:-1:-1;;;;;28778:6:0;28705:87;;47266:104;;;;;;;;;;;;;:::i;33092:109::-;;;;;;;;;;-1:-1:-1;33092:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;33175:18:0;33148:7;33175:18;;;:9;:18;;;;;;;33092:109;79302:42;;;;;;;;;;;;;;;;80826:100;;;;;;;;;;-1:-1:-1;80826:100:0;;;;;:::i;:::-;;:::i;54131:308::-;;;;;;;;;;-1:-1:-1;54131:308:0;;;;;:::i;:::-;;:::i;33786:225::-;;;;;;;;;;-1:-1:-1;33786:225:0;;;;;:::i;:::-;;:::i;79904:639::-;;;;;;:::i;:::-;;:::i;60976:399::-;;;;;;;;;;-1:-1:-1;60976:399:0;;;;;:::i;:::-;;:::i;79353:67::-;;;;;;;;;;-1:-1:-1;79353:67:0;;;;;:::i;:::-;;;;;;;;;;;;;;34171:260;;;;;;;;;;-1:-1:-1;34171:260:0;;;;;:::i;:::-;;:::i;81440:247::-;;;;;;;;;;-1:-1:-1;81440:247:0;;;;;:::i;:::-;;:::i;79745:151::-;;;;;;;;;;;;;:::i;79223:23::-;;;;;;;;;;-1:-1:-1;79223:23:0;;;;;;;;;;;;;;;:::i;32888:105::-;;;;;;;;;;-1:-1:-1;32888:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;32969:16:0;32942:7;32969:16;;;:7;:16;;;;;;;32888:105;32678:119;;;;;;;;;;-1:-1:-1;32678:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;32763:26:0;32736:7;32763:26;;;:19;:26;;;;;;;32678:119;32426:95;;;;;;;;;;-1:-1:-1;32499:14:0;;32426:95;;54596:164;;;;;;;;;;-1:-1:-1;54596:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;54717:25:0;;;54693:4;54717:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;54596:164;29611:201;;;;;;;;;;-1:-1:-1;29611:201:0;;;;;:::i;:::-;;:::i;80934:92::-;;;;;;;;;;-1:-1:-1;80934:92:0;;;;;:::i;:::-;;:::i;46188:639::-;46273:4;-1:-1:-1;;;;;;;;;46597:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;46674:25:0;;;46597:102;:179;;;-1:-1:-1;;;;;;;;;;46751:25:0;;;46597:179;46577:199;46188:639;-1:-1:-1;;46188:639:0:o;47090:100::-;47144:13;47177:5;47170:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47090:100;:::o;53573:218::-;53649:7;53674:16;53682:7;53674;:16::i;:::-;53669:64;;53699:34;;-1:-1:-1;;;53699:34:0;;;;;;;;;;;53669:64;-1:-1:-1;53753:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;53753:30:0;;53573:218::o;53014:400::-;53095:13;53111:16;53119:7;53111;:16::i;:::-;53095:32;-1:-1:-1;8610:10:0;-1:-1:-1;;;;;53144:28:0;;;53140:175;;53192:44;53209:5;8610:10;54596:164;:::i;53192:44::-;53187:128;;53264:35;;-1:-1:-1;;;53264:35:0;;;;;;;;;;;53187:128;53327:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;53327:35:0;-1:-1:-1;;;;;53327:35:0;;;;;;;;;53378:28;;53327:24;;53378:28;;;;;;;53084:330;53014:400;;:::o;34631:453::-;-1:-1:-1;;;;;34707:16:0;;34726:1;34707:16;;;:7;:16;;;;;;34699:71;;;;-1:-1:-1;;;34699:71:0;;;;;;;:::i;:::-;;;;;;;;;34783:15;34801:19;34812:7;34801:10;:19::i;:::-;34783:37;;34841:7;34852:1;34841:12;34833:68;;;;-1:-1:-1;;;34833:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;34914:18:0;;;;;;:9;:18;;;;;:29;;34936:7;;34914:18;:29;;34936:7;;34914:29;:::i;:::-;;;;;;;;34972:7;34954:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;34992:35:0;;-1:-1:-1;35010:7:0;35019;34992:17;:35::i;:::-;35043:33;;;-1:-1:-1;;;;;206:32:1;;188:51;;270:2;255:18;;248:34;;;35043:33:0;;161:18:1;35043:33:0;;;;;;;34688:396;34631:453;:::o;57280:2817::-;57414:27;57444;57463:7;57444:18;:27::i;:::-;57414:57;;57529:4;-1:-1:-1;;;;;57488:45:0;57504:19;-1:-1:-1;;;;;57488:45:0;;57484:86;;57542:28;;-1:-1:-1;;;57542:28:0;;;;;;;;;;;57484:86;57584:27;56394:24;;;:15;:24;;;;;56616:26;;8610:10;56019:30;;;-1:-1:-1;;;;;55712:28:0;;55997:20;;;55994:56;57770:180;;57863:43;57880:4;8610:10;54596:164;:::i;57863:43::-;57858:92;;57915:35;;-1:-1:-1;;;57915:35:0;;;;;;;;;;;57858:92;-1:-1:-1;;;;;57967:16:0;;57963:52;;57992:23;;-1:-1:-1;;;57992:23:0;;;;;;;;;;;57963:52;58164:15;58161:160;;;58304:1;58283:19;58276:30;58161:160;-1:-1:-1;;;;;58701:24:0;;;;;;;:18;:24;;;;;;58699:26;;-1:-1:-1;;58699:26:0;;;58770:22;;;;;;;;;58768:24;;-1:-1:-1;58768:24:0;;;51872:11;51847:23;51843:41;51830:63;-1:-1:-1;;;51830:63:0;59063:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;59358:47:0;;:52;;59354:627;;59463:1;59453:11;;59431:19;59586:30;;;:17;:30;;;;;;:35;;59582:384;;59724:13;;59709:11;:28;59705:242;;59871:30;;;;:17;:30;;;;;:52;;;59705:242;59412:569;59354:627;60028:7;60024:2;-1:-1:-1;;;;;60009:27:0;60018:4;-1:-1:-1;;;;;60009:27:0;;;;;;;;;;;60047:42;57403:2694;;;57280:2817;;;:::o;60193:185::-;60331:39;60348:4;60354:2;60358:7;60331:39;;;;;;;;;;;;:16;:39::i;:::-;60193:185;;;:::o;35352:514::-;-1:-1:-1;;;;;35434:16:0;;35453:1;35434:16;;;:7;:16;;;;;;35426:71;;;;-1:-1:-1;;;35426:71:0;;;;;;;:::i;:::-;35510:15;35528:26;35539:5;35546:7;35528:10;:26::i;:::-;35510:44;;35575:7;35586:1;35575:12;35567:68;;;;-1:-1:-1;;;35567:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;35648:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;;;:41;;35682:7;;35648:21;:41;;35682:7;;35648:41;:::i;:::-;;;;-1:-1:-1;;;;;;;35700:26:0;;;;;;:19;:26;;;;;:37;;35730:7;;35700:26;:37;;35730:7;;35700:37;:::i;:::-;;;;-1:-1:-1;35750:47:0;;-1:-1:-1;35773:5:0;35780:7;35789;35750:22;:47::i;:::-;35813:45;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;35813:45:0;;;;;161:18:1;35813:45:0;;;;;;;35415:451;35352:514;;:::o;81034:110::-;28591:13;:11;:13::i;:::-;81105:22:::1;:31:::0;81034:110::o;80704:114::-;28591:13;:11;:13::i;:::-;80783:15:::1;:27:::0;80704:114::o;81695:141::-;81741:6;81737:92;81758:10;;81754:1;:14;81737:92;;;81791:26;81807:8;81813:1;81807:5;:8::i;81791:26::-;81771:3;;;;:::i;:::-;;;;81737:92;;;;81695:141::o;48483:152::-;48555:7;48598:27;48617:7;48598:18;:27::i;79193:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;44025:233::-;44097:7;-1:-1:-1;;;;;44121:19:0;;44117:60;;44149:28;;-1:-1:-1;;;44149:28:0;;;;;;;;;;;44117:60;-1:-1:-1;;;;;;44195:25:0;;;;;:18;:25;;;;;;38184:13;44195:55;;44025:233::o;29353:103::-;28591:13;:11;:13::i;:::-;29418:30:::1;29445:1;29418:18;:30::i;:::-;29353:103::o:0;81152:122::-;-1:-1:-1;;;;;44429:25:0;;81217:7;44429:25;;;:18;:25;;38322:2;44429:25;;;;38184:13;44429:50;;44428:82;81244:22;44340:178;33596:100;33647:7;33674;33682:5;33674:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;33674:14:0;;33596:100;-1:-1:-1;;33596:100:0:o;47266:104::-;47322:13;47355:7;47348:14;;;;;:::i;80826:100::-;28591:13;:11;:13::i;:::-;80900:7:::1;:18;80910:8:::0;80900:7;:18:::1;:::i;:::-;;80826:100:::0;:::o;54131:308::-;8610:10;-1:-1:-1;;;;;54230:31:0;;;54226:61;;54270:17;;-1:-1:-1;;;54270:17:0;;;;;;;;;;;54226:61;8610:10;54300:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;54300:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;54300:60:0;;;;;;;;;;54376:55;;819:41:1;;;54300:49:0;;8610:10;54376:55;;792:18:1;54376:55:0;;;;;;;54131:308;;:::o;33786:225::-;33844:7;33864:21;33912:15;32499:14;;;32426:95;33912:15;33888:39;;:21;:39;:::i;:::-;33864:63;;33945:58;33961:7;33970:13;33985:17;33994:7;-1:-1:-1;;;;;33175:18:0;33148:7;33175:18;;;:9;:18;;;;;;;33092:109;33985:17;33945:15;:58::i;:::-;33938:65;33786:225;-1:-1:-1;;;33786:225:0:o;79904:639::-;79985:15;;80014:10;80011:35;;80026:20;;-1:-1:-1;;;80026:20:0;;12580:2:1;80026:20:0;;;12562:21:1;12619:2;12599:18;;;12592:30;-1:-1:-1;;;12638:18:1;;;12631:40;12688:18;;80026:20:0;12378:334:1;80011:35:0;80075:15;80060:11;;;;:30;;;;;;;;:::i;:::-;;80057:66;;80092:31;;-1:-1:-1;;;80092:31:0;;12919:2:1;80092:31:0;;;12901:21:1;12958:2;12938:18;;;12931:30;-1:-1:-1;;;12977:18:1;;;12970:51;13038:18;;80092:31:0;12717:345:1;80057:66:0;43115:12;;42440:1;43099:13;79290:3;;80153:9;;43099:28;-1:-1:-1;;43099:46:0;80137:25;;;;:::i;:::-;:40;80134:94;;;80179:49;;-1:-1:-1;;;80179:49:0;;13269:2:1;80179:49:0;;;13251:21:1;13308:2;13288:18;;;13281:30;13347:34;13327:18;;;13320:62;-1:-1:-1;;;13398:18:1;;;13391:37;13445:19;;80179:49:0;13067:403:1;80134:94:0;80254:17;80262:9;80254:5;:17;:::i;:::-;80242:9;:29;80239:60;;;80273:26;;-1:-1:-1;;;80273:26:0;;13850:2:1;80273:26:0;;;13832:21:1;13889:2;13869:18;;;13862:30;-1:-1:-1;;;13908:18:1;;;13901:46;13964:18;;80273:26:0;13648:340:1;80239:60:0;80375:22;;80349:10;80313:47;;;;:35;:47;;;;;;:59;;80363:9;;80313:59;:::i;:::-;:84;80310:111;;;80399:22;;-1:-1:-1;;;80399:22:0;;14195:2:1;80399:22:0;;;14177:21:1;14234:2;14214:18;;;14207:30;-1:-1:-1;;;14253:18:1;;;14246:42;14305:18;;80399:22:0;13993:336:1;80310:111:0;80470:10;80434:47;;;;:35;:47;;;;;:60;;80485:9;;80434:47;:60;;80485:9;;80434:60;:::i;:::-;;;;-1:-1:-1;80507:28:0;;-1:-1:-1;80513:10:0;80525:9;80507:5;:28::i;60976:399::-;61143:31;61156:4;61162:2;61166:7;61143:12;:31::i;:::-;-1:-1:-1;;;;;61189:14:0;;;:19;61185:183;;61228:56;61259:4;61265:2;61269:7;61278:5;61228:30;:56::i;:::-;61223:145;;61312:40;;-1:-1:-1;;;61312:40:0;;;;;;;;;;;61223:145;60976:399;;;;:::o;34171:260::-;-1:-1:-1;;;;;32763:26:0;;34243:7;32763:26;;;:19;:26;;;;;;34243:7;;34287:30;;-1:-1:-1;;;34287:30:0;;34311:4;34287:30;;;1958:51:1;-1:-1:-1;;;;;34287:15:0;;;;;1931:18:1;;34287:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;33467:21:0;;;33440:7;33467:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;34263:77;;-1:-1:-1;34358:65:0;;34374:7;;34263:77;;33945:15;:58::i;34358:65::-;34351:72;34171:260;-1:-1:-1;;;;34171:260:0:o;81440:247::-;81511:13;81545:17;81553:8;81545:7;:17::i;:::-;81537:61;;;;-1:-1:-1;;;81537:61:0;;14725:2:1;81537:61:0;;;14707:21:1;14764:2;14744:18;;;14737:30;14803:33;14783:18;;;14776:61;14854:18;;81537:61:0;14523:355:1;81537:61:0;81640:7;81649:19;81659:8;81649:9;:19::i;:::-;81623:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;81609:70;;81440:247;;;:::o;79745:151::-;28591:13;:11;:13::i;:::-;43115:12;;42440:1;43099:13;:28;-1:-1:-1;;43099:46:0;79803:18;79800:57:::1;;79823:34;::::0;-1:-1:-1;;;79823:34:0;;16277:2:1;79823:34:0::1;::::0;::::1;16259:21:1::0;16316:2;16296:18;;;16289:30;16355:26;16335:18;;;16328:54;16399:18;;79823:34:0::1;16075:348:1::0;79800:57:0::1;79868:20;79874:10;79886:1;79868:5;:20::i;29611:201::-:0;28591:13;:11;:13::i;:::-;-1:-1:-1;;;;;29700:22:0;::::1;29692:73;;;::::0;-1:-1:-1;;;29692:73:0;;16630:2:1;29692:73:0::1;::::0;::::1;16612:21:1::0;16669:2;16649:18;;;16642:30;16708:34;16688:18;;;16681:62;-1:-1:-1;;;16759:18:1;;;16752:36;16805:19;;29692:73:0::1;16428:402:1::0;29692:73:0::1;29776:28;29795:8;29776:18;:28::i;80934:92::-:0;28591:13;:11;:13::i;:::-;81012:5:::1;81007:11;;;;;;;;:::i;:::-;80993;:25:::0;;-1:-1:-1;;80993:25:0::1;::::0;;::::1;::::0;::::1;;;;;;:::i;:::-;;;;;;80934:92:::0;:::o;55018:282::-;55083:4;55139:7;42440:1;55120:26;;:66;;;;;55173:13;;55163:7;:23;55120:66;:153;;;;-1:-1:-1;;55224:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;55224:44:0;:49;;55018:282::o;2438:317::-;2553:6;2528:21;:31;;2520:73;;;;-1:-1:-1;;;2520:73:0;;17037:2:1;2520:73:0;;;17019:21:1;17076:2;17056:18;;;17049:30;17115:31;17095:18;;;17088:59;17164:18;;2520:73:0;16835:353:1;2520:73:0;2607:12;2625:9;-1:-1:-1;;;;;2625:14:0;2647:6;2625:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2606:52;;;2677:7;2669:78;;;;-1:-1:-1;;;2669:78:0;;17605:2:1;2669:78:0;;;17587:21:1;17644:2;17624:18;;;17617:30;17683:34;17663:18;;;17656:62;17754:28;17734:18;;;17727:56;17800:19;;2669:78:0;17403:422:1;49638:1275:0;49705:7;49740;;42440:1;49789:23;49785:1061;;49842:13;;49835:4;:20;49831:1015;;;49880:14;49897:23;;;:17;:23;;;;;;;-1:-1:-1;;;49986:24:0;;:29;;49982:845;;50651:113;50658:6;50668:1;50658:11;50651:113;;-1:-1:-1;;;50729:6:0;50711:25;;;;:17;:25;;;;;;50651:113;;49982:845;49857:989;49831:1015;50874:31;;-1:-1:-1;;;50874:31:0;;;;;;;;;;;22040:211;22184:58;;;-1:-1:-1;;;;;206:32:1;;22184:58:0;;;188:51:1;255:18;;;;248:34;;;22184:58:0;;;;;;;;;;161:18:1;;;;22184:58:0;;;;;;;;-1:-1:-1;;;;;22184:58:0;-1:-1:-1;;;22184:58:0;;;22157:86;;22177:5;;22157:19;:86::i;28870:132::-;28751:7;28778:6;-1:-1:-1;;;;;28778:6:0;8610:10;28934:23;28926:68;;;;-1:-1:-1;;;28926:68:0;;18032:2:1;28926:68:0;;;18014:21:1;;;18051:18;;;18044:30;18110:34;18090:18;;;18083:62;18162:18;;28926:68:0;17830:356:1;29972:191:0;30046:16;30065:6;;-1:-1:-1;;;;;30082:17:0;;;-1:-1:-1;;;;;;30082:17:0;;;;;;30115:40;;30065:6;;;;;;;30115:40;;30046:16;30115:40;30035:128;29972:191;:::o;36044:248::-;36254:12;;-1:-1:-1;;;;;36234:16:0;;36190:7;36234:16;;;:7;:16;;;;;;36190:7;;36269:15;;36218:32;;:13;:32;:::i;:::-;36217:49;;;;:::i;:::-;:67;;;;:::i;64637:2454::-;64733:13;;64710:20;64761:13;;;64757:44;;64783:18;;-1:-1:-1;;;64783:18:0;;;;;;;;;;;64757:44;-1:-1:-1;;;;;65289:22:0;;;;;;:18;:22;;;;38322:2;65289:22;;;:71;;65327:32;65315:45;;65289:71;;;65603:31;;;:17;:31;;;;;-1:-1:-1;52303:15:0;;52277:24;52273:46;51872:11;51847:23;51843:41;51840:52;51830:63;;65603:173;;65838:23;;;;65603:31;;65289:22;;66337:25;65289:22;;66190:335;66605:1;66591:12;66587:20;66545:346;66646:3;66637:7;66634:16;66545:346;;66864:7;66854:8;66851:1;66824:25;66821:1;66818;66813:59;66699:1;66686:15;66545:346;;;66549:77;66924:8;66936:1;66924:13;66920:45;;66946:19;;-1:-1:-1;;;66946:19:0;;;;;;;;;;;66920:45;66982:13;:19;-1:-1:-1;60193:185:0;;;:::o;63459:716::-;63643:88;;-1:-1:-1;;;63643:88:0;;63622:4;;-1:-1:-1;;;;;63643:45:0;;;;;:88;;8610:10;;63710:4;;63716:7;;63725:5;;63643:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63643:88:0;;;;;;;;-1:-1:-1;;63643:88:0;;;;;;;;;;;;:::i;:::-;;;63639:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63926:6;:13;63943:1;63926:18;63922:235;;63972:40;;-1:-1:-1;;;63972:40:0;;;;;;;;;;;63922:235;64115:6;64109:13;64100:6;64096:2;64092:15;64085:38;63639:529;-1:-1:-1;;;;;;63802:64:0;-1:-1:-1;;;63802:64:0;;-1:-1:-1;63459:716:0;;;;;;:::o;76991:2002::-;77468:4;77462:11;;77475:3;77458:21;;77553:17;;;;78249:11;;;78128:5;78415:2;78429;78419:13;;78411:22;78249:11;78398:36;78470:2;78460:13;;78020:731;78489:4;78020:731;;;78680:1;78675:3;78671:11;78664:18;;78731:2;78725:4;78721:13;78717:2;78713:22;78708:3;78700:36;78584:2;78574:13;;78020:731;;;-1:-1:-1;78781:13:0;;;-1:-1:-1;;78896:12:0;;;78956:19;;;78896:12;76991:2002;-1:-1:-1;76991:2002:0:o;25107:716::-;25531:23;25557:69;25585:4;25557:69;;;;;;;;;;;;;;;;;25565:5;-1:-1:-1;;;;;25557:27:0;;;:69;;;;;:::i;:::-;25641:17;;25531:95;;-1:-1:-1;25641:21:0;25637:179;;25738:10;25727:30;;;;;;;;;;;;:::i;:::-;25719:85;;;;-1:-1:-1;;;25719:85:0;;19746:2:1;25719:85:0;;;19728:21:1;19785:2;19765:18;;;19758:30;19824:34;19804:18;;;19797:62;-1:-1:-1;;;19875:18:1;;;19868:40;19925:19;;25719:85:0;19544:406:1;3922:229:0;4059:12;4091:52;4113:6;4121:4;4127:1;4130:12;4059;-1:-1:-1;;;;;1472:19:0;;;5329:60;;;;-1:-1:-1;;;5329:60:0;;20564:2:1;5329:60:0;;;20546:21:1;20603:2;20583:18;;;20576:30;20642:31;20622:18;;;20615:59;20691:18;;5329:60:0;20362:353:1;5329:60:0;5403:12;5417:23;5444:6;-1:-1:-1;;;;;5444:11:0;5463:5;5470:4;5444:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5402:73;;;;5493:51;5510:7;5519:10;5531:12;5493:16;:51::i;:::-;5486:58;5042:510;-1:-1:-1;;;;;;;5042:510:0:o;7728:762::-;7878:12;7907:7;7903:580;;;-1:-1:-1;7938:10:0;7931:17;;7903:580;8052:17;;:21;8048:424;;8300:10;8294:17;8361:15;8348:10;8344:2;8340:19;8333:44;8048:424;8443:12;8436:20;;-1:-1:-1;;;8436:20:0;;;;;;;;:::i;293:131:1:-;-1:-1:-1;;;;;;367:32:1;;357:43;;347:71;;414:1;411;404:12;429:245;487:6;540:2;528:9;519:7;515:23;511:32;508:52;;;556:1;553;546:12;508:52;595:9;582:23;614:30;638:5;614:30;:::i;871:250::-;956:1;966:113;980:6;977:1;974:13;966:113;;;1056:11;;;1050:18;1037:11;;;1030:39;1002:2;995:10;966:113;;;-1:-1:-1;;1113:1:1;1095:16;;1088:27;871:250::o;1126:271::-;1168:3;1206:5;1200:12;1233:6;1228:3;1221:19;1249:76;1318:6;1311:4;1306:3;1302:14;1295:4;1288:5;1284:16;1249:76;:::i;:::-;1379:2;1358:15;-1:-1:-1;;1354:29:1;1345:39;;;;1386:4;1341:50;;1126:271;-1:-1:-1;;1126:271:1:o;1402:220::-;1551:2;1540:9;1533:21;1514:4;1571:45;1612:2;1601:9;1597:18;1589:6;1571:45;:::i;1627:180::-;1686:6;1739:2;1727:9;1718:7;1714:23;1710:32;1707:52;;;1755:1;1752;1745:12;1707:52;-1:-1:-1;1778:23:1;;1627:180;-1:-1:-1;1627:180:1:o;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;2476:127::-;2537:10;2532:3;2528:20;2525:1;2518:31;2568:4;2565:1;2558:15;2592:4;2589:1;2582:15;2608:232;2684:1;2677:5;2674:12;2664:143;;2729:10;2724:3;2720:20;2717:1;2710:31;2764:4;2761:1;2754:15;2792:4;2789:1;2782:15;2664:143;2816:18;;2608:232::o;2845:340::-;3042:2;3027:18;;3054:39;3031:9;3075:6;3054:39;:::i;:::-;3124:2;3109:18;;3102:34;;;;3167:2;3152:18;3145:34;2845:340;;-1:-1:-1;2845:340:1:o;3372:255::-;3439:6;3492:2;3480:9;3471:7;3467:23;3463:32;3460:52;;;3508:1;3505;3498:12;3460:52;3547:9;3534:23;3566:31;3591:5;3566:31;:::i;3632:456::-;3709:6;3717;3725;3778:2;3766:9;3757:7;3753:23;3749:32;3746:52;;;3794:1;3791;3784:12;3746:52;3833:9;3820:23;3852:31;3877:5;3852:31;:::i;:::-;3902:5;-1:-1:-1;3959:2:1;3944:18;;3931:32;3972:33;3931:32;3972:33;:::i;:::-;3632:456;;4024:7;;-1:-1:-1;;;4078:2:1;4063:18;;;;4050:32;;3632:456::o;4093:402::-;4175:6;4183;4236:2;4224:9;4215:7;4211:23;4207:32;4204:52;;;4252:1;4249;4242:12;4204:52;4291:9;4278:23;4310:31;4335:5;4310:31;:::i;:::-;4360:5;-1:-1:-1;4417:2:1;4402:18;;4389:32;4430:33;4389:32;4430:33;:::i;:::-;4482:7;4472:17;;;4093:402;;;;;:::o;4752:127::-;4813:10;4808:3;4804:20;4801:1;4794:31;4844:4;4841:1;4834:15;4868:4;4865:1;4858:15;4884:632;4949:5;4979:18;5020:2;5012:6;5009:14;5006:40;;;5026:18;;:::i;:::-;5101:2;5095:9;5069:2;5155:15;;-1:-1:-1;;5151:24:1;;;5177:2;5147:33;5143:42;5131:55;;;5201:18;;;5221:22;;;5198:46;5195:72;;;5247:18;;:::i;:::-;5287:10;5283:2;5276:22;5316:6;5307:15;;5346:6;5338;5331:22;5386:3;5377:6;5372:3;5368:16;5365:25;5362:45;;;5403:1;5400;5393:12;5362:45;5453:6;5448:3;5441:4;5433:6;5429:17;5416:44;5508:1;5501:4;5492:6;5484;5480:19;5476:30;5469:41;;;;4884:632;;;;;:::o;5521:451::-;5590:6;5643:2;5631:9;5622:7;5618:23;5614:32;5611:52;;;5659:1;5656;5649:12;5611:52;5699:9;5686:23;5732:18;5724:6;5721:30;5718:50;;;5764:1;5761;5754:12;5718:50;5787:22;;5840:4;5832:13;;5828:27;-1:-1:-1;5818:55:1;;5869:1;5866;5859:12;5818:55;5892:74;5958:7;5953:2;5940:16;5935:2;5931;5927:11;5892:74;:::i;5977:118::-;6063:5;6056:13;6049:21;6042:5;6039:32;6029:60;;6085:1;6082;6075:12;6100:382;6165:6;6173;6226:2;6214:9;6205:7;6201:23;6197:32;6194:52;;;6242:1;6239;6232:12;6194:52;6281:9;6268:23;6300:31;6325:5;6300:31;:::i;:::-;6350:5;-1:-1:-1;6407:2:1;6392:18;;6379:32;6420:30;6379:32;6420:30;:::i;6487:795::-;6582:6;6590;6598;6606;6659:3;6647:9;6638:7;6634:23;6630:33;6627:53;;;6676:1;6673;6666:12;6627:53;6715:9;6702:23;6734:31;6759:5;6734:31;:::i;:::-;6784:5;-1:-1:-1;6841:2:1;6826:18;;6813:32;6854:33;6813:32;6854:33;:::i;:::-;6906:7;-1:-1:-1;6960:2:1;6945:18;;6932:32;;-1:-1:-1;7015:2:1;7000:18;;6987:32;7042:18;7031:30;;7028:50;;;7074:1;7071;7064:12;7028:50;7097:22;;7150:4;7142:13;;7138:27;-1:-1:-1;7128:55:1;;7179:1;7176;7169:12;7128:55;7202:74;7268:7;7263:2;7250:16;7245:2;7241;7237:11;7202:74;:::i;:::-;7192:84;;;6487:795;;;;;;;:::o;7287:198::-;7428:2;7413:18;;7440:39;7417:9;7461:6;7440:39;:::i;8149:380::-;8228:1;8224:12;;;;8271;;;8292:61;;8346:4;8338:6;8334:17;8324:27;;8292:61;8399:2;8391:6;8388:14;8368:18;8365:38;8362:161;;8445:10;8440:3;8436:20;8433:1;8426:31;8480:4;8477:1;8470:15;8508:4;8505:1;8498:15;8362:161;;8149:380;;;:::o;8534:402::-;8736:2;8718:21;;;8775:2;8755:18;;;8748:30;8814:34;8809:2;8794:18;;8787:62;-1:-1:-1;;;8880:2:1;8865:18;;8858:36;8926:3;8911:19;;8534:402::o;8941:407::-;9143:2;9125:21;;;9182:2;9162:18;;;9155:30;9221:34;9216:2;9201:18;;9194:62;-1:-1:-1;;;9287:2:1;9272:18;;9265:41;9338:3;9323:19;;8941:407::o;9353:127::-;9414:10;9409:3;9405:20;9402:1;9395:31;9445:4;9442:1;9435:15;9469:4;9466:1;9459:15;9485:125;9550:9;;;9571:10;;;9568:36;;;9584:18;;:::i;9902:135::-;9941:3;9962:17;;;9959:43;;9982:18;;:::i;:::-;-1:-1:-1;10029:1:1;10018:13;;9902:135::o;10042:127::-;10103:10;10098:3;10094:20;10091:1;10084:31;10134:4;10131:1;10124:15;10158:4;10155:1;10148:15;10300:545;10402:2;10397:3;10394:11;10391:448;;;10438:1;10463:5;10459:2;10452:17;10508:4;10504:2;10494:19;10578:2;10566:10;10562:19;10559:1;10555:27;10549:4;10545:38;10614:4;10602:10;10599:20;10596:47;;;-1:-1:-1;10637:4:1;10596:47;10692:2;10687:3;10683:12;10680:1;10676:20;10670:4;10666:31;10656:41;;10747:82;10765:2;10758:5;10755:13;10747:82;;;10810:17;;;10791:1;10780:13;10747:82;;11021:1352;11147:3;11141:10;11174:18;11166:6;11163:30;11160:56;;;11196:18;;:::i;:::-;11225:97;11315:6;11275:38;11307:4;11301:11;11275:38;:::i;:::-;11269:4;11225:97;:::i;:::-;11377:4;;11441:2;11430:14;;11458:1;11453:663;;;;12160:1;12177:6;12174:89;;;-1:-1:-1;12229:19:1;;;12223:26;12174:89;-1:-1:-1;;10978:1:1;10974:11;;;10970:24;10966:29;10956:40;11002:1;10998:11;;;10953:57;12276:81;;11423:944;;11453:663;10247:1;10240:14;;;10284:4;10271:18;;-1:-1:-1;;11489:20:1;;;11607:236;11621:7;11618:1;11615:14;11607:236;;;11710:19;;;11704:26;11689:42;;11802:27;;;;11770:1;11758:14;;;;11637:19;;11607:236;;;11611:3;11871:6;11862:7;11859:19;11856:201;;;11932:19;;;11926:26;-1:-1:-1;;12015:1:1;12011:14;;;12027:3;12007:24;12003:37;11999:42;11984:58;11969:74;;11856:201;-1:-1:-1;;;;;12103:1:1;12087:14;;;12083:22;12070:36;;-1:-1:-1;11021:1352:1:o;13475:168::-;13548:9;;;13579;;13596:15;;;13590:22;;13576:37;13566:71;;13617:18;;:::i;14334:184::-;14404:6;14457:2;14445:9;14436:7;14432:23;14428:32;14425:52;;;14473:1;14470;14463:12;14425:52;-1:-1:-1;14496:16:1;;14334:184;-1:-1:-1;14334:184:1:o;14883:1187::-;15160:3;15189:1;15222:6;15216:13;15252:36;15278:9;15252:36;:::i;:::-;15307:1;15324:18;;;15351:133;;;;15498:1;15493:356;;;;15317:532;;15351:133;-1:-1:-1;;15384:24:1;;15372:37;;15457:14;;15450:22;15438:35;;15429:45;;;-1:-1:-1;15351:133:1;;15493:356;15524:6;15521:1;15514:17;15554:4;15599:2;15596:1;15586:16;15624:1;15638:165;15652:6;15649:1;15646:13;15638:165;;;15730:14;;15717:11;;;15710:35;15773:16;;;;15667:10;;15638:165;;;15642:3;;;15832:6;15827:3;15823:16;15816:23;;15317:532;;;;;15880:6;15874:13;15896:68;15955:8;15950:3;15943:4;15935:6;15931:17;15896:68;:::i;:::-;-1:-1:-1;;;15986:18:1;;16013:22;;;16062:1;16051:13;;14883:1187;-1:-1:-1;;;;14883:1187:1:o;18191:217::-;18231:1;18257;18247:132;;18301:10;18296:3;18292:20;18289:1;18282:31;18336:4;18333:1;18326:15;18364:4;18361:1;18354:15;18247:132;-1:-1:-1;18393:9:1;;18191:217::o;18413:128::-;18480:9;;;18501:11;;;18498:37;;;18515:18;;:::i;18546:489::-;-1:-1:-1;;;;;18815:15:1;;;18797:34;;18867:15;;18862:2;18847:18;;18840:43;18914:2;18899:18;;18892:34;;;18962:3;18957:2;18942:18;;18935:31;;;18740:4;;18983:46;;19009:19;;19001:6;18983:46;:::i;:::-;18975:54;18546:489;-1:-1:-1;;;;;;18546:489:1:o;19040:249::-;19109:6;19162:2;19150:9;19141:7;19137:23;19133:32;19130:52;;;19178:1;19175;19168:12;19130:52;19210:9;19204:16;19229:30;19253:5;19229:30;:::i;19294:245::-;19361:6;19414:2;19402:9;19393:7;19389:23;19385:32;19382:52;;;19430:1;19427;19420:12;19382:52;19462:9;19456:16;19481:28;19503:5;19481:28;:::i;20720:287::-;20849:3;20887:6;20881:13;20903:66;20962:6;20957:3;20950:4;20942:6;20938:17;20903:66;:::i;:::-;20985:16;;;;;20720:287;-1:-1:-1;;20720:287:1:o
Swarm Source
ipfs://70fcb4864275d5e5463e0fc3930648c0ae6cc98fb58ff35518db6c1f7513a8f9
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.