ETH Price: $2,272.44 (-4.68%)
Gas: 1.2 Gwei

Contract

0xDf41Df6fe712F6CAe7B423dCd7C905b68544fDe3
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Tokens142756592022-02-25 13:58:32924 days ago1645797512IN
0xDf41Df6f...68544fDe3
0 ETH0.0036636438.25940395
Claim Tokens142640962022-02-23 19:10:34926 days ago1645643434IN
0xDf41Df6f...68544fDe3
0 ETH0.00994055126.39620842
Claim Tokens141671972022-02-08 19:04:15941 days ago1644347055IN
0xDf41Df6f...68544fDe3
0 ETH0.0155983155.77746171
Claim Tokens141671382022-02-08 18:52:40941 days ago1644346360IN
0xDf41Df6f...68544fDe3
0 ETH0.01111867111.04014159
Claim Tokens141670952022-02-08 18:42:24941 days ago1644345744IN
0xDf41Df6f...68544fDe3
0 ETH0.01173242177.94733082
Claim Tokens141662172022-02-08 15:26:24941 days ago1644333984IN
0xDf41Df6f...68544fDe3
0 ETH0.0095108794.97200012
Claim Tokens141611892022-02-07 20:46:12942 days ago1644266772IN
0xDf41Df6f...68544fDe3
0 ETH0.01441072117.15372861
Claim Tokens141611702022-02-07 20:42:44942 days ago1644266564IN
0xDf41Df6f...68544fDe3
0 ETH0.01122024135.11199838
Claim Tokens141607492022-02-07 19:08:58942 days ago1644260938IN
0xDf41Df6f...68544fDe3
0 ETH0.04446532535.52037552
Claim Tokens141558192022-02-07 0:44:32943 days ago1644194672IN
0xDf41Df6f...68544fDe3
0 ETH0.0075284971.09398356
Claim Tokens141539862022-02-06 17:51:56943 days ago1644169916IN
0xDf41Df6f...68544fDe3
0 ETH0.00932711119.5308382
Claim Tokens141361602022-02-04 0:04:43946 days ago1643933083IN
0xDf41Df6f...68544fDe3
0 ETH0.01532582124.5930996
Claim Tokens141339912022-02-03 16:11:31946 days ago1643904691IN
0xDf41Df6f...68544fDe3
0 ETH0.01227257122.56400103
Claim Tokens141314722022-02-03 6:42:52947 days ago1643870572IN
0xDf41Df6f...68544fDe3
0 ETH0.006953292.99089445
Claim Tokens141314722022-02-03 6:42:52947 days ago1643870572IN
0xDf41Df6f...68544fDe3
0 ETH0.007408969.96466261
Claim Tokens141189122022-02-01 7:50:44948 days ago1643701844IN
0xDf41Df6f...68544fDe3
0 ETH0.01597017114.49796794
Claim Tokens140980432022-01-29 2:44:45952 days ago1643424285IN
0xDf41Df6f...68544fDe3
0 ETH0.01604286131.10345889
Claim Tokens140980362022-01-29 2:42:40952 days ago1643424160IN
0xDf41Df6f...68544fDe3
0 ETH0.01023716107.62480101
Claim Tokens140914922022-01-28 2:25:12953 days ago1643336712IN
0xDf41Df6f...68544fDe3
0 ETH0.01580381129.13726185
Claim Tokens140824472022-01-26 16:50:00954 days ago1643215800IN
0xDf41Df6f...68544fDe3
0 ETH0.009182139.26472709
Claim Tokens140810712022-01-26 11:54:49954 days ago1643198089IN
0xDf41Df6f...68544fDe3
0 ETH0.0084403388.72325605
Claim Tokens140708842022-01-24 21:56:22956 days ago1643061382IN
0xDf41Df6f...68544fDe3
0 ETH0.01056851111.09438017
Claim Tokens140403482022-01-20 4:46:39961 days ago1642653999IN
0xDf41Df6f...68544fDe3
0 ETH0.00731394110.9315874
Claim Tokens140396542022-01-20 2:00:49961 days ago1642644049IN
0xDf41Df6f...68544fDe3
0 ETH0.01004934100.36093902
Claim Tokens140391342022-01-20 0:06:37961 days ago1642637197IN
0xDf41Df6f...68544fDe3
0 ETH0.006567199.60420183
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 0xEbaF156d...9E47F46C7
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
CrownyVesting

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
Yes with 9000 runs

