Contract 0xfd538ca3f58dc309da55b11f007ff53fb4602876

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x17cd64117279be381377309ccb3d4b94d4fd871b22423a2b577caedaa70e7266Approve229211162022-11-27 20:16:141 day 15 hrs ago0x04e2e16a5a83b47efa9f897873a5e3b9125fd978 IN  Battle For Giostone: BFG Token0 AVAX0.001251924934 26.520462116
0x8590206b61f20716efab30d069637cb2754dbf7914e1237c91843e7978a0a0ebApprove228748072022-11-26 17:55:232 days 17 hrs ago0xebd6559956c7db261397cab2f8b466f0e5401d53 IN  Battle For Giostone: BFG Token0 AVAX0.0012642942 26.94
0x7ea2f12cec5b7d692446f6a4f491d1ae4c52e7c2ab251e1cdd9acd616417ad24Transfer228707912022-11-26 15:37:312 days 20 hrs ago0xe6e6d3bd26d5704b403da6ed3cb72c4d0e61d8f2 IN  Battle For Giostone: BFG Token0 AVAX0.00366527 70
0x59e966d67ab78d7279e8f6be70ced0058efe09637f6abe606ebd2e4225a208bdApprove228707812022-11-26 15:37:112 days 20 hrs ago0xbff6336cf8e096767d46dd13c1f257f04e3c2272 IN  Battle For Giostone: BFG Token0 AVAX0.001283992116 27.199765216
0xac147926ba0b3d8a96d19b4398bf063e0c92c2e36176d60f9bd709e42a12c412Transfer228707682022-11-26 15:36:452 days 20 hrs ago0xe6e6d3bd26d5704b403da6ed3cb72c4d0e61d8f2 IN  Battle For Giostone: BFG Token0 AVAX0.00366527 70
0xd9c813a827c807918e473dcd1622bef3d1e5197c333710cf25562db0248991a2Transfer228707482022-11-26 15:36:052 days 20 hrs ago0xe6e6d3bd26d5704b403da6ed3cb72c4d0e61d8f2 IN  Battle For Giostone: BFG Token0 AVAX0.00366527 70
0x9fa87666d5871d30923668438df9f1af00ed88808625b9eddc6940b85cc1ab75Transfer228707162022-11-26 15:34:582 days 20 hrs ago0xe6e6d3bd26d5704b403da6ed3cb72c4d0e61d8f2 IN  Battle For Giostone: BFG Token0 AVAX0.00366527 70
0xceed7f56dd18d7c5fd3ff506d281f4aac4841cd72ea6c0192a66f8ff26d8a72bTransfer228707042022-11-26 15:34:352 days 20 hrs ago0xe6e6d3bd26d5704b403da6ed3cb72c4d0e61d8f2 IN  Battle For Giostone: BFG Token0 AVAX0.00246827 70
0x24d92142e72e33bb7d3d4813b64170f0a06166ac34196e374303bf033904a791Transfer228706972022-11-26 15:34:212 days 20 hrs ago0xe6e6d3bd26d5704b403da6ed3cb72c4d0e61d8f2 IN  Battle For Giostone: BFG Token0 AVAX0.00366527 70
0x16874f10f34d96a02a0a40f9ba89b8b2bc18daedd2c3bdaaad30f35120ed0c7dTransfer228706732022-11-26 15:33:332 days 20 hrs ago0xe6e6d3bd26d5704b403da6ed3cb72c4d0e61d8f2 IN  Battle For Giostone: BFG Token0 AVAX0.00366527 70
0x17f1293207ae1d95e7b80f7ec667b5fa5392533b68822722dfc5e67ac7af4993Transfer228706642022-11-26 15:33:112 days 20 hrs ago0xe6e6d3bd26d5704b403da6ed3cb72c4d0e61d8f2 IN  Battle For Giostone: BFG Token0 AVAX0.00366527 70
0xb4bee95dac3925578242d54695e93b109b906f12d5e72e17bb46efa265bb71e2Transfer228706552022-11-26 15:32:542 days 20 hrs ago0xe6e6d3bd26d5704b403da6ed3cb72c4d0e61d8f2 IN  Battle For Giostone: BFG Token0 AVAX0.00366527 70
0xbe19f7e3e1699da126c766e5ec02e70eb6f09b3e02166b17d4dc8db699a5b3feTransfer228706342022-11-26 15:32:122 days 20 hrs ago0xe6e6d3bd26d5704b403da6ed3cb72c4d0e61d8f2 IN  Battle For Giostone: BFG Token0 AVAX0.00366527 70
0xcdb7715eb6777d4028dad3769b31ad3282718ea2234ea1d596e48ffec265bb3dTransfer228706252022-11-26 15:31:532 days 20 hrs ago0xe6e6d3bd26d5704b403da6ed3cb72c4d0e61d8f2 IN  Battle For Giostone: BFG Token0 AVAX0.00366527 70
0xcfcfc3031d6d788e4c9abcea723843f6227ec961b7fa59c74a626b2c2eed559dTransfer228706172022-11-26 15:31:382 days 20 hrs ago0xe6e6d3bd26d5704b403da6ed3cb72c4d0e61d8f2 IN  Battle For Giostone: BFG Token0 AVAX0.00366527 70
0xf5aba86c548996c633d367af907b7cd241b85736507c4671312d77a08e5342d3Transfer228706092022-11-26 15:31:212 days 20 hrs ago0xe6e6d3bd26d5704b403da6ed3cb72c4d0e61d8f2 IN  Battle For Giostone: BFG Token0 AVAX0.00366527 70
0xbb7cb0311c3c82535854044fa458bb20683ffc078351dbdff5cdf04f65bca55cTransfer228705782022-11-26 15:30:172 days 20 hrs ago0xe6e6d3bd26d5704b403da6ed3cb72c4d0e61d8f2 IN  Battle For Giostone: BFG Token0 AVAX0.00366527 70
0x8728c497ea8bf8f135904dc1a8cf3719b2ea3ba54614662b7b664c7195ca0494Transfer228705722022-11-26 15:30:062 days 20 hrs ago0xe6e6d3bd26d5704b403da6ed3cb72c4d0e61d8f2 IN  Battle For Giostone: BFG Token0 AVAX0.00366527 70
0xa944027c65a06e976fe8111f3bb17ef9c2e124d722b9917d3b93030849fa443bApprove228705302022-11-26 15:28:362 days 20 hrs ago0xe6e6d3bd26d5704b403da6ed3cb72c4d0e61d8f2 IN  Battle For Giostone: BFG Token0 AVAX0.00330442 70
0x6d0137d26f6ce4b712e85d9f0321714052295924b856503ceaade6d30716d60bApprove228697352022-11-26 15:01:322 days 20 hrs ago0x7589f1222ac4ad1a39e96cd386d4231016f77db1 IN  Battle For Giostone: BFG Token0 AVAX0.001250959 26.5
0x5d5b5ebb8e54f81ce861f9d14b60562cad9ffb6b29a7b984fad30379194919b8Transfer228691272022-11-26 14:41:012 days 21 hrs ago0x664fe01207dc37c84a97a8dcdc28bcc1da6bee57 IN  Battle For Giostone: BFG Token0 AVAX0.0013878845 26.5
0x0c0be65f610a7db86184e02065fa1166fddcf2577e3cd48d885556d5c8786fabTransfer228689902022-11-26 14:36:112 days 21 hrs ago0x664fe01207dc37c84a97a8dcdc28bcc1da6bee57 IN  Battle For Giostone: BFG Token0 AVAX0.0013878845 26.5
0x557ff349f7131ce360a63307e78ae768b58ea604b7844af0ecf262c9976e8a64Transfer228388292022-11-25 20:58:303 days 14 hrs ago0x8f791c685fda8d2a8ee84405c6dda10ec48e9fb7 IN  Battle For Giostone: BFG Token0 AVAX0.0011756725 26.5
0x54112c2e0fcc1ede831c12bfb853f75bc013ef5f0e7c68f6d147a28eaae24299Approve228226522022-11-25 11:44:123 days 23 hrs ago0xf604556e7d829240424d51d2c5f2c1861adb3a26 IN  Battle For Giostone: BFG Token0 AVAX0.001250959 26.5
0x5ac9f854849212e67949cbc939ce17e0a38f6ceea0f67bb365cf71c86c2c32a1Approve228133742022-11-25 6:25:134 days 5 hrs ago0xad7f0cc251f5ac470b7d1f6f9ae9a6ce8655539c IN  Battle For Giostone: BFG Token0 AVAX0.001250959 26.5
[ Download CSV Export 

OVERVIEW

BFG is the first authentic Esport MOBA game on the blockchain. Choose your Hero's abilities, enter the battle, and come out victorious. Glory waits at the end.

Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x2aea1ab55ad2562572533a79fbad32f600f5460d4a6e825ee069f3c15a3b9fe3202452292022-09-25 4:49:5865 days 6 hrs ago Battle For Giostone: BFG Token  Contract Creation0 AVAX
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BattleForGiostone

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at snowtrace.io on 2022-09-25
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/[email protected]/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: @openzeppelin/[email protected]/token/ERC20/IERC20.sol


// 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: @openzeppelin/[email protected]/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
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);
}

