Mumbai Testnet

Contract

0xEba5eBE8Cb3aF119CD21101591C8C1Ce9804fa0a

Overview

MATIC Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 MATIC

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Value
Approve267339762022-06-14 0:02:46673 days ago1655164966IN
0xEba5eBE8...e9804fa0a
0 MATIC0.00978718211.21741978
Update Staking267336932022-06-13 23:31:41673 days ago1655163101IN
0xEba5eBE8...e9804fa0a
0 MATIC0.00973699209.96657647
Grant Role267336542022-06-13 23:28:26673 days ago1655162906IN
0xEba5eBE8...e9804fa0a
0 MATIC0.01204958214.84505802
Transfer266334122022-06-06 22:53:29680 days ago1654556009IN
0xEba5eBE8...e9804fa0a
0 MATIC0.00609207176.50000001
Approve266333942022-06-06 22:51:33680 days ago1654555893IN
0xEba5eBE8...e9804fa0a
0 MATIC0.00817636176.5
Approve264533962022-05-25 0:38:35693 days ago1653439115IN
0xEba5eBE8...e9804fa0a
0 MATIC0.00515821176.5
Approve264532832022-05-25 0:23:48693 days ago1653438228IN
0xEba5eBE8...e9804fa0a
0 MATIC0.00817424176.50000001
Approve264531592022-05-25 0:11:26693 days ago1653437486IN
0xEba5eBE8...e9804fa0a
0 MATIC0.00817636176.50000001
Approve264530882022-05-25 0:02:10693 days ago1653436930IN
0xEba5eBE8...e9804fa0a
0 MATIC0.00817636176.5
Approve262966692022-05-12 15:56:03705 days ago1652370963IN
0xEba5eBE8...e9804fa0a
0 MATIC0.00822931176.50000001
Approve262953222022-05-12 12:34:46705 days ago1652358886IN
0xEba5eBE8...e9804fa0a
0 MATIC0.00817848176.50000003
Approve262922212022-05-12 4:42:58706 days ago1652330578IN
0xEba5eBE8...e9804fa0a
0 MATIC0.00822931176.50000001
Mint262917592022-05-12 3:31:01706 days ago1652326261IN
0xEba5eBE8...e9804fa0a
0 MATIC0.00943904176.50000001
Approve262917192022-05-12 3:24:21706 days ago1652325861IN
0xEba5eBE8...e9804fa0a
0 MATIC0.0005143111.0993709
Approve262908482022-05-12 1:25:37706 days ago1652318737IN
0xEba5eBE8...e9804fa0a
0 MATIC0.00817848176.5
Approve262908162022-05-12 1:20:17706 days ago1652318417IN
0xEba5eBE8...e9804fa0a
0 MATIC0.00817848176.5
Transfer262907242022-05-12 1:10:15706 days ago1652317815IN
0xEba5eBE8...e9804fa0a
0 MATIC0.0091081176.5
Transfer262502502022-05-08 7:07:20710 days ago1651993640IN
0xEba5eBE8...e9804fa0a
0 MATIC0.0039467876.5
Mint261534422022-05-01 2:31:09717 days ago1651372269IN
0xEba5eBE8...e9804fa0a
0 MATIC0.0027829976.5
Mint261534262022-05-01 2:28:29717 days ago1651372109IN
0xEba5eBE8...e9804fa0a
0 MATIC0.002778476.5
Update Staking261227492022-04-28 20:35:35719 days ago1651178135IN
0xEba5eBE8...e9804fa0a
0 MATIC0.0035476176.50000001
Update Staking261225952022-04-28 20:15:09719 days ago1651176909IN
0xEba5eBE8...e9804fa0a
0 MATIC0.0035476176.50000001
Update Staking261223712022-04-28 19:48:22719 days ago1651175302IN
0xEba5eBE8...e9804fa0a
0 MATIC0.0035476176.50000001
Update Staking261211102022-04-28 17:24:44719 days ago1651166684IN
0xEba5eBE8...e9804fa0a
0 MATIC0.0020252676.50000001
Update Staking261201512022-04-28 15:37:46719 days ago1651160266IN
0xEba5eBE8...e9804fa0a
0 MATIC0.0033621172.5000001
View all transactions

Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WATT

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at mumbai.polygonscan.com on 2022-04-08
*/

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: @openzeppelin/contracts/utils/Strings.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/access/IAccessControl.sol


// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

// File: @openzeppelin/contracts/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/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

// File: @openzeppelin/contracts/access/AccessControl.sol


// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;





/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

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

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


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

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 `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);

    /**
     * @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: @openzeppelin/contracts/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/contracts/token/ERC20/ERC20.sol


// OpenZeppelin Contracts (last updated v4.5.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, _allowances[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 = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, 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:
     *
     * - `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 Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * 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: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

// File: WATT.sol


pragma solidity ^0.8.7;