Other Settings:
byzantium EvmVersion
File 1 of 7 : CrownyVesting.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

contract CrownyVesting is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    event Claimed(address _address, uint256 _amount);
    event ReturnUnallocated(address _address, uint256 _amount);
    event EmergencyClaim(address _address, uint256 _amount);
    event Vesting(address _address, uint256 _amount);
    event Revoked(address _address);

    mapping (address => uint32[])  internal __junctures;
    mapping (address => bool)      internal __vesters;
    mapping (address => uint256)   internal __claimed;
    mapping (address => uint256)   internal __vestingIncrements;
    mapping (address => uint256)   internal __initialClaims;
    mapping (address => uint256)   internal __vestingAmounts;
    mapping (address => uint256)   internal __vestingEnds;

    uint256 public __balanceAllocated;

    IERC20 internal __token;

    constructor (IERC20 _token) {
        __token = _token;
    }

    /**
     * Admin functions
     */

    function setVesting(address _beneficiary, uint32[] calldata _junctures, uint256 _vestingAmount, uint256 _vestingIncrement, uint256 _initialClaim) external onlyOwner {
        require (_junctures.length > 0, "CrownyVesting: junctures cannot be empty");
        require (__vesters[_beneficiary] == false, "CrownyVesting: address already vesting");

        __balanceAllocated                = __balanceAllocated.add(_vestingAmount);
        __vestingEnds[_beneficiary]       = _junctures[_junctures.length - 1];
        __junctures[_beneficiary]         = _junctures;
        __initialClaims[_beneficiary]     = _initialClaim;
        __vestingIncrements[_beneficiary] = _vestingIncrement;
        __vestingAmounts[_beneficiary]    = _vestingAmount;
        __vesters[_beneficiary]           = true;

        emit Vesting(_beneficiary, _vestingAmount);
    }

    function changeVestingAddress(address _from, address _to) isVesting(_from) external onlyOwner {
        require (__vesters[_to] == false, "CrownyVesting: address already vesting");

        __junctures[_to]         = __junctures[_from];
        __vesters[_to]           = true;
        __claimed[_to]           = __claimed[_from];
        __vestingIncrements[_to] = __vestingIncrements[_from];
        __initialClaims[_to]     = __initialClaims[_from];
        __vestingAmounts[_to]    = __vestingAmounts[_from];
        __vestingEnds[_to]       = __vestingEnds[_from];

        delete __junctures[_from];
        delete __vesters[_from];
        delete __claimed[_to];
        delete __vestingIncrements[_from];
        delete __initialClaims[_from];
        delete __vestingAmounts[_from];
        delete __vestingEnds[_from];
    }

    function emergencyClaim(address _beneficiary, uint256 _amount) isVesting(_beneficiary) external onlyOwner {
        uint256 maximumClaimable = __vestingAmounts[_beneficiary].sub(__claimed[_beneficiary]);

        require(_amount <= maximumClaimable, "CrownyVesting: nope, even in emergencies you can't claim more than you deserve");

        __handleClaim(_beneficiary, _amount);

        emit EmergencyClaim(_beneficiary, _amount);
    }

    function revokeVesting(address _beneficiary, address _to) isVesting(_beneficiary) external onlyOwner {
        require(block.timestamp < __vestingEnds[_beneficiary], "CrownyVesting: all tokens have been vested");

        __handleRevoke(_beneficiary, _to);
        
        emit Revoked(_beneficiary);
    }

    function returnUnallocatedTokens(address _to) external onlyOwner {
        uint256 unallocatedAmount = __token.balanceOf(address(this)).sub(__balanceAllocated);
        
        __token.safeTransfer(_to, unallocatedAmount);

        emit ReturnUnallocated(_to, unallocatedAmount);
    }

    /**
     * Public functions
     */

    function claimTokens(uint256 _amount) external {
        require (_amount > 0, "CrownyVesting: only positivity here!");
        require (_amount <= allowedToClaim(_msgSender()), "CrownyVesting: can't claim more than you have unlocked");

        __handleClaim(_msgSender(), _amount);

        emit Claimed(_msgSender(), _amount);
    }

    function vestingAmount(address _beneficiary) isVesting(_beneficiary) external view returns (uint256) {
        return __vestingAmounts[_beneficiary];
    }

    function vestedAmount(address _beneficiary) isVesting(_beneficiary) external view returns (uint256) {
        return __claimed[_beneficiary].add(allowedToClaim(_beneficiary));
    }

    function claimed(address _beneficiary) isVesting(_beneficiary) external view returns (uint256) {
        return __claimed[_beneficiary];
    }

    function incrementAmount(address _beneficiary) isVesting(_beneficiary) external view returns (uint256) {
        return __vestingIncrements[_beneficiary];
    }

    function nextJuncture(address _beneficiary) isVesting(_beneficiary) external view returns (uint32) {
        if (block.timestamp >= __vestingEnds[_beneficiary]) {
            return 0;
        }
        if (block.timestamp < __junctures[_beneficiary][0]) {
            return __junctures[_beneficiary][0];
        }

        return __junctures[_beneficiary][__getJunctureIndex(_beneficiary) + 1];
    }

    function tokenAddress() external view returns (address) {
        return address(__token);
    }

    function allowedToClaim(address _beneficiary) isVesting(_beneficiary) public view returns (uint256) {
        if (block.timestamp < __junctures[_beneficiary][0]) {
            return 0;
        }

        if (block.timestamp >= __vestingEnds[_beneficiary]) {
            return __vestingAmounts[_beneficiary].sub(__claimed[_beneficiary]);
        }

        uint256 vestedTokens = __initialClaims[_beneficiary]
            .add(__vestingIncrements[_beneficiary].mul(__getJunctureIndex(_beneficiary)));

        // In case of an emergency claim, the claimed tokens can be higher the vested amount.
        if (__claimed[_beneficiary] >= vestedTokens) {
            return 0;
        } else {
            return vestedTokens.sub(__claimed[_beneficiary]);
        }
    }

    /**
     * Internal functions
     */

    function __handleClaim(address _beneficiary, uint256 _amount) internal {
        __claimed[_beneficiary] = __claimed[_beneficiary].add(_amount);
        __balanceAllocated      = __balanceAllocated.sub(_amount);

        __token.safeTransfer(_beneficiary, _amount);
    }

    function __handleRevoke(address _beneficiary, address _to) internal {
        uint256 vestedTokens    = __claimed[_beneficiary].add(allowedToClaim(_beneficiary));
        uint256 tokenDifference = __vestingAmounts[_beneficiary].sub(vestedTokens);
        uint junctureIndex      = __getJunctureIndex(_beneficiary);
        
        __balanceAllocated             = __balanceAllocated.sub(tokenDifference);
        __vestingAmounts[_beneficiary] = vestedTokens;
        __vestingEnds[_beneficiary]    = __junctures[_beneficiary][junctureIndex];
        __junctures[_beneficiary]      = [__junctures[_beneficiary][junctureIndex]];

        __token.safeTransfer(_to, tokenDifference);
    }

    function __getJunctureIndex(address _beneficiary) internal view returns (uint) {
        uint arrayLength = __junctures[_beneficiary].length;
        uint index;

        for (uint i = 0; i < arrayLength; i++) {
            if (block.timestamp >= __junctures[_beneficiary][i]) {
                index = i;
            } else if (block.timestamp < __junctures[_beneficiary][i]) {
                break;
            }
        }

        return index;
    }

    /**
     * Modifiers
     */

    modifier isVesting(address addr) {
        require(__vesters[addr] == true, "CrownyVesting: this address is not vesting");
        _;
    }
}