// File: @openzeppelin/[email protected]/token/ERC20/ERC20.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, 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) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, 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) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - 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 {}
}

// File: mainContract.sol


pragma solidity >=0.4.22 <0.9.0;


contract mainContract {
    uint256 public maxBalance;
    uint256 public balance;
    address public owner;
    address public token;
    IERC20 itoken;
    
event TransferSent(address _from,address _destAddr,uint _amount);
       constructor(address _owner ,IERC20 _itoken) {
            owner = _owner;
            token = address(_itoken);
            itoken = _itoken;
       }

    function giveAllocation(address _fund, uint256 amount) public onlyOwner{
        uint256 newBalance = itoken.balanceOf(address(this));
        balance = newBalance;
        require(amount < balance, "Not enough BFG");
        require(balance > 0, "No allocation left");
        itoken.transfer(_fund,amount*1000000000000000000);
        emit TransferSent(msg.sender,_fund,amount);
    }

    modifier onlyOwner() {
        require(msg.sender == owner, "Ownable: caller is not the owner");
        _;
    }

    function transferOwnership(address newOwner) public onlyOwner {
        require(newOwner != address(0), "can't have owner with zero address");
        owner = newOwner;
    }

}

// File: BattleForGiostone.sol


pragma solidity ^0.8.4;




contract BattleForGiostone is ERC20 {
    address public mainContractAddress;
    address public owner;
    uint totalBFG = 150000000;                //150,000,000

    constructor() ERC20("BattleForGiostone", "BFG") {
        owner = msg.sender;
        initialAllocation();
    }

    function initialAllocation() internal{

    mainContractAddress = address(new mainContract(owner, this));
    
    _mint(mainContractAddress, totalBFG * 10 ** decimals());
    }
}

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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"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":"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":"mainContractAddress","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":"symbol","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040526308f0d1806007553480156200001957600080fd5b506040518060400160405280601181526020017f426174746c65466f7247696f73746f6e650000000000000000000000000000008152506040518060400160405280600381526020017f424647000000000000000000000000000000000000000000000000000000000081525081600390805190602001906200009e9291906200039c565b508060049080519060200190620000b79291906200039c565b50505033600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200010b6200011160201b60201c565b620008d8565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff163060405162000143906200042d565b62000150929190620004b4565b604051809103906000f0801580156200016d573d6000803e3d6000fd5b50600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200020e600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620001e56200021060201b60201c565b600a620001f39190620005e9565b60075462000202919062000726565b6200021960201b60201c565b565b60006012905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200028c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200028390620004e1565b60405180910390fd5b620002a0600083836200039260201b60201c565b8060026000828254620002b4919062000531565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200030b919062000531565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000372919062000503565b60405180910390a36200038e600083836200039760201b60201c565b5050565b505050565b505050565b828054620003aa906200080e565b90600052602060002090601f016020900481019282620003ce57600085556200041a565b82601f10620003e957805160ff19168380011785556200041a565b828001600101855582156200041a579182015b8281111562000419578251825591602001919060010190620003fc565b5b5090506200042991906200043b565b5090565b610c948062001c2883390190565b5b80821115620004565760008160009055506001016200043c565b5090565b620004658162000787565b82525050565b6200047681620007d2565b82525050565b60006200048b601f8362000520565b91506200049882620008af565b602082019050919050565b620004ae81620007bb565b82525050565b6000604082019050620004cb60008301856200045a565b620004da60208301846200046b565b9392505050565b60006020820190508181036000830152620004fc816200047c565b9050919050565b60006020820190506200051a6000830184620004a3565b92915050565b600082825260208201905092915050565b60006200053e82620007bb565b91506200054b83620007bb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000583576200058262000844565b5b828201905092915050565b6000808291508390505b6001851115620005e057808604811115620005b857620005b762000844565b5b6001851615620005c85780820291505b8081029050620005d885620008a2565b945062000598565b94509492505050565b6000620005f682620007bb565b91506200060383620007c5565b9250620006327fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846200063a565b905092915050565b6000826200064c57600190506200071f565b816200065c57600090506200071f565b81600181146200067557600281146200068057620006b6565b60019150506200071f565b60ff84111562000695576200069462000844565b5b8360020a915084821115620006af57620006ae62000844565b5b506200071f565b5060208310610133831016604e8410600b8410161715620006f05782820a905083811115620006ea57620006e962000844565b5b6200071f565b620006ff84848460016200058e565b9250905081840481111562000719576200071862000844565b5b81810290505b9392505050565b60006200073382620007bb565b91506200074083620007bb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200077c576200077b62000844565b5b828202905092915050565b600062000794826200079b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000620007df82620007e6565b9050919050565b6000620007f382620007fa565b9050919050565b600062000807826200079b565b9050919050565b600060028204905060018216806200082757607f821691505b602082108114156200083e576200083d62000873565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60008160011c9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61134080620008e86000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d71461022a578063a9059cbb1461025a578063da6b73561461028a578063dd62ed3e146102a8576100cf565b806370a08231146101be5780638da5cb5b146101ee57806395d89b411461020c576100cf565b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461012257806323b872dd14610140578063313ce56714610170578063395093511461018e575b600080fd5b6100dc6102d8565b6040516100e99190610e01565b60405180910390f35b61010c60048036038101906101079190610c21565b61036a565b6040516101199190610de6565b60405180910390f35b61012a61038d565b6040516101379190610f03565b60405180910390f35b61015a60048036038101906101559190610bce565b610397565b6040516101679190610de6565b60405180910390f35b6101786103c6565b6040516101859190610f1e565b60405180910390f35b6101a860048036038101906101a39190610c21565b6103cf565b6040516101b59190610de6565b60405180910390f35b6101d860048036038101906101d39190610b61565b610406565b6040516101e59190610f03565b60405180910390f35b6101f661044e565b6040516102039190610dcb565b60405180910390f35b610214610474565b6040516102219190610e01565b60405180910390f35b610244600480360381019061023f9190610c21565b610506565b6040516102519190610de6565b60405180910390f35b610274600480360381019061026f9190610c21565b61057d565b6040516102819190610de6565b60405180910390f35b6102926105a0565b60405161029f9190610dcb565b60405180910390f35b6102c260048036038101906102bd9190610b8e565b6105c6565b6040516102cf9190610f03565b60405180910390f35b6060600380546102e790611033565b80601f016020809104026020016040519081016040528092919081815260200182805461031390611033565b80156103605780601f1061033557610100808354040283529160200191610360565b820191906000526020600020905b81548152906001019060200180831161034357829003601f168201915b5050505050905090565b60008061037561064d565b9050610382818585610655565b600191505092915050565b6000600254905090565b6000806103a261064d565b90506103af858285610820565b6103ba8585856108ac565b60019150509392505050565b60006012905090565b6000806103da61064d565b90506103fb8185856103ec85896105c6565b6103f69190610f55565b610655565b600191505092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606004805461048390611033565b80601f01602080910402602001604051908101604052809291908181526020018280546104af90611033565b80156104fc5780601f106104d1576101008083540402835291602001916104fc565b820191906000526020600020905b8154815290600101906020018083116104df57829003601f168201915b5050505050905090565b60008061051161064d565b9050600061051f82866105c6565b905083811015610564576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055b90610ee3565b60405180910390fd5b6105718286868403610655565b60019250505092915050565b60008061058861064d565b90506105958185856108ac565b600191505092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106bc90610ec3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610735576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072c90610e43565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516108139190610f03565b60405180910390a3505050565b600061082c84846105c6565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146108a65781811015610898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088f90610e63565b60405180910390fd5b6108a58484848403610655565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561091c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091390610ea3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561098c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098390610e23565b60405180910390fd5b610997838383610b2d565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1490610e83565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ab09190610f55565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b149190610f03565b60405180910390a3610b27848484610b32565b50505050565b505050565b505050565b600081359050610b46816112dc565b92915050565b600081359050610b5b816112f3565b92915050565b600060208284031215610b7757610b766110c3565b5b6000610b8584828501610b37565b91505092915050565b60008060408385031215610ba557610ba46110c3565b5b6000610bb385828601610b37565b9250506020610bc485828601610b37565b9150509250929050565b600080600060608486031215610be757610be66110c3565b5b6000610bf586828701610b37565b9350506020610c0686828701610b37565b9250506040610c1786828701610b4c565b9150509250925092565b60008060408385031215610c3857610c376110c3565b5b6000610c4685828601610b37565b9250506020610c5785828601610b4c565b9150509250929050565b610c6a81610fab565b82525050565b610c7981610fbd565b82525050565b6000610c8a82610f39565b610c948185610f44565b9350610ca4818560208601611000565b610cad816110c8565b840191505092915050565b6000610cc5602383610f44565b9150610cd0826110d9565b604082019050919050565b6000610ce8602283610f44565b9150610cf382611128565b604082019050919050565b6000610d0b601d83610f44565b9150610d1682611177565b602082019050919050565b6000610d2e602683610f44565b9150610d39826111a0565b604082019050919050565b6000610d51602583610f44565b9150610d5c826111ef565b604082019050919050565b6000610d74602483610f44565b9150610d7f8261123e565b604082019050919050565b6000610d97602583610f44565b9150610da28261128d565b604082019050919050565b610db681610fe9565b82525050565b610dc581610ff3565b82525050565b6000602082019050610de06000830184610c61565b92915050565b6000602082019050610dfb6000830184610c70565b92915050565b60006020820190508181036000830152610e1b8184610c7f565b905092915050565b60006020820190508181036000830152610e3c81610cb8565b9050919050565b60006020820190508181036000830152610e5c81610cdb565b9050919050565b60006020820190508181036000830152610e7c81610cfe565b9050919050565b60006020820190508181036000830152610e9c81610d21565b9050919050565b60006020820190508181036000830152610ebc81610d44565b9050919050565b60006020820190508181036000830152610edc81610d67565b9050919050565b60006020820190508181036000830152610efc81610d8a565b9050919050565b6000602082019050610f186000830184610dad565b92915050565b6000602082019050610f336000830184610dbc565b92915050565b600081519050919050565b600082825260208201905092915050565b6000610f6082610fe9565b9150610f6b83610fe9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610fa057610f9f611065565b5b828201905092915050565b6000610fb682610fc9565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b8381101561101e578082015181840152602081019050611003565b8381111561102d576000848401525b50505050565b6000600282049050600182168061104b57607f821691505b6020821081141561105f5761105e611094565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6112e581610fab565b81146112f057600080fd5b50565b6112fc81610fe9565b811461130757600080fd5b5056fea2646970667358221220f9c6ee2eef348d359724d06b0c8dc67980b83f4fff5b5d665d4064ac1a09585664736f6c6343000807003360806040523480156200001157600080fd5b5060405162000c9438038062000c94833981810160405281019062000037919062000130565b81600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620001f8565b6000815190506200011381620001c4565b92915050565b6000815190506200012a81620001de565b92915050565b600080604083850312156200014a5762000149620001bf565b5b60006200015a8582860162000102565b92505060206200016d8582860162000119565b9150509250929050565b600062000184826200019f565b9050919050565b6000620001988262000177565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b620001cf8162000177565b8114620001db57600080fd5b50565b620001e9816200018b565b8114620001f557600080fd5b50565b610a8c80620002086000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806373ad468a146100675780638da5cb5b14610085578063b69ef8a8146100a3578063e887eec7146100c1578063f2fde38b146100dd578063fc0c546a146100f9575b600080fd5b61006f610117565b60405161007c9190610845565b60405180910390f35b61008d61011d565b60405161009a919061074a565b60405180910390f35b6100ab610143565b6040516100b89190610845565b60405180910390f35b6100db60048036038101906100d69190610606565b610149565b005b6100f760048036038101906100f291906105d9565b61041b565b005b61010161055f565b60405161010e919061074a565b60405180910390f35b60005481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146101d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d090610805565b60405180910390fd5b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610236919061074a565b60206040518083038186803b15801561024e57600080fd5b505afa158015610262573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102869190610673565b90508060018190555060015482106102d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102ca906107c5565b60405180910390fd5b600060015411610318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030f906107e5565b60405180910390fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84670de0b6b3a76400008561036b9190610871565b6040518363ffffffff1660e01b815260040161038892919061079c565b602060405180830381600087803b1580156103a257600080fd5b505af11580156103b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103da9190610646565b507ffda3a3e0e1479b43cb1c701f7576187f4c4ad80768d627387e00184302f7d88e33848460405161040e93929190610765565b60405180910390a1505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104a290610805565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561051b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161051290610825565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008135905061059481610a11565b92915050565b6000815190506105a981610a28565b92915050565b6000813590506105be81610a3f565b92915050565b6000815190506105d381610a3f565b92915050565b6000602082840312156105ef576105ee610942565b5b60006105fd84828501610585565b91505092915050565b6000806040838503121561061d5761061c610942565b5b600061062b85828601610585565b925050602061063c858286016105af565b9150509250929050565b60006020828403121561065c5761065b610942565b5b600061066a8482850161059a565b91505092915050565b60006020828403121561068957610688610942565b5b6000610697848285016105c4565b91505092915050565b6106a9816108cb565b82525050565b60006106bc600e83610860565b91506106c782610947565b602082019050919050565b60006106df601283610860565b91506106ea82610970565b602082019050919050565b6000610702602083610860565b915061070d82610999565b602082019050919050565b6000610725602283610860565b9150610730826109c2565b604082019050919050565b61074481610909565b82525050565b600060208201905061075f60008301846106a0565b92915050565b600060608201905061077a60008301866106a0565b61078760208301856106a0565b610794604083018461073b565b949350505050565b60006040820190506107b160008301856106a0565b6107be602083018461073b565b9392505050565b600060208201905081810360008301526107de816106af565b9050919050565b600060208201905081810360008301526107fe816106d2565b9050919050565b6000602082019050818103600083015261081e816106f5565b9050919050565b6000602082019050818103600083015261083e81610718565b9050919050565b600060208201905061085a600083018461073b565b92915050565b600082825260208201905092915050565b600061087c82610909565b915061088783610909565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156108c0576108bf610913565b5b828202905092915050565b60006108d6826108e9565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600080fd5b7f4e6f7420656e6f75676820424647000000000000000000000000000000000000600082015250565b7f4e6f20616c6c6f636174696f6e206c6566740000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f63616e27742068617665206f776e65722077697468207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b610a1a816108cb565b8114610a2557600080fd5b50565b610a31816108dd565b8114610a3c57600080fd5b50565b610a4881610909565b8114610a5357600080fd5b5056fea2646970667358221220eee431259123c6025302fc5494d4d5230529d5bf7f2dca9ab4c756191ecfc4e564736f6c63430008070033

