Contract 0x43BeE1CD20A180078E2Ea645B60d4c6c7962BDF5 1

 
Txn Hash
Method
Block
From
To
Value
0xa675a86d4242b4cba3c5cafd8385d1f2656bb746e37d616e2f26a36de6a94ea4Claim By Id142027812022-02-14 6:59:58181 days 18 hrs agoENS Name goodbyenft.eth IN  0x43bee1cd20a180078e2ea645b60d4c6c7962bdf50 Ether0.‍00275273 30.‍66978114
0x9924b371f738f55a500819f1c99402eede4128e3855a1668c98eaa08c05ba3c7Transfer132585912021-09-19 21:18:12329 days 3 hrs ago0x482e57c86d0ea19d7756ea863fb8e58e6c69f0e9 IN  0x43bee1cd20a180078e2ea645b60d4c6c7962bdf50 Ether0.‍00200849 58.‍2932285
0x23cc6ad611a38be1eaf6e45837ab319712bf82250aaded61219cae418ec3ce6eApprove132582362021-09-19 20:06:09329 days 5 hrs ago0x482e57c86d0ea19d7756ea863fb8e58e6c69f0e9 IN  0x43bee1cd20a180078e2ea645b60d4c6c7962bdf50 Ether0.‍00198544 42.‍82659091
0x4d9e90bb4a9a583cfcb384265e6778d1322ef97e13718fb66032cd39f68e934a0x60806040132466292021-09-18 0:56:26331 days 18 mins ago0x482e57c86d0ea19d7756ea863fb8e58e6c69f0e9 IN  Create: Hotfriescoin0 Ether0.‍07598648 39.‍98167289
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Hotfriescoin

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-09-18
*/

// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
// import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
// import "@openzeppelin/contracts/utils/Context.sol";
// import "@openzeppelin/contracts/access/Ownable.sol";
// import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
// import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol";

interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

interface IERC721 is IERC165 {
    /**
     * @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
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}
/// @title Hotfricoin for Loot holders!
/// @author Hotfricoin <https://twitter.com/Hotfriescoin>
/// @notice This contract mints Hotfriescoin for Loot holders and provides
/// administrative functions to the Loot DAO. It allows:
/// * Loot holders to claim Hotfriescoin
/// * A DAO to set seasons for new opportunities to claim Hotfriescoin
/// * A DAO to mint Hotfriescoin for use within the Loot ecosystem
contract Hotfriescoin is Context, Ownable, ERC20 {
 // Loot contract is available at https://etherscan.io/address/0xff9c1b15b16263c61d017ee9f65c50e4ae0113d7
 address public lootContractAddress =
 0xFF9C1b15B16263C61d017ee9F65C50e4AE0113D7;
 IERC721Enumerable public lootContract;
 // Give out 1243 Hotfriescoin for every Loot Bag that a user holds
 uint256 public HotfriescoinPerTokenId = 1243 * (10**decimals());
 // tokenIdStart of 1 is based on the following lines in the Loot contract:
 /**
 function claim(uint256 tokenId) public nonReentrant {
 require(tokenId > 0 && tokenId < 7778, "Token ID invalid");
 _safeMint(_msgSender(), tokenId);
 }
 */
 uint256 public tokenIdStart = 1;
 // tokenIdEnd of 8000 is based on the following lines in the Loot contract: 
 /**
 function ownerClaim(uint256 tokenId) public nonReentrant onlyOwner {
 require(tokenId > 7777 && tokenId < 8001, "Token ID invalid");
 _safeMint(owner(), tokenId);
 }
 */
 // 220000
 
 uint256 public tokenIdEnd = 8000;
 uint256 public PUBLIC_MINT_PRICE = 200000000000000; // 0.0002000000 eth
 uint public MAX_SUPPLY = 4 * 10 ** (7+18);
 uint public MAX_FREE_SUPPLY = 9.9944 * 10 ** (6+18);
 uint256 public _totalSupply =4 * 10 **(7 + 18);
 uint public MAX_PAID_SUPPLY = 2.9836 * 10 ** (7+18);
 uint public totalFreeClaims = 0;
 uint public totalPaidClaims = 0;
//  uint public decimals = 0;
 address private devWallet = 0x482e57C86D0eA19d7756Ea863fB8E58E6c69f0E9;
 // Seasons are used to allow users to claim tokens regularly. Seasons are
 // decided by the DAO.
 uint256 public season = 0;
 uint256 public contractorToken = 2.2 * 10 ** (5+18);
 uint256 public tokenPrice = 0.0002 ether;
 // 220,000 will be reserved for contratc creater
 
 // Track claimed tokens within a season 
 // IMPORTANT: The format of the mapping is:
 // claimedForSeason[season][tokenId][claimed]
 mapping(uint256 => mapping(uint256 => bool)) public seasonClaimedByTokenId;
 constructor() Ownable() ERC20("Hotfries", "HF") {
 // Transfer ownership to the Loot DAO
 // Ownable by OpenZeppelin automatically sets owner to msg.sender, but
 // we're going to be using a separate wallet for deployment
//  transferOwnership(0x482e57C86D0eA19d7756Ea863fB8E58E6c69f0E9);
 lootContract = IERC721Enumerable(lootContractAddress);
 
 _mint(msg.sender, (_totalSupply - MAX_FREE_SUPPLY));
 _mint(lootContractAddress, MAX_FREE_SUPPLY);
//  _mint(msg.sender, contractorToken);
 
    // approve(address(this), _totalSupply - MAX_FREE_SUPPLY);
 
//  payable(devWallet).transfer(contractorToken);
 

//  toCreater();
//  transfer(msg.sender, contractorToken);

 }
 
//  function toCreater() private{
//       payable(lootContractAddress).transfer(MAX_FREE_SUPPLY);
//  payable(msg.sender).transfer(contractorToken);
//  }
 
 
 /// @notice Claim Hotfriescoin for a given Loot ID
 /// @param tokenId The tokenId of the Loot NFT
 function claimById(uint256 tokenId) external {
 // Follow the Checks-Effects-Interactions pattern to prevent reentrancy
 // attacks
 // Checks
 // Check that the msgSender owns the token that is being claimed
 require(
 _msgSender() == lootContract.ownerOf(tokenId),
 "MUST_OWN_TOKEN_ID"
 );
 // Further Checks, Effects, and Interactions are contained within the
 // _claim() function
 _claim(tokenId, _msgSender());
 
 
 }
 /// @notice Claim Hotfriescoin for all tokens owned by the sender
 /// @notice This function will run out of gas if you have too much loot! If
 /// this is a concern, you should use claimRangeForOwner and claim Hotfries
 /// coin in batches.
 function claimAllForOwner() payable public {
 uint256 tokenBalanceOwner = lootContract.balanceOf(_msgSender());
 // Checks
 require( tokenBalanceOwner <= HotfriescoinPerTokenId); // Each loot bag owner claim 1243 HFC Maximum.
 
 require(tokenBalanceOwner > 0, "NO_TOKENS_OWNED"); 
 // i < tokenBalanceOwner because tokenBalanceOwner is 1-indexed
 for (uint256 i = 0; i < tokenBalanceOwner; i++) {
 // Further Checks, Effects, and Interactions are contained within
 // the _claim() function
 _claim(
 lootContract.tokenOfOwnerByIndex(_msgSender(), i),
 _msgSender()
 );
 }
 }
 //1243
 function claimAllToken() external{
     uint256 tokenBalanceOwner = lootContract.balanceOf(_msgSender());
 // Checks
 require(tokenBalanceOwner == HotfriescoinPerTokenId , "1243 HFC Claimed by each user"); 
 // if all token is claimed then 1HFC = 0.0016 eth minimum value of reselling tokens.
 PUBLIC_MINT_PRICE = 1600000000000000;
  }

