ETH Price: $2,643.24 (+2.03%)

Contract

0x0f8d3D79f5Fb9EDFceFF399F056c996eb9b89C67
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim184787152023-11-01 17:22:11294 days ago1698859331IN
0x0f8d3D79...eb9b89C67
0 ETH0.0040327744.34493545
Claim183493512023-10-14 14:55:59312 days ago1697295359IN
0x0f8d3D79...eb9b89C67
0 ETH0.000410085.55366106
Claim182046792023-09-24 9:11:35332 days ago1695546695IN
0x0f8d3D79...eb9b89C67
0 ETH0.000514816.97187796
Claim181703142023-09-19 13:40:11337 days ago1695130811IN
0x0f8d3D79...eb9b89C67
0 ETH0.0008363211.32600484
Claim180855582023-09-07 15:51:47349 days ago1694101907IN
0x0f8d3D79...eb9b89C67
0 ETH0.0021856720.23003756
Claim178912292023-08-11 11:04:59376 days ago1691751899IN
0x0f8d3D79...eb9b89C67
0 ETH0.0012620717.09173958
Claim178731442023-08-08 22:21:35378 days ago1691533295IN
0x0f8d3D79...eb9b89C67
0 ETH0.001824.37681961
Claim168448852023-03-17 3:32:59523 days ago1679023979IN
0x0f8d3D79...eb9b89C67
0 ETH0.0013582718.35064626
Claim168432372023-03-16 22:01:23523 days ago1679004083IN
0x0f8d3D79...eb9b89C67
0 ETH0.0016698322.55987334
Claim167190352023-02-27 10:48:11541 days ago1677494891IN
0x0f8d3D79...eb9b89C67
0 ETH0.0019191217.73390117
Claim164803032023-01-25 0:38:23574 days ago1674607103IN
0x0f8d3D79...eb9b89C67
0 ETH0.0014055918.98986751
Claim163999802023-01-13 19:32:11585 days ago1673638331IN
0x0f8d3D79...eb9b89C67
0 ETH0.0018925325.56860365
Claim162809532022-12-28 4:46:35602 days ago1672202795IN
0x0f8d3D79...eb9b89C67
0 ETH0.0010836614.64049978
Claim161458892022-12-09 8:13:59621 days ago1670573639IN
0x0f8d3D79...eb9b89C67
0 ETH0.0021950129.65517598
Claim158911092022-11-03 17:54:23657 days ago1667498063IN
0x0f8d3D79...eb9b89C67
0 ETH0.0017750223.98101213
Claim158406062022-10-27 16:28:47664 days ago1666888127IN
0x0f8d3D79...eb9b89C67
0 ETH0.0013089117.68376911
Claim157883392022-10-20 9:13:11671 days ago1666257191IN
0x0f8d3D79...eb9b89C67
0 ETH0.0015282120.6465244
Claim157172212022-10-10 10:51:35681 days ago1665399095IN
0x0f8d3D79...eb9b89C67
0 ETH0.0029924440.42865382
Claim156338792022-09-28 19:18:23692 days ago1664392703IN
0x0f8d3D79...eb9b89C67
0 ETH0.0016986222.94884633
Claim155997872022-09-24 0:59:23697 days ago1663981163IN
0x0f8d3D79...eb9b89C67
0 ETH0.000357894.83528212
Claim154098572022-08-25 15:23:32727 days ago1661441012IN
0x0f8d3D79...eb9b89C67
0 ETH0.0014515119.61034712
Claim152640012022-08-02 15:52:25750 days ago1659455545IN
0x0f8d3D79...eb9b89C67
0 ETH0.0026883929.50459132
Claim152626742022-08-02 10:55:24750 days ago1659437724IN
0x0f8d3D79...eb9b89C67
0 ETH0.0008519711.51037183
Claim152548422022-08-01 5:53:21751 days ago1659333201IN
0x0f8d3D79...eb9b89C67
0 ETH0.000327184.42030665
Claim151832942022-07-21 2:37:02762 days ago1658371022IN
0x0f8d3D79...eb9b89C67
0 ETH0.0013426718.13987875
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x5F45d0E9...931C7d6E7
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
VestingSchedule

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : VestingSchedule.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract VestingSchedule is Context, AccessControl {

    bytes32 public constant OWNER_ROLE = keccak256("OWNER_ROLE");

    event VestingScheduleAdded(address account, uint allocation, uint timestamp, uint vestingSeconds, uint cliffSeconds);
    event VestingScheduleCanceled(address account);
    event AllocationClaimed(address account, uint amount, uint timestamp);

    struct VestingScheduleStruct {
        address account;
        uint allocation;
        uint startTimestamp;
        uint vestingSeconds;
        uint cliffSeconds;
        uint claimedAmount;
    }

    mapping( address => VestingScheduleStruct ) private _vestingSchedules;
    ERC20 private _token;

    uint private _totalAllocation;
    uint private _totalClaimedAllocation;

    constructor ( address ownerAddress, address tokenAddress ) {
        _setupRole(OWNER_ROLE, ownerAddress);
        _token = ERC20(tokenAddress);
    }

    // FUNCTIONS

    function addVestingSchedule(address account, uint allocation, uint vestingSeconds, uint cliffSeconds) external onlyOwner {

        require(_vestingSchedules[account].account==address(0x0), "ERROR: Vesting Schedule already exists" );
        require(cliffSeconds <= vestingSeconds, "ERROR: Cliff longer than Vesting Time");
        require(_totalAllocation - _totalClaimedAllocation + allocation <= _token.balanceOf(address(this)), "ERROR: Total allocation cannot be greater than reserves");
        require(vestingSeconds > 0, "ERROR: Vesting Time cannot be 0 seconds");

        _totalAllocation += allocation;
        _vestingSchedules[account] = VestingScheduleStruct(
            account, 
            allocation, 
            block.timestamp, 
            vestingSeconds, 
            cliffSeconds, 
            0);

        emit VestingScheduleAdded(account, allocation, block.timestamp, vestingSeconds, cliffSeconds);
    }
    
    function claim() external  {
        return _claim(_msgSender());
    }

    function claimFor(address account) external onlyOwner {
        return _claim(account);
    }

    function _claim(address account) private {
        uint amount = getClaimableAmount(account);

        _token.transfer(account, amount);
        
        _vestingSchedules[account].claimedAmount += amount;
        _totalClaimedAllocation += amount;

        emit AllocationClaimed(account, amount, block.timestamp);
    }

    function cancel(address account) external onlyOwner {

        uint unvestedAllocation = getUnvestedAmount(account);

        _vestingSchedules[account].allocation = _vestingSchedules[account].allocation - unvestedAllocation;
        _vestingSchedules[account].vestingSeconds = getElapsedVestingTime(account);

        _totalAllocation -= unvestedAllocation;

        emit VestingScheduleCanceled(account);
    }

    // GETTERS

    ///// global /////
    function getTokenAddress() external view returns (address) {
        return address(_token);
    }

    function getTotalAllocation() external view returns (uint) {
        return _totalAllocation;
    }

    function getTotalClaimedAllocation() external view returns (uint) {
        return _totalClaimedAllocation;
    }

    ///// by vesting definition /////
    function getVestingSchedule(address account) external view returns (VestingScheduleStruct memory) {
        return _vestingSchedules[account];
    }

    function getVestingMaturationTimestamp(address account) public view returns (uint) {
        return _vestingSchedules[account].startTimestamp + _vestingSchedules[account].vestingSeconds;
    }

    function getElapsedVestingTime(address account) public view returns (uint) {
        if(block.timestamp > getVestingMaturationTimestamp(account)){
            return _vestingSchedules[account].vestingSeconds;
        }
        return block.timestamp - _vestingSchedules[account].startTimestamp;
    }

    function getVestedAmount(address account) public view returns (uint) {
        //If it's earlier than the cliff, zero allocation is vested.
        if( block.timestamp < ( _vestingSchedules[account].startTimestamp + _vestingSchedules[account].cliffSeconds ) ){
            return 0;
        }

        return _vestingSchedules[account].allocation * getElapsedVestingTime(account) / _vestingSchedules[account].vestingSeconds;
    }

    function getUnvestedAmount(address account) public view returns (uint) {
        return _vestingSchedules[account].allocation - getVestedAmount(account);
    }

    function getClaimableAmount(address account) public view returns (uint) {
        //Claimable amount is the vested, unclaimed amount.
        return getVestedAmount(account) - _vestingSchedules[account].claimedAmount;
    }

    // MODIFIERS

    modifier onlyOwner {
        require(
            hasRole(OWNER_ROLE, _msgSender()),
            "Only owner can call this function."
        );
        _;
    }
}

