Contract 0x6D8CF23Ca2BF82656749DE6bD02169Ff7066b753 3

Contract Overview

Balance:
0 MATIC
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0x5d28c201366f88321bcdd98152325057c9177775633ce0937646a5937bad67c3Approve362294022023-05-30 12:15:503 days 20 hrs ago0x7aa59cfa15368b9d023dccf75567d38e7c182e3f IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.000043761 1.500000017
0x195d4e81fc7d0ce577a2b82108ac6ff1d7d89513deaf713757db1c7864c4f013Approve362293682023-05-30 12:14:383 days 20 hrs ago0x7aa59cfa15368b9d023dccf75567d38e7c182e3f IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.000069411 1.500000016
0xbfe8d3c1f623517ec29ac87c25db8ab9e3948fbeab7629a84f10b02c85102e71Approve362289112023-05-30 11:58:263 days 20 hrs ago0x6e5b7bdd3c0f3e5fad545c0b79f6250160817e10 IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.000039453 1.500000016
0xd2803c55e5bf56d2a0599c0a41d307a21d1ae4da1c9f0df4effbf97a054a0a65Approve326734722023-03-03 23:20:0091 days 8 hrs ago0xf7ca31c89c2942e678bfe2831843829e8d1f8b2f IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.0002600529715.582212925
0x53d11eb464b715afa3ba85aaa668cf0aacc8e12919d09e43141111290a73592eApprove291996672022-11-17 14:14:38197 days 18 hrs ago0x2c305888a456e7004663bc12a74395e637eabcbc IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.000060561798 1.299999963
0x7378cbf56003e9746190b48b2829bea96a9b172530e67951320c0e688e388c94Approve291996552022-11-17 14:12:38197 days 18 hrs ago0x2c305888a456e7004663bc12a74395e637eabcbc IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.000060561798 1.299999962
0xd52dad06354c1879da290430ccf9b7c9fecfc5962cc157bcc2456cf43750c29dIncrease Allowan...291995962022-11-17 14:04:22197 days 18 hrs ago0x2c305888a456e7004663bc12a74395e637eabcbc IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.0000604954971.299999957
0x408c6e9e0b76a8a263c9f182a34d2743d52c0198729e776bab60d7d6e4998a34Approve280099642022-09-09 8:58:14266 days 23 hrs ago0x2c305888a456e7004663bc12a74395e637eabcbc IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.000116465 2.500000012
0x9a76dd77ec2e377689e25bc52b0a5c8c15be65dd32d943e84a08af45bdc662aaIncrease Allowan...280092562022-09-09 7:59:03267 days 17 mins ago0x2c305888a456e7004663bc12a74395e637eabcbc IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.00006980251.500000015
0xc2fc1e714baf93bbb2d4ece346fc96ff06c5f61e758699619a961877fc1d9e3aApprove277873082022-08-26 14:46:03280 days 17 hrs ago0x2c305888a456e7004663bc12a74395e637eabcbc IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.000111632159 2.39625981
0x5a230626a8ada84e55dd5a554e8080ed90615831f4445e423886c4b936a6403bApprove277872962022-08-26 14:45:03280 days 17 hrs ago0x2c305888a456e7004663bc12a74395e637eabcbc IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.000116465 2.500000008
0x37355d30dc2be36538d07eebcecc1c41f51af07947487cce94b35db7b1589888Approve277872622022-08-26 14:42:12280 days 17 hrs ago0x2c305888a456e7004663bc12a74395e637eabcbc IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.000112173286 2.407875463
0x30b7fa622da9affde2a274264ac4c8d02b2baf2aaad2a620eb6610c02cc63f42Increase Allowan...277868512022-08-26 14:02:31280 days 18 hrs ago0x2c305888a456e7004663bc12a74395e637eabcbc IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.000080593589 2.738019014
0x7689b56d2f3678dc5c1da3c4e1a763ea8da03a91579925457ef63c78ff802c43Increase Allowan...277868442022-08-26 14:01:56280 days 18 hrs ago0x2c305888a456e7004663bc12a74395e637eabcbc IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.00139677 30
0x30368e0ff046de1896a258d7d18c3fed265ac92f46731dd5fe172955791ae658Approve270261032022-07-04 7:58:08334 days 18 mins ago0x1b0506cf9475e074d179c37314f277fef08ad7f7 IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.001440294981 30.916905964
0x4570520870fd8a9eb824fbaa9253e5b4067828f9ebce2ecb1b9b5eaeedd66645Approve265859892022-06-03 15:45:17364 days 16 hrs ago0x2c305888a456e7004663bc12a74395e637eabcbc IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.000116465 2.500000008
0x14dd11104c42c3a86566b617dcea75be7c6e86d10c89b4c7aa6c4d63e7aae77aApprove265859632022-06-03 15:42:36364 days 16 hrs ago0x2c305888a456e7004663bc12a74395e637eabcbc IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.000116465 2.500000009
0x3ec9c71d2074d98331d1737337f72db8fbe190840a75d34284661a15ee2f0bdaApprove265849612022-06-03 13:57:31364 days 18 hrs ago0x2c305888a456e7004663bc12a74395e637eabcbc IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.000116465 2.500000009
0x60d9a8d3b74dec1f988dab1412f6940ebca46e141f7d9f7af51a24ea999f93edIncrease Allowan...265848732022-06-03 13:48:19364 days 18 hrs ago0x2c305888a456e7004663bc12a74395e637eabcbc IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.001163375001 25.000000025
0x8533f0000e01d6efcc78de47ec5a58568455e6697b8810b43389f3d2a7db909eApprove262587052022-05-08 21:27:13390 days 10 hrs ago0x51106864f576c9fae448f39e442d84004283a4aa IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.000116465 2.500000007
0xf6e9814bb460189b3012bb0916a7651859deef60611f7edfa010939fedadabc8Transfer252573502022-02-24 18:47:34463 days 13 hrs ago0x2c305888a456e7004663bc12a74395e637eabcbc IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.000077298 1.500000008
0x8bb311764e8744588d5f68635310c7dab885e6e09f013520407331c8a6275b1cIncrease Allowan...245479082022-02-03 9:43:24484 days 22 hrs ago0xae50403785d5409d73e2406df1d73468d74cb5ba IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.0001170575 2.500000009
0xb205dd3538c12ee533bb13474a650e8d1dc7989e9905391b2c3b4c36cf72fb7eIncrease Allowan...243975652022-01-29 23:55:03489 days 8 hrs ago0x301563c7f1ebd45eca744ecbac62f02bddaa750d IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.0001170575 2.500000008
0x525ea7c70800dbbcd8d55ad7bf355400863b7b7e84cc0dd98b1e07dfd725c055Transfer243863812022-01-29 16:22:23489 days 15 hrs ago0xaaea2ca30f2f5c70afa61946c34603db3d152410 IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.000041999999 1.999999997
0xf845f53793ea4aeac4d5cb1bed0a8ba1b26fe6fefeb02c601978b134de49b261Increase Allowan...243848052022-01-29 15:18:47489 days 16 hrs ago0x2d5c6981558908fd2a29ed8c2f8ee04c9f1ff844 IN  0x6d8cf23ca2bf82656749de6bd02169ff7066b7530 MATIC0.0001170575 2.500000008
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
BetsToken

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 2 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @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:
     *
     * - `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 {}
}

File 3 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 4 of 8 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @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 5 of 8 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 6 of 8 : Context.sol
// SPDX-License-Identifier: MIT

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 7 of 8 : Multicall.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Address.sol";

/**
 * @dev Provides a function to batch together multiple calls in a single external call.
 *
 * _Available since v4.1._
 */
abstract contract Multicall {
    /**
     * @dev Receives and executes a batch of function calls on this contract.
     */
    function multicall(bytes[] calldata data) external returns (bytes[] memory results) {
        results = new bytes[](data.length);
        for (uint256 i = 0; i < data.length; i++) {
            results[i] = Address.functionDelegateCall(address(this), data[i]);
        }
        return results;
    }
}

File 8 of 8 : BetsToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Multicall.sol";

/// @title BetSwirl's ERC20 token
/// @author Romuald Hog
contract BetsToken is ERC20, Ownable, Multicall {
    constructor() ERC20("BetSwirl Token", "BETS") {
        _mint(msg.sender, 77777777 * 10**decimals());
    }

    /**
     * @dev This function is here to ensure BEP-20 compatibility
     */
    function getOwner() external view returns (address) {
        return owner();
    }
}

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

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":[{"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":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","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":"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":"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"}]

60806040523480156200001157600080fd5b50604080518082018252600e81526d2132ba29bbb4b936102a37b5b2b760911b6020808301918252835180850190945260048452634245545360e01b908401528151919291620000649160039162000204565b5080516200007a90600490602084019062000204565b5050506200009762000091620000c660201b60201c565b620000ca565b620000c033620000aa6012600a6200030e565b620000ba906304a2cb71620003dc565b6200011c565b62000451565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001775760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200018b9190620002aa565b90915550506001600160a01b03821660009081526020819052604081208054839290620001ba908490620002aa565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200021290620003fe565b90600052602060002090601f01602090048101928262000236576000855562000281565b82601f106200025157805160ff191683800117855562000281565b8280016001018555821562000281579182015b828111156200028157825182559160200191906001019062000264565b506200028f92915062000293565b5090565b5b808211156200028f576000815560010162000294565b60008219821115620002c057620002c06200043b565b500190565b600181815b8085111562000306578160001904821115620002ea57620002ea6200043b565b80851615620002f857918102915b93841c9390800290620002ca565b509250929050565b60006200031f60ff84168362000326565b9392505050565b6000826200033757506001620003d6565b816200034657506000620003d6565b81600181146200035f57600281146200036a576200038a565b6001915050620003d6565b60ff8411156200037e576200037e6200043b565b50506001821b620003d6565b5060208310610133831016604e8410600b8410161715620003af575081810a620003d6565b620003bb8383620002c5565b8060001904821115620003d257620003d26200043b565b0290505b92915050565b6000816000190483118215151615620003f957620003f96200043b565b500290565b600181811c908216806200041357607f821691505b602082108114156200043557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b610f1080620004616000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063893d20e811610097578063a9059cbb11610066578063a9059cbb1461020c578063ac9650d81461021f578063dd62ed3e1461023f578063f2fde38b1461027857600080fd5b8063893d20e8146101c05780638da5cb5b146101e057806395d89b41146101f1578063a457c2d7146101f957600080fd5b8063313ce567116100d3578063313ce5671461016b578063395093511461017a57806370a082311461018d578063715018a6146101b657600080fd5b806306fdde0314610105578063095ea7b31461012357806318160ddd1461014657806323b872dd14610158575b600080fd5b61010d61028b565b60405161011a9190610d76565b60405180910390f35b610136610131366004610c2d565b61031d565b604051901515815260200161011a565b6002545b60405190815260200161011a565b610136610166366004610bf1565b610333565b6040516012815260200161011a565b610136610188366004610c2d565b6103e4565b61014a61019b366004610ba3565b6001600160a01b031660009081526020819052604090205490565b6101be610420565b005b6101c8610486565b6040516001600160a01b03909116815260200161011a565b6005546001600160a01b03166101c8565b61010d61049f565b610136610207366004610c2d565b6104ae565b61013661021a366004610c2d565b610547565b61023261022d366004610c57565b610554565b60405161011a9190610d14565b61014a61024d366004610bbe565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101be610286366004610ba3565b610649565b60606003805461029a90610e1b565b80601f01602080910402602001604051908101604052809291908181526020018280546102c690610e1b565b80156103135780601f106102e857610100808354040283529160200191610313565b820191906000526020600020905b8154815290600101906020018083116102f657829003601f168201915b5050505050905090565b600061032a338484610714565b50600192915050565b6000610340848484610838565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156103ca5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103d78533858403610714565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161032a91859061041b908690610dd7565b610714565b6005546001600160a01b0316331461047a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103c1565b6104846000610a08565b565b600061049a6005546001600160a01b031690565b905090565b60606004805461029a90610e1b565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156105305760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103c1565b61053d3385858403610714565b5060019392505050565b600061032a338484610838565b60608167ffffffffffffffff81111561056f5761056f610e9d565b6040519080825280602002602001820160405280156105a257816020015b606081526020019060019003908161058d5790505b50905060005b8281101561064257610612308585848181106105c6576105c6610e87565b90506020028101906105d89190610d89565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610a5a92505050565b82828151811061062457610624610e87565b6020026020010181905250808061063a90610e56565b9150506105a8565b5092915050565b6005546001600160a01b031633146106a35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103c1565b6001600160a01b0381166107085760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103c1565b61071181610a08565b50565b6001600160a01b0383166107765760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103c1565b6001600160a01b0382166107d75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103c1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661089c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103c1565b6001600160a01b0382166108fe5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103c1565b6001600160a01b038316600090815260208190526040902054818110156109765760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103c1565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906109ad908490610dd7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516109f991815260200190565b60405180910390a35b50505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60606103dd8383604051806060016040528060278152602001610eb4602791396060833b610ad95760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016103c1565b600080856001600160a01b031685604051610af49190610cf8565b600060405180830381855af49150503d8060008114610b2f576040519150601f19603f3d011682016040523d82523d6000602084013e610b34565b606091505b5091509150610b44828286610b4e565b9695505050505050565b60608315610b5d5750816103dd565b825115610b6d5782518084602001fd5b8160405162461bcd60e51b81526004016103c19190610d76565b80356001600160a01b0381168114610b9e57600080fd5b919050565b600060208284031215610bb557600080fd5b6103dd82610b87565b60008060408385031215610bd157600080fd5b610bda83610b87565b9150610be860208401610b87565b90509250929050565b600080600060608486031215610c0657600080fd5b610c0f84610b87565b9250610c1d60208501610b87565b9150604084013590509250925092565b60008060408385031215610c4057600080fd5b610c4983610b87565b946020939093013593505050565b60008060208385031215610c6a57600080fd5b823567ffffffffffffffff80821115610c8257600080fd5b818501915085601f830112610c9657600080fd5b813581811115610ca557600080fd5b8660208260051b8501011115610cba57600080fd5b60209290920196919550909350505050565b60008151808452610ce4816020860160208601610def565b601f01601f19169290920160200192915050565b60008251610d0a818460208701610def565b9190910192915050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015610d6957603f19888603018452610d57858351610ccc565b94509285019290850190600101610d3b565b5092979650505050505050565b6020815260006103dd6020830184610ccc565b6000808335601e19843603018112610da057600080fd5b83018035915067ffffffffffffffff821115610dbb57600080fd5b602001915036819003821315610dd057600080fd5b9250929050565b60008219821115610dea57610dea610e71565b500190565b60005b83811015610e0a578181015183820152602001610df2565b83811115610a025750506000910152565b600181811c90821680610e2f57607f821691505b60208210811415610e5057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415610e6a57610e6a610e71565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220e577123ec226cc11077da410a559b400b1043e4208007c529c49b8bd902e8e8e64736f6c63430008070033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading