ETH Price: $3,082.31 (+4.09%)

Saplings (SAP)
 

Overview

TokenID

96

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Saplings

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : Saplings.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.17;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import '@uniswap/v3-periphery/contracts/libraries/TransferHelper.sol';
import '@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol';
import "./AccessControlLight.sol";
import "./interfaces/ISaplings.sol";
import "./interfaces/IWETH.sol";

// Sappling placeholder contract to reserve the collection name on OpenSea

contract Saplings is ISaplings, ERC721A, AccessControlLight {

  uint256 private _supplyCap = 10000;
  string private __baseURI = 'https://api.saplings.earth/nft/metadata/';
  mapping(address => uint256) private _userNonces;

  ISwapRouter private constant SWAP_ROUTER = ISwapRouter(0xE592427A0AEce92De3Edee1F18E0157C05861564);

  address private WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
  address private currency = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48;

  address public charity1 = 0x8aeb83D3d05741CC3Ba89F9B823e9d029d5fD8A6;
  address public charity2 = 0xD173210a16CdA79E691BA3286F4c2891a57f62d6;
  address public charity3 = 0x79Ae3a03C1F7E100113Db2e91C93Cd08aa84910e;

  address public saplingsWallet = 0x072c77409dd951E60caFB455E23Bb497f35480C8;
  uint256 private _charityBalance;

  constructor(address signer) ERC721A("Saplings", "SAP") {
    _grantRole(ROLE_SIGNER, signer);
  }

  receive() external payable {
    emit ReceivedEth(msg.sender, msg.value);
  }

  function mint(
    uint256 value,
    uint256 quantity,
    uint256 blockNumber,
    bytes calldata signature
  ) public payable {
    if (!_checkSignature(value, quantity, blockNumber, signature)) {
      revert InvalidSignature();
    }
    if (value != msg.value) {
      revert WrongAmount();
    }
    if (quantity + totalSupply() > _supplyCap) {
      revert SoldOut();
    }
    if (block.number > blockNumber + 10) {
      revert Timeout();
    }
    _userNonces[msg.sender]++;
    _mint(msg.sender, quantity);
    _charityBalance += msg.value / 2;
  }

  function setSupply(uint256 supplyCap) external onlyRole(ROLE_ADMIN) {
    _supplyCap = supplyCap;
  }

  function setURI(string calldata uri) external onlyRole(ROLE_ADMIN) {
    __baseURI = uri;
  }

  function setCurrency(address token) external onlyRole(ROLE_ADMIN) {
    if (token == currency) {
      revert NothingToDo();
    }
    if (_charityBalance > 0) {
      revert SendToCharityFirst();
    }
    currency = token;
  }

  function setCharity(address _charity1, address _charity2, address _charity3) external onlyRole(ROLE_ADMIN) {
    charity1 = _charity1;
    charity2 = _charity2;
    charity3 = _charity3;
    emit UpdatedCharity(_charity1, _charity2, _charity3);
  }

  function _baseURI() internal view override returns (string memory) {
    return __baseURI;
  }

  function _checkSignature(
    uint256 value,
    uint256 quantity,
    uint256 blockNumber,
    bytes calldata signature
  ) internal view returns(bool) {
    bytes32 message = keccak256(abi.encodePacked(
        msg.sender, _userNonces[msg.sender], value, quantity, blockNumber
      ));
    bytes32 hash = keccak256(
      abi.encodePacked(
        "\x19Ethereum Signed Message:\n32",
        message
      )
    );
    address signer = ECDSA.recover(hash, signature);
    return hasRole(ROLE_SIGNER, signer);
  }

  function withdraw(address erc20) external onlyRole(ROLE_ADMIN) {
    if (erc20 == address(0) || erc20 == WETH) {
      _withdrawEth();
    } else {
      _withdrawCurrency(erc20);
    }
  }

  function _withdrawEth() internal {
    uint256 wrappedBalance = IERC20(WETH).balanceOf(address(this));
    if (wrappedBalance > 0) {
      IWETH(WETH).withdraw(wrappedBalance);
    }
    uint256 nativeBalance = address(this).balance;
    uint256 balance = nativeBalance - _charityBalance;
    if (balance == 0) {
      revert NothingToDo();
    }
    (bool success, ) = saplingsWallet.call{ value: balance }("");
    if (!success) {
      revert PaymentFailed();
    }
  }

  function _withdrawCurrency(address erc20) internal {
    uint256 currencyBalance = IERC20(erc20).balanceOf(address(this));
    if (currencyBalance == 0) {
      revert NothingToDo();
    }
    IERC20(erc20).transfer(saplingsWallet, currencyBalance);
  }

  function sendToCharity() external onlyRole(ROLE_ADMIN) {
    uint256 split = _charityBalance * 3333 / 10000;
    (bool sucess1, ) = charity1.call{ value: split }("");
    (bool sucess2, ) = charity2.call{ value: split }("");
    (bool sucess3, ) = charity3.call{ value: split }("");
    if (!sucess1 || !sucess2 || !sucess3) {
      revert PaymentFailed();
    }
    _charityBalance = 0;
  }

  function setSaplingsWallet(address newWallet) external onlyRole(ROLE_ADMIN) {
    if (newWallet == saplingsWallet) {
      revert NothingToDo();
    }
    saplingsWallet = newWallet;
  }

  function swapBalance(uint24 fee, uint256 amountOutMinimum) external onlyRole(ROLE_ADMIN) {
    uint256 ethBalance = address(this).balance - _charityBalance;
    if (ethBalance == 0) {
      revert NothingToDo();
    }
    IWETH(WETH).deposit{value: ethBalance}();
    uint256 wethBalance = IERC20(WETH).balanceOf(address(this));
    (bool success, ) = _swapWeth(wethBalance, fee, amountOutMinimum);
    if (!success) {
      revert SwapFailed();
    }
  }

  function _swapWeth(uint256 amount, uint24 fee, uint256 amountOutMinimum) internal returns(bool, uint256) {
    TransferHelper.safeApprove(WETH, address(SWAP_ROUTER), amount);
    ISwapRouter.ExactInputSingleParams memory params = ISwapRouter.ExactInputSingleParams({
      tokenIn: WETH,
      tokenOut: currency,
      fee: fee,
      recipient: address(this),
      deadline: block.timestamp,
      amountIn: amount,
      amountOutMinimum: amountOutMinimum,
      sqrtPriceLimitX96: 0
    });

    try SWAP_ROUTER.exactInputSingle(params) returns (uint256 outAmount) {
      emit SwapSuccess(currency, amount, outAmount);
      return (true, outAmount);
    } catch Error(string memory reason) {
      emit SwapFailure(reason);
      return (false, 0);
    }
  }
}

File 2 of 13 : AccessControlLight.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

import "./interfaces/IAccessControlLight.sol";

contract AccessControlLight is IAccessControlLight {
  bytes32 internal constant ROLE_ADMIN = bytes32(uint256(0x00));
  bytes32 internal constant ROLE_SIGNER = bytes32(uint256(0x01));
  bytes32 internal constant ROLE_MINTER = bytes32(uint256(0x02));

  mapping(bytes32 => mapping(address => bool)) private _roles;

  address internal _owner;

  modifier onlyRole(bytes32 role) {
    _checkRole(role, msg.sender);
    _;
  }

  constructor() {
    emit OwnershipTransferred(_owner, msg.sender);
    emit RoleGranted(ROLE_ADMIN, msg.sender);
    _owner = msg.sender;
  }

  /**
   * @dev Returns `true` if `account` has been granted `role`.
     */
  function hasRole(bytes32 role, address account) public view virtual returns (bool) {
    if (role == ROLE_ADMIN && account == _owner) {
      return true;
    }
    return _roles[role][account];
  }

  function owner() public view virtual returns (address) {
    return _owner;
  }

  function grantRole(bytes32 role, address account) public virtual onlyRole(ROLE_ADMIN) {
    _grantRole(role, account);
  }

  function revokeRole(bytes32 role, address account) public virtual onlyRole(ROLE_ADMIN) {
    _revokeRole(role, account);
  }

  function renounceRole(bytes32 role) public virtual {
    _revokeRole(role, msg.sender);
  }

  function transferOwnership(address newOwner) public virtual {
    if (msg.sender != _owner) {
      revert MissingRole();
    }
    if (newOwner == address(0)) {
      revert NeedAtLeastOneAdmin();
    }
    emit OwnershipTransferred(_owner, newOwner);
    emit RoleGranted(ROLE_ADMIN, newOwner);
    _owner = newOwner;
    if (hasRole(ROLE_ADMIN, msg.sender)) {
      _revokeRole(ROLE_ADMIN, msg.sender);
    }
  }

  function _checkRole(bytes32 role, address account) internal view virtual {
    if (!hasRole(role, account)) {
      revert MissingRole();
    }
  }

  function _grantRole(bytes32 role, address account) internal virtual {
    if (hasRole(role, account)) {
      revert NothingToDo();
    }
    _roles[role][account] = true;
    emit RoleGranted(role, account);
  }

  function _revokeRole(bytes32 role, address account) internal virtual {
    if (!hasRole(role, account)) {
      revert NothingToDo();
    }
    _roles[role][account] = false;
    emit RoleRevoked(role, account);
  }
}