 /// @notice Claim Hotfriescoin for all tokens owned by the sender within a
 /// given range
 /// @notice This function is useful if you own too much Loot to claim all at
 /// once or if you want to leave some Loot unclaimed. If you leave Loot
 /// unclaimed, however, you cannot claim it once the next season starts.
 function claimRangeForOwner(uint256 ownerIndexStart, uint256 ownerIndexEnd)
 external
 {
 uint256 tokenBalanceOwner = lootContract.balanceOf(_msgSender());
 // Checks
 require(tokenBalanceOwner > 0, "NO_TOKENS_OWNED");
 // We use < for ownerIndexEnd and tokenBalanceOwner because
 // tokenOfOwnerByIndex is 0-indexed while the token balance is 1-indexed
 require(
 ownerIndexStart >= 0 && ownerIndexEnd < tokenBalanceOwner,
 "INDEX_OUT_OF_RANGE"
 );
 // i <= ownerIndexEnd because ownerIndexEnd is 0-indexed
 for (uint256 i = ownerIndexStart; i <= ownerIndexEnd; i++) {
 // Further Checks, Effects, and Interactions are contained within
 // the _claim() function
 _claim(
 lootContract.tokenOfOwnerByIndex(_msgSender(), i),
 _msgSender()
 );
 }
 }
 /// @dev Internal function to mint Loot upon claiming
 function _claim(uint256 tokenId, address tokenOwner) internal {
 // Checks
 // Check that the token ID is in range
 // We use >= and <= to here because all of the token IDs are 0-indexed
 require(
 tokenId >= tokenIdStart && tokenId <= tokenIdEnd,
 "TOKEN_ID_OUT_OF_RANGE"
 );

 // Check thatHotfriescoin have not already been claimed this season
 // for a given tokenId
 require(
 !seasonClaimedByTokenId[season][tokenId],
 "GOLD_CLAIMED_FOR_TOKEN_ID"
 );
 
 // Effects
 // Mark that Hotfriescoin has been claimed for this season for the
 // given tokenId
 seasonClaimedByTokenId[season][tokenId] = true;
 // Interactions
 // Send Hotfriescoin to the owner of the token ID
 _mint(tokenOwner, HotfriescoinPerTokenId);

 }
 
 
 /// @notice Allows the DAO to mint new tokens for use within the Loot
 /// Ecosystem
 /// @param amountDisplayValue The amount of Loot to mint. This should be
 /// input as the display value, not in raw decimals. If you want to mint
 /// 100 Loot, you should enter "100" rather than the value of 100 * 10^18.
 function daoMint(uint256 amountDisplayValue) external onlyOwner {
 _mint(owner(), amountDisplayValue * (10**decimals()));
 }
 /// @notice Allows the DAO to set a new contract address for Loot. This is
 /// relevant in the event that Loot migrates to a new contract.
 /// @param lootContractAddress_ The new contract address for Loot
 function daoSetLootContractAddress(address lootContractAddress_)
 external
 onlyOwner
 {
 lootContractAddress = lootContractAddress_;
 lootContract = IERC721Enumerable(lootContractAddress);
 }
 /// @notice Allows the DAO to set the token IDs that are eligible to claim
 /// Loot
 /// @param tokenIdStart_ The start of the eligible token range
 /// @param tokenIdEnd_ The end of the eligible token range
 /// @dev This is relevant in case a future Loot contract has a different
 /// total supply of Loot
 function daoSetTokenIdRange(uint256 tokenIdStart_, uint256 tokenIdEnd_)
 external
 onlyOwner
 {
 tokenIdStart = tokenIdStart_;
 tokenIdEnd = tokenIdEnd_;
 }
 /// @notice Allows the DAO to set a season for new Hotfriescoin claims
 /// @param season_ The season to use for claiming Loot
 function daoSetSeason(uint256 season_) public onlyOwner {
 season = season_;
 }
 /// @notice Allows the DAO to set the amount of Hotfriescoin that is
 /// claimed per token ID
 /// @param HotfriescoinDisplayValue The amount of Loot a user can claim.
 /// This should be input as the display value, not in raw decimals. If you
 /// want to mint 100 Loot, you should enter "100" rather than the value of
 /// 100 * 10^18.
 function daoSetHotfriescoinPerTokenId(uint256 HotfriescoinDisplayValue)
 public
 onlyOwner
 {
 HotfriescoinDisplayValue = 1243;
 HotfriescoinPerTokenId = HotfriescoinDisplayValue * (10**decimals());
 }
 /// @notice Allows the DAO to set the season and Hotfriescoin per token ID
 /// in one transaction. This ensures that there is not a gap where a user
 /// can claim more Hotfriescoin than others
 /// @param season_ The season to use for claiming loot
 /// @param HotfriescoinDisplayValue The amount of Loot a user can claim.
 /// This should be input as the display value, not in raw decimals. If you
 /// want to mint 100 Loot, you should enter "100" rather than the value of
 /// 100 * 10^18.
 /// @dev We would save a tiny amount of gas by modifying the season and
 /// Hotfriescoin variables directly. It is better practice for security,
 /// however, to avoid repeating code. This function is so rarely used that
 /// it's not worth moving these values into their own internal function to
 /// skip the gas used on the modifier check.
 function daoSetSeasonAndHotfriescoinPerTokenID(
 uint256 season_,
 uint256 HotfriescoinDisplayValue
 ) external onlyOwner {
 daoSetSeason(season_);
 daoSetHotfriescoinPerTokenId(HotfriescoinDisplayValue);
 }
 
 
}