contract WATT is ERC20, Ownable, ERC20Burnable, AccessControl {
    mapping (address => bool) private staking;   
    mapping (address => bool) private gaming;
    modifier onlyStaking {
        require(staking[msg.sender]== true, "Only Staking contract can call this function");
        _;
    }
    modifier onlyGaming {
        require(gaming[msg.sender]== true, "Only Gaming contract can call this function");
        _;
    }

    constructor() ERC20("WATT", "WATT") {
        staking[msg.sender] = true;       
        gaming[msg.sender] = true;
    }
    // owner mint function
    function mint(address to, uint256 amount) external onlyOwner {
        _mint(to, amount);
    }

    // update stake contracts
    function updateStaking (address newAddress, bool value) external onlyOwner {
        staking[newAddress] = value;
    }

    // update game contracts
    function updateGaming (address newAddress, bool value) external onlyOwner {
        gaming[newAddress] = value;
    }

    // rewards mint function
    function rewardsMint(address to, uint256 _amount) public onlyStaking {
        _mint(to, _amount);
    }

    // rewards burn function
    function rewardsBurn(address from, uint256 _amount) public onlyGaming {
        _burn(from, _amount);
    }
}

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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"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":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rewardsBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rewardsMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"updateGaming","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"updateStaking","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060408051808201825260048082526315d0551560e21b602080840182815285518087019096529285528401528151919291620000519160039162000112565b5080516200006790600490602084019062000112565b505050620000846200007e620000bc60201b60201c565b620000c0565b3360009081526007602090815260408083208054600160ff1991821681179092556008909352922080549091169091179055620001f5565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012090620001b8565b90600052602060002090601f0160209004810192826200014457600085556200018f565b82601f106200015f57805160ff19168380011785556200018f565b828001600101855582156200018f579182015b828111156200018f57825182559160200191906001019062000172565b506200019d929150620001a1565b5090565b5b808211156200019d5760008155600101620001a2565b600181811c90821680620001cd57607f821691505b60208210811415620001ef57634e487b7160e01b600052602260045260246000fd5b50919050565b61166380620002056000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063715018a6116100f9578063a217fddf11610097578063c3a4211411610071578063c3a42114146103b2578063d547741f146103c5578063dd62ed3e146103d8578063f2fde38b1461041157600080fd5b8063a217fddf14610384578063a457c2d71461038c578063a9059cbb1461039f57600080fd5b80638da5cb5b116100d35780638da5cb5b1461033b57806391d148541461035657806395d89b41146103695780639e3131c41461037157600080fd5b8063715018a61461030d57806379cc679014610315578063830d06241461032857600080fd5b80632f2ff15d11610166578063395093511161014057806339509351146102ab57806340c10f19146102be57806342966c68146102d157806370a08231146102e457600080fd5b80632f2ff15d14610276578063313ce5671461028957806336568abe1461029857600080fd5b806318160ddd116101a257806318160ddd146102195780631fcdc8b81461022b57806323b872dd14610240578063248a9ca31461025357600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063095ea7b314610206575b600080fd5b6101dc6101d73660046112d0565b610424565b60405190151581526020015b60405180910390f35b6101f961045b565b6040516101e89190611326565b6101dc610214366004611375565b6104ed565b6002545b6040519081526020016101e8565b61023e61023936600461139f565b610505565b005b6101dc61024e3660046113db565b610563565b61021d610261366004611417565b60009081526006602052604090206001015490565b61023e610284366004611430565b610587565b604051601281526020016101e8565b61023e6102a6366004611430565b6105b2565b6101dc6102b9366004611375565b610630565b61023e6102cc366004611375565b61066f565b61023e6102df366004611417565b6106a3565b61021d6102f236600461145c565b6001600160a01b031660009081526020819052604090205490565b61023e6106b0565b61023e610323366004611375565b6106e6565b61023e61033636600461139f565b6106fb565b6005546040516001600160a01b0390911681526020016101e8565b6101dc610364366004611430565b610750565b6101f961077b565b61023e61037f366004611375565b61078a565b61021d600081565b6101dc61039a366004611375565b610802565b6101dc6103ad366004611375565b610894565b61023e6103c0366004611375565b6108a2565b61023e6103d3366004611430565b61091b565b61021d6103e6366004611477565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61023e61041f36600461145c565b610941565b60006001600160e01b03198216637965db0b60e01b148061045557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461046a906114a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610496906114a1565b80156104e35780601f106104b8576101008083540402835291602001916104e3565b820191906000526020600020905b8154815290600101906020018083116104c657829003601f168201915b5050505050905090565b6000336104fb8185856109d9565b5060019392505050565b6005546001600160a01b031633146105385760405162461bcd60e51b815260040161052f906114dc565b60405180910390fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b600033610571858285610afd565b61057c858585610b8f565b506001949350505050565b6000828152600660205260409020600101546105a38133610d5d565b6105ad8383610dc1565b505050565b6001600160a01b03811633146106225760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161052f565b61062c8282610e47565b5050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906104fb908290869061066a908790611527565b6109d9565b6005546001600160a01b031633146106995760405162461bcd60e51b815260040161052f906114dc565b61062c8282610eae565b6106ad3382610f8d565b50565b6005546001600160a01b031633146106da5760405162461bcd60e51b815260040161052f906114dc565b6106e460006110db565b565b6106f1823383610afd565b61062c8282610f8d565b6005546001600160a01b031633146107255760405162461bcd60e51b815260040161052f906114dc565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461046a906114a1565b3360009081526008602052604090205460ff1615156001146106f15760405162461bcd60e51b815260206004820152602b60248201527f4f6e6c792047616d696e6720636f6e74726163742063616e2063616c6c20746860448201526a34b990333ab731ba34b7b760a91b606482015260840161052f565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156108875760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161052f565b61057c82868684036109d9565b6000336104fb818585610b8f565b3360009081526007602052604090205460ff1615156001146106995760405162461bcd60e51b815260206004820152602c60248201527f4f6e6c79205374616b696e6720636f6e74726163742063616e2063616c6c207460448201526b3434b990333ab731ba34b7b760a11b606482015260840161052f565b6000828152600660205260409020600101546109378133610d5d565b6105ad8383610e47565b6005546001600160a01b0316331461096b5760405162461bcd60e51b815260040161052f906114dc565b6001600160a01b0381166109d05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161052f565b6106ad816110db565b6001600160a01b038316610a3b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161052f565b6001600160a01b038216610a9c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161052f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610b895781811015610b7c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161052f565b610b8984848484036109d9565b50505050565b6001600160a01b038316610bf35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161052f565b6001600160a01b038216610c555760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161052f565b6001600160a01b03831660009081526020819052604090205481811015610ccd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161052f565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610d04908490611527565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d5091815260200190565b60405180910390a3610b89565b610d678282610750565b61062c57610d7f816001600160a01b0316601461112d565b610d8a83602061112d565b604051602001610d9b92919061153f565b60408051601f198184030181529082905262461bcd60e51b825261052f91600401611326565b610dcb8282610750565b61062c5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610e033390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610e518282610750565b1561062c5760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038216610f045760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161052f565b8060026000828254610f169190611527565b90915550506001600160a01b03821660009081526020819052604081208054839290610f43908490611527565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610fed5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161052f565b6001600160a01b038216600090815260208190526040902054818110156110615760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161052f565b6001600160a01b03831660009081526020819052604081208383039055600280548492906110909084906115b4565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6060600061113c8360026115cb565b611147906002611527565b67ffffffffffffffff81111561115f5761115f6115ea565b6040519080825280601f01601f191660200182016040528015611189576020820181803683370190505b509050600360fc1b816000815181106111a4576111a4611600565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106111d3576111d3611600565b60200101906001600160f81b031916908160001a90535060006111f78460026115cb565b611202906001611527565b90505b600181111561127a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061123657611236611600565b1a60f81b82828151811061124c5761124c611600565b60200101906001600160f81b031916908160001a90535060049490941c9361127381611616565b9050611205565b5083156112c95760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161052f565b9392505050565b6000602082840312156112e257600080fd5b81356001600160e01b0319811681146112c957600080fd5b60005b838110156113155781810151838201526020016112fd565b83811115610b895750506000910152565b60208152600082518060208401526113458160408501602087016112fa565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461137057600080fd5b919050565b6000806040838503121561138857600080fd5b61139183611359565b946020939093013593505050565b600080604083850312156113b257600080fd5b6113bb83611359565b9150602083013580151581146113d057600080fd5b809150509250929050565b6000806000606084860312156113f057600080fd5b6113f984611359565b925061140760208501611359565b9150604084013590509250925092565b60006020828403121561142957600080fd5b5035919050565b6000806040838503121561144357600080fd5b8235915061145360208401611359565b90509250929050565b60006020828403121561146e57600080fd5b6112c982611359565b6000806040838503121561148a57600080fd5b61149383611359565b915061145360208401611359565b600181811c908216806114b557607f821691505b602082108114156114d657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561153a5761153a611511565b500190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516115778160178501602088016112fa565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516115a88160288401602088016112fa565b01602801949350505050565b6000828210156115c6576115c6611511565b500390565b60008160001904831182151516156115e5576115e5611511565b500290565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161162557611625611511565b50600019019056fea2646970667358221220dd03224f025fe65d670e92e08e64dac2e0d96f6a36f89f4740d2d6966fef00cc64736f6c634300080b0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063715018a6116100f9578063a217fddf11610097578063c3a4211411610071578063c3a42114146103b2578063d547741f146103c5578063dd62ed3e146103d8578063f2fde38b1461041157600080fd5b8063a217fddf14610384578063a457c2d71461038c578063a9059cbb1461039f57600080fd5b80638da5cb5b116100d35780638da5cb5b1461033b57806391d148541461035657806395d89b41146103695780639e3131c41461037157600080fd5b8063715018a61461030d57806379cc679014610315578063830d06241461032857600080fd5b80632f2ff15d11610166578063395093511161014057806339509351146102ab57806340c10f19146102be57806342966c68146102d157806370a08231146102e457600080fd5b80632f2ff15d14610276578063313ce5671461028957806336568abe1461029857600080fd5b806318160ddd116101a257806318160ddd146102195780631fcdc8b81461022b57806323b872dd14610240578063248a9ca31461025357600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063095ea7b314610206575b600080fd5b6101dc6101d73660046112d0565b610424565b60405190151581526020015b60405180910390f35b6101f961045b565b6040516101e89190611326565b6101dc610214366004611375565b6104ed565b6002545b6040519081526020016101e8565b61023e61023936600461139f565b610505565b005b6101dc61024e3660046113db565b610563565b61021d610261366004611417565b60009081526006602052604090206001015490565b61023e610284366004611430565b610587565b604051601281526020016101e8565b61023e6102a6366004611430565b6105b2565b6101dc6102b9366004611375565b610630565b61023e6102cc366004611375565b61066f565b61023e6102df366004611417565b6106a3565b61021d6102f236600461145c565b6001600160a01b031660009081526020819052604090205490565b61023e6106b0565b61023e610323366004611375565b6106e6565b61023e61033636600461139f565b6106fb565b6005546040516001600160a01b0390911681526020016101e8565b6101dc610364366004611430565b610750565b6101f961077b565b61023e61037f366004611375565b61078a565b61021d600081565b6101dc61039a366004611375565b610802565b6101dc6103ad366004611375565b610894565b61023e6103c0366004611375565b6108a2565b61023e6103d3366004611430565b61091b565b61021d6103e6366004611477565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61023e61041f36600461145c565b610941565b60006001600160e01b03198216637965db0b60e01b148061045557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461046a906114a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610496906114a1565b80156104e35780601f106104b8576101008083540402835291602001916104e3565b820191906000526020600020905b8154815290600101906020018083116104c657829003601f168201915b5050505050905090565b6000336104fb8185856109d9565b5060019392505050565b6005546001600160a01b031633146105385760405162461bcd60e51b815260040161052f906114dc565b60405180910390fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b600033610571858285610afd565b61057c858585610b8f565b506001949350505050565b6000828152600660205260409020600101546105a38133610d5d565b6105ad8383610dc1565b505050565b6001600160a01b03811633146106225760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161052f565b61062c8282610e47565b5050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906104fb908290869061066a908790611527565b6109d9565b6005546001600160a01b031633146106995760405162461bcd60e51b815260040161052f906114dc565b61062c8282610eae565b6106ad3382610f8d565b50565b6005546001600160a01b031633146106da5760405162461bcd60e51b815260040161052f906114dc565b6106e460006110db565b565b6106f1823383610afd565b61062c8282610f8d565b6005546001600160a01b031633146107255760405162461bcd60e51b815260040161052f906114dc565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461046a906114a1565b3360009081526008602052604090205460ff1615156001146106f15760405162461bcd60e51b815260206004820152602b60248201527f4f6e6c792047616d696e6720636f6e74726163742063616e2063616c6c20746860448201526a34b990333ab731ba34b7b760a91b606482015260840161052f565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156108875760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161052f565b61057c82868684036109d9565b6000336104fb818585610b8f565b3360009081526007602052604090205460ff1615156001146106995760405162461bcd60e51b815260206004820152602c60248201527f4f6e6c79205374616b696e6720636f6e74726163742063616e2063616c6c207460448201526b3434b990333ab731ba34b7b760a11b606482015260840161052f565b6000828152600660205260409020600101546109378133610d5d565b6105ad8383610e47565b6005546001600160a01b0316331461096b5760405162461bcd60e51b815260040161052f906114dc565b6001600160a01b0381166109d05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161052f565b6106ad816110db565b6001600160a01b038316610a3b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161052f565b6001600160a01b038216610a9c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161052f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610b895781811015610b7c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161052f565b610b8984848484036109d9565b50505050565b6001600160a01b038316610bf35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161052f565b6001600160a01b038216610c555760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161052f565b6001600160a01b03831660009081526020819052604090205481811015610ccd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161052f565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610d04908490611527565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d5091815260200190565b60405180910390a3610b89565b610d678282610750565b61062c57610d7f816001600160a01b0316601461112d565b610d8a83602061112d565b604051602001610d9b92919061153f565b60408051601f198184030181529082905262461bcd60e51b825261052f91600401611326565b610dcb8282610750565b61062c5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610e033390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610e518282610750565b1561062c5760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038216610f045760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161052f565b8060026000828254610f169190611527565b90915550506001600160a01b03821660009081526020819052604081208054839290610f43908490611527565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610fed5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161052f565b6001600160a01b038216600090815260208190526040902054818110156110615760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161052f565b6001600160a01b03831660009081526020819052604081208383039055600280548492906110909084906115b4565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6060600061113c8360026115cb565b611147906002611527565b67ffffffffffffffff81111561115f5761115f6115ea565b6040519080825280601f01601f191660200182016040528015611189576020820181803683370190505b509050600360fc1b816000815181106111a4576111a4611600565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106111d3576111d3611600565b60200101906001600160f81b031916908160001a90535060006111f78460026115cb565b611202906001611527565b90505b600181111561127a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061123657611236611600565b1a60f81b82828151811061124c5761124c611600565b60200101906001600160f81b031916908160001a90535060049490941c9361127381611616565b9050611205565b5083156112c95760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161052f565b9392505050565b6000602082840312156112e257600080fd5b81356001600160e01b0319811681146112c957600080fd5b60005b838110156113155781810151838201526020016112fd565b83811115610b895750506000910152565b60208152600082518060208401526113458160408501602087016112fa565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461137057600080fd5b919050565b6000806040838503121561138857600080fd5b61139183611359565b946020939093013593505050565b600080604083850312156113b257600080fd5b6113bb83611359565b9150602083013580151581146113d057600080fd5b809150509250929050565b6000806000606084860312156113f057600080fd5b6113f984611359565b925061140760208501611359565b9150604084013590509250925092565b60006020828403121561142957600080fd5b5035919050565b6000806040838503121561144357600080fd5b8235915061145360208401611359565b90509250929050565b60006020828403121561146e57600080fd5b6112c982611359565b6000806040838503121561148a57600080fd5b61149383611359565b915061145360208401611359565b600181811c908216806114b557607f821691505b602082108114156114d657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561153a5761153a611511565b500190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516115778160178501602088016112fa565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516115a88160288401602088016112fa565b01602801949350505050565b6000828210156115c6576115c6611511565b500390565b60008160001904831182151516156115e5576115e5611511565b500290565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161162557611625611511565b50600019019056fea2646970667358221220dd03224f025fe65d670e92e08e64dac2e0d96f6a36f89f4740d2d6966fef00cc64736f6c634300080b0033