File 2 of 9 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

/**
 * @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 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 {_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 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]{20}) is missing role (0x[0-9a-f]{32})$/
     *
     * _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 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]{20}) is missing role (0x[0-9a-f]{32})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        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 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 granted `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}.
     * ====
     */
    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 {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 9 : 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 guidelines: functions revert instead
 * of 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 defaut 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");
        _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");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(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:
     *
     * - `to` 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);
    }

    /**
     * @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");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(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 to 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 { }
}

File 4 of 9 : 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 5 of 9 : 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 6 of 9 : 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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 7 of 9 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @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 9 of 9 : IERC165.sol
// SPDX-License-Identifier: MIT

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

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"AllocationClaimed","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"allocation","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"vestingSeconds","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"cliffSeconds","type":"uint256"}],"name":"VestingScheduleAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"VestingScheduleCanceled","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"allocation","type":"uint256"},{"internalType":"uint256","name":"vestingSeconds","type":"uint256"},{"internalType":"uint256","name":"cliffSeconds","type":"uint256"}],"name":"addVestingSchedule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"cancel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"claimFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getClaimableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getElapsedVestingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalClaimedAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getUnvestedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getVestedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getVestingMaturationTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getVestingSchedule","outputs":[{"components":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"allocation","type":"uint256"},{"internalType":"uint256","name":"startTimestamp","type":"uint256"},{"internalType":"uint256","name":"vestingSeconds","type":"uint256"},{"internalType":"uint256","name":"cliffSeconds","type":"uint256"},{"internalType":"uint256","name":"claimedAmount","type":"uint256"}],"internalType":"struct VestingSchedule.VestingScheduleStruct","name":"","type":"tuple"}],"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":"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101375760003560e01c80634e71d92d116100b8578063d547741f1161007c578063d547741f1461034e578063d5a73fdd1461036a578063ddeae0331461039a578063e12f3a61146103b6578063e58378bb146103e6578063f7c340181461040457610137565b80634e71d92d1461029657806391d14854146102a05780639881abe5146102d05780639f82906314610300578063a217fddf1461033057610137565b806324ef8c1b116100ff57806324ef8c1b146101f65780632f2ff15d14610212578063348bd4791461022e57806336568abe1461025e5780634c33fe941461027a57610137565b806301ffc9a71461013c57806310fe9ae81461016c57806315d3b5d81461018a5780631a734ef7146101a8578063248a9ca3146101c6575b600080fd5b61015660048036038101906101519190611a35565b610434565b6040516101639190611e09565b60405180910390f35b6101746104ae565b6040516101819190611d3b565b60405180910390f35b6101926104d8565b60405161019f9190611f5c565b60405180910390f35b6101b06104e2565b6040516101bd9190611f5c565b60405180910390f35b6101e060048036038101906101db91906119d0565b6104ec565b6040516101ed9190611e24565b60405180910390f35b610210600480360381019061020b9190611944565b61050b565b005b61022c600480360381019061022791906119f9565b610936565b005b6102486004803603810190610243919061191b565b61095f565b6040516102559190611f5c565b60405180910390f35b610278600480360381019061027391906119f9565b6109f8565b005b610294600480360381019061028f919061191b565b610a7b565b005b61029e610c2f565b005b6102ba60048036038101906102b591906119f9565b610c41565b6040516102c79190611e09565b60405180910390f35b6102ea60048036038101906102e5919061191b565b610cab565b6040516102f79190611f5c565b60405180910390f35b61031a6004803603810190610315919061191b565b610d0a565b6040516103279190611f41565b60405180910390f35b610338610deb565b6040516103459190611e24565b60405180910390f35b610368600480360381019061036391906119f9565b610df2565b005b610384600480360381019061037f919061191b565b610e1b565b6040516103919190611f5c565b60405180910390f35b6103b460048036038101906103af919061191b565b610f68565b005b6103d060048036038101906103cb919061191b565b610fe4565b6040516103dd9190611f5c565b60405180910390f35b6103ee611043565b6040516103fb9190611e24565b60405180910390f35b61041e6004803603810190610419919061191b565b611067565b60405161042b9190611f5c565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104a757506104a682611119565b5b9050919050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600354905090565b6000600454905090565b6000806000838152602001908152602001600020600101549050919050565b61053c7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e610537611183565b610c41565b61057b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057290611e81565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461064c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064390611ea1565b60405180910390fd5b8181111561068f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068690611ee1565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016106ea9190611d3b565b60206040518083038186803b15801561070257600080fd5b505afa158015610716573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073a9190611a5e565b8360045460035461074b919061207f565b6107559190611f9e565b1115610796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078d90611f01565b60405180910390fd5b600082116107d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d090611ec1565b60405180910390fd5b82600360008282546107eb9190611f9e565b925050819055506040518060c001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018481526020014281526020018381526020018281526020016000815250600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a082015181600501559050507fb4c37d22ce880964bc31fcdc6dca8795b511cdccbf363ca5f2f7855a9e4356b68484428585604051610928959493929190611db6565b60405180910390a150505050565b61093f826104ec565b6109508161094b611183565b61118b565b61095a8383611228565b505050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030154600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201546109f19190611f9e565b9050919050565b610a00611183565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6490611f21565b60405180910390fd5b610a778282611308565b5050565b610aac7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e610aa7611183565b610c41565b610aeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae290611e81565b60405180910390fd5b6000610af682610cab565b905080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154610b46919061207f565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010181905550610b9582611067565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600301819055508060036000828254610bed919061207f565b925050819055507f63aca26853b61158389d7c10b9f0d7d1738b774a6778a478bd43357a33b8d61782604051610c239190611d3b565b60405180910390a15050565b610c3f610c3a611183565b6113e9565b565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000610cb682610e1b565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154610d03919061207f565b9050919050565b610d12611851565b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815250509050919050565b6000801b81565b610dfb826104ec565b610e0c81610e07611183565b61118b565b610e168383611308565b505050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040154600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154610ead9190611f9e565b421015610ebd5760009050610f63565b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030154610f0983611067565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154610f569190612025565b610f609190611ff4565b90505b919050565b610f997fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e610f94611183565b610c41565b610fd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcf90611e81565b60405180910390fd5b610fe1816113e9565b50565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206005015461103283610e1b565b61103c919061207f565b9050919050565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e81565b60006110728261095f565b4211156110c357600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600301549050611114565b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206002015442611111919061207f565b90505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6111958282610c41565b611224576111ba8173ffffffffffffffffffffffffffffffffffffffff166014611557565b6111c88360001c6020611557565b6040516020016111d9929190611d01565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121b9190611e3f565b60405180910390fd5b5050565b6112328282610c41565b61130457600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506112a9611183565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6113128282610c41565b156113e557600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061138a611183565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006113f482610fe4565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401611453929190611d56565b602060405180830381600087803b15801561146d57600080fd5b505af1158015611481573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a591906119a7565b5080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060050160008282546114f89190611f9e565b9250508190555080600460008282546115119190611f9e565b925050819055507f2ab4392cda0fd42f52cf96615f7267094b2da30a49c57e995b59317097bc463e82824260405161154b93929190611d7f565b60405180910390a15050565b60606000600283600261156a9190612025565b6115749190611f9e565b67ffffffffffffffff8111156115b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115e55781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611643577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106116cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261170d9190612025565b6117179190611f9e565b90505b6001811115611803577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061177f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106117bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806117fc90612164565b905061171a565b5060008414611847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183e90611e61565b60405180910390fd5b8091505092915050565b6040518060c00160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000813590506118ac81612452565b92915050565b6000815190506118c181612469565b92915050565b6000813590506118d681612480565b92915050565b6000813590506118eb81612497565b92915050565b600081359050611900816124ae565b92915050565b600081519050611915816124ae565b92915050565b60006020828403121561192d57600080fd5b600061193b8482850161189d565b91505092915050565b6000806000806080858703121561195a57600080fd5b60006119688782880161189d565b9450506020611979878288016118f1565b935050604061198a878288016118f1565b925050606061199b878288016118f1565b91505092959194509250565b6000602082840312156119b957600080fd5b60006119c7848285016118b2565b91505092915050565b6000602082840312156119e257600080fd5b60006119f0848285016118c7565b91505092915050565b60008060408385031215611a0c57600080fd5b6000611a1a858286016118c7565b9250506020611a2b8582860161189d565b9150509250929050565b600060208284031215611a4757600080fd5b6000611a55848285016118dc565b91505092915050565b600060208284031215611a7057600080fd5b6000611a7e84828501611906565b91505092915050565b611a90816120b3565b82525050565b611a9f816120b3565b82525050565b611aae816120c5565b82525050565b611abd816120d1565b82525050565b6000611ace82611f77565b611ad88185611f82565b9350611ae8818560208601612131565b611af1816121ec565b840191505092915050565b6000611b0782611f77565b611b118185611f93565b9350611b21818560208601612131565b80840191505092915050565b6000611b3a602083611f82565b9150611b45826121fd565b602082019050919050565b6000611b5d602283611f82565b9150611b6882612226565b604082019050919050565b6000611b80602683611f82565b9150611b8b82612275565b604082019050919050565b6000611ba3602783611f82565b9150611bae826122c4565b604082019050919050565b6000611bc6602583611f82565b9150611bd182612313565b604082019050919050565b6000611be9603783611f82565b9150611bf482612362565b604082019050919050565b6000611c0c601783611f93565b9150611c17826123b1565b601782019050919050565b6000611c2f601183611f93565b9150611c3a826123da565b601182019050919050565b6000611c52602f83611f82565b9150611c5d82612403565b604082019050919050565b60c082016000820151611c7e6000850182611a87565b506020820151611c916020850182611ce3565b506040820151611ca46040850182611ce3565b506060820151611cb76060850182611ce3565b506080820151611cca6080850182611ce3565b5060a0820151611cdd60a0850182611ce3565b50505050565b611cec81612127565b82525050565b611cfb81612127565b82525050565b6000611d0c82611bff565b9150611d188285611afc565b9150611d2382611c22565b9150611d2f8284611afc565b91508190509392505050565b6000602082019050611d506000830184611a96565b92915050565b6000604082019050611d6b6000830185611a96565b611d786020830184611cf2565b9392505050565b6000606082019050611d946000830186611a96565b611da16020830185611cf2565b611dae6040830184611cf2565b949350505050565b600060a082019050611dcb6000830188611a96565b611dd86020830187611cf2565b611de56040830186611cf2565b611df26060830185611cf2565b611dff6080830184611cf2565b9695505050505050565b6000602082019050611e1e6000830184611aa5565b92915050565b6000602082019050611e396000830184611ab4565b92915050565b60006020820190508181036000830152611e598184611ac3565b905092915050565b60006020820190508181036000830152611e7a81611b2d565b9050919050565b60006020820190508181036000830152611e9a81611b50565b9050919050565b60006020820190508181036000830152611eba81611b73565b9050919050565b60006020820190508181036000830152611eda81611b96565b9050919050565b60006020820190508181036000830152611efa81611bb9565b9050919050565b60006020820190508181036000830152611f1a81611bdc565b9050919050565b60006020820190508181036000830152611f3a81611c45565b9050919050565b600060c082019050611f566000830184611c68565b92915050565b6000602082019050611f716000830184611cf2565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000611fa982612127565b9150611fb483612127565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611fe957611fe861218e565b5b828201905092915050565b6000611fff82612127565b915061200a83612127565b92508261201a576120196121bd565b5b828204905092915050565b600061203082612127565b915061203b83612127565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156120745761207361218e565b5b828202905092915050565b600061208a82612127565b915061209583612127565b9250828210156120a8576120a761218e565b5b828203905092915050565b60006120be82612107565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101561214f578082015181840152602081019050612134565b8381111561215e576000848401525b50505050565b600061216f82612127565b915060008214156121835761218261218e565b5b600182039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4f6e6c79206f776e65722063616e2063616c6c20746869732066756e6374696f60008201527f6e2e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552524f523a2056657374696e67205363686564756c6520616c72656164792060008201527f6578697374730000000000000000000000000000000000000000000000000000602082015250565b7f4552524f523a2056657374696e672054696d652063616e6e6f7420626520302060008201527f7365636f6e647300000000000000000000000000000000000000000000000000602082015250565b7f4552524f523a20436c696666206c6f6e676572207468616e2056657374696e6760008201527f2054696d65000000000000000000000000000000000000000000000000000000602082015250565b7f4552524f523a20546f74616c20616c6c6f636174696f6e2063616e6e6f74206260008201527f652067726561746572207468616e207265736572766573000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61245b816120b3565b811461246657600080fd5b50565b612472816120c5565b811461247d57600080fd5b50565b612489816120d1565b811461249457600080fd5b50565b6124a0816120db565b81146124ab57600080fd5b50565b6124b781612127565b81146124c257600080fd5b5056fea26469706673582212209ba49285bfebbf669a7d63907a12fe67d99c62efbe572a7a40d69fbc1486ec4164736f6c63430008040033

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

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ 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.