File 2 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 4 of 7 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 5 of 7 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 6 of 7 : 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 7 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 9000
  },
  "evmVersion": "byzantium",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"EmergencyClaim","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":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"ReturnUnallocated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"}],"name":"Revoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Vesting","type":"event"},{"inputs":[],"name":"__balanceAllocated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"allowedToClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"changeVestingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"incrementAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"nextJuncture","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"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":"address","name":"_to","type":"address"}],"name":"returnUnallocatedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"revokeVesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"uint32[]","name":"_junctures","type":"uint32[]"},{"internalType":"uint256","name":"_vestingAmount","type":"uint256"},{"internalType":"uint256","name":"_vestingIncrement","type":"uint256"},{"internalType":"uint256","name":"_initialClaim","type":"uint256"}],"name":"setVesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"vestedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"vestingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b5060043610610138576000357c0100000000000000000000000000000000000000000000000000000000900480638da5cb5b116100cf5780639d76ea581161009e578063c0abcdf311610083578063c0abcdf314610293578063c884ef83146102a6578063f2fde38b146102b957610138565b80639d76ea5814610262578063bf381f931461028057610138565b80638da5cb5b146101f45780638e9c8796146102335780638faf510b1461023c578063976372291461024f57610138565b8063384711cc1161010b578063384711cc146101a557806346e04a2f146101c657806353e6e3f6146101d9578063715018a6146101ec57610138565b80630f0275471461013d5780631ee6b25214610152578063351456271461017f5780633613b78114610192575b600080fd5b61015061014b36600461273a565b6102cc565b005b610165610160366004612657565b61055f565b60405163ffffffff90911681526020015b60405180910390f35b61015061018d3660046126a3565b610801565b6101506101a0366004612671565b610b1f565b6101b86101b3366004612657565b610d68565b604051908152602001610176565b6101506101d4366004612783565b610e63565b6101b86101e7366004612657565b610fe7565b6101506110cd565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610176565b6101b860085481565b61015061024a366004612657565b6111bd565b6101b861025d366004612657565b61136b565b60095473ffffffffffffffffffffffffffffffffffffffff1661020e565b61015061028e366004612671565b611451565b6101b86102a1366004612657565b6117d1565b6101b86102b4366004612657565b611a67565b6101506102c7366004612657565b611b4d565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260026020526040902054829060ff16151560011461038d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f43726f776e7956657374696e673a20746869732061646472657373206973206e60448201527f6f742076657374696e670000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b60005473ffffffffffffffffffffffffffffffffffffffff16331461040e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610384565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260036020908152604080832054600690925282205461044891611cfe565b905080831115610500576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604e60248201527f43726f776e7956657374696e673a206e6f70652c206576656e20696e20656d6560448201527f7267656e6369657320796f752063616e277420636c61696d206d6f726520746860648201527f616e20796f752064657365727665000000000000000000000000000000000000608482015260a401610384565b61050a8484611d0a565b6040805173ffffffffffffffffffffffffffffffffffffffff86168152602081018590527f07181ceaa5c61f1818da3a082bd8f1f5a85817f2f0ff49e19e3b6a8b30822f55910160405180910390a150505050565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040812054829060ff16151560011461061b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f43726f776e7956657374696e673a20746869732061646472657373206973206e60448201527f6f742076657374696e67000000000000000000000000000000000000000000006064820152608401610384565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260076020526040902054421061065057600091506107fb565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020526040812080549091906106ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000918252602090912060088204015460079091166004026101000a900463ffffffff164210156107625773ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604081208054909190610735577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1691506107fb565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020526040902061079084611d98565b61079b906001612844565b815481106107d2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1691505b50919050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610882576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610384565b8361090f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f43726f776e7956657374696e673a206a756e6374757265732063616e6e6f742060448201527f626520656d7074790000000000000000000000000000000000000000000000006064820152608401610384565b73ffffffffffffffffffffffffffffffffffffffff861660009081526002602052604090205460ff16156109c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f43726f776e7956657374696e673a206164647265737320616c7265616479207660448201527f657374696e6700000000000000000000000000000000000000000000000000006064820152608401610384565b6008546109d29084611f03565b60085584846109e2600182612899565b818110610a18577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610a2d91906127b3565b73ffffffffffffffffffffffffffffffffffffffff8716600090815260076020908152604080832063ffffffff949094169093556001905220610a71908686612486565b5073ffffffffffffffffffffffffffffffffffffffff861660008181526005602090815260408083208590556004825280832086905560068252808320879055600282529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055815192835282018590527fd8c062e1121a4d8261df9c04930989855139a33297e0f1598cf7779aa5695b81910160405180910390a1505050505050565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260026020526040902054829060ff161515600114610bdb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f43726f776e7956657374696e673a20746869732061646472657373206973206e60448201527f6f742076657374696e67000000000000000000000000000000000000000000006064820152608401610384565b60005473ffffffffffffffffffffffffffffffffffffffff163314610c5c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610384565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600760205260409020544210610d10576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f43726f776e7956657374696e673a20616c6c20746f6b656e732068617665206260448201527f65656e20766573746564000000000000000000000000000000000000000000006064820152608401610384565b610d1a8383611f0f565b60405173ffffffffffffffffffffffffffffffffffffffff841681527fb6fa8b8bd5eab60f292eca876e3ef90722275b785309d84b1de113ce0b8c4e749060200160405180910390a1505050565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040812054829060ff161515600114610e24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f43726f776e7956657374696e673a20746869732061646472657373206973206e60448201527f6f742076657374696e67000000000000000000000000000000000000000000006064820152608401610384565b610e5c610e30846117d1565b73ffffffffffffffffffffffffffffffffffffffff851660009081526003602052604090205490611f03565b9392505050565b60008111610ef2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f43726f776e7956657374696e673a206f6e6c7920706f7369746976697479206860448201527f65726521000000000000000000000000000000000000000000000000000000006064820152608401610384565b610efb336102a1565b811115610f8a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f43726f776e7956657374696e673a2063616e277420636c61696d206d6f72652060448201527f7468616e20796f75206861766520756e6c6f636b6564000000000000000000006064820152608401610384565b610f943382611d0a565b7fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a336040805173ffffffffffffffffffffffffffffffffffffffff9092168252602082018490520160405180910390a150565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040812054829060ff1615156001146110a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f43726f776e7956657374696e673a20746869732061646472657373206973206e60448201527f6f742076657374696e67000000000000000000000000000000000000000000006064820152608401610384565b505073ffffffffffffffffffffffffffffffffffffffff1660009081526004602052604090205490565b60005473ffffffffffffffffffffffffffffffffffffffff16331461114e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610384565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60005473ffffffffffffffffffffffffffffffffffffffff16331461123e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610384565b6008546009546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000926112f192909173ffffffffffffffffffffffffffffffffffffffff909116906370a082319060240160206040518083038186803b1580156112b357600080fd5b505afa1580156112c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112eb919061279b565b90611cfe565b6009549091506113189073ffffffffffffffffffffffffffffffffffffffff1683836120f1565b6040805173ffffffffffffffffffffffffffffffffffffffff84168152602081018390527fde3646b2ead81f4c9b4e207b5249a2064e2b74b857a6a90886a9c8665069fdf9910160405180910390a15050565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040812054829060ff161515600114611427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f43726f776e7956657374696e673a20746869732061646472657373206973206e60448201527f6f742076657374696e67000000000000000000000000000000000000000000006064820152608401610384565b505073ffffffffffffffffffffffffffffffffffffffff1660009081526006602052604090205490565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260026020526040902054829060ff16151560011461150d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f43726f776e7956657374696e673a20746869732061646472657373206973206e60448201527f6f742076657374696e67000000000000000000000000000000000000000000006064820152608401610384565b60005473ffffffffffffffffffffffffffffffffffffffff16331461158e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610384565b73ffffffffffffffffffffffffffffffffffffffff821660009081526002602052604090205460ff1615611644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f43726f776e7956657374696e673a206164647265737320616c7265616479207660448201527f657374696e6700000000000000000000000000000000000000000000000000006064820152608401610384565b73ffffffffffffffffffffffffffffffffffffffff80841660009081526001602052604080822092851682529020815461167e929061253b565b5073ffffffffffffffffffffffffffffffffffffffff808316600081815260026020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600190811790915594881680845260038352818420548585528285205580845260048352818420548585528285205580845260058352818420548585528285205580845260068352818420548585528285205580845260078352818420549484528184209490945592825292909252812061174691612589565b5073ffffffffffffffffffffffffffffffffffffffff918216600081815260026020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055939094168152600384528281208190559081526004835281812081905560058352818120819055600683528181208190556007909252812055565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040812054829060ff16151560011461188d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f43726f776e7956657374696e673a20746869732061646472657373206973206e60448201527f6f742076657374696e67000000000000000000000000000000000000000000006064820152608401610384565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020526040812080549091906118ea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000918252602090912060088204015460079091166004026101000a900463ffffffff1642101561191e57600091506107fb565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260076020526040902054421061198c5773ffffffffffffffffffffffffffffffffffffffff831660009081526003602090815260408083205460069092529091205461198591611cfe565b91506107fb565b60006119f56119c961199d86611d98565b73ffffffffffffffffffffffffffffffffffffffff871660009081526004602052604090205490612183565b73ffffffffffffffffffffffffffffffffffffffff861660009081526005602052604090205490611f03565b73ffffffffffffffffffffffffffffffffffffffff85166000908152600360205260409020549091508111611a2e5760009250506107fb565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260036020526040902054611a5f908290611cfe565b9250506107fb565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040812054829060ff161515600114611b23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f43726f776e7956657374696e673a20746869732061646472657373206973206e60448201527f6f742076657374696e67000000000000000000000000000000000000000000006064820152608401610384565b505073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60005473ffffffffffffffffffffffffffffffffffffffff163314611bce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610384565b73ffffffffffffffffffffffffffffffffffffffff8116611c71576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610384565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000610e5c8284612899565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040902054611d3a9082611f03565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260036020526040902055600854611d6d9082611cfe565b600855600954611d949073ffffffffffffffffffffffffffffffffffffffff1683836120f1565b5050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604081205481805b82811015611ef95773ffffffffffffffffffffffffffffffffffffffff85166000908152600160205260409020805482908110611e27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000918252602090912060088204015460079091166004026101000a900463ffffffff164210611e5957809150611ee7565b73ffffffffffffffffffffffffffffffffffffffff85166000908152600160205260409020805482908110611eb7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000918252602090912060088204015460079091166004026101000a900463ffffffff16421015611ee757611ef9565b80611ef1816128e0565b915050611dc1565b509150505b919050565b6000610e5c8284612844565b6000611f1d610e30846117d1565b73ffffffffffffffffffffffffffffffffffffffff841660009081526006602052604081205491925090611f519083611cfe565b90506000611f5e85611d98565b600854909150611f6e9083611cfe565b60085573ffffffffffffffffffffffffffffffffffffffff8516600090815260066020908152604080832086905560019091529020805482908110611fdc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8916845260078083526040808620919094166004026101000a90910463ffffffff169055815180820183526001909152912080548291908490811061206f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000918252602080832060088304015460079092166004026101000a90910463ffffffff1690925273ffffffffffffffffffffffffffffffffffffffff88168152600191829052604090206120c59290916125b1565b506009546120ea9073ffffffffffffffffffffffffffffffffffffffff1685846120f1565b5050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261217e90849061218f565b505050565b6000610e5c828461285c565b60006121f1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661229b9092919063ffffffff16565b80519091501561217e578080602001905181019061220f9190612763565b61217e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610384565b60606122aa84846000856122b2565b949350505050565b60603031831115612345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610384565b843b6123ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610384565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516123d691906127d7565b60006040518083038185875af1925050503d8060008114612413576040519150601f19603f3d011682016040523d82523d6000602084013e612418565b606091505b5091509150612428828286612433565b979650505050505050565b60608315612442575081610e5c565b8251156124525782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038491906127f3565b8280548282559060005260206000209060070160089004810192821561252b5791602002820160005b838211156124f957833563ffffffff1683826101000a81548163ffffffff021916908363ffffffff16021790555092602001926004016020816003010492830192600103026124af565b80156125295782816101000a81549063ffffffff02191690556004016020816003010492830192600103026124f9565b505b5061253792915061261e565b5090565b8280548282559060005260206000209060070160089004810192821561252b576000526020600020916007016008900482015b8281111561252b57825482559160010191906001019061256e565b5080546000825560070160089004906000526020600020908101906125ae919061261e565b50565b8280548282559060005260206000209060070160089004810192821561252b5791602002820160005b838211156124f957835183826101000a81548163ffffffff021916908363ffffffff16021790555092602001926004016020816003010492830192600103026125da565b5b80821115612537576000815560010161261f565b803573ffffffffffffffffffffffffffffffffffffffff81168114611efe57600080fd5b600060208284031215612668578081fd5b610e5c82612633565b60008060408385031215612683578081fd5b61268c83612633565b915061269a60208401612633565b90509250929050565b60008060008060008060a087890312156126bb578182fd5b6126c487612633565b9550602087013567ffffffffffffffff808211156126e0578384fd5b818901915089601f8301126126f3578384fd5b813581811115612701578485fd5b8a60208083028501011115612714578485fd5b979a60209290920199509697604081013597506060810135965060800135945092505050565b6000806040838503121561274c578182fd5b61275583612633565b946020939093013593505050565b600060208284031215612774578081fd5b81518015158114610e5c578182fd5b600060208284031215612794578081fd5b5035919050565b6000602082840312156127ac578081fd5b5051919050565b6000602082840312156127c4578081fd5b813563ffffffff81168114610e5c578182fd5b600082516127e98184602087016128b0565b9190910192915050565b60006020825282518060208401526128128160408501602087016128b0565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6000821982111561285757612857612919565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561289457612894612919565b500290565b6000828210156128ab576128ab612919565b500390565b60005b838110156128cb5781810151838201526020016128b3565b838111156128da576000848401525b50505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561291257612912612919565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212202fd05676cd02d10264a1bc4869a8f37a3551eb24621afc1f634958903301c50664736f6c63430008030033

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.