Deployed ByteCode Sourcemap

18747:482:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6710:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9061:201;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;7830:108;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9842:295;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;7672:93;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10546:238;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8001:127;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18831:20;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6929:104;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;11287:436;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8334:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18790:34;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8590:151;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6710:100;6764:13;6797:5;6790:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6710:100;:::o;9061:201::-;9144:4;9161:13;9177:12;:10;:12::i;:::-;9161:28;;9200:32;9209:5;9216:7;9225:6;9200:8;:32::i;:::-;9250:4;9243:11;;;9061:201;;;;:::o;7830:108::-;7891:7;7918:12;;7911:19;;7830:108;:::o;9842:295::-;9973:4;9990:15;10008:12;:10;:12::i;:::-;9990:30;;10031:38;10047:4;10053:7;10062:6;10031:15;:38::i;:::-;10080:27;10090:4;10096:2;10100:6;10080:9;:27::i;:::-;10125:4;10118:11;;;9842:295;;;;;:::o;7672:93::-;7730:5;7755:2;7748:9;;7672:93;:::o;10546:238::-;10634:4;10651:13;10667:12;:10;:12::i;:::-;10651:28;;10690:64;10699:5;10706:7;10743:10;10715:25;10725:5;10732:7;10715:9;:25::i;:::-;:38;;;;:::i;:::-;10690:8;:64::i;:::-;10772:4;10765:11;;;10546:238;;;;:::o;8001:127::-;8075:7;8102:9;:18;8112:7;8102:18;;;;;;;;;;;;;;;;8095:25;;8001:127;;;:::o;18831:20::-;;;;;;;;;;;;;:::o;6929:104::-;6985:13;7018:7;7011:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6929:104;:::o;11287:436::-;11380:4;11397:13;11413:12;:10;:12::i;:::-;11397:28;;11436:24;11463:25;11473:5;11480:7;11463:9;:25::i;:::-;11436:52;;11527:15;11507:16;:35;;11499:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;11620:60;11629:5;11636:7;11664:15;11645:16;:34;11620:8;:60::i;:::-;11711:4;11704:11;;;;11287:436;;;;:::o;8334:193::-;8413:4;8430:13;8446:12;:10;:12::i;:::-;8430:28;;8469;8479:5;8486:2;8490:6;8469:9;:28::i;:::-;8515:4;8508:11;;;8334:193;;;;:::o;18790:34::-;;;;;;;;;;;;;:::o;8590:151::-;8679:7;8706:11;:18;8718:5;8706:18;;;;;;;;;;;;;;;:27;8725:7;8706:27;;;;;;;;;;;;;;;;8699:34;;8590:151;;;;:::o;718:98::-;771:7;798:10;791:17;;718:98;:::o;14912:380::-;15065:1;15048:19;;:5;:19;;;;15040:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;15146:1;15127:21;;:7;:21;;;;15119:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;15230:6;15200:11;:18;15212:5;15200:18;;;;;;;;;;;;;;;:27;15219:7;15200:27;;;;;;;;;;;;;;;:36;;;;15268:7;15252:32;;15261:5;15252:32;;;15277:6;15252:32;;;;;;:::i;:::-;;;;;;;;14912:380;;;:::o;15583:453::-;15718:24;15745:25;15755:5;15762:7;15745:9;:25::i;:::-;15718:52;;15805:17;15785:16;:37;15781:248;;15867:6;15847:16;:26;;15839:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;15951:51;15960:5;15967:7;15995:6;15976:16;:25;15951:8;:51::i;:::-;15781:248;15707:329;15583:453;;;:::o;12193:671::-;12340:1;12324:18;;:4;:18;;;;12316:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;12417:1;12403:16;;:2;:16;;;;12395:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;12472:38;12493:4;12499:2;12503:6;12472:20;:38::i;:::-;12523:19;12545:9;:15;12555:4;12545:15;;;;;;;;;;;;;;;;12523:37;;12594:6;12579:11;:21;;12571:72;;;;;;;;;;;;:::i;:::-;;;;;;;;;12711:6;12697:11;:20;12679:9;:15;12689:4;12679:15;;;;;;;;;;;;;;;:38;;;;12756:6;12739:9;:13;12749:2;12739:13;;;;;;;;;;;;;;;;:23;;;;;;;:::i;:::-;;;;;;;;12795:2;12780:26;;12789:4;12780:26;;;12799:6;12780:26;;;;;;:::i;:::-;;;;;;;;12819:37;12839:4;12845:2;12849:6;12819:19;:37::i;:::-;12305:559;12193:671;;;:::o;16636:125::-;;;;:::o;17365:124::-;;;;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:::-;198:5;236:6;223:20;214:29;;252:33;279:5;252:33;:::i;:::-;152:139;;;;:::o;297:329::-;356:6;405:2;393:9;384:7;380:23;376:32;373:119;;;411:79;;:::i;:::-;373:119;531:1;556:53;601:7;592:6;581:9;577:22;556:53;:::i;:::-;546:63;;502:117;297:329;;;;:::o;632:474::-;700:6;708;757:2;745:9;736:7;732:23;728:32;725:119;;;763:79;;:::i;:::-;725:119;883:1;908:53;953:7;944:6;933:9;929:22;908:53;:::i;:::-;898:63;;854:117;1010:2;1036:53;1081:7;1072:6;1061:9;1057:22;1036:53;:::i;:::-;1026:63;;981:118;632:474;;;;;:::o;1112:619::-;1189:6;1197;1205;1254:2;1242:9;1233:7;1229:23;1225:32;1222:119;;;1260:79;;:::i;:::-;1222:119;1380:1;1405:53;1450:7;1441:6;1430:9;1426:22;1405:53;:::i;:::-;1395:63;;1351:117;1507:2;1533:53;1578:7;1569:6;1558:9;1554:22;1533:53;:::i;:::-;1523:63;;1478:118;1635:2;1661:53;1706:7;1697:6;1686:9;1682:22;1661:53;:::i;:::-;1651:63;;1606:118;1112:619;;;;;:::o;1737:474::-;1805:6;1813;1862:2;1850:9;1841:7;1837:23;1833:32;1830:119;;;1868:79;;:::i;:::-;1830:119;1988:1;2013:53;2058:7;2049:6;2038:9;2034:22;2013:53;:::i;:::-;2003:63;;1959:117;2115:2;2141:53;2186:7;2177:6;2166:9;2162:22;2141:53;:::i;:::-;2131:63;;2086:118;1737:474;;;;;:::o;2217:118::-;2304:24;2322:5;2304:24;:::i;:::-;2299:3;2292:37;2217:118;;:::o;2341:109::-;2422:21;2437:5;2422:21;:::i;:::-;2417:3;2410:34;2341:109;;:::o;2456:364::-;2544:3;2572:39;2605:5;2572:39;:::i;:::-;2627:71;2691:6;2686:3;2627:71;:::i;:::-;2620:78;;2707:52;2752:6;2747:3;2740:4;2733:5;2729:16;2707:52;:::i;:::-;2784:29;2806:6;2784:29;:::i;:::-;2779:3;2775:39;2768:46;;2548:272;2456:364;;;;:::o;2826:366::-;2968:3;2989:67;3053:2;3048:3;2989:67;:::i;:::-;2982:74;;3065:93;3154:3;3065:93;:::i;:::-;3183:2;3178:3;3174:12;3167:19;;2826:366;;;:::o;3198:::-;3340:3;3361:67;3425:2;3420:3;3361:67;:::i;:::-;3354:74;;3437:93;3526:3;3437:93;:::i;:::-;3555:2;3550:3;3546:12;3539:19;;3198:366;;;:::o;3570:::-;3712:3;3733:67;3797:2;3792:3;3733:67;:::i;:::-;3726:74;;3809:93;3898:3;3809:93;:::i;:::-;3927:2;3922:3;3918:12;3911:19;;3570:366;;;:::o;3942:::-;4084:3;4105:67;4169:2;4164:3;4105:67;:::i;:::-;4098:74;;4181:93;4270:3;4181:93;:::i;:::-;4299:2;4294:3;4290:12;4283:19;;3942:366;;;:::o;4314:::-;4456:3;4477:67;4541:2;4536:3;4477:67;:::i;:::-;4470:74;;4553:93;4642:3;4553:93;:::i;:::-;4671:2;4666:3;4662:12;4655:19;;4314:366;;;:::o;4686:::-;4828:3;4849:67;4913:2;4908:3;4849:67;:::i;:::-;4842:74;;4925:93;5014:3;4925:93;:::i;:::-;5043:2;5038:3;5034:12;5027:19;;4686:366;;;:::o;5058:::-;5200:3;5221:67;5285:2;5280:3;5221:67;:::i;:::-;5214:74;;5297:93;5386:3;5297:93;:::i;:::-;5415:2;5410:3;5406:12;5399:19;;5058:366;;;:::o;5430:118::-;5517:24;5535:5;5517:24;:::i;:::-;5512:3;5505:37;5430:118;;:::o;5554:112::-;5637:22;5653:5;5637:22;:::i;:::-;5632:3;5625:35;5554:112;;:::o;5672:222::-;5765:4;5803:2;5792:9;5788:18;5780:26;;5816:71;5884:1;5873:9;5869:17;5860:6;5816:71;:::i;:::-;5672:222;;;;:::o;5900:210::-;5987:4;6025:2;6014:9;6010:18;6002:26;;6038:65;6100:1;6089:9;6085:17;6076:6;6038:65;:::i;:::-;5900:210;;;;:::o;6116:313::-;6229:4;6267:2;6256:9;6252:18;6244:26;;6316:9;6310:4;6306:20;6302:1;6291:9;6287:17;6280:47;6344:78;6417:4;6408:6;6344:78;:::i;:::-;6336:86;;6116:313;;;;:::o;6435:419::-;6601:4;6639:2;6628:9;6624:18;6616:26;;6688:9;6682:4;6678:20;6674:1;6663:9;6659:17;6652:47;6716:131;6842:4;6716:131;:::i;:::-;6708:139;;6435:419;;;:::o;6860:::-;7026:4;7064:2;7053:9;7049:18;7041:26;;7113:9;7107:4;7103:20;7099:1;7088:9;7084:17;7077:47;7141:131;7267:4;7141:131;:::i;:::-;7133:139;;6860:419;;;:::o;7285:::-;7451:4;7489:2;7478:9;7474:18;7466:26;;7538:9;7532:4;7528:20;7524:1;7513:9;7509:17;7502:47;7566:131;7692:4;7566:131;:::i;:::-;7558:139;;7285:419;;;:::o;7710:::-;7876:4;7914:2;7903:9;7899:18;7891:26;;7963:9;7957:4;7953:20;7949:1;7938:9;7934:17;7927:47;7991:131;8117:4;7991:131;:::i;:::-;7983:139;;7710:419;;;:::o;8135:::-;8301:4;8339:2;8328:9;8324:18;8316:26;;8388:9;8382:4;8378:20;8374:1;8363:9;8359:17;8352:47;8416:131;8542:4;8416:131;:::i;:::-;8408:139;;8135:419;;;:::o;8560:::-;8726:4;8764:2;8753:9;8749:18;8741:26;;8813:9;8807:4;8803:20;8799:1;8788:9;8784:17;8777:47;8841:131;8967:4;8841:131;:::i;:::-;8833:139;;8560:419;;;:::o;8985:::-;9151:4;9189:2;9178:9;9174:18;9166:26;;9238:9;9232:4;9228:20;9224:1;9213:9;9209:17;9202:47;9266:131;9392:4;9266:131;:::i;:::-;9258:139;;8985:419;;;:::o;9410:222::-;9503:4;9541:2;9530:9;9526:18;9518:26;;9554:71;9622:1;9611:9;9607:17;9598:6;9554:71;:::i;:::-;9410:222;;;;:::o;9638:214::-;9727:4;9765:2;9754:9;9750:18;9742:26;;9778:67;9842:1;9831:9;9827:17;9818:6;9778:67;:::i;:::-;9638:214;;;;:::o;9939:99::-;9991:6;10025:5;10019:12;10009:22;;9939:99;;;:::o;10044:169::-;10128:11;10162:6;10157:3;10150:19;10202:4;10197:3;10193:14;10178:29;;10044:169;;;;:::o;10219:305::-;10259:3;10278:20;10296:1;10278:20;:::i;:::-;10273:25;;10312:20;10330:1;10312:20;:::i;:::-;10307:25;;10466:1;10398:66;10394:74;10391:1;10388:81;10385:107;;;10472:18;;:::i;:::-;10385:107;10516:1;10513;10509:9;10502:16;;10219:305;;;;:::o;10530:96::-;10567:7;10596:24;10614:5;10596:24;:::i;:::-;10585:35;;10530:96;;;:::o;10632:90::-;10666:7;10709:5;10702:13;10695:21;10684:32;;10632:90;;;:::o;10728:126::-;10765:7;10805:42;10798:5;10794:54;10783:65;;10728:126;;;:::o;10860:77::-;10897:7;10926:5;10915:16;;10860:77;;;:::o;10943:86::-;10978:7;11018:4;11011:5;11007:16;10996:27;;10943:86;;;:::o;11035:307::-;11103:1;11113:113;11127:6;11124:1;11121:13;11113:113;;;11212:1;11207:3;11203:11;11197:18;11193:1;11188:3;11184:11;11177:39;11149:2;11146:1;11142:10;11137:15;;11113:113;;;11244:6;11241:1;11238:13;11235:101;;;11324:1;11315:6;11310:3;11306:16;11299:27;11235:101;11084:258;11035:307;;;:::o;11348:320::-;11392:6;11429:1;11423:4;11419:12;11409:22;;11476:1;11470:4;11466:12;11497:18;11487:81;;11553:4;11545:6;11541:17;11531:27;;11487:81;11615:2;11607:6;11604:14;11584:18;11581:38;11578:84;;;11634:18;;:::i;:::-;11578:84;11399:269;11348:320;;;:::o;11674:180::-;11722:77;11719:1;11712:88;11819:4;11816:1;11809:15;11843:4;11840:1;11833:15;11860:180;11908:77;11905:1;11898:88;12005:4;12002:1;11995:15;12029:4;12026:1;12019:15;12169:117;12278:1;12275;12268:12;12292:102;12333:6;12384:2;12380:7;12375:2;12368:5;12364:14;12360:28;12350:38;;12292:102;;;:::o;12400:222::-;12540:34;12536:1;12528:6;12524:14;12517:58;12609:5;12604:2;12596:6;12592:15;12585:30;12400:222;:::o;12628:221::-;12768:34;12764:1;12756:6;12752:14;12745:58;12837:4;12832:2;12824:6;12820:15;12813:29;12628:221;:::o;12855:179::-;12995:31;12991:1;12983:6;12979:14;12972:55;12855:179;:::o;13040:225::-;13180:34;13176:1;13168:6;13164:14;13157:58;13249:8;13244:2;13236:6;13232:15;13225:33;13040:225;:::o;13271:224::-;13411:34;13407:1;13399:6;13395:14;13388:58;13480:7;13475:2;13467:6;13463:15;13456:32;13271:224;:::o;13501:223::-;13641:34;13637:1;13629:6;13625:14;13618:58;13710:6;13705:2;13697:6;13693:15;13686:31;13501:223;:::o;13730:224::-;13870:34;13866:1;13858:6;13854:14;13847:58;13939:7;13934:2;13926:6;13922:15;13915:32;13730:224;:::o;13960:122::-;14033:24;14051:5;14033:24;:::i;:::-;14026:5;14023:35;14013:63;;14072:1;14069;14062:12;14013:63;13960:122;:::o;14088:::-;14161:24;14179:5;14161:24;:::i;:::-;14154:5;14151:35;14141:63;;14200:1;14197;14190:12;14141:63;14088:122;:::o

Swarm Source

ipfs://eee431259123c6025302fc5494d4d5230529d5bf7f2dca9ab4c756191ecfc4e5
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.