contract TokenSale{
    Hotfriescoin public tokenContract;
    
    constructor(Hotfriescoin _contractAddr){
        tokenContract = _contractAddr;
    }
    
    function buyTokens(uint _amount) public payable{
     require(_amount <= tokenContract.balanceOf(tokenContract.owner()));
     require(uint256(msg.value) == uint256(_amount*tokenContract.tokenPrice()));
     tokenContract.transferFrom(tokenContract.owner(), msg.sender, _amount);
     payable(tokenContract.owner()).transfer(msg.value);
 }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"HotfriescoinPerTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PAID_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimAllForOwner","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimAllToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimById","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ownerIndexStart","type":"uint256"},{"internalType":"uint256","name":"ownerIndexEnd","type":"uint256"}],"name":"claimRangeForOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractorToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountDisplayValue","type":"uint256"}],"name":"daoMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"HotfriescoinDisplayValue","type":"uint256"}],"name":"daoSetHotfriescoinPerTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"lootContractAddress_","type":"address"}],"name":"daoSetLootContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"season_","type":"uint256"}],"name":"daoSetSeason","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"season_","type":"uint256"},{"internalType":"uint256","name":"HotfriescoinDisplayValue","type":"uint256"}],"name":"daoSetSeasonAndHotfriescoinPerTokenID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenIdStart_","type":"uint256"},{"internalType":"uint256","name":"tokenIdEnd_","type":"uint256"}],"name":"daoSetTokenIdRange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lootContract","outputs":[{"internalType":"contract IERC721Enumerable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lootContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"season","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"seasonClaimedByTokenId","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIdEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIdStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFreeClaims","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPaidClaims","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600680546001600160a01b03191673ff9c1b15b16263c61d017ee9f65c50e4ae0113d717905562000033601290565b6200004090600a6200041a565b6200004e906104db620004e8565b6008556001600955611f40600a5565b5e620f48000600b8190556a2116545850052128000000600c8190556a0844658277675a9e800000600d55600e556a18ae04cd08b1163f800000600f55600060108190556011819055601280546001600160a01b03191673482e57c86d0ea19d7756ea863fb8e58e6c69f0e9179055601355692e963951560b51800000601455601555348015620000ed57600080fd5b5060405180604001604052806008815260200167486f74667269657360c01b81525060405180604001604052806002815260200161242360f11b815250620001446200013e620001d460201b60201c565b620001d8565b81516200015990600490602085019062000310565b5080516200016f90600590602084019062000310565b5050600654600780546001600160a01b0319166001600160a01b0390921691909117905550600d54600e54620001b3913391620001ad91906200050a565b62000228565b600654600d54620001ce916001600160a01b03169062000228565b62000577565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620002835760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060036000828254620002979190620003b6565b90915550506001600160a01b03821660009081526001602052604081208054839290620002c6908490620003b6565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200031e9062000524565b90600052602060002090601f0160209004810192826200034257600085556200038d565b82601f106200035d57805160ff19168380011785556200038d565b828001600101855582156200038d579182015b828111156200038d57825182559160200191906001019062000370565b506200039b9291506200039f565b5090565b5b808211156200039b5760008155600101620003a0565b60008219821115620003cc57620003cc62000561565b500190565b600181815b8085111562000412578160001904821115620003f657620003f662000561565b808516156200040457918102915b93841c9390800290620003d6565b509250929050565b60006200042b60ff84168362000432565b9392505050565b6000826200044357506001620004e2565b816200045257506000620004e2565b81600181146200046b5760028114620004765762000496565b6001915050620004e2565b60ff8411156200048a576200048a62000561565b50506001821b620004e2565b5060208310610133831016604e8410600b8410161715620004bb575081810a620004e2565b620004c78383620003d1565b8060001904821115620004de57620004de62000561565b0290505b92915050565b600081600019048311821515161562000505576200050562000561565b500290565b6000828210156200051f576200051f62000561565b500390565b600181811c908216806200053957607f821691505b602082108114156200055b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b61192c80620005876000396000f3fe60806040526004361061023b5760003560e01c8063715018a61161012e578063a9059cbb116100ab578063d85b0dc31161006f578063d85b0dc314610633578063dd62ed3e14610653578063e5e808cb14610699578063eb68eda7146106d4578063f2fde38b146106ea57600080fd5b8063a9059cbb146105bf578063becf7741146105df578063c50b0fb0146105ff578063cbf0b27614610615578063d1a4e0e21461061d57600080fd5b8063895147fb116100f2578063895147fb146105365780638da5cb5b1461054c57806395d89b411461056a578063a457c2d71461057f578063a8af32e91461059f57600080fd5b8063715018a6146104b557806371b357fd146104ca5780637e9a5066146104ea5780637ff9b59614610500578063878e7ea51461051657600080fd5b806335b48afd116101bc57806343f428021161018057806343f42802146104135780634da7808a1461042957806362759f6c146104495780636bde26271461046957806370a082311461047f57600080fd5b806335b48afd1461036f57806339509351146103a75780633eaaf86b146103c7578063417048d1146103dd57806342e47315146103f357600080fd5b806323b872dd1161020357806323b872dd146102e75780632a38906214610307578063313ce5671461031d57806332c882041461033957806332cb6b0c1461035957600080fd5b806302ddb65b1461024057806306fdde0314610269578063084cfb271461028b578063095ea7b3146102a257806318160ddd146102d2575b600080fd5b34801561024c57600080fd5b50610256600d5481565b6040519081526020015b60405180910390f35b34801561027557600080fd5b5061027e61070a565b60405161026091906116c6565b34801561029757600080fd5b506102a061079c565b005b3480156102ae57600080fd5b506102c26102bd366004611646565b61088e565b6040519015158152602001610260565b3480156102de57600080fd5b50600354610256565b3480156102f357600080fd5b506102c2610302366004611605565b6108a5565b34801561031357600080fd5b5061025660095481565b34801561032957600080fd5b5060405160128152602001610260565b34801561034557600080fd5b506102a061035436600461158b565b61094f565b34801561036557600080fd5b50610256600c5481565b34801561037b57600080fd5b5060075461038f906001600160a01b031681565b6040516001600160a01b039091168152602001610260565b3480156103b357600080fd5b506102c26103c2366004611646565b6109a5565b3480156103d357600080fd5b50610256600e5481565b3480156103e957600080fd5b5061025660105481565b3480156103ff57600080fd5b506102a061040e366004611672565b6109e1565b34801561041f57600080fd5b50610256600a5481565b34801561043557600080fd5b506102a06104443660046116a4565b610a10565b34801561045557600080fd5b506102a0610464366004611672565b610a45565b34801561047557600080fd5b50610256600b5481565b34801561048b57600080fd5b5061025661049a36600461158b565b6001600160a01b031660009081526001602052604090205490565b3480156104c157600080fd5b506102a0610aa2565b3480156104d657600080fd5b506102a06104e53660046116a4565b610ad8565b3480156104f657600080fd5b5061025660145481565b34801561050c57600080fd5b5061025660155481565b34801561052257600080fd5b506102a06105313660046116a4565b610b18565b34801561054257600080fd5b5061025660085481565b34801561055857600080fd5b506000546001600160a01b031661038f565b34801561057657600080fd5b5061027e610ce8565b34801561058b57600080fd5b506102c261059a366004611646565b610cf7565b3480156105ab57600080fd5b5060065461038f906001600160a01b031681565b3480156105cb57600080fd5b506102c26105da366004611646565b610d90565b3480156105eb57600080fd5b506102a06105fa366004611672565b610d9d565b34801561060b57600080fd5b5061025660135481565b6102a0610e77565b34801561062957600080fd5b50610256600f5481565b34801561063f57600080fd5b506102a061064e366004611672565b610f8e565b34801561065f57600080fd5b5061025661066e3660046115cc565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156106a557600080fd5b506102c26106b43660046116a4565b601660209081526000928352604080842090915290825290205460ff1681565b3480156106e057600080fd5b5061025660115481565b3480156106f657600080fd5b506102a061070536600461158b565b610fd8565b60606004805461071990611875565b80601f016020809104026020016040519081016040528092919081815260200182805461074590611875565b80156107925780601f1061076757610100808354040283529160200191610792565b820191906000526020600020905b81548152906001019060200180831161077557829003601f168201915b5050505050905090565b6007546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b1580156107f057600080fd5b505afa158015610804573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610828919061168b565b905060085481146108805760405162461bcd60e51b815260206004820152601d60248201527f313234332048464320436c61696d65642062792065616368207573657200000060448201526064015b60405180910390fd5b506605af3107a40000600b55565b600061089b338484611070565b5060015b92915050565b60006108b2848484611194565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156109375760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610877565b6109448533858403611070565b506001949350505050565b6000546001600160a01b031633146109795760405162461bcd60e51b81526004016108779061171b565b600680546001600160a01b039092166001600160a01b0319928316811790915560078054909216179055565b3360008181526002602090815260408083206001600160a01b0387168452909152812054909161089b9185906109dc908690611750565b611070565b6000546001600160a01b03163314610a0b5760405162461bcd60e51b81526004016108779061171b565b601355565b6000546001600160a01b03163314610a3a5760405162461bcd60e51b81526004016108779061171b565b600991909155600a55565b6000546001600160a01b03163314610a6f5760405162461bcd60e51b81526004016108779061171b565b610a9f610a846000546001600160a01b031690565b610a906012600a6117ab565b610a9a9084611856565b611362565b50565b6000546001600160a01b03163314610acc5760405162461bcd60e51b81526004016108779061171b565b610ad66000611441565b565b6000546001600160a01b03163314610b025760405162461bcd60e51b81526004016108779061171b565b610b0b826109e1565b610b1481610f8e565b5050565b6007546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b158015610b6c57600080fd5b505afa158015610b80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba4919061168b565b905060008111610be85760405162461bcd60e51b815260206004820152600f60248201526e1393d7d513d2d15394d7d3d5d39151608a1b6044820152606401610877565b808210610c2c5760405162461bcd60e51b8152602060048201526012602482015271494e4445585f4f55545f4f465f52414e474560701b6044820152606401610877565b825b828111610ce257600754610cd0906001600160a01b0316632f745c59335b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526024810185905260440160206040518083038186803b158015610c9257600080fd5b505afa158015610ca6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cca919061168b565b33611491565b80610cda816118b0565b915050610c2e565b50505050565b60606005805461071990611875565b3360009081526002602090815260408083206001600160a01b038616845290915281205482811015610d795760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610877565b610d863385858403611070565b5060019392505050565b600061089b338484611194565b6007546040516331a9108f60e11b8152600481018390526001600160a01b0390911690636352211e9060240160206040518083038186803b158015610de157600080fd5b505afa158015610df5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1991906115af565b6001600160a01b0316336001600160a01b031614610e6d5760405162461bcd60e51b8152602060048201526011602482015270135554d517d3d5d397d513d2d15397d251607a1b6044820152606401610877565b610a9f8133611491565b6007546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b158015610ecb57600080fd5b505afa158015610edf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f03919061168b565b9050600854811115610f1457600080fd5b60008111610f565760405162461bcd60e51b815260206004820152600f60248201526e1393d7d513d2d15394d7d3d5d39151608a1b6044820152606401610877565b60005b81811015610b1457600754610f7c906001600160a01b0316632f745c5933610c4c565b80610f86816118b0565b915050610f59565b6000546001600160a01b03163314610fb85760405162461bcd60e51b81526004016108779061171b565b506104db610fc86012600a6117ab565b610fd29082611856565b60085550565b6000546001600160a01b031633146110025760405162461bcd60e51b81526004016108779061171b565b6001600160a01b0381166110675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610877565b610a9f81611441565b6001600160a01b0383166110d25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610877565b6001600160a01b0382166111335760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610877565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166111f85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610877565b6001600160a01b03821661125a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610877565b6001600160a01b038316600090815260016020526040902054818110156112d25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610877565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290611309908490611750565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161135591815260200190565b60405180910390a3610ce2565b6001600160a01b0382166113b85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610877565b80600360008282546113ca9190611750565b90915550506001600160a01b038216600090815260016020526040812080548392906113f7908490611750565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60095482101580156114a55750600a548211155b6114e95760405162461bcd60e51b8152602060048201526015602482015274544f4b454e5f49445f4f55545f4f465f52414e474560581b6044820152606401610877565b601354600090815260166020908152604080832085845290915290205460ff16156115565760405162461bcd60e51b815260206004820152601960248201527f474f4c445f434c41494d45445f464f525f544f4b454e5f4944000000000000006044820152606401610877565b60135460009081526016602090815260408083208584529091529020805460ff19166001179055600854610b14908290611362565b60006020828403121561159d57600080fd5b81356115a8816118e1565b9392505050565b6000602082840312156115c157600080fd5b81516115a8816118e1565b600080604083850312156115df57600080fd5b82356115ea816118e1565b915060208301356115fa816118e1565b809150509250929050565b60008060006060848603121561161a57600080fd5b8335611625816118e1565b92506020840135611635816118e1565b929592945050506040919091013590565b6000806040838503121561165957600080fd5b8235611664816118e1565b946020939093013593505050565b60006020828403121561168457600080fd5b5035919050565b60006020828403121561169d57600080fd5b5051919050565b600080604083850312156116b757600080fd5b50508035926020909101359150565b600060208083528351808285015260005b818110156116f3578581018301518582016040015282016116d7565b81811115611705576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611763576117636118cb565b500190565b600181815b808511156117a3578160001904821115611789576117896118cb565b8085161561179657918102915b93841c939080029061176d565b509250929050565b60006115a860ff8416836000826117c45750600161089f565b816117d15750600061089f565b81600181146117e757600281146117f15761180d565b600191505061089f565b60ff841115611802576118026118cb565b50506001821b61089f565b5060208310610133831016604e8410600b8410161715611830575081810a61089f565b61183a8383611768565b806000190482111561184e5761184e6118cb565b029392505050565b6000816000190483118215151615611870576118706118cb565b500290565b600181811c9082168061188957607f821691505b602082108114156118aa57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156118c4576118c46118cb565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610a9f57600080fdfea2646970667358221220876f12788ed1dc047a8b31c368c2301fdc21b6c0fca10e4278c991d30b3cbf1b64736f6c63430008070033

Deployed ByteCode Sourcemap

22643:9651:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23777:51;;;;;;;;;;;;;;;;;;;10050:25:1;;;10038:2;10023:18;23777:51:0;;;;;;;;6438:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26861:341::-;;;;;;;;;;;;;:::i;:::-;;8605:169;;;;;;;;;;-1:-1:-1;8605:169:0;;;;;:::i;:::-;;:::i;:::-;;;2975:14:1;;2968:22;2950:41;;2938:2;2923:18;8605:169:0;2810:187:1;7558:108:0;;;;;;;;;;-1:-1:-1;7646:12:0;;7558:108;;9256:492;;;;;;;;;;-1:-1:-1;9256:492:0;;;;;:::i;:::-;;:::i;23311:31::-;;;;;;;;;;;;;;;;7400:93;;;;;;;;;;-1:-1:-1;7400:93:0;;7483:2;10228:36:1;;10216:2;10201:18;7400:93:0;10086:184:1;29766:198:0;;;;;;;;;;-1:-1:-1;29766:198:0;;;;;:::i;:::-;;:::i;23732:41::-;;;;;;;;;;;;;;;;22888:37;;;;;;;;;;-1:-1:-1;22888:37:0;;;;-1:-1:-1;;;;;22888:37:0;;;;;;-1:-1:-1;;;;;2487:32:1;;;2469:51;;2457:2;2442:18;22888:37:0;2323:203:1;10157:215:0;;;;;;;;;;-1:-1:-1;10157:215:0;;;;;:::i;:::-;;:::i;23832:46::-;;;;;;;;;;;;;;;;23937:31;;;;;;;;;;;;;;;;30578:81;;;;;;;;;;-1:-1:-1;30578:81:0;;;;;:::i;:::-;;:::i;23622:32::-;;;;;;;;;;;;;;;;30283:162;;;;;;;;;;-1:-1:-1;30283:162:0;;;;;:::i;:::-;;:::i;29426:126::-;;;;;;;;;;-1:-1:-1;29426:126:0;;;;;:::i;:::-;;:::i;23658:50::-;;;;;;;;;;;;;;;;7729:127;;;;;;;;;;-1:-1:-1;7729:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;7830:18:0;7803:7;7830:18;;;:9;:18;;;;;;;7729:127;4417:103;;;;;;;;;;;;;:::i;32072:213::-;;;;;;;;;;-1:-1:-1;32072:213:0;;;;;:::i;:::-;;:::i;24242:51::-;;;;;;;;;;;;;;;;24297:40;;;;;;;;;;;;;;;;27530:768;;;;;;;;;;-1:-1:-1;27530:768:0;;;;;:::i;:::-;;:::i;22998:63::-;;;;;;;;;;;;;;;;3766:87;;;;;;;;;;-1:-1:-1;3812:7:0;3839:6;-1:-1:-1;;;;;3839:6:0;3766:87;;6657:104;;;;;;;;;;;;;:::i;10875:413::-;;;;;;;;;;-1:-1:-1;10875:413:0;;;;;:::i;:::-;;:::i;22803:81::-;;;;;;;;;;-1:-1:-1;22803:81:0;;;;-1:-1:-1;;;;;22803:81:0;;;8069:175;;;;;;;;;;-1:-1:-1;8069:175:0;;;;;:::i;:::-;;:::i;25573:437::-;;;;;;;;;;-1:-1:-1;25573:437:0;;;;;:::i;:::-;;:::i;24213:25::-;;;;;;;;;;;;;;;;26260:589;;;:::i;23882:51::-;;;;;;;;;;;;;;;;31008:207;;;;;;;;;;-1:-1:-1;31008:207:0;;;;;:::i;:::-;;:::i;8307:151::-;;;;;;;;;;-1:-1:-1;8307:151:0;;;;;:::i;:::-;-1:-1:-1;;;;;8423:18:0;;;8396:7;8423:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8307:151;24532:74;;;;;;;;;;-1:-1:-1;24532:74:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;23972:31;;;;;;;;;;;;;;;;4675:201;;;;;;;;;;-1:-1:-1;4675:201:0;;;;;:::i;:::-;;:::i;6438:100::-;6492:13;6525:5;6518:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6438:100;:::o;26861:341::-;26930:12;;26902:25;;-1:-1:-1;;;;;26930:12:0;:22;3222:10;26930:36;;-1:-1:-1;;;;;;26930:36:0;;;;;;;-1:-1:-1;;;;;2487:32:1;;;26930:36:0;;;2469:51:1;2442:18;;26930:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;26902:64;;27011:22;;26990:17;:43;26982:86;;;;-1:-1:-1;;;26982:86:0;;8982:2:1;26982:86:0;;;8964:21:1;9021:2;9001:18;;;8994:30;9060:31;9040:18;;;9033:59;9109:18;;26982:86:0;;;;;;;;;-1:-1:-1;27180:16:0;27160:17;:36;26861:341::o;8605:169::-;8688:4;8705:39;3222:10;8728:7;8737:6;8705:8;:39::i;:::-;-1:-1:-1;8762:4:0;8605:169;;;;;:::o;9256:492::-;9396:4;9413:36;9423:6;9431:9;9442:6;9413:9;:36::i;:::-;-1:-1:-1;;;;;9489:19:0;;9462:24;9489:19;;;:11;:19;;;;;;;;3222:10;9489:33;;;;;;;;9541:26;;;;9533:79;;;;-1:-1:-1;;;9533:79:0;;6353:2:1;9533:79:0;;;6335:21:1;6392:2;6372:18;;;6365:30;6431:34;6411:18;;;6404:62;-1:-1:-1;;;6482:18:1;;;6475:38;6530:19;;9533:79:0;6151:404:1;9533:79:0;9648:57;9657:6;3222:10;9698:6;9679:16;:25;9648:8;:57::i;:::-;-1:-1:-1;9736:4:0;;9256:492;-1:-1:-1;;;;9256:492:0:o;29766:198::-;3812:7;3839:6;-1:-1:-1;;;;;3839:6:0;3222:10;3986:23;3978:68;;;;-1:-1:-1;;;3978:68:0;;;;;;;:::i;:::-;29860:19:::1;:42:::0;;-1:-1:-1;;;;;29860:42:0;;::::1;-1:-1:-1::0;;;;;;29860:42:0;;::::1;::::0;::::1;::::0;;;29906:12:::1;:53:::0;;;;::::1;;::::0;;29766:198::o;10157:215::-;3222:10;10245:4;10294:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;10294:34:0;;;;;;;;;;10245:4;;10262:80;;10285:7;;10294:47;;10331:10;;10294:47;:::i;:::-;10262:8;:80::i;30578:81::-;3812:7;3839:6;-1:-1:-1;;;;;3839:6:0;3222:10;3986:23;3978:68;;;;-1:-1:-1;;;3978:68:0;;;;;;;:::i;:::-;30638:6:::1;:16:::0;30578:81::o;30283:162::-;3812:7;3839:6;-1:-1:-1;;;;;3839:6:0;3222:10;3986:23;3978:68;;;;-1:-1:-1;;;3978:68:0;;;;;;;:::i;:::-;30384:12:::1;:28:::0;;;;30416:10:::1;:24:::0;30283:162::o;29426:126::-;3812:7;3839:6;-1:-1:-1;;;;;3839:6:0;3222:10;3986:23;3978:68;;;;-1:-1:-1;;;3978:68:0;;;;;;;:::i;:::-;29494:53:::1;29500:7;3812::::0;3839:6;-1:-1:-1;;;;;3839:6:0;;3766:87;29500:7:::1;29531:14;7483:2:::0;29531::::1;:14;:::i;:::-;29509:37;::::0;:18;:37:::1;:::i;:::-;29494:5;:53::i;:::-;29426:126:::0;:::o;4417:103::-;3812:7;3839:6;-1:-1:-1;;;;;3839:6:0;3222:10;3986:23;3978:68;;;;-1:-1:-1;;;3978:68:0;;;;;;;:::i;:::-;4482:30:::1;4509:1;4482:18;:30::i;:::-;4417:103::o:0;32072:213::-;3812:7;3839:6;-1:-1:-1;;;;;3839:6:0;3222:10;3986:23;3978:68;;;;-1:-1:-1;;;3978:68:0;;;;;;;:::i;:::-;32201:21:::1;32214:7;32201:12;:21::i;:::-;32226:54;32255:24;32226:28;:54::i;:::-;32072:213:::0;;:::o;27530:768::-;27651:12;;27623:25;;-1:-1:-1;;;;;27651:12:0;:22;3222:10;27651:36;;-1:-1:-1;;;;;;27651:36:0;;;;;;;-1:-1:-1;;;;;2487:32:1;;;27651:36:0;;;2469:51:1;2442:18;;27651:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;27623:64;;27731:1;27711:17;:21;27703:49;;;;-1:-1:-1;;;27703:49:0;;8638:2:1;27703:49:0;;;8620:21:1;8677:2;8657:18;;;8650:30;-1:-1:-1;;;8696:18:1;;;8689:45;8751:18;;27703:49:0;8436:339:1;27703:49:0;27944:17;27928:13;:33;27893:96;;;;-1:-1:-1;;;27893:96:0;;4443:2:1;27893:96:0;;;4425:21:1;4482:2;4462:18;;;4455:30;-1:-1:-1;;;4501:18:1;;;4494:48;4559:18;;27893:96:0;4241:342:1;27893:96:0;28069:15;28052:242;28091:13;28086:1;:18;28052:242;;28220:12;;28210:79;;-1:-1:-1;;;;;28220:12:0;:32;3222:10;28253:12;28220:49;;-1:-1:-1;;;;;;28220:49:0;;;;;;;-1:-1:-1;;;;;2723:32:1;;;28220:49:0;;;2705:51:1;2772:18;;;2765:34;;;2678:18;;28220:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3222:10;28210:6;:79::i;:::-;28106:3;;;;:::i;:::-;;;;28052:242;;;;27619:679;27530:768;;:::o;6657:104::-;6713:13;6746:7;6739:14;;;;;:::i;10875:413::-;3222:10;10968:4;11012:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;11012:34:0;;;;;;;;;;11065:35;;;;11057:85;;;;-1:-1:-1;;;11057:85:0;;9340:2:1;11057:85:0;;;9322:21:1;9379:2;9359:18;;;9352:30;9418:34;9398:18;;;9391:62;-1:-1:-1;;;9469:18:1;;;9462:35;9514:19;;11057:85:0;9138:401:1;11057:85:0;11178:67;3222:10;11201:7;11229:15;11210:16;:34;11178:8;:67::i;:::-;-1:-1:-1;11276:4:0;;10875:413;-1:-1:-1;;;10875:413:0:o;8069:175::-;8155:4;8172:42;3222:10;8196:9;8207:6;8172:9;:42::i;25573:437::-;25815:12;;:29;;-1:-1:-1;;;25815:29:0;;;;;10050:25:1;;;-1:-1:-1;;;;;25815:12:0;;;;:20;;10023:18:1;;25815:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;25799:45:0;3222:10;-1:-1:-1;;;;;25799:45:0;;25788:83;;;;-1:-1:-1;;;25788:83:0;;6007:2:1;25788:83:0;;;5989:21:1;6046:2;6026:18;;;6019:30;-1:-1:-1;;;6065:18:1;;;6058:47;6122:18;;25788:83:0;5805:341:1;25788:83:0;25970:29;25977:7;3222:10;28210:6;:79::i;26260:589::-;26335:12;;26307:25;;-1:-1:-1;;;;;26335:12:0;:22;3222:10;26335:36;;-1:-1:-1;;;;;;26335:36:0;;;;;;;-1:-1:-1;;;;;2487:32:1;;;26335:36:0;;;2469:51:1;2442:18;;26335:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;26307:64;;26417:22;;26396:17;:43;;26387:53;;;;;;26522:1;26502:17;:21;26494:49;;;;-1:-1:-1;;;26494:49:0;;8638:2:1;26494:49:0;;;8620:21:1;8677:2;8657:18;;;8650:30;-1:-1:-1;;;8696:18:1;;;8689:45;8751:18;;26494:49:0;8436:339:1;26494:49:0;26619:9;26614:231;26638:17;26634:1;:21;26614:231;;;26771:12;;26761:79;;-1:-1:-1;;;;;26771:12:0;:32;3222:10;26804:12;3142:98;26761:79;26657:3;;;;:::i;:::-;;;;26614:231;;31008:207;3812:7;3839:6;-1:-1:-1;;;;;3839:6:0;3222:10;3986:23;3978:68;;;;-1:-1:-1;;;3978:68:0;;;;;;;:::i;:::-;-1:-1:-1;31134:4:0::1;31195:14;7483:2:::0;31195::::1;:14;:::i;:::-;31167:43;::::0;:24;:43:::1;:::i;:::-;31142:22;:68:::0;-1:-1:-1;31008:207:0:o;4675:201::-;3812:7;3839:6;-1:-1:-1;;;;;3839:6:0;3222:10;3986:23;3978:68;;;;-1:-1:-1;;;3978:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;4764:22:0;::::1;4756:73;;;::::0;-1:-1:-1;;;4756:73:0;;4790:2:1;4756:73:0::1;::::0;::::1;4772:21:1::0;4829:2;4809:18;;;4802:30;4868:34;4848:18;;;4841:62;-1:-1:-1;;;4919:18:1;;;4912:36;4965:19;;4756:73:0::1;4588:402:1::0;4756:73:0::1;4840:28;4859:8;4840:18;:28::i;14559:380::-:0;-1:-1:-1;;;;;14695:19:0;;14687:68;;;;-1:-1:-1;;;14687:68:0;;7883:2:1;14687:68:0;;;7865:21:1;7922:2;7902:18;;;7895:30;7961:34;7941:18;;;7934:62;-1:-1:-1;;;8012:18:1;;;8005:34;8056:19;;14687:68:0;7681:400:1;14687:68:0;-1:-1:-1;;;;;14774:21:0;;14766:68;;;;-1:-1:-1;;;14766:68:0;;5197:2:1;14766:68:0;;;5179:21:1;5236:2;5216:18;;;5209:30;5275:34;5255:18;;;5248:62;-1:-1:-1;;;5326:18:1;;;5319:32;5368:19;;14766:68:0;4995:398:1;14766:68:0;-1:-1:-1;;;;;14847:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;14899:32;;10050:25:1;;;14899:32:0;;10023:18:1;14899:32:0;;;;;;;14559:380;;;:::o;11778:733::-;-1:-1:-1;;;;;11918:20:0;;11910:70;;;;-1:-1:-1;;;11910:70:0;;7123:2:1;11910:70:0;;;7105:21:1;7162:2;7142:18;;;7135:30;7201:34;7181:18;;;7174:62;-1:-1:-1;;;7252:18:1;;;7245:35;7297:19;;11910:70:0;6921:401:1;11910:70:0;-1:-1:-1;;;;;11999:23:0;;11991:71;;;;-1:-1:-1;;;11991:71:0;;4039:2:1;11991:71:0;;;4021:21:1;4078:2;4058:18;;;4051:30;4117:34;4097:18;;;4090:62;-1:-1:-1;;;4168:18:1;;;4161:33;4211:19;;11991:71:0;3837:399:1;11991:71:0;-1:-1:-1;;;;;12159:17:0;;12135:21;12159:17;;;:9;:17;;;;;;12195:23;;;;12187:74;;;;-1:-1:-1;;;12187:74:0;;5600:2:1;12187:74:0;;;5582:21:1;5639:2;5619:18;;;5612:30;5678:34;5658:18;;;5651:62;-1:-1:-1;;;5729:18:1;;;5722:36;5775:19;;12187:74:0;5398:402:1;12187:74:0;-1:-1:-1;;;;;12297:17:0;;;;;;;:9;:17;;;;;;12317:22;;;12297:42;;12361:20;;;;;;;;:30;;12333:6;;12297:17;12361:30;;12333:6;;12361:30;:::i;:::-;;;;;;;;12426:9;-1:-1:-1;;;;;12409:35:0;12418:6;-1:-1:-1;;;;;12409:35:0;;12437:6;12409:35;;;;10050:25:1;;10038:2;10023:18;;9904:177;12409:35:0;;;;;;;;12457:46;15539:125;12798:399;-1:-1:-1;;;;;12882:21:0;;12874:65;;;;-1:-1:-1;;;12874:65:0;;9746:2:1;12874:65:0;;;9728:21:1;9785:2;9765:18;;;9758:30;9824:33;9804:18;;;9797:61;9875:18;;12874:65:0;9544:355:1;12874:65:0;13030:6;13014:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;13047:18:0;;;;;;:9;:18;;;;;:28;;13069:6;;13047:18;:28;;13069:6;;13047:28;:::i;:::-;;;;-1:-1:-1;;13091:37:0;;10050:25:1;;;-1:-1:-1;;;;;13091:37:0;;;13108:1;;13091:37;;10038:2:1;10023:18;13091:37:0;;;;;;;32072:213;;:::o;5036:191::-;5110:16;5129:6;;-1:-1:-1;;;;;5146:17:0;;;-1:-1:-1;;;;;;5146:17:0;;;;;;5179:40;;5129:6;;;;;;;5179:40;;5110:16;5179:40;5099:128;5036:191;:::o;28357:745::-;28571:12;;28560:7;:23;;:48;;;;;28598:10;;28587:7;:21;;28560:48;28549:90;;;;-1:-1:-1;;;28549:90:0;;8288:2:1;28549:90:0;;;8270:21:1;8327:2;8307:18;;;8300:30;-1:-1:-1;;;8346:18:1;;;8339:51;8407:18;;28549:90:0;8086:345:1;28549:90:0;28775:6;;28752:30;;;;:22;:30;;;;;;;;:39;;;;;;;;;;;28751:40;28740:86;;;;-1:-1:-1;;;28740:86:0;;7529:2:1;28740:86:0;;;7511:21:1;7568:2;7548:18;;;7541:30;7607:27;7587:18;;;7580:55;7652:18;;28740:86:0;7327:349:1;28740:86:0;28957:6;;28934:30;;;;:22;:30;;;;;;;;:39;;;;;;;;:46;;-1:-1:-1;;28934:46:0;28976:4;28934:46;;;29072:22;;29054:41;;29060:10;;29054:5;:41::i;14:247:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;181:9;168:23;200:31;225:5;200:31;:::i;:::-;250:5;14:247;-1:-1:-1;;;14:247:1:o;266:251::-;336:6;389:2;377:9;368:7;364:23;360:32;357:52;;;405:1;402;395:12;357:52;437:9;431:16;456:31;481:5;456:31;:::i;522:388::-;590:6;598;651:2;639:9;630:7;626:23;622:32;619:52;;;667:1;664;657:12;619:52;706:9;693:23;725:31;750:5;725:31;:::i;:::-;775:5;-1:-1:-1;832:2:1;817:18;;804:32;845:33;804:32;845:33;:::i;:::-;897:7;887:17;;;522:388;;;;;:::o;915:456::-;992:6;1000;1008;1061:2;1049:9;1040:7;1036:23;1032:32;1029:52;;;1077:1;1074;1067:12;1029:52;1116:9;1103:23;1135:31;1160:5;1135:31;:::i;:::-;1185:5;-1:-1:-1;1242:2:1;1227:18;;1214:32;1255:33;1214:32;1255:33;:::i;:::-;915:456;;1307:7;;-1:-1:-1;;;1361:2:1;1346:18;;;;1333:32;;915:456::o;1376:315::-;1444:6;1452;1505:2;1493:9;1484:7;1480:23;1476:32;1473:52;;;1521:1;1518;1511:12;1473:52;1560:9;1547:23;1579:31;1604:5;1579:31;:::i;:::-;1629:5;1681:2;1666:18;;;;1653:32;;-1:-1:-1;;;1376:315:1:o;1696:180::-;1755:6;1808:2;1796:9;1787:7;1783:23;1779:32;1776:52;;;1824:1;1821;1814:12;1776:52;-1:-1:-1;1847:23:1;;1696:180;-1:-1:-1;1696:180:1:o;1881:184::-;1951:6;2004:2;1992:9;1983:7;1979:23;1975:32;1972:52;;;2020:1;2017;2010:12;1972:52;-1:-1:-1;2043:16:1;;1881:184;-1:-1:-1;1881:184:1:o;2070:248::-;2138:6;2146;2199:2;2187:9;2178:7;2174:23;2170:32;2167:52;;;2215:1;2212;2205:12;2167:52;-1:-1:-1;;2238:23:1;;;2308:2;2293:18;;;2280:32;;-1:-1:-1;2070:248:1:o;3235:597::-;3347:4;3376:2;3405;3394:9;3387:21;3437:6;3431:13;3480:6;3475:2;3464:9;3460:18;3453:34;3505:1;3515:140;3529:6;3526:1;3523:13;3515:140;;;3624:14;;;3620:23;;3614:30;3590:17;;;3609:2;3586:26;3579:66;3544:10;;3515:140;;;3673:6;3670:1;3667:13;3664:91;;;3743:1;3738:2;3729:6;3718:9;3714:22;3710:31;3703:42;3664:91;-1:-1:-1;3816:2:1;3795:15;-1:-1:-1;;3791:29:1;3776:45;;;;3823:2;3772:54;;3235:597;-1:-1:-1;;;3235:597:1:o;6560:356::-;6762:2;6744:21;;;6781:18;;;6774:30;6840:34;6835:2;6820:18;;6813:62;6907:2;6892:18;;6560:356::o;10275:128::-;10315:3;10346:1;10342:6;10339:1;10336:13;10333:39;;;10352:18;;:::i;:::-;-1:-1:-1;10388:9:1;;10275:128::o;10408:422::-;10497:1;10540:5;10497:1;10554:270;10575:7;10565:8;10562:21;10554:270;;;10634:4;10630:1;10626:6;10622:17;10616:4;10613:27;10610:53;;;10643:18;;:::i;:::-;10693:7;10683:8;10679:22;10676:55;;;10713:16;;;;10676:55;10792:22;;;;10752:15;;;;10554:270;;;10558:3;10408:422;;;;;:::o;10835:140::-;10893:5;10922:47;10963:4;10953:8;10949:19;10943:4;11029:5;11059:8;11049:80;;-1:-1:-1;11100:1:1;11114:5;;11049:80;11148:4;11138:76;;-1:-1:-1;11185:1:1;11199:5;;11138:76;11230:4;11248:1;11243:59;;;;11316:1;11311:130;;;;11223:218;;11243:59;11273:1;11264:10;;11287:5;;;11311:130;11348:3;11338:8;11335:17;11332:43;;;11355:18;;:::i;:::-;-1:-1:-1;;11411:1:1;11397:16;;11426:5;;11223:218;;11525:2;11515:8;11512:16;11506:3;11500:4;11497:13;11493:36;11487:2;11477:8;11474:16;11469:2;11463:4;11460:12;11456:35;11453:77;11450:159;;;-1:-1:-1;11562:19:1;;;11594:5;;11450:159;11641:34;11666:8;11660:4;11641:34;:::i;:::-;11711:6;11707:1;11703:6;11699:19;11690:7;11687:32;11684:58;;;11722:18;;:::i;:::-;11760:20;;10980:806;-1:-1:-1;;;10980:806:1:o;11791:168::-;11831:7;11897:1;11893;11889:6;11885:14;11882:1;11879:21;11874:1;11867:9;11860:17;11856:45;11853:71;;;11904:18;;:::i;:::-;-1:-1:-1;11944:9:1;;11791:168::o;11964:380::-;12043:1;12039:12;;;;12086;;;12107:61;;12161:4;12153:6;12149:17;12139:27;;12107:61;12214:2;12206:6;12203:14;12183:18;12180:38;12177:161;;;12260:10;12255:3;12251:20;12248:1;12241:31;12295:4;12292:1;12285:15;12323:4;12320:1;12313:15;12177:161;;11964:380;;;:::o;12349:135::-;12388:3;-1:-1:-1;;12409:17:1;;12406:43;;;12429:18;;:::i;:::-;-1:-1:-1;12476:1:1;12465:13;;12349:135::o;12489:127::-;12550:10;12545:3;12541:20;12538:1;12531:31;12581:4;12578:1;12571:15;12605:4;12602:1;12595:15;12621:131;-1:-1:-1;;;;;12696:31:1;;12686:42;;12676:70;;12742:1;12739;12732:12

Swarm Source

ipfs://876f12788ed1dc047a8b31c368c2301fdc21b6c0fca10e4278c991d30b3cbf1b
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.