File 3 of 13 : IWETH.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IWETH is IERC20 {
  function deposit() external payable;
  function withdraw(uint wad) external;
  function totalSupply() external view returns (uint);
  function approve(address guy, uint wad) external returns (bool);
  function transfer(address dst, uint wad) external returns (bool);
  function transferFrom(address src, address dst, uint wad) external returns (bool);
}

File 4 of 13 : ISaplings.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

interface ISaplings {
  error InvalidSignature();
  error WrongAmount();
  error SoldOut();
  error Timeout();
  error PaymentFailed();
  error SendToCharityFirst();
  error SwapFailed();

  event SwapSuccess(address indexed currency, uint256 indexed wethAmount, uint256 indexed currencyAmount);
  event SwapFailure(string reason);
  event ReceivedEth(address sender, uint256 amount);
  event UpdatedCharity(address indexed charity1, address indexed charity2, address indexed charity3);
}

File 5 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @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 {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

    // Mapping from token ID to approved address.
    mapping(uint256 => TokenApprovalRef) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) public payable 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 {
        _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].value`.
        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 payable 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 payable 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 payable 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.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            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`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                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 str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 6 of 13 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 7 of 13 : ISwapRouter.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
pragma abicoder v2;

import '@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol';

/// @title Router token swapping functionality
/// @notice Functions for swapping tokens via Uniswap V3
interface ISwapRouter is IUniswapV3SwapCallback {
    struct ExactInputSingleParams {
        address tokenIn;
        address tokenOut;
        uint24 fee;
        address recipient;
        uint256 deadline;
        uint256 amountIn;
        uint256 amountOutMinimum;
        uint160 sqrtPriceLimitX96;
    }

    /// @notice Swaps `amountIn` of one token for as much as possible of another token
    /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata
    /// @return amountOut The amount of the received token
    function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut);

    struct ExactInputParams {
        bytes path;
        address recipient;
        uint256 deadline;
        uint256 amountIn;
        uint256 amountOutMinimum;
    }

    /// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path
    /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata
    /// @return amountOut The amount of the received token
    function exactInput(ExactInputParams calldata params) external payable returns (uint256 amountOut);

    struct ExactOutputSingleParams {
        address tokenIn;
        address tokenOut;
        uint24 fee;
        address recipient;
        uint256 deadline;
        uint256 amountOut;
        uint256 amountInMaximum;
        uint160 sqrtPriceLimitX96;
    }

    /// @notice Swaps as little as possible of one token for `amountOut` of another token
    /// @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata
    /// @return amountIn The amount of the input token
    function exactOutputSingle(ExactOutputSingleParams calldata params) external payable returns (uint256 amountIn);

    struct ExactOutputParams {
        bytes path;
        address recipient;
        uint256 deadline;
        uint256 amountOut;
        uint256 amountInMaximum;
    }

    /// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)
    /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata
    /// @return amountIn The amount of the input token
    function exactOutput(ExactOutputParams calldata params) external payable returns (uint256 amountIn);
}

File 8 of 13 : TransferHelper.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.6.0;

import '@openzeppelin/contracts/token/ERC20/IERC20.sol';

library TransferHelper {
    /// @notice Transfers tokens from the targeted address to the given destination
    /// @notice Errors with 'STF' if transfer fails
    /// @param token The contract address of the token to be transferred
    /// @param from The originating address from which the tokens will be transferred
    /// @param to The destination address of the transfer
    /// @param value The amount to be transferred
    function safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 value
    ) internal {
        (bool success, bytes memory data) =
            token.call(abi.encodeWithSelector(IERC20.transferFrom.selector, from, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'STF');
    }

    /// @notice Transfers tokens from msg.sender to a recipient
    /// @dev Errors with ST if transfer fails
    /// @param token The contract address of the token which will be transferred
    /// @param to The recipient of the transfer
    /// @param value The value of the transfer
    function safeTransfer(
        address token,
        address to,
        uint256 value
    ) internal {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.transfer.selector, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'ST');
    }

    /// @notice Approves the stipulated contract to spend the given allowance in the given token
    /// @dev Errors with 'SA' if transfer fails
    /// @param token The contract address of the token to be approved
    /// @param to The target of the approval
    /// @param value The amount of the given token the target will be allowed to spend
    function safeApprove(
        address token,
        address to,
        uint256 value
    ) internal {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.approve.selector, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'SA');
    }

    /// @notice Transfers ETH to the recipient address
    /// @dev Fails with `STE`
    /// @param to The destination of the transfer
    /// @param value The value to be transferred
    function safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(success, 'STE');
    }
}

File 9 of 13 : IAccessControlLight.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

interface IAccessControlLight {
  error MissingRole();
  error NothingToDo();
  error NeedAtLeastOneAdmin();

  event RoleGranted(bytes32 indexed role, address indexed account);
  event RoleRevoked(bytes32 indexed role, address indexed account);
  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

  function hasRole(bytes32 role, address account) external view returns (bool);
  function grantRole(bytes32 role, address account) external;
  function revokeRole(bytes32 role, address account) external;
  function renounceRole(bytes32 role) external;
}

File 10 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
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);
}

File 11 of 13 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * 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 payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @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 payable;

    /**
     * @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 payable;

    /**
     * @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);
}

File 12 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 13 of 13 : IUniswapV3SwapCallback.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Callback for IUniswapV3PoolActions#swap
/// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface
interface IUniswapV3SwapCallback {
    /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.
    /// @dev In the implementation you must pay the pool tokens owed for the swap.
    /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.
    /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped.
    /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by
    /// the end of the swap. If positive, the callback must send that amount of token0 to the pool.
    /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by
    /// the end of the swap. If positive, the callback must send that amount of token1 to the pool.
    /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call
    function uniswapV3SwapCallback(
        int256 amount0Delta,
        int256 amount1Delta,
        bytes calldata data
    ) external;
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MissingRole","type":"error"},{"inputs":[],"name":"NeedAtLeastOneAdmin","type":"error"},{"inputs":[],"name":"NothingToDo","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"PaymentFailed","type":"error"},{"inputs":[],"name":"SendToCharityFirst","type":"error"},{"inputs":[],"name":"SoldOut","type":"error"},{"inputs":[],"name":"SwapFailed","type":"error"},{"inputs":[],"name":"Timeout","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"},{"inputs":[],"name":"WrongAmount","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":"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":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ReceivedEth","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"reason","type":"string"}],"name":"SwapFailure","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"currency","type":"address"},{"indexed":true,"internalType":"uint256","name":"wethAmount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"currencyAmount","type":"uint256"}],"name":"SwapSuccess","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"charity1","type":"address"},{"indexed":true,"internalType":"address","name":"charity2","type":"address"},{"indexed":true,"internalType":"address","name":"charity3","type":"address"}],"name":"UpdatedCharity","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"charity1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"charity2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"charity3","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":"payable","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":"payable","type":"function"},{"inputs":[],"name":"saplingsWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sendToCharity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_charity1","type":"address"},{"internalType":"address","name":"_charity2","type":"address"},{"internalType":"address","name":"_charity3","type":"address"}],"name":"setCharity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"setCurrency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setSaplingsWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supplyCap","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"uint256","name":"amountOutMinimum","type":"uint256"}],"name":"swapBalance","outputs":[],"stateMutability":"nonpayable","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":[],"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"erc20","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052612710600a556040518060600160405280602881526020016200540360289139600b908162000034919062000882565b5073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550738aeb83d3d05741cc3ba89f9b823e9d029d5fd8a6600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073d173210a16cda79e691ba3286f4c2891a57f62d6601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507379ae3a03c1f7e100113db2e91c93cd08aa84910e601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073072c77409dd951e60cafb455e23bb497f35480c8601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200024057600080fd5b506040516200542b3803806200542b8339818101604052810190620002669190620009d3565b6040518060400160405280600881526020017f5361706c696e67730000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f53415000000000000000000000000000000000000000000000000000000000008152508160029081620002e3919062000882565b508060039081620002f5919062000882565b50620003066200042f60201b60201c565b60008190555050503373ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a33373ffffffffffffffffffffffffffffffffffffffff166000801b7f2ae6a113c0ed5b78a53413ffbb7679881f11145ccfba4fb92e863dfcd5a1d2f360405160405180910390a333600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000428600160001b826200043460201b60201c565b5062000a05565b600090565b6200044682826200052f60201b60201c565b156200047e576040517f5c52a86800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016008600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff16827f2ae6a113c0ed5b78a53413ffbb7679881f11145ccfba4fb92e863dfcd5a1d2f360405160405180910390a35050565b60008060001b83148015620005915750600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b15620005a1576001905062000602565b6008600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1690505b92915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200068a57607f821691505b602082108103620006a0576200069f62000642565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200070a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620006cb565b620007168683620006cb565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620007636200075d62000757846200072e565b62000738565b6200072e565b9050919050565b6000819050919050565b6200077f8362000742565b620007976200078e826200076a565b848454620006d8565b825550505050565b600090565b620007ae6200079f565b620007bb81848462000774565b505050565b5b81811015620007e357620007d7600082620007a4565b600181019050620007c1565b5050565b601f8211156200083257620007fc81620006a6565b6200080784620006bb565b8101602085101562000817578190505b6200082f6200082685620006bb565b830182620007c0565b50505b505050565b600082821c905092915050565b6000620008576000198460080262000837565b1980831691505092915050565b600062000872838362000844565b9150826002028217905092915050565b6200088d8262000608565b67ffffffffffffffff811115620008a957620008a862000613565b5b620008b5825462000671565b620008c2828285620007e7565b600060209050601f831160018114620008fa5760008415620008e5578287015190505b620008f1858262000864565b86555062000961565b601f1984166200090a86620006a6565b60005b8281101562000934578489015182556001820191506020850194506020810190506200090d565b8683101562000954578489015162000950601f89168262000844565b8355505b6001600288020188555050505b505050505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200099b826200096e565b9050919050565b620009ad816200098e565b8114620009b957600080fd5b50565b600081519050620009cd81620009a2565b92915050565b600060208284031215620009ec57620009eb62000969565b5b6000620009fc84828501620009bc565b91505092915050565b6149ee8062000a156000396000f3fe6080604052600436106101f25760003560e01c80636352211e1161010d578063a9b12ed0116100a0578063d547741f1161006f578063d547741f146106f8578063d666954314610721578063d7e5d8ac1461074c578063e985e9c514610763578063f2fde38b146107a057610232565b8063a9b12ed01461064d578063b88d4fde14610676578063c621d9f114610692578063c87b56dd146106bb57610232565b80638da5cb5b116100dc5780638da5cb5b1461059157806391d14854146105bc57806395d89b41146105f9578063a22cb4651461062457610232565b80636352211e146104c557806370a0823114610502578063826b35051461053f5780638bb9c5bf1461056857610232565b806323b872dd1161018557806342842e0e1161015457806342842e0e146104395780634a9eee691461045557806351cff8d91461047157806360929e991461049a57610232565b806323b872dd146103a25780632f2ff15d146103be5780632f84c391146103e75780633b4c4b251461041057610232565b8063081812fc116101c1578063081812fc146102f3578063095ea7b31461033057806318160ddd1461034c5780631e4608df1461037757610232565b806301ffc9a71461023757806302fe53051461027457806306fdde031461029d578063080fbf64146102c857610232565b36610232577f52a6cdf67c40ce333b3d846e4e143db87f71dd7935612a4cafcf6ba76047ca1f333460405161022892919061345b565b60405180910390a1005b600080fd5b34801561024357600080fd5b5061025e600480360381019061025991906134f0565b6107c9565b60405161026b9190613538565b60405180910390f35b34801561028057600080fd5b5061029b600480360381019061029691906135b8565b61085b565b005b3480156102a957600080fd5b506102b2610880565b6040516102bf9190613695565b60405180910390f35b3480156102d457600080fd5b506102dd610912565b6040516102ea91906136b7565b60405180910390f35b3480156102ff57600080fd5b5061031a600480360381019061031591906136fe565b610938565b60405161032791906136b7565b60405180910390f35b61034a60048036038101906103459190613757565b6109b7565b005b34801561035857600080fd5b50610361610afb565b60405161036e9190613797565b60405180910390f35b34801561038357600080fd5b5061038c610b12565b60405161039991906136b7565b60405180910390f35b6103bc60048036038101906103b791906137b2565b610b38565b005b3480156103ca57600080fd5b506103e560048036038101906103e0919061383b565b610e5a565b005b3480156103f357600080fd5b5061040e6004803603810190610409919061387b565b610e77565b005b34801561041c57600080fd5b50610437600480360381019061043291906136fe565b610f8e565b005b610453600480360381019061044e91906137b2565b610fa7565b005b61046f600480360381019061046a91906138fe565b610fc7565b005b34801561047d57600080fd5b506104986004803603810190610493919061387b565b611162565b005b3480156104a657600080fd5b506104af611218565b6040516104bc91906136b7565b60405180910390f35b3480156104d157600080fd5b506104ec60048036038101906104e791906136fe565b61123e565b6040516104f991906136b7565b60405180910390f35b34801561050e57600080fd5b506105296004803603810190610524919061387b565b611250565b6040516105369190613797565b60405180910390f35b34801561054b57600080fd5b50610566600480360381019061056191906139c1565b611308565b005b34801561057457600080fd5b5061058f600480360381019061058a9190613a01565b6114d4565b005b34801561059d57600080fd5b506105a66114e1565b6040516105b391906136b7565b60405180910390f35b3480156105c857600080fd5b506105e360048036038101906105de919061383b565b61150b565b6040516105f09190613538565b60405180910390f35b34801561060557600080fd5b5061060e6115e1565b60405161061b9190613695565b60405180910390f35b34801561063057600080fd5b5061064b60048036038101906106469190613a5a565b611673565b005b34801561065957600080fd5b50610674600480360381019061066f919061387b565b61177e565b005b610690600480360381019061068b9190613bca565b611858565b005b34801561069e57600080fd5b506106b960048036038101906106b49190613c4d565b6118cb565b005b3480156106c757600080fd5b506106e260048036038101906106dd91906136fe565b611a13565b6040516106ef9190613695565b60405180910390f35b34801561070457600080fd5b5061071f600480360381019061071a919061383b565b611ab1565b005b34801561072d57600080fd5b50610736611ace565b60405161074391906136b7565b60405180910390f35b34801561075857600080fd5b50610761611af4565b005b34801561076f57600080fd5b5061078a60048036038101906107859190613ca0565b611d27565b6040516107979190613538565b60405180910390f35b3480156107ac57600080fd5b506107c760048036038101906107c2919061387b565b611dbb565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061082457506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108545750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6000801b6108698133611fcf565b8282600b918261087a929190613ef7565b50505050565b60606002805461088f90613d1a565b80601f01602080910402602001604051908101604052809291908181526020018280546108bb90613d1a565b80156109085780601f106108dd57610100808354040283529160200191610908565b820191906000526020600020905b8154815290600101906020018083116108eb57829003601f168201915b5050505050905090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061094382612013565b610979576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109c28261123e565b90508073ffffffffffffffffffffffffffffffffffffffff166109e3612072565b73ffffffffffffffffffffffffffffffffffffffff1614610a4657610a0f81610a0a612072565b611d27565b610a45576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610b0561207a565b6001546000540303905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610b438261207f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610baa576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610bb68461214b565b91509150610bcc8187610bc7612072565b612172565b610c1857610be186610bdc612072565b611d27565b610c17576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610c7e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c8b86868660016121b6565b8015610c9657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610d6485610d408888876121bc565b7c0200000000000000000000000000000000000000000000000000000000176121e4565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610dea5760006001850190506000600460008381526020019081526020016000205403610de8576000548114610de7578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e52868686600161220f565b505050505050565b6000801b610e688133611fcf565b610e728383612215565b505050565b6000801b610e858133611fcf565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f0c576040517f5c52a86800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006013541115610f49576040517f129ebb3500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000801b610f9c8133611fcf565b81600a819055505050565b610fc283838360405180602001604052806000815250611858565b505050565b610fd48585858585612307565b61100a576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b348514611043576040517f49986e7300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5461104e610afb565b856110599190613ff6565b1115611091576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a8361109e9190613ff6565b4311156110d7576040517f2af0c7f800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906111279061402a565b91905055506111363385612413565b60023461114391906140a1565b601360008282546111549190613ff6565b925050819055505050505050565b6000801b6111708133611fcf565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614806111f85750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b1561120a576112056125ce565b611214565b61121382612821565b5b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006112498261207f565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112b7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6000801b6113168133611fcf565b60006013544761132691906140d2565b905060008103611362576040517f5c52a86800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156113cc57600080fd5b505af11580156113e0573d6000803e3d6000fd5b50505050506000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161144291906136b7565b602060405180830381865afa15801561145f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611483919061411b565b9050600061149282878761297e565b509050806114cc576040517f81ceff3000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050505050565b6114de8133612c20565b50565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060001b8314801561156c5750600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b1561157a57600190506115db565b6008600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1690505b92915050565b6060600380546115f090613d1a565b80601f016020809104026020016040519081016040528092919081815260200182805461161c90613d1a565b80156116695780601f1061163e57610100808354040283529160200191611669565b820191906000526020600020905b81548152906001019060200180831161164c57829003601f168201915b5050505050905090565b8060076000611680612072565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661172d612072565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117729190613538565b60405180910390a35050565b6000801b61178c8133611fcf565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611813576040517f5c52a86800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b611863848484610b38565b60008373ffffffffffffffffffffffffffffffffffffffff163b146118c55761188e84848484612d11565b6118c4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000801b6118d98133611fcf565b83600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fa8e20ab9860c03d073f786cb8d0d6945038b35352bc6e959eadfdb409dc8ccae60405160405180910390a450505050565b6060611a1e82612013565b611a54576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611a5e612e61565b90506000815103611a7e5760405180602001604052806000815250611aa9565b80611a8884612ef3565b604051602001611a99929190614184565b6040516020818303038152906040525b915050919050565b6000801b611abf8133611fcf565b611ac98383612c20565b505050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000801b611b028133611fcf565b6000612710610d05601354611b1791906141a8565b611b2191906140a1565b90506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611b6b9061421b565b60006040518083038185875af1925050503d8060008114611ba8576040519150601f19603f3d011682016040523d82523d6000602084013e611bad565b606091505b505090506000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051611bf99061421b565b60006040518083038185875af1925050503d8060008114611c36576040519150601f19603f3d011682016040523d82523d6000602084013e611c3b565b606091505b505090506000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1684604051611c879061421b565b60006040518083038185875af1925050503d8060008114611cc4576040519150601f19603f3d011682016040523d82523d6000602084013e611cc9565b606091505b50509050821580611cd8575081155b80611ce1575080155b15611d18576040517ff499da2000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006013819055505050505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e42576040517f9423592200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ea8576040517f66a6e52400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a38073ffffffffffffffffffffffffffffffffffffffff166000801b7f2ae6a113c0ed5b78a53413ffbb7679881f11145ccfba4fb92e863dfcd5a1d2f360405160405180910390a380600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611fb96000801b3361150b565b15611fcc57611fcb6000801b33612c20565b5b50565b611fd9828261150b565b61200f576040517f9423592200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b60008161201e61207a565b1115801561202d575060005482105b801561206b575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061208e61207a565b11612114576000548110156121135760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612111575b600081036121075760046000836001900393508381526020019081526020016000205490506120dd565b8092505050612146565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86121d3868684612f43565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61221f828261150b565b15612256576040517f5c52a86800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016008600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff16827f2ae6a113c0ed5b78a53413ffbb7679881f11145ccfba4fb92e863dfcd5a1d2f360405160405180910390a35050565b60008033600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054888888604051602001612362959493929190614299565b60405160208183030381529060405280519060200120905060008160405160200161238d9190614365565b60405160208183030381529060405280519060200120905060006123f58287878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612f4c565b9050612405600160001b8261150b565b935050505095945050505050565b60008054905060008203612453576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61246060008483856121b6565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506124d7836124c860008660006121bc565b6124d185612f73565b176121e4565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461257857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061253d565b50600082036125b3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506125c9600084838561220f565b505050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161262b91906136b7565b602060405180830381865afa158015612648573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061266c919061411b565b9050600081111561270557600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b81526004016126d29190613797565b600060405180830381600087803b1580156126ec57600080fd5b505af1158015612700573d6000803e3d6000fd5b505050505b600047905060006013548261271a91906140d2565b905060008103612756576040517f5c52a86800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161279e9061421b565b60006040518083038185875af1925050503d80600081146127db576040519150601f19603f3d011682016040523d82523d6000602084013e6127e0565b606091505b505090508061281b576040517ff499da2000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161285c91906136b7565b602060405180830381865afa158015612879573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289d919061411b565b9050600081036128d9576040517f5c52a86800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b815260040161293692919061345b565b6020604051808303816000875af1158015612955573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061297991906143a0565b505050565b6000806129c2600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673e592427a0aece92de3edee1f18e0157c0586156487612f83565b6000604051806101000160405280600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018662ffffff1681526020013073ffffffffffffffffffffffffffffffffffffffff168152602001428152602001878152602001858152602001600073ffffffffffffffffffffffffffffffffffffffff16815250905073e592427a0aece92de3edee1f18e0157c0586156473ffffffffffffffffffffffffffffffffffffffff1663414bf389826040518263ffffffff1660e01b8152600401612aef91906144ab565b6020604051808303816000875af1925050508015612b2b57506040513d601f19601f82011682018060405250810190612b28919061411b565b60015b612ba757612b376144d4565b806308c379a003612b9b5750612b4b6144f6565b80612b565750612b9d565b7f3e81642c7e8f95412a9f139fbfd3d1f44c43ad6e2dec4a221816fa6a8fde381b81604051612b859190613695565b60405180910390a1600080935093505050612c18565b505b3d6000803e3d6000fd5b8087600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fb066474b0238c7b6d4e8e4b5edb6df6f5e7c6f843a4078847bb198211ebc783160405160405180910390a46001819350935050505b935093915050565b612c2a828261150b565b612c60576040517f5c52a86800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006008600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff16827f155aaafb6329a2098580462df33ec4b7441b19729b9601c5fc17ae1cf99a8a5260405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d37612072565b8786866040518563ffffffff1660e01b8152600401612d5994939291906145db565b6020604051808303816000875af1925050508015612d9557506040513d601f19601f82011682018060405250810190612d92919061463c565b60015b612e0e573d8060008114612dc5576040519150601f19603f3d011682016040523d82523d6000602084013e612dca565b606091505b506000815103612e06576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600b8054612e7090613d1a565b80601f0160208091040260200160405190810160405280929190818152602001828054612e9c90613d1a565b8015612ee95780601f10612ebe57610100808354040283529160200191612ee9565b820191906000526020600020905b815481529060010190602001808311612ecc57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b600115612f2e57600184039350600a81066030018453600a8104905080612f0c575b50828103602084039350808452505050919050565b60009392505050565b6000806000612f5b85856130d8565b91509150612f6881613129565b819250505092915050565b60006001821460e11b9050919050565b6000808473ffffffffffffffffffffffffffffffffffffffff1663095ea7b360e01b8585604051602401612fb892919061345b565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051613022919061469a565b6000604051808303816000865af19150503d806000811461305f576040519150601f19603f3d011682016040523d82523d6000602084013e613064565b606091505b5091509150818015613092575060008151148061309157508080602001905181019061309091906143a0565b5b5b6130d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c8906146fd565b60405180910390fd5b5050505050565b60008060418351036131195760008060006020860151925060408601519150606086015160001a905061310d878285856132f5565b94509450505050613122565b60006002915091505b9250929050565b6000600481111561313d5761313c61471d565b5b8160048111156131505761314f61471d565b5b03156132f2576001600481111561316a5761316961471d565b5b81600481111561317d5761317c61471d565b5b036131bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b490614798565b60405180910390fd5b600260048111156131d1576131d061471d565b5b8160048111156131e4576131e361471d565b5b03613224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161321b90614804565b60405180910390fd5b600360048111156132385761323761471d565b5b81600481111561324b5761324a61471d565b5b0361328b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328290614896565b60405180910390fd5b60048081111561329e5761329d61471d565b5b8160048111156132b1576132b061471d565b5b036132f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e890614928565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156133305760006003915091506133f8565b601b8560ff16141580156133485750601c8560ff1614155b1561335a5760006004915091506133f8565b60006001878787876040516000815260200160405260405161337f9493929190614973565b6020604051602081039080840390855afa1580156133a1573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036133ef576000600192509250506133f8565b80600092509250505b94509492505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061342c82613401565b9050919050565b61343c81613421565b82525050565b6000819050919050565b61345581613442565b82525050565b60006040820190506134706000830185613433565b61347d602083018461344c565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134cd81613498565b81146134d857600080fd5b50565b6000813590506134ea816134c4565b92915050565b6000602082840312156135065761350561348e565b5b6000613514848285016134db565b91505092915050565b60008115159050919050565b6135328161351d565b82525050565b600060208201905061354d6000830184613529565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261357857613577613553565b5b8235905067ffffffffffffffff81111561359557613594613558565b5b6020830191508360018202830111156135b1576135b061355d565b5b9250929050565b600080602083850312156135cf576135ce61348e565b5b600083013567ffffffffffffffff8111156135ed576135ec613493565b5b6135f985828601613562565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561363f578082015181840152602081019050613624565b60008484015250505050565b6000601f19601f8301169050919050565b600061366782613605565b6136718185613610565b9350613681818560208601613621565b61368a8161364b565b840191505092915050565b600060208201905081810360008301526136af818461365c565b905092915050565b60006020820190506136cc6000830184613433565b92915050565b6136db81613442565b81146136e657600080fd5b50565b6000813590506136f8816136d2565b92915050565b6000602082840312156137145761371361348e565b5b6000613722848285016136e9565b91505092915050565b61373481613421565b811461373f57600080fd5b50565b6000813590506137518161372b565b92915050565b6000806040838503121561376e5761376d61348e565b5b600061377c85828601613742565b925050602061378d858286016136e9565b9150509250929050565b60006020820190506137ac600083018461344c565b92915050565b6000806000606084860312156137cb576137ca61348e565b5b60006137d986828701613742565b93505060206137ea86828701613742565b92505060406137fb868287016136e9565b9150509250925092565b6000819050919050565b61381881613805565b811461382357600080fd5b50565b6000813590506138358161380f565b92915050565b600080604083850312156138525761385161348e565b5b600061386085828601613826565b925050602061387185828601613742565b9150509250929050565b6000602082840312156138915761389061348e565b5b600061389f84828501613742565b91505092915050565b60008083601f8401126138be576138bd613553565b5b8235905067ffffffffffffffff8111156138db576138da613558565b5b6020830191508360018202830111156138f7576138f661355d565b5b9250929050565b60008060008060006080868803121561391a5761391961348e565b5b6000613928888289016136e9565b9550506020613939888289016136e9565b945050604061394a888289016136e9565b935050606086013567ffffffffffffffff81111561396b5761396a613493565b5b613977888289016138a8565b92509250509295509295909350565b600062ffffff82169050919050565b61399e81613986565b81146139a957600080fd5b50565b6000813590506139bb81613995565b92915050565b600080604083850312156139d8576139d761348e565b5b60006139e6858286016139ac565b92505060206139f7858286016136e9565b9150509250929050565b600060208284031215613a1757613a1661348e565b5b6000613a2584828501613826565b91505092915050565b613a378161351d565b8114613a4257600080fd5b50565b600081359050613a5481613a2e565b92915050565b60008060408385031215613a7157613a7061348e565b5b6000613a7f85828601613742565b9250506020613a9085828601613a45565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ad78261364b565b810181811067ffffffffffffffff82111715613af657613af5613a9f565b5b80604052505050565b6000613b09613484565b9050613b158282613ace565b919050565b600067ffffffffffffffff821115613b3557613b34613a9f565b5b613b3e8261364b565b9050602081019050919050565b82818337600083830152505050565b6000613b6d613b6884613b1a565b613aff565b905082815260208101848484011115613b8957613b88613a9a565b5b613b94848285613b4b565b509392505050565b600082601f830112613bb157613bb0613553565b5b8135613bc1848260208601613b5a565b91505092915050565b60008060008060808587031215613be457613be361348e565b5b6000613bf287828801613742565b9450506020613c0387828801613742565b9350506040613c14878288016136e9565b925050606085013567ffffffffffffffff811115613c3557613c34613493565b5b613c4187828801613b9c565b91505092959194509250565b600080600060608486031215613c6657613c6561348e565b5b6000613c7486828701613742565b9350506020613c8586828701613742565b9250506040613c9686828701613742565b9150509250925092565b60008060408385031215613cb757613cb661348e565b5b6000613cc585828601613742565b9250506020613cd685828601613742565b9150509250929050565b600082905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d3257607f821691505b602082108103613d4557613d44613ceb565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613dad7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613d70565b613db78683613d70565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613df4613def613dea84613442565b613dcf565b613442565b9050919050565b6000819050919050565b613e0e83613dd9565b613e22613e1a82613dfb565b848454613d7d565b825550505050565b600090565b613e37613e2a565b613e42818484613e05565b505050565b5b81811015613e6657613e5b600082613e2f565b600181019050613e48565b5050565b601f821115613eab57613e7c81613d4b565b613e8584613d60565b81016020851015613e94578190505b613ea8613ea085613d60565b830182613e47565b50505b505050565b600082821c905092915050565b6000613ece60001984600802613eb0565b1980831691505092915050565b6000613ee78383613ebd565b9150826002028217905092915050565b613f018383613ce0565b67ffffffffffffffff811115613f1a57613f19613a9f565b5b613f248254613d1a565b613f2f828285613e6a565b6000601f831160018114613f5e5760008415613f4c578287013590505b613f568582613edb565b865550613fbe565b601f198416613f6c86613d4b565b60005b82811015613f9457848901358255600182019150602085019450602081019050613f6f565b86831015613fb15784890135613fad601f891682613ebd565b8355505b6001600288020188555050505b50505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061400182613442565b915061400c83613442565b925082820190508082111561402457614023613fc7565b5b92915050565b600061403582613442565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361406757614066613fc7565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140ac82613442565b91506140b783613442565b9250826140c7576140c6614072565b5b828204905092915050565b60006140dd82613442565b91506140e883613442565b9250828203905081811115614100576140ff613fc7565b5b92915050565b600081519050614115816136d2565b92915050565b6000602082840312156141315761413061348e565b5b600061413f84828501614106565b91505092915050565b600081905092915050565b600061415e82613605565b6141688185614148565b9350614178818560208601613621565b80840191505092915050565b60006141908285614153565b915061419c8284614153565b91508190509392505050565b60006141b382613442565b91506141be83613442565b92508282026141cc81613442565b915082820484148315176141e3576141e2613fc7565b5b5092915050565b600081905092915050565b50565b60006142056000836141ea565b9150614210826141f5565b600082019050919050565b6000614226826141f8565b9150819050919050565b60008160601b9050919050565b600061424882614230565b9050919050565b600061425a8261423d565b9050919050565b61427261426d82613421565b61424f565b82525050565b6000819050919050565b61429361428e82613442565b614278565b82525050565b60006142a58288614261565b6014820191506142b58287614282565b6020820191506142c58286614282565b6020820191506142d58285614282565b6020820191506142e58284614282565b6020820191508190509695505050505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b600061432e601c83614148565b9150614339826142f8565b601c82019050919050565b6000819050919050565b61435f61435a82613805565b614344565b82525050565b600061437082614321565b915061437c828461434e565b60208201915081905092915050565b60008151905061439a81613a2e565b92915050565b6000602082840312156143b6576143b561348e565b5b60006143c48482850161438b565b91505092915050565b6143d681613421565b82525050565b6143e581613986565b82525050565b6143f481613442565b82525050565b61440381613401565b82525050565b6101008201600082015161442060008501826143cd565b50602082015161443360208501826143cd565b50604082015161444660408501826143dc565b50606082015161445960608501826143cd565b50608082015161446c60808501826143eb565b5060a082015161447f60a08501826143eb565b5060c082015161449260c08501826143eb565b5060e08201516144a560e08501826143fa565b50505050565b6000610100820190506144c16000830184614409565b92915050565b60008160e01c9050919050565b600060033d11156144f35760046000803e6144f06000516144c7565b90505b90565b600060443d1061458357614508613484565b60043d036004823e80513d602482011167ffffffffffffffff82111715614530575050614583565b808201805167ffffffffffffffff81111561454e5750505050614583565b80602083010160043d03850181111561456b575050505050614583565b61457a82602001850186613ace565b82955050505050505b90565b600081519050919050565b600082825260208201905092915050565b60006145ad82614586565b6145b78185614591565b93506145c7818560208601613621565b6145d08161364b565b840191505092915050565b60006080820190506145f06000830187613433565b6145fd6020830186613433565b61460a604083018561344c565b818103606083015261461c81846145a2565b905095945050505050565b600081519050614636816134c4565b92915050565b6000602082840312156146525761465161348e565b5b600061466084828501614627565b91505092915050565b600061467482614586565b61467e81856141ea565b935061468e818560208601613621565b80840191505092915050565b60006146a68284614669565b915081905092915050565b7f5341000000000000000000000000000000000000000000000000000000000000600082015250565b60006146e7600283613610565b91506146f2826146b1565b602082019050919050565b60006020820190508181036000830152614716816146da565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614782601883613610565b915061478d8261474c565b602082019050919050565b600060208201905081810360008301526147b181614775565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006147ee601f83613610565b91506147f9826147b8565b602082019050919050565b6000602082019050818103600083015261481d816147e1565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614880602283613610565b915061488b82614824565b604082019050919050565b600060208201905081810360008301526148af81614873565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614912602283613610565b915061491d826148b6565b604082019050919050565b6000602082019050818103600083015261494181614905565b9050919050565b61495181613805565b82525050565b600060ff82169050919050565b61496d81614957565b82525050565b60006080820190506149886000830187614948565b6149956020830186614964565b6149a26040830185614948565b6149af6060830184614948565b9594505050505056fea264697066735822122077d43a67ad4e75bc70082a794f219ceb770749d16eaffa61a55dc3f279ae47db64736f6c6343000811003368747470733a2f2f6170692e7361706c696e67732e65617274682f6e66742f6d657461646174612f000000000000000000000000b3d15708a791e087a19cc65466fb975667f7ad32

Deployed Bytecode

0x6080604052600436106101f25760003560e01c80636352211e1161010d578063a9b12ed0116100a0578063d547741f1161006f578063d547741f146106f8578063d666954314610721578063d7e5d8ac1461074c578063e985e9c514610763578063f2fde38b146107a057610232565b8063a9b12ed01461064d578063b88d4fde14610676578063c621d9f114610692578063c87b56dd146106bb57610232565b80638da5cb5b116100dc5780638da5cb5b1461059157806391d14854146105bc57806395d89b41146105f9578063a22cb4651461062457610232565b80636352211e146104c557806370a0823114610502578063826b35051461053f5780638bb9c5bf1461056857610232565b806323b872dd1161018557806342842e0e1161015457806342842e0e146104395780634a9eee691461045557806351cff8d91461047157806360929e991461049a57610232565b806323b872dd146103a25780632f2ff15d146103be5780632f84c391146103e75780633b4c4b251461041057610232565b8063081812fc116101c1578063081812fc146102f3578063095ea7b31461033057806318160ddd1461034c5780631e4608df1461037757610232565b806301ffc9a71461023757806302fe53051461027457806306fdde031461029d578063080fbf64146102c857610232565b36610232577f52a6cdf67c40ce333b3d846e4e143db87f71dd7935612a4cafcf6ba76047ca1f333460405161022892919061345b565b60405180910390a1005b600080fd5b34801561024357600080fd5b5061025e600480360381019061025991906134f0565b6107c9565b60405161026b9190613538565b60405180910390f35b34801561028057600080fd5b5061029b600480360381019061029691906135b8565b61085b565b005b3480156102a957600080fd5b506102b2610880565b6040516102bf9190613695565b60405180910390f35b3480156102d457600080fd5b506102dd610912565b6040516102ea91906136b7565b60405180910390f35b3480156102ff57600080fd5b5061031a600480360381019061031591906136fe565b610938565b60405161032791906136b7565b60405180910390f35b61034a60048036038101906103459190613757565b6109b7565b005b34801561035857600080fd5b50610361610afb565b60405161036e9190613797565b60405180910390f35b34801561038357600080fd5b5061038c610b12565b60405161039991906136b7565b60405180910390f35b6103bc60048036038101906103b791906137b2565b610b38565b005b3480156103ca57600080fd5b506103e560048036038101906103e0919061383b565b610e5a565b005b3480156103f357600080fd5b5061040e6004803603810190610409919061387b565b610e77565b005b34801561041c57600080fd5b50610437600480360381019061043291906136fe565b610f8e565b005b610453600480360381019061044e91906137b2565b610fa7565b005b61046f600480360381019061046a91906138fe565b610fc7565b005b34801561047d57600080fd5b506104986004803603810190610493919061387b565b611162565b005b3480156104a657600080fd5b506104af611218565b6040516104bc91906136b7565b60405180910390f35b3480156104d157600080fd5b506104ec60048036038101906104e791906136fe565b61123e565b6040516104f991906136b7565b60405180910390f35b34801561050e57600080fd5b506105296004803603810190610524919061387b565b611250565b6040516105369190613797565b60405180910390f35b34801561054b57600080fd5b50610566600480360381019061056191906139c1565b611308565b005b34801561057457600080fd5b5061058f600480360381019061058a9190613a01565b6114d4565b005b34801561059d57600080fd5b506105a66114e1565b6040516105b391906136b7565b60405180910390f35b3480156105c857600080fd5b506105e360048036038101906105de919061383b565b61150b565b6040516105f09190613538565b60405180910390f35b34801561060557600080fd5b5061060e6115e1565b60405161061b9190613695565b60405180910390f35b34801561063057600080fd5b5061064b60048036038101906106469190613a5a565b611673565b005b34801561065957600080fd5b50610674600480360381019061066f919061387b565b61177e565b005b610690600480360381019061068b9190613bca565b611858565b005b34801561069e57600080fd5b506106b960048036038101906106b49190613c4d565b6118cb565b005b3480156106c757600080fd5b506106e260048036038101906106dd91906136fe565b611a13565b6040516106ef9190613695565b60405180910390f35b34801561070457600080fd5b5061071f600480360381019061071a919061383b565b611ab1565b005b34801561072d57600080fd5b50610736611ace565b60405161074391906136b7565b60405180910390f35b34801561075857600080fd5b50610761611af4565b005b34801561076f57600080fd5b5061078a60048036038101906107859190613ca0565b611d27565b6040516107979190613538565b60405180910390f35b3480156107ac57600080fd5b506107c760048036038101906107c2919061387b565b611dbb565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061082457506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108545750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6000801b6108698133611fcf565b8282600b918261087a929190613ef7565b50505050565b60606002805461088f90613d1a565b80601f01602080910402602001604051908101604052809291908181526020018280546108bb90613d1a565b80156109085780601f106108dd57610100808354040283529160200191610908565b820191906000526020600020905b8154815290600101906020018083116108eb57829003601f168201915b5050505050905090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061094382612013565b610979576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109c28261123e565b90508073ffffffffffffffffffffffffffffffffffffffff166109e3612072565b73ffffffffffffffffffffffffffffffffffffffff1614610a4657610a0f81610a0a612072565b611d27565b610a45576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610b0561207a565b6001546000540303905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610b438261207f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610baa576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610bb68461214b565b91509150610bcc8187610bc7612072565b612172565b610c1857610be186610bdc612072565b611d27565b610c17576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610c7e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c8b86868660016121b6565b8015610c9657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610d6485610d408888876121bc565b7c0200000000000000000000000000000000000000000000000000000000176121e4565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610dea5760006001850190506000600460008381526020019081526020016000205403610de8576000548114610de7578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e52868686600161220f565b505050505050565b6000801b610e688133611fcf565b610e728383612215565b505050565b6000801b610e858133611fcf565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f0c576040517f5c52a86800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006013541115610f49576040517f129ebb3500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000801b610f9c8133611fcf565b81600a819055505050565b610fc283838360405180602001604052806000815250611858565b505050565b610fd48585858585612307565b61100a576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b348514611043576040517f49986e7300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5461104e610afb565b856110599190613ff6565b1115611091576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a8361109e9190613ff6565b4311156110d7576040517f2af0c7f800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906111279061402a565b91905055506111363385612413565b60023461114391906140a1565b601360008282546111549190613ff6565b925050819055505050505050565b6000801b6111708133611fcf565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614806111f85750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b1561120a576112056125ce565b611214565b61121382612821565b5b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006112498261207f565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112b7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6000801b6113168133611fcf565b60006013544761132691906140d2565b905060008103611362576040517f5c52a86800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156113cc57600080fd5b505af11580156113e0573d6000803e3d6000fd5b50505050506000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161144291906136b7565b602060405180830381865afa15801561145f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611483919061411b565b9050600061149282878761297e565b509050806114cc576040517f81ceff3000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050505050565b6114de8133612c20565b50565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060001b8314801561156c5750600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b1561157a57600190506115db565b6008600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1690505b92915050565b6060600380546115f090613d1a565b80601f016020809104026020016040519081016040528092919081815260200182805461161c90613d1a565b80156116695780601f1061163e57610100808354040283529160200191611669565b820191906000526020600020905b81548152906001019060200180831161164c57829003601f168201915b5050505050905090565b8060076000611680612072565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661172d612072565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117729190613538565b60405180910390a35050565b6000801b61178c8133611fcf565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611813576040517f5c52a86800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b611863848484610b38565b60008373ffffffffffffffffffffffffffffffffffffffff163b146118c55761188e84848484612d11565b6118c4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000801b6118d98133611fcf565b83600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fa8e20ab9860c03d073f786cb8d0d6945038b35352bc6e959eadfdb409dc8ccae60405160405180910390a450505050565b6060611a1e82612013565b611a54576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611a5e612e61565b90506000815103611a7e5760405180602001604052806000815250611aa9565b80611a8884612ef3565b604051602001611a99929190614184565b6040516020818303038152906040525b915050919050565b6000801b611abf8133611fcf565b611ac98383612c20565b505050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000801b611b028133611fcf565b6000612710610d05601354611b1791906141a8565b611b2191906140a1565b90506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611b6b9061421b565b60006040518083038185875af1925050503d8060008114611ba8576040519150601f19603f3d011682016040523d82523d6000602084013e611bad565b606091505b505090506000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051611bf99061421b565b60006040518083038185875af1925050503d8060008114611c36576040519150601f19603f3d011682016040523d82523d6000602084013e611c3b565b606091505b505090506000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1684604051611c879061421b565b60006040518083038185875af1925050503d8060008114611cc4576040519150601f19603f3d011682016040523d82523d6000602084013e611cc9565b606091505b50509050821580611cd8575081155b80611ce1575080155b15611d18576040517ff499da2000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006013819055505050505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e42576040517f9423592200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ea8576040517f66a6e52400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a38073ffffffffffffffffffffffffffffffffffffffff166000801b7f2ae6a113c0ed5b78a53413ffbb7679881f11145ccfba4fb92e863dfcd5a1d2f360405160405180910390a380600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611fb96000801b3361150b565b15611fcc57611fcb6000801b33612c20565b5b50565b611fd9828261150b565b61200f576040517f9423592200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b60008161201e61207a565b1115801561202d575060005482105b801561206b575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061208e61207a565b11612114576000548110156121135760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612111575b600081036121075760046000836001900393508381526020019081526020016000205490506120dd565b8092505050612146565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86121d3868684612f43565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61221f828261150b565b15612256576040517f5c52a86800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016008600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff16827f2ae6a113c0ed5b78a53413ffbb7679881f11145ccfba4fb92e863dfcd5a1d2f360405160405180910390a35050565b60008033600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054888888604051602001612362959493929190614299565b60405160208183030381529060405280519060200120905060008160405160200161238d9190614365565b60405160208183030381529060405280519060200120905060006123f58287878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612f4c565b9050612405600160001b8261150b565b935050505095945050505050565b60008054905060008203612453576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61246060008483856121b6565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506124d7836124c860008660006121bc565b6124d185612f73565b176121e4565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461257857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061253d565b50600082036125b3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506125c9600084838561220f565b505050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161262b91906136b7565b602060405180830381865afa158015612648573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061266c919061411b565b9050600081111561270557600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b81526004016126d29190613797565b600060405180830381600087803b1580156126ec57600080fd5b505af1158015612700573d6000803e3d6000fd5b505050505b600047905060006013548261271a91906140d2565b905060008103612756576040517f5c52a86800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161279e9061421b565b60006040518083038185875af1925050503d80600081146127db576040519150601f19603f3d011682016040523d82523d6000602084013e6127e0565b606091505b505090508061281b576040517ff499da2000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161285c91906136b7565b602060405180830381865afa158015612879573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289d919061411b565b9050600081036128d9576040517f5c52a86800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b815260040161293692919061345b565b6020604051808303816000875af1158015612955573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061297991906143a0565b505050565b6000806129c2600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673e592427a0aece92de3edee1f18e0157c0586156487612f83565b6000604051806101000160405280600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018662ffffff1681526020013073ffffffffffffffffffffffffffffffffffffffff168152602001428152602001878152602001858152602001600073ffffffffffffffffffffffffffffffffffffffff16815250905073e592427a0aece92de3edee1f18e0157c0586156473ffffffffffffffffffffffffffffffffffffffff1663414bf389826040518263ffffffff1660e01b8152600401612aef91906144ab565b6020604051808303816000875af1925050508015612b2b57506040513d601f19601f82011682018060405250810190612b28919061411b565b60015b612ba757612b376144d4565b806308c379a003612b9b5750612b4b6144f6565b80612b565750612b9d565b7f3e81642c7e8f95412a9f139fbfd3d1f44c43ad6e2dec4a221816fa6a8fde381b81604051612b859190613695565b60405180910390a1600080935093505050612c18565b505b3d6000803e3d6000fd5b8087600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fb066474b0238c7b6d4e8e4b5edb6df6f5e7c6f843a4078847bb198211ebc783160405160405180910390a46001819350935050505b935093915050565b612c2a828261150b565b612c60576040517f5c52a86800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006008600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff16827f155aaafb6329a2098580462df33ec4b7441b19729b9601c5fc17ae1cf99a8a5260405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d37612072565b8786866040518563ffffffff1660e01b8152600401612d5994939291906145db565b6020604051808303816000875af1925050508015612d9557506040513d601f19601f82011682018060405250810190612d92919061463c565b60015b612e0e573d8060008114612dc5576040519150601f19603f3d011682016040523d82523d6000602084013e612dca565b606091505b506000815103612e06576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600b8054612e7090613d1a565b80601f0160208091040260200160405190810160405280929190818152602001828054612e9c90613d1a565b8015612ee95780601f10612ebe57610100808354040283529160200191612ee9565b820191906000526020600020905b815481529060010190602001808311612ecc57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b600115612f2e57600184039350600a81066030018453600a8104905080612f0c575b50828103602084039350808452505050919050565b60009392505050565b6000806000612f5b85856130d8565b91509150612f6881613129565b819250505092915050565b60006001821460e11b9050919050565b6000808473ffffffffffffffffffffffffffffffffffffffff1663095ea7b360e01b8585604051602401612fb892919061345b565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051613022919061469a565b6000604051808303816000865af19150503d806000811461305f576040519150601f19603f3d011682016040523d82523d6000602084013e613064565b606091505b5091509150818015613092575060008151148061309157508080602001905181019061309091906143a0565b5b5b6130d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c8906146fd565b60405180910390fd5b5050505050565b60008060418351036131195760008060006020860151925060408601519150606086015160001a905061310d878285856132f5565b94509450505050613122565b60006002915091505b9250929050565b6000600481111561313d5761313c61471d565b5b8160048111156131505761314f61471d565b5b03156132f2576001600481111561316a5761316961471d565b5b81600481111561317d5761317c61471d565b5b036131bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b490614798565b60405180910390fd5b600260048111156131d1576131d061471d565b5b8160048111156131e4576131e361471d565b5b03613224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161321b90614804565b60405180910390fd5b600360048111156132385761323761471d565b5b81600481111561324b5761324a61471d565b5b0361328b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328290614896565b60405180910390fd5b60048081111561329e5761329d61471d565b5b8160048111156132b1576132b061471d565b5b036132f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e890614928565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156133305760006003915091506133f8565b601b8560ff16141580156133485750601c8560ff1614155b1561335a5760006004915091506133f8565b60006001878787876040516000815260200160405260405161337f9493929190614973565b6020604051602081039080840390855afa1580156133a1573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036133ef576000600192509250506133f8565b80600092509250505b94509492505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061342c82613401565b9050919050565b61343c81613421565b82525050565b6000819050919050565b61345581613442565b82525050565b60006040820190506134706000830185613433565b61347d602083018461344c565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134cd81613498565b81146134d857600080fd5b50565b6000813590506134ea816134c4565b92915050565b6000602082840312156135065761350561348e565b5b6000613514848285016134db565b91505092915050565b60008115159050919050565b6135328161351d565b82525050565b600060208201905061354d6000830184613529565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261357857613577613553565b5b8235905067ffffffffffffffff81111561359557613594613558565b5b6020830191508360018202830111156135b1576135b061355d565b5b9250929050565b600080602083850312156135cf576135ce61348e565b5b600083013567ffffffffffffffff8111156135ed576135ec613493565b5b6135f985828601613562565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561363f578082015181840152602081019050613624565b60008484015250505050565b6000601f19601f8301169050919050565b600061366782613605565b6136718185613610565b9350613681818560208601613621565b61368a8161364b565b840191505092915050565b600060208201905081810360008301526136af818461365c565b905092915050565b60006020820190506136cc6000830184613433565b92915050565b6136db81613442565b81146136e657600080fd5b50565b6000813590506136f8816136d2565b92915050565b6000602082840312156137145761371361348e565b5b6000613722848285016136e9565b91505092915050565b61373481613421565b811461373f57600080fd5b50565b6000813590506137518161372b565b92915050565b6000806040838503121561376e5761376d61348e565b5b600061377c85828601613742565b925050602061378d858286016136e9565b9150509250929050565b60006020820190506137ac600083018461344c565b92915050565b6000806000606084860312156137cb576137ca61348e565b5b60006137d986828701613742565b93505060206137ea86828701613742565b92505060406137fb868287016136e9565b9150509250925092565b6000819050919050565b61381881613805565b811461382357600080fd5b50565b6000813590506138358161380f565b92915050565b600080604083850312156138525761385161348e565b5b600061386085828601613826565b925050602061387185828601613742565b9150509250929050565b6000602082840312156138915761389061348e565b5b600061389f84828501613742565b91505092915050565b60008083601f8401126138be576138bd613553565b5b8235905067ffffffffffffffff8111156138db576138da613558565b5b6020830191508360018202830111156138f7576138f661355d565b5b9250929050565b60008060008060006080868803121561391a5761391961348e565b5b6000613928888289016136e9565b9550506020613939888289016136e9565b945050604061394a888289016136e9565b935050606086013567ffffffffffffffff81111561396b5761396a613493565b5b613977888289016138a8565b92509250509295509295909350565b600062ffffff82169050919050565b61399e81613986565b81146139a957600080fd5b50565b6000813590506139bb81613995565b92915050565b600080604083850312156139d8576139d761348e565b5b60006139e6858286016139ac565b92505060206139f7858286016136e9565b9150509250929050565b600060208284031215613a1757613a1661348e565b5b6000613a2584828501613826565b91505092915050565b613a378161351d565b8114613a4257600080fd5b50565b600081359050613a5481613a2e565b92915050565b60008060408385031215613a7157613a7061348e565b5b6000613a7f85828601613742565b9250506020613a9085828601613a45565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ad78261364b565b810181811067ffffffffffffffff82111715613af657613af5613a9f565b5b80604052505050565b6000613b09613484565b9050613b158282613ace565b919050565b600067ffffffffffffffff821115613b3557613b34613a9f565b5b613b3e8261364b565b9050602081019050919050565b82818337600083830152505050565b6000613b6d613b6884613b1a565b613aff565b905082815260208101848484011115613b8957613b88613a9a565b5b613b94848285613b4b565b509392505050565b600082601f830112613bb157613bb0613553565b5b8135613bc1848260208601613b5a565b91505092915050565b60008060008060808587031215613be457613be361348e565b5b6000613bf287828801613742565b9450506020613c0387828801613742565b9350506040613c14878288016136e9565b925050606085013567ffffffffffffffff811115613c3557613c34613493565b5b613c4187828801613b9c565b91505092959194509250565b600080600060608486031215613c6657613c6561348e565b5b6000613c7486828701613742565b9350506020613c8586828701613742565b9250506040613c9686828701613742565b9150509250925092565b60008060408385031215613cb757613cb661348e565b5b6000613cc585828601613742565b9250506020613cd685828601613742565b9150509250929050565b600082905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d3257607f821691505b602082108103613d4557613d44613ceb565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613dad7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613d70565b613db78683613d70565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613df4613def613dea84613442565b613dcf565b613442565b9050919050565b6000819050919050565b613e0e83613dd9565b613e22613e1a82613dfb565b848454613d7d565b825550505050565b600090565b613e37613e2a565b613e42818484613e05565b505050565b5b81811015613e6657613e5b600082613e2f565b600181019050613e48565b5050565b601f821115613eab57613e7c81613d4b565b613e8584613d60565b81016020851015613e94578190505b613ea8613ea085613d60565b830182613e47565b50505b505050565b600082821c905092915050565b6000613ece60001984600802613eb0565b1980831691505092915050565b6000613ee78383613ebd565b9150826002028217905092915050565b613f018383613ce0565b67ffffffffffffffff811115613f1a57613f19613a9f565b5b613f248254613d1a565b613f2f828285613e6a565b6000601f831160018114613f5e5760008415613f4c578287013590505b613f568582613edb565b865550613fbe565b601f198416613f6c86613d4b565b60005b82811015613f9457848901358255600182019150602085019450602081019050613f6f565b86831015613fb15784890135613fad601f891682613ebd565b8355505b6001600288020188555050505b50505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061400182613442565b915061400c83613442565b925082820190508082111561402457614023613fc7565b5b92915050565b600061403582613442565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361406757614066613fc7565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140ac82613442565b91506140b783613442565b9250826140c7576140c6614072565b5b828204905092915050565b60006140dd82613442565b91506140e883613442565b9250828203905081811115614100576140ff613fc7565b5b92915050565b600081519050614115816136d2565b92915050565b6000602082840312156141315761413061348e565b5b600061413f84828501614106565b91505092915050565b600081905092915050565b600061415e82613605565b6141688185614148565b9350614178818560208601613621565b80840191505092915050565b60006141908285614153565b915061419c8284614153565b91508190509392505050565b60006141b382613442565b91506141be83613442565b92508282026141cc81613442565b915082820484148315176141e3576141e2613fc7565b5b5092915050565b600081905092915050565b50565b60006142056000836141ea565b9150614210826141f5565b600082019050919050565b6000614226826141f8565b9150819050919050565b60008160601b9050919050565b600061424882614230565b9050919050565b600061425a8261423d565b9050919050565b61427261426d82613421565b61424f565b82525050565b6000819050919050565b61429361428e82613442565b614278565b82525050565b60006142a58288614261565b6014820191506142b58287614282565b6020820191506142c58286614282565b6020820191506142d58285614282565b6020820191506142e58284614282565b6020820191508190509695505050505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b600061432e601c83614148565b9150614339826142f8565b601c82019050919050565b6000819050919050565b61435f61435a82613805565b614344565b82525050565b600061437082614321565b915061437c828461434e565b60208201915081905092915050565b60008151905061439a81613a2e565b92915050565b6000602082840312156143b6576143b561348e565b5b60006143c48482850161438b565b91505092915050565b6143d681613421565b82525050565b6143e581613986565b82525050565b6143f481613442565b82525050565b61440381613401565b82525050565b6101008201600082015161442060008501826143cd565b50602082015161443360208501826143cd565b50604082015161444660408501826143dc565b50606082015161445960608501826143cd565b50608082015161446c60808501826143eb565b5060a082015161447f60a08501826143eb565b5060c082015161449260c08501826143eb565b5060e08201516144a560e08501826143fa565b50505050565b6000610100820190506144c16000830184614409565b92915050565b60008160e01c9050919050565b600060033d11156144f35760046000803e6144f06000516144c7565b90505b90565b600060443d1061458357614508613484565b60043d036004823e80513d602482011167ffffffffffffffff82111715614530575050614583565b808201805167ffffffffffffffff81111561454e5750505050614583565b80602083010160043d03850181111561456b575050505050614583565b61457a82602001850186613ace565b82955050505050505b90565b600081519050919050565b600082825260208201905092915050565b60006145ad82614586565b6145b78185614591565b93506145c7818560208601613621565b6145d08161364b565b840191505092915050565b60006080820190506145f06000830187613433565b6145fd6020830186613433565b61460a604083018561344c565b818103606083015261461c81846145a2565b905095945050505050565b600081519050614636816134c4565b92915050565b6000602082840312156146525761465161348e565b5b600061466084828501614627565b91505092915050565b600061467482614586565b61467e81856141ea565b935061468e818560208601613621565b80840191505092915050565b60006146a68284614669565b915081905092915050565b7f5341000000000000000000000000000000000000000000000000000000000000600082015250565b60006146e7600283613610565b91506146f2826146b1565b602082019050919050565b60006020820190508181036000830152614716816146da565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614782601883613610565b915061478d8261474c565b602082019050919050565b600060208201905081810360008301526147b181614775565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006147ee601f83613610565b91506147f9826147b8565b602082019050919050565b6000602082019050818103600083015261481d816147e1565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614880602283613610565b915061488b82614824565b604082019050919050565b600060208201905081810360008301526148af81614873565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614912602283613610565b915061491d826148b6565b604082019050919050565b6000602082019050818103600083015261494181614905565b9050919050565b61495181613805565b82525050565b600060ff82169050919050565b61496d81614957565b82525050565b60006080820190506149886000830187614948565b6149956020830186614964565b6149a26040830185614948565b6149af6060830184614948565b9594505050505056fea264697066735822122077d43a67ad4e75bc70082a794f219ceb770749d16eaffa61a55dc3f279ae47db64736f6c63430008110033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000b3d15708a791e087a19cc65466fb975667f7ad32

-----Decoded View---------------
Arg [0] : signer (address): 0xb3d15708A791E087A19CC65466Fb975667f7Ad32

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b3d15708a791e087a19cc65466fb975667f7ad32


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.