Deployed Bytecode Sourcemap

35887:1314:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13125:204;;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;13125:204:0;;;;;;;;23870:100;;;:::i;:::-;;;;;;;:::i;26221:201::-;;;;;;:::i;:::-;;:::i;24990:108::-;25078:12;;24990:108;;;1731:25:1;;;1719:2;1704:18;24990:108:0;1585:177:1;36629:121:0;;;;;;:::i;:::-;;:::i;:::-;;27002:295;;;;;;:::i;:::-;;:::i;14552:131::-;;;;;;:::i;:::-;14626:7;14653:12;;;:6;:12;;;;;:22;;;;14552:131;14945:147;;;;;;:::i;:::-;;:::i;24832:93::-;;;24915:2;3220:36:1;;3208:2;3193:18;24832:93:0;3078:184:1;15993:218:0;;;;;;:::i;:::-;;:::i;27706:240::-;;;;;;:::i;:::-;;:::i;36493:97::-;;;;;;:::i;:::-;;:::i;35248:91::-;;;;;;:::i;:::-;;:::i;25161:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;25262:18:0;25235:7;25262:18;;;;;;;;;;;;25161:127;9717:103;;;:::i;35658:164::-;;;;;;:::i;:::-;;:::i;36788:119::-;;;;;;:::i;:::-;;:::i;9066:87::-;9139:6;;9066:87;;-1:-1:-1;;;;;9139:6:0;;;3789:51:1;;3777:2;3762:18;9066:87:0;3643:203:1;13421:147:0;;;;;;:::i;:::-;;:::i;24089:104::-;;;:::i;37089:109::-;;;;;;:::i;:::-;;:::i;12512:49::-;;12557:4;12512:49;;28449:438;;;;;;:::i;:::-;;:::i;25494:193::-;;;;;;:::i;:::-;;:::i;36945:106::-;;;;;;:::i;:::-;;:::i;15337:149::-;;;;;;:::i;:::-;;:::i;25750:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;25866:18:0;;;25839:7;25866:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;25750:151;9975:201;;;;;;:::i;:::-;;:::i;13125:204::-;13210:4;-1:-1:-1;;;;;;13234:47:0;;-1:-1:-1;;;13234:47:0;;:87;;-1:-1:-1;;;;;;;;;;1891:40:0;;;13285:36;13227:94;13125:204;-1:-1:-1;;13125:204:0:o;23870:100::-;23924:13;23957:5;23950:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23870:100;:::o;26221:201::-;26304:4;7870:10;26360:32;7870:10;26376:7;26385:6;26360:8;:32::i;:::-;-1:-1:-1;26410:4:0;;26221:201;-1:-1:-1;;;26221:201:0:o;36629:121::-;9139:6;;-1:-1:-1;;;;;9139:6:0;7870:10;9286:23;9278:68;;;;-1:-1:-1;;;9278:68:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;36715:19:0;;;::::1;;::::0;;;:7:::1;:19;::::0;;;;:27;;-1:-1:-1;;36715:27:0::1;::::0;::::1;;::::0;;;::::1;::::0;;36629:121::o;27002:295::-;27133:4;7870:10;27191:38;27207:4;7870:10;27222:6;27191:15;:38::i;:::-;27240:27;27250:4;27256:2;27260:6;27240:9;:27::i;:::-;-1:-1:-1;27285:4:0;;27002:295;-1:-1:-1;;;;27002:295:0:o;14945:147::-;14626:7;14653:12;;;:6;:12;;;;;:22;;;13003:30;13014:4;7870:10;13003;:30::i;:::-;15059:25:::1;15070:4;15076:7;15059:10;:25::i;:::-;14945:147:::0;;;:::o;15993:218::-;-1:-1:-1;;;;;16089:23:0;;7870:10;16089:23;16081:83;;;;-1:-1:-1;;;16081:83:0;;5064:2:1;16081:83:0;;;5046:21:1;5103:2;5083:18;;;5076:30;5142:34;5122:18;;;5115:62;-1:-1:-1;;;5193:18:1;;;5186:45;5248:19;;16081:83:0;4862:411:1;16081:83:0;16177:26;16189:4;16195:7;16177:11;:26::i;:::-;15993:218;;:::o;27706:240::-;7870:10;27794:4;27875:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;27875:27:0;;;;;;;;;;27794:4;;7870:10;27850:66;;7870:10;;27875:27;;:40;;27905:10;;27875:40;:::i;:::-;27850:8;:66::i;36493:97::-;9139:6;;-1:-1:-1;;;;;9139:6:0;7870:10;9286:23;9278:68;;;;-1:-1:-1;;;9278:68:0;;;;;;;:::i;:::-;36565:17:::1;36571:2;36575:6;36565:5;:17::i;35248:91::-:0;35304:27;7870:10;35324:6;35304:5;:27::i;:::-;35248:91;:::o;9717:103::-;9139:6;;-1:-1:-1;;;;;9139:6:0;7870:10;9286:23;9278:68;;;;-1:-1:-1;;;9278:68:0;;;;;;;:::i;:::-;9782:30:::1;9809:1;9782:18;:30::i;:::-;9717:103::o:0;35658:164::-;35735:46;35751:7;7870:10;35774:6;35735:15;:46::i;:::-;35792:22;35798:7;35807:6;35792:5;:22::i;36788:119::-;9139:6;;-1:-1:-1;;;;;9139:6:0;7870:10;9286:23;9278:68;;;;-1:-1:-1;;;9278:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;36873:18:0;;;::::1;;::::0;;;:6:::1;:18;::::0;;;;:26;;-1:-1:-1;;36873:26:0::1;::::0;::::1;;::::0;;;::::1;::::0;;36788:119::o;13421:147::-;13507:4;13531:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;13531:29:0;;;;;;;;;;;;;;;13421:147::o;24089:104::-;24145:13;24178:7;24171:14;;;;;:::i;37089:109::-;36241:10;36234:18;;;;:6;:18;;;;;;;;:25;;:18;:25;36226:81;;;;-1:-1:-1;;;36226:81:0;;5745:2:1;36226:81:0;;;5727:21:1;5784:2;5764:18;;;5757:30;5823:34;5803:18;;;5796:62;-1:-1:-1;;;5874:18:1;;;5867:41;5925:19;;36226:81:0;5543:407:1;28449:438:0;7870:10;28542:4;28625:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;28625:27:0;;;;;;;;;;28542:4;;7870:10;28671:35;;;;28663:85;;;;-1:-1:-1;;;28663:85:0;;6157:2:1;28663:85:0;;;6139:21:1;6196:2;6176:18;;;6169:30;6235:34;6215:18;;;6208:62;-1:-1:-1;;;6286:18:1;;;6279:35;6331:19;;28663:85:0;5955:401:1;28663:85:0;28784:60;28793:5;28800:7;28828:15;28809:16;:34;28784:8;:60::i;25494:193::-;25573:4;7870:10;25629:28;7870:10;25646:2;25650:6;25629:9;:28::i;36945:106::-;36102:10;36094:19;;;;:7;:19;;;;;;;;:26;;:19;:26;36086:83;;;;-1:-1:-1;;;36086:83:0;;6563:2:1;36086:83:0;;;6545:21:1;6602:2;6582:18;;;6575:30;6641:34;6621:18;;;6614:62;-1:-1:-1;;;6692:18:1;;;6685:42;6744:19;;36086:83:0;6361:408:1;15337:149:0;14626:7;14653:12;;;:6;:12;;;;;:22;;;13003:30;13014:4;7870:10;13003;:30::i;:::-;15452:26:::1;15464:4;15470:7;15452:11;:26::i;9975:201::-:0;9139:6;;-1:-1:-1;;;;;9139:6:0;7870:10;9286:23;9278:68;;;;-1:-1:-1;;;9278:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;10064:22:0;::::1;10056:73;;;::::0;-1:-1:-1;;;10056:73:0;;6976:2:1;10056:73:0::1;::::0;::::1;6958:21:1::0;7015:2;6995:18;;;6988:30;7054:34;7034:18;;;7027:62;-1:-1:-1;;;7105:18:1;;;7098:36;7151:19;;10056:73:0::1;6774:402:1::0;10056:73:0::1;10140:28;10159:8;10140:18;:28::i;32085:380::-:0;-1:-1:-1;;;;;32221:19:0;;32213:68;;;;-1:-1:-1;;;32213:68:0;;7383:2:1;32213:68:0;;;7365:21:1;7422:2;7402:18;;;7395:30;7461:34;7441:18;;;7434:62;-1:-1:-1;;;7512:18:1;;;7505:34;7556:19;;32213:68:0;7181:400:1;32213:68:0;-1:-1:-1;;;;;32300:21:0;;32292:68;;;;-1:-1:-1;;;32292:68:0;;7788:2:1;32292:68:0;;;7770:21:1;7827:2;7807:18;;;7800:30;7866:34;7846:18;;;7839:62;-1:-1:-1;;;7917:18:1;;;7910:32;7959:19;;32292:68:0;7586:398:1;32292:68:0;-1:-1:-1;;;;;32373:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;32425:32;;1731:25:1;;;32425:32:0;;1704:18:1;32425:32:0;;;;;;;32085:380;;;:::o;32752:453::-;-1:-1:-1;;;;;25866:18:0;;;32887:24;25866:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;32954:37:0;;32950:248;;33036:6;33016:16;:26;;33008:68;;;;-1:-1:-1;;;33008:68:0;;8191:2:1;33008:68:0;;;8173:21:1;8230:2;8210:18;;;8203:30;8269:31;8249:18;;;8242:59;8318:18;;33008:68:0;7989:353:1;33008:68:0;33120:51;33129:5;33136:7;33164:6;33145:16;:25;33120:8;:51::i;:::-;32876:329;32752:453;;;:::o;29366:671::-;-1:-1:-1;;;;;29497:18:0;;29489:68;;;;-1:-1:-1;;;29489:68:0;;8549:2:1;29489:68:0;;;8531:21:1;8588:2;8568:18;;;8561:30;8627:34;8607:18;;;8600:62;-1:-1:-1;;;8678:18:1;;;8671:35;8723:19;;29489:68:0;8347:401:1;29489:68:0;-1:-1:-1;;;;;29576:16:0;;29568:64;;;;-1:-1:-1;;;29568:64:0;;8955:2:1;29568:64:0;;;8937:21:1;8994:2;8974:18;;;8967:30;9033:34;9013:18;;;9006:62;-1:-1:-1;;;9084:18:1;;;9077:33;9127:19;;29568:64:0;8753:399:1;29568:64:0;-1:-1:-1;;;;;29718:15:0;;29696:19;29718:15;;;;;;;;;;;29752:21;;;;29744:72;;;;-1:-1:-1;;;29744:72:0;;9359:2:1;29744:72:0;;;9341:21:1;9398:2;9378:18;;;9371:30;9437:34;9417:18;;;9410:62;-1:-1:-1;;;9488:18:1;;;9481:36;9534:19;;29744:72:0;9157:402:1;29744:72:0;-1:-1:-1;;;;;29852:15:0;;;:9;:15;;;;;;;;;;;29870:20;;;29852:38;;29912:13;;;;;;;;:23;;29884:6;;29852:9;29912:23;;29884:6;;29912:23;:::i;:::-;;;;;;;;29968:2;-1:-1:-1;;;;;29953:26:0;29962:4;-1:-1:-1;;;;;29953:26:0;;29972:6;29953:26;;;;1731:25:1;;1719:2;1704:18;;1585:177;29953:26:0;;;;;;;;29992:37;14945:147;13858:505;13947:22;13955:4;13961:7;13947;:22::i;:::-;13942:414;;14135:41;14163:7;-1:-1:-1;;;;;14135:41:0;14173:2;14135:19;:41::i;:::-;14249:38;14277:4;14284:2;14249:19;:38::i;:::-;14040:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;14040:270:0;;;;;;;;;;-1:-1:-1;;;13986:358:0;;;;;;;:::i;17494:238::-;17578:22;17586:4;17592:7;17578;:22::i;:::-;17573:152;;17617:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;17617:29:0;;;;;;;;;:36;;-1:-1:-1;;17617:36:0;17649:4;17617:36;;;17700:12;7870:10;;7790:98;17700:12;-1:-1:-1;;;;;17673:40:0;17691:7;-1:-1:-1;;;;;17673:40:0;17685:4;17673:40;;;;;;;;;;17494:238;;:::o;17864:239::-;17948:22;17956:4;17962:7;17948;:22::i;:::-;17944:152;;;18019:5;17987:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;17987:29:0;;;;;;;;;;:37;;-1:-1:-1;;17987:37:0;;;18044:40;7870:10;;17987:12;;18044:40;;18019:5;18044:40;17864:239;;:::o;30324:399::-;-1:-1:-1;;;;;30408:21:0;;30400:65;;;;-1:-1:-1;;;30400:65:0;;10557:2:1;30400:65:0;;;10539:21:1;10596:2;10576:18;;;10569:30;10635:33;10615:18;;;10608:61;10686:18;;30400:65:0;10355:355:1;30400:65:0;30556:6;30540:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;30573:18:0;;:9;:18;;;;;;;;;;:28;;30595:6;;30573:9;:28;;30595:6;;30573:28;:::i;:::-;;;;-1:-1:-1;;30617:37:0;;1731:25:1;;;-1:-1:-1;;;;;30617:37:0;;;30634:1;;30617:37;;1719:2:1;1704:18;30617:37:0;;;;;;;15993:218;;:::o;31056:591::-;-1:-1:-1;;;;;31140:21:0;;31132:67;;;;-1:-1:-1;;;31132:67:0;;10917:2:1;31132:67:0;;;10899:21:1;10956:2;10936:18;;;10929:30;10995:34;10975:18;;;10968:62;-1:-1:-1;;;11046:18:1;;;11039:31;11087:19;;31132:67:0;10715:397:1;31132:67:0;-1:-1:-1;;;;;31299:18:0;;31274:22;31299:18;;;;;;;;;;;31336:24;;;;31328:71;;;;-1:-1:-1;;;31328:71:0;;11319:2:1;31328:71:0;;;11301:21:1;11358:2;11338:18;;;11331:30;11397:34;11377:18;;;11370:62;-1:-1:-1;;;11448:18:1;;;11441:32;11490:19;;31328:71:0;11117:398:1;31328:71:0;-1:-1:-1;;;;;31435:18:0;;:9;:18;;;;;;;;;;31456:23;;;31435:44;;31501:12;:22;;31473:6;;31435:9;31501:22;;31473:6;;31501:22;:::i;:::-;;;;-1:-1:-1;;31541:37:0;;1731:25:1;;;31567:1:0;;-1:-1:-1;;;;;31541:37:0;;;;;1719:2:1;1704:18;31541:37:0;;;;;;;14945:147;;;:::o;10336:191::-;10429:6;;;-1:-1:-1;;;;;10446:17:0;;;-1:-1:-1;;;;;;10446:17:0;;;;;;;10479:40;;10429:6;;;10446:17;10429:6;;10479:40;;10410:16;;10479:40;10399:128;10336:191;:::o;3612:451::-;3687:13;3713:19;3745:10;3749:6;3745:1;:10;:::i;:::-;:14;;3758:1;3745:14;:::i;:::-;3735:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3735:25:0;;3713:47;;-1:-1:-1;;;3771:6:0;3778:1;3771:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;3771:15:0;;;;;;;;;-1:-1:-1;;;3797:6:0;3804:1;3797:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;3797:15:0;;;;;;;;-1:-1:-1;3828:9:0;3840:10;3844:6;3840:1;:10;:::i;:::-;:14;;3853:1;3840:14;:::i;:::-;3828:26;;3823:135;3860:1;3856;:5;3823:135;;;-1:-1:-1;;;3908:5:0;3916:3;3908:11;3895:25;;;;;;;:::i;:::-;;;;3883:6;3890:1;3883:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;3883:37:0;;;;;;;;-1:-1:-1;3945:1:0;3935:11;;;;;3863:3;;;:::i;:::-;;;3823:135;;;-1:-1:-1;3976:10:0;;3968:55;;;;-1:-1:-1;;;3968:55:0;;12430:2:1;3968:55:0;;;12412:21:1;;;12449:18;;;12442:30;12508:34;12488:18;;;12481:62;12560:18;;3968:55:0;12228:356:1;3968:55:0;4048:6;3612:451;-1:-1:-1;;;3612:451:0:o;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:258;569:1;579:113;593:6;590:1;587:13;579:113;;;669:11;;;663:18;650:11;;;643:39;615:2;608:10;579:113;;;710:6;707:1;704:13;701:48;;;-1:-1:-1;;745:1:1;727:16;;720:27;497:258::o;760:383::-;909:2;898:9;891:21;872:4;941:6;935:13;984:6;979:2;968:9;964:18;957:34;1000:66;1059:6;1054:2;1043:9;1039:18;1034:2;1026:6;1022:15;1000:66;:::i;:::-;1127:2;1106:15;-1:-1:-1;;1102:29:1;1087:45;;;;1134:2;1083:54;;760:383;-1:-1:-1;;760:383:1:o;1148:173::-;1216:20;;-1:-1:-1;;;;;1265:31:1;;1255:42;;1245:70;;1311:1;1308;1301:12;1245:70;1148:173;;;:::o;1326:254::-;1394:6;1402;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;1494:29;1513:9;1494:29;:::i;:::-;1484:39;1570:2;1555:18;;;;1542:32;;-1:-1:-1;;;1326:254:1:o;1767:347::-;1832:6;1840;1893:2;1881:9;1872:7;1868:23;1864:32;1861:52;;;1909:1;1906;1899:12;1861:52;1932:29;1951:9;1932:29;:::i;:::-;1922:39;;2011:2;2000:9;1996:18;1983:32;2058:5;2051:13;2044:21;2037:5;2034:32;2024:60;;2080:1;2077;2070:12;2024:60;2103:5;2093:15;;;1767:347;;;;;:::o;2119:328::-;2196:6;2204;2212;2265:2;2253:9;2244:7;2240:23;2236:32;2233:52;;;2281:1;2278;2271:12;2233:52;2304:29;2323:9;2304:29;:::i;:::-;2294:39;;2352:38;2386:2;2375:9;2371:18;2352:38;:::i;:::-;2342:48;;2437:2;2426:9;2422:18;2409:32;2399:42;;2119:328;;;;;:::o;2452:180::-;2511:6;2564:2;2552:9;2543:7;2539:23;2535:32;2532:52;;;2580:1;2577;2570:12;2532:52;-1:-1:-1;2603:23:1;;2452:180;-1:-1:-1;2452:180:1:o;2819:254::-;2887:6;2895;2948:2;2936:9;2927:7;2923:23;2919:32;2916:52;;;2964:1;2961;2954:12;2916:52;3000:9;2987:23;2977:33;;3029:38;3063:2;3052:9;3048:18;3029:38;:::i;:::-;3019:48;;2819:254;;;;;:::o;3452:186::-;3511:6;3564:2;3552:9;3543:7;3539:23;3535:32;3532:52;;;3580:1;3577;3570:12;3532:52;3603:29;3622:9;3603:29;:::i;3851:260::-;3919:6;3927;3980:2;3968:9;3959:7;3955:23;3951:32;3948:52;;;3996:1;3993;3986:12;3948:52;4019:29;4038:9;4019:29;:::i;:::-;4009:39;;4067:38;4101:2;4090:9;4086:18;4067:38;:::i;4116:380::-;4195:1;4191:12;;;;4238;;;4259:61;;4313:4;4305:6;4301:17;4291:27;;4259:61;4366:2;4358:6;4355:14;4335:18;4332:38;4329:161;;;4412:10;4407:3;4403:20;4400:1;4393:31;4447:4;4444:1;4437:15;4475:4;4472:1;4465:15;4329:161;;4116:380;;;:::o;4501:356::-;4703:2;4685:21;;;4722:18;;;4715:30;4781:34;4776:2;4761:18;;4754:62;4848:2;4833:18;;4501:356::o;5278:127::-;5339:10;5334:3;5330:20;5327:1;5320:31;5370:4;5367:1;5360:15;5394:4;5391:1;5384:15;5410:128;5450:3;5481:1;5477:6;5474:1;5471:13;5468:39;;;5487:18;;:::i;:::-;-1:-1:-1;5523:9:1;;5410:128::o;9564:786::-;9975:25;9970:3;9963:38;9945:3;10030:6;10024:13;10046:62;10101:6;10096:2;10091:3;10087:12;10080:4;10072:6;10068:17;10046:62;:::i;:::-;-1:-1:-1;;;10167:2:1;10127:16;;;10159:11;;;10152:40;10217:13;;10239:63;10217:13;10288:2;10280:11;;10273:4;10261:17;;10239:63;:::i;:::-;10322:17;10341:2;10318:26;;9564:786;-1:-1:-1;;;;9564:786:1:o;11520:125::-;11560:4;11588:1;11585;11582:8;11579:34;;;11593:18;;:::i;:::-;-1:-1:-1;11630:9:1;;11520:125::o;11650:168::-;11690:7;11756:1;11752;11748:6;11744:14;11741:1;11738:21;11733:1;11726:9;11719:17;11715:45;11712:71;;;11763:18;;:::i;:::-;-1:-1:-1;11803:9:1;;11650:168::o;11823:127::-;11884:10;11879:3;11875:20;11872:1;11865:31;11915:4;11912:1;11905:15;11939:4;11936:1;11929:15;11955:127;12016:10;12011:3;12007:20;12004:1;11997:31;12047:4;12044:1;12037:15;12071:4;12068:1;12061:15;12087:136;12126:3;12154:5;12144:39;;12163:18;;:::i;:::-;-1:-1:-1;;;12199:18:1;;12087:136::o

Swarm Source

ipfs://dd03224f025fe65d670e92e08e64dac2e0d96f6a36f89f4740d2d6966fef00cc

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

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