ETH Price: $1,583.00 (-0.00%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw221017852025-03-22 10:21:1127 days ago1742638871IN
0x0bF6eeA2...149287854
0 ETH0.000057990.88491736
Get Reward221017702025-03-22 10:18:1127 days ago1742638691IN
0x0bF6eeA2...149287854
0 ETH0.000065580.89230796
Exit210543722024-10-27 3:47:47173 days ago1730000867IN
0x0bF6eeA2...149287854
0 ETH0.000319644.52156729
Withdraw210542802024-10-27 3:29:23173 days ago1729999763IN
0x0bF6eeA2...149287854
0 ETH0.000280243.98368233
Get Reward210542622024-10-27 3:25:35173 days ago1729999535IN
0x0bF6eeA2...149287854
0 ETH0.000361514.05839417
Withdraw209757052024-10-16 4:22:23184 days ago1729052543IN
0x0bF6eeA2...149287854
0 ETH0.0008664912.17880562
Exit204013612024-07-28 0:07:59264 days ago1722125279IN
0x0bF6eeA2...149287854
0 ETH0.000343334.18282158
Exit204013582024-07-28 0:07:23264 days ago1722125243IN
0x0bF6eeA2...149287854
0 ETH0.000408154.03384155
Exit204013552024-07-28 0:06:47264 days ago1722125207IN
0x0bF6eeA2...149287854
0 ETH0.00033453.84374588
Exit204013532024-07-28 0:06:23264 days ago1722125183IN
0x0bF6eeA2...149287854
0 ETH0.00038343.78919181
Exit188513422023-12-23 21:59:35481 days ago1703368775IN
0x0bF6eeA2...149287854
0 ETH0.0020999620.75415964
Exit188410802023-12-22 11:27:11483 days ago1703244431IN
0x0bF6eeA2...149287854
0 ETH0.0034021833.62411438
Exit188291162023-12-20 19:12:11484 days ago1703099531IN
0x0bF6eeA2...149287854
0 ETH0.0059391458.69710761
Exit188221462023-12-19 19:43:11485 days ago1703014991IN
0x0bF6eeA2...149287854
0 ETH0.0057913757.23667685
Exit187674112023-12-12 3:24:59493 days ago1702351499IN
0x0bF6eeA2...149287854
0 ETH0.0030148929.79643163
Exit187594962023-12-11 0:50:11494 days ago1702255811IN
0x0bF6eeA2...149287854
0 ETH0.0028836933.13561776
Exit187532592023-12-10 3:54:23495 days ago1702180463IN
0x0bF6eeA2...149287854
0 ETH0.0023984823.70445184
Exit187288622023-12-06 17:47:47498 days ago1701884867IN
0x0bF6eeA2...149287854
0 ETH0.0064451163.69759889
Exit187265342023-12-06 9:57:11499 days ago1701856631IN
0x0bF6eeA2...149287854
0 ETH0.0045022844.49644338
Exit187158552023-12-04 22:02:59500 days ago1701727379IN
0x0bF6eeA2...149287854
0 ETH0.0058945558.25634401
Exit186792332023-11-29 19:03:59505 days ago1701284639IN
0x0bF6eeA2...149287854
0 ETH0.0055569656.02736418
Exit186644732023-11-27 17:29:11507 days ago1701106151IN
0x0bF6eeA2...149287854
0 ETH0.0032141631.76584071
Exit186503522023-11-25 17:58:59509 days ago1700935139IN
0x0bF6eeA2...149287854
0 ETH0.0021043324.18030751
Exit186501812023-11-25 17:24:35509 days ago1700933075IN
0x0bF6eeA2...149287854
0 ETH0.0025483931.04655415
Exit186346902023-11-23 13:20:11512 days ago1700745611IN
0x0bF6eeA2...149287854
0 ETH0.0033257838.21553586
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PathRewards

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : PathRewards.sol
//SPDX-License-Identifier: MIT

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

pragma solidity 0.8.4;

contract PathRewards is Ownable{
    IERC20 public token;

    //total reward tokens will be 150,000,000 given out
    uint public rewardRate = 0;
    uint public rewardsDuration = 365 days;
    uint public startRewardsTime;
    uint public lastUpdateTime;
    uint public lastRewardTimestamp;
    uint public rewardPerTokenStored;

    // last time
    uint private stakedSupply = 0;
    uint private claimedRewards = 0;

    mapping(address => uint) public userRewardPerTokenPaid;
    mapping(address => uint) public rewards;
    mapping(address => uint) private _balances;

    event Staked(address indexed user, uint amountStaked);
    event Withdrawn(address indexed user, uint amountWithdrawn);
    event RewardsClaimed(address indexed user, uint rewardsClaimed);
    event RewardAmountSet(uint rewardRate, uint duration);

    constructor(address  _tokenAddress, uint _startRewards) {
        token = IERC20(_tokenAddress);
        startRewardsTime = _startRewards;
    }

    modifier updateReward(address account) {
        rewardPerTokenStored = rewardPerToken();
        lastUpdateTime = rewardTimestamp();
        if (account != address(0)){
            rewards[account] = earned(account);
            userRewardPerTokenPaid[account] = rewardPerTokenStored;
        }
        _;
    }

    //function to check if staking rewards have ended
    function rewardTimestamp() internal view returns (uint) {
        if (block.timestamp < lastRewardTimestamp) {
            return block.timestamp;
        }
        else {
            return lastRewardTimestamp;
        }
    }

    //function to check if staking rewards have started
    function startTimestamp() internal view returns (uint) {
        if (startRewardsTime > lastUpdateTime) {
            return startRewardsTime;
        }
        else {
            return lastUpdateTime;
        }
    }

    function balanceOf(address account) external view returns (uint) {
        return _balances[account];
    }


    function totalStaked() public view returns (uint) {
        return stakedSupply;
    }

    function totalClaimed() public view returns (uint) {
        return claimedRewards;
    }

    function rewardPerToken() public view returns (uint) {
        if (stakedSupply == 0 || block.timestamp < startRewardsTime) {
            return 0;
        }
        return rewardPerTokenStored + (
            (rewardRate * (rewardTimestamp()- startTimestamp()) * 1e18 / stakedSupply)
        );
    }

    function earned(address account) public view returns (uint) {
        return (
            _balances[account] * (rewardPerToken() - userRewardPerTokenPaid[account]) / 1e18
        ) + rewards[account];
    }

    function stake(uint _amount) external updateReward(msg.sender) {
        require(_amount > 0, "Must stake > 0 tokens");
        stakedSupply += _amount;
        _balances[msg.sender] += _amount;
        require(token.transferFrom(msg.sender, address(this), _amount), "Token transfer failed");
        emit Staked(msg.sender, _amount);
    }

    function withdraw(uint _amount) public updateReward(msg.sender) {
        require(_amount > 0, "Must withdraw > 0 tokens");
        stakedSupply -= _amount;
        _balances[msg.sender] -= _amount;
        require(token.transfer(msg.sender, _amount), "Token transfer failed");
        emit Withdrawn(msg.sender, _amount);
    }

    function getReward() public updateReward(msg.sender) {
        uint reward = rewards[msg.sender];
        if (reward > 0) {
            rewards[msg.sender] = 0;
            claimedRewards += reward;
            require(token.transfer(msg.sender, reward), "Token transfer failed");
            emit RewardsClaimed(msg.sender, reward);
        }
    }

    function exit() external {
        withdraw(_balances[msg.sender]);
        getReward();
    }

    //owner only functions

    function setRewardAmount(uint reward, uint _rewardsDuration) onlyOwner external updateReward(address(0)) {
        rewardsDuration = _rewardsDuration;
        rewardRate = reward / rewardsDuration;
        uint balance = token.balanceOf(address(this)) - stakedSupply;

        require(rewardRate <= balance / rewardsDuration, "Contract does not have enough tokens for current reward rate");

        lastUpdateTime = block.timestamp;
        if (block.timestamp < startRewardsTime) {
            lastRewardTimestamp = startRewardsTime + rewardsDuration;
        }
        else {
            lastRewardTimestamp = block.timestamp + rewardsDuration;
        }
        emit RewardAmountSet(rewardRate, _rewardsDuration);
    }
}

File 2 of 4 : 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 3 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_startRewards","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"uint256","name":"rewardRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"}],"name":"RewardAmountSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"rewardsClaimed","type":"uint256"}],"name":"RewardsClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountStaked","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountWithdrawn","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastRewardTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"},{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startRewardsTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260006002556301e133806003556000600855600060095534801561002757600080fd5b50604051610f05380380610f05833981016040819052610046916100c8565b61004f33610078565b600180546001600160a01b0319166001600160a01b039390931692909217909155600455610100565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080604083850312156100da578182fd5b82516001600160a01b03811681146100f0578283fd5b6020939093015192949293505050565b610df68061010f6000396000f3fe608060405234801561001057600080fd5b50600436106101415760003560e01c80638b876347116100b8578063d54ad2a11161007c578063d54ad2a114610279578063df136d6514610281578063e9fad8ee1461028a578063f2fde38b14610292578063f8077fae146102a5578063fc0c546a146102ae57600080fd5b80638b876347146102105780638da5cb5b14610230578063a694fc3a14610255578063c8f33c9114610268578063cd3daf9d1461027157600080fd5b80633d18b9121161010a5780633d18b912146101b35780635359b3ea146101bb57806370a08231146101ce578063715018a6146101f75780637b0a47ee146101ff578063817b1cd21461020857600080fd5b80628cc262146101465780630700037d1461016c57806323b804491461018c5780632e1a7d4d14610195578063386a9525146101aa575b600080fd5b610159610154366004610c39565b6102c1565b6040519081526020015b60405180910390f35b61015961017a366004610c39565b600b6020526000908152604090205481565b61015960045481565b6101a86101a3366004610c87565b61033e565b005b61015960035481565b6101a8610503565b6101a86101c9366004610cb7565b610673565b6101596101dc366004610c39565b6001600160a01b03166000908152600c602052604090205490565b6101a8610896565b61015960025481565b600854610159565b61015961021e366004610c39565b600a6020526000908152604090205481565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610163565b6101a8610263366004610c87565b6108cc565b61015960055481565b610159610a82565b600954610159565b61015960075481565b6101a8610af9565b6101a86102a0366004610c39565b610b1a565b61015960065481565b60015461023d906001600160a01b031681565b6001600160a01b0381166000908152600b6020908152604080832054600a909252822054670de0b6b3a7640000906102f7610a82565b6103019190610d93565b6001600160a01b0385166000908152600c60205260409020546103249190610d74565b61032e9190610d54565b6103389190610d3c565b92915050565b33610347610a82565b600755610352610bb5565b6005556001600160a01b038116156103995761036d816102c1565b6001600160a01b0382166000908152600b6020908152604080832093909355600754600a909152919020555b600082116103ee5760405162461bcd60e51b815260206004820152601860248201527f4d757374207769746864726177203e203020746f6b656e73000000000000000060448201526064015b60405180910390fd5b81600860008282546104009190610d93565b9091555050336000908152600c602052604081208054849290610424908490610d93565b909155505060015460405163a9059cbb60e01b8152336004820152602481018490526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b15801561047557600080fd5b505af1158015610489573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ad9190610c67565b6104c95760405162461bcd60e51b81526004016103e590610cd8565b60405182815233907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5906020015b60405180910390a25050565b3361050c610a82565b600755610517610bb5565b6005556001600160a01b0381161561055e57610532816102c1565b6001600160a01b0382166000908152600b6020908152604080832093909355600754600a909152919020555b336000908152600b6020526040902054801561066f57336000908152600b6020526040812081905560098054839290610598908490610d3c565b909155505060015460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b1580156105e957600080fd5b505af11580156105fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106219190610c67565b61063d5760405162461bcd60e51b81526004016103e590610cd8565b60405181815233907ffc30cddea38e2bf4d6ea7d3f9ed3b6ad7f176419f4963bd81318067a4aee73fe906020016104f7565b5050565b6000546001600160a01b0316331461069d5760405162461bcd60e51b81526004016103e590610d07565b60006106a7610a82565b6007556106b2610bb5565b6005556001600160a01b038116156106f9576106cd816102c1565b6001600160a01b0382166000908152600b6020908152604080832093909355600754600a909152919020555b60038290556107088284610d54565b6002556008546001546040516370a0823160e01b8152306004820152600092916001600160a01b0316906370a082319060240160206040518083038186803b15801561075357600080fd5b505afa158015610767573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078b9190610c9f565b6107959190610d93565b9050600354816107a59190610d54565b600254111561081c5760405162461bcd60e51b815260206004820152603c60248201527f436f6e747261637420646f6573206e6f74206861766520656e6f75676820746f60448201527f6b656e7320666f722063757272656e742072657761726420726174650000000060648201526084016103e5565b42600581905560045411156108435760035460045461083b9190610d3c565b600655610854565b6003546108509042610d3c565b6006555b60025460408051918252602082018590527f53ec5ac14ec827c0859f27c3d22f4ea8c29f6d64cbe2f92aeb55210ce6f89b35910160405180910390a150505050565b6000546001600160a01b031633146108c05760405162461bcd60e51b81526004016103e590610d07565b6108ca6000610bcd565b565b336108d5610a82565b6007556108e0610bb5565b6005556001600160a01b03811615610927576108fb816102c1565b6001600160a01b0382166000908152600b6020908152604080832093909355600754600a909152919020555b6000821161096f5760405162461bcd60e51b81526020600482015260156024820152744d757374207374616b65203e203020746f6b656e7360581b60448201526064016103e5565b81600860008282546109819190610d3c565b9091555050336000908152600c6020526040812080548492906109a5908490610d3c565b90915550506001546040516323b872dd60e01b8152336004820152306024820152604481018490526001600160a01b03909116906323b872dd90606401602060405180830381600087803b1580156109fc57600080fd5b505af1158015610a10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a349190610c67565b610a505760405162461bcd60e51b81526004016103e590610cd8565b60405182815233907f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d906020016104f7565b600060085460001480610a96575060045442105b15610aa15750600090565b600854610aac610c1d565b610ab4610bb5565b610abe9190610d93565b600254610acb9190610d74565b610add90670de0b6b3a7640000610d74565b610ae79190610d54565b600754610af49190610d3c565b905090565b336000908152600c6020526040902054610b129061033e565b6108ca610503565b6000546001600160a01b03163314610b445760405162461bcd60e51b81526004016103e590610d07565b6001600160a01b038116610ba95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103e5565b610bb281610bcd565b50565b6000600654421015610bc657504290565b5060065490565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006005546004541115610c32575060045490565b5060055490565b600060208284031215610c4a578081fd5b81356001600160a01b0381168114610c60578182fd5b9392505050565b600060208284031215610c78578081fd5b81518015158114610c60578182fd5b600060208284031215610c98578081fd5b5035919050565b600060208284031215610cb0578081fd5b5051919050565b60008060408385031215610cc9578081fd5b50508035926020909101359150565b602080825260159082015274151bdad95b881d1c985b9cd9995c8819985a5b1959605a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115610d4f57610d4f610daa565b500190565b600082610d6f57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610d8e57610d8e610daa565b500290565b600082821015610da557610da5610daa565b500390565b634e487b7160e01b600052601160045260246000fdfea26469706673582212208627d5ebca71b0f977a8c6d3e0655f4e1558ce525efcd78c5c84639be07cd40464736f6c634300080400330000000000000000000000002a2550e0a75acec6d811ae3930732f7f3ad675880000000000000000000000000000000000000000000000000000000061b0e490

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101415760003560e01c80638b876347116100b8578063d54ad2a11161007c578063d54ad2a114610279578063df136d6514610281578063e9fad8ee1461028a578063f2fde38b14610292578063f8077fae146102a5578063fc0c546a146102ae57600080fd5b80638b876347146102105780638da5cb5b14610230578063a694fc3a14610255578063c8f33c9114610268578063cd3daf9d1461027157600080fd5b80633d18b9121161010a5780633d18b912146101b35780635359b3ea146101bb57806370a08231146101ce578063715018a6146101f75780637b0a47ee146101ff578063817b1cd21461020857600080fd5b80628cc262146101465780630700037d1461016c57806323b804491461018c5780632e1a7d4d14610195578063386a9525146101aa575b600080fd5b610159610154366004610c39565b6102c1565b6040519081526020015b60405180910390f35b61015961017a366004610c39565b600b6020526000908152604090205481565b61015960045481565b6101a86101a3366004610c87565b61033e565b005b61015960035481565b6101a8610503565b6101a86101c9366004610cb7565b610673565b6101596101dc366004610c39565b6001600160a01b03166000908152600c602052604090205490565b6101a8610896565b61015960025481565b600854610159565b61015961021e366004610c39565b600a6020526000908152604090205481565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610163565b6101a8610263366004610c87565b6108cc565b61015960055481565b610159610a82565b600954610159565b61015960075481565b6101a8610af9565b6101a86102a0366004610c39565b610b1a565b61015960065481565b60015461023d906001600160a01b031681565b6001600160a01b0381166000908152600b6020908152604080832054600a909252822054670de0b6b3a7640000906102f7610a82565b6103019190610d93565b6001600160a01b0385166000908152600c60205260409020546103249190610d74565b61032e9190610d54565b6103389190610d3c565b92915050565b33610347610a82565b600755610352610bb5565b6005556001600160a01b038116156103995761036d816102c1565b6001600160a01b0382166000908152600b6020908152604080832093909355600754600a909152919020555b600082116103ee5760405162461bcd60e51b815260206004820152601860248201527f4d757374207769746864726177203e203020746f6b656e73000000000000000060448201526064015b60405180910390fd5b81600860008282546104009190610d93565b9091555050336000908152600c602052604081208054849290610424908490610d93565b909155505060015460405163a9059cbb60e01b8152336004820152602481018490526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b15801561047557600080fd5b505af1158015610489573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ad9190610c67565b6104c95760405162461bcd60e51b81526004016103e590610cd8565b60405182815233907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5906020015b60405180910390a25050565b3361050c610a82565b600755610517610bb5565b6005556001600160a01b0381161561055e57610532816102c1565b6001600160a01b0382166000908152600b6020908152604080832093909355600754600a909152919020555b336000908152600b6020526040902054801561066f57336000908152600b6020526040812081905560098054839290610598908490610d3c565b909155505060015460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b1580156105e957600080fd5b505af11580156105fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106219190610c67565b61063d5760405162461bcd60e51b81526004016103e590610cd8565b60405181815233907ffc30cddea38e2bf4d6ea7d3f9ed3b6ad7f176419f4963bd81318067a4aee73fe906020016104f7565b5050565b6000546001600160a01b0316331461069d5760405162461bcd60e51b81526004016103e590610d07565b60006106a7610a82565b6007556106b2610bb5565b6005556001600160a01b038116156106f9576106cd816102c1565b6001600160a01b0382166000908152600b6020908152604080832093909355600754600a909152919020555b60038290556107088284610d54565b6002556008546001546040516370a0823160e01b8152306004820152600092916001600160a01b0316906370a082319060240160206040518083038186803b15801561075357600080fd5b505afa158015610767573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078b9190610c9f565b6107959190610d93565b9050600354816107a59190610d54565b600254111561081c5760405162461bcd60e51b815260206004820152603c60248201527f436f6e747261637420646f6573206e6f74206861766520656e6f75676820746f60448201527f6b656e7320666f722063757272656e742072657761726420726174650000000060648201526084016103e5565b42600581905560045411156108435760035460045461083b9190610d3c565b600655610854565b6003546108509042610d3c565b6006555b60025460408051918252602082018590527f53ec5ac14ec827c0859f27c3d22f4ea8c29f6d64cbe2f92aeb55210ce6f89b35910160405180910390a150505050565b6000546001600160a01b031633146108c05760405162461bcd60e51b81526004016103e590610d07565b6108ca6000610bcd565b565b336108d5610a82565b6007556108e0610bb5565b6005556001600160a01b03811615610927576108fb816102c1565b6001600160a01b0382166000908152600b6020908152604080832093909355600754600a909152919020555b6000821161096f5760405162461bcd60e51b81526020600482015260156024820152744d757374207374616b65203e203020746f6b656e7360581b60448201526064016103e5565b81600860008282546109819190610d3c565b9091555050336000908152600c6020526040812080548492906109a5908490610d3c565b90915550506001546040516323b872dd60e01b8152336004820152306024820152604481018490526001600160a01b03909116906323b872dd90606401602060405180830381600087803b1580156109fc57600080fd5b505af1158015610a10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a349190610c67565b610a505760405162461bcd60e51b81526004016103e590610cd8565b60405182815233907f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d906020016104f7565b600060085460001480610a96575060045442105b15610aa15750600090565b600854610aac610c1d565b610ab4610bb5565b610abe9190610d93565b600254610acb9190610d74565b610add90670de0b6b3a7640000610d74565b610ae79190610d54565b600754610af49190610d3c565b905090565b336000908152600c6020526040902054610b129061033e565b6108ca610503565b6000546001600160a01b03163314610b445760405162461bcd60e51b81526004016103e590610d07565b6001600160a01b038116610ba95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103e5565b610bb281610bcd565b50565b6000600654421015610bc657504290565b5060065490565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006005546004541115610c32575060045490565b5060055490565b600060208284031215610c4a578081fd5b81356001600160a01b0381168114610c60578182fd5b9392505050565b600060208284031215610c78578081fd5b81518015158114610c60578182fd5b600060208284031215610c98578081fd5b5035919050565b600060208284031215610cb0578081fd5b5051919050565b60008060408385031215610cc9578081fd5b50508035926020909101359150565b602080825260159082015274151bdad95b881d1c985b9cd9995c8819985a5b1959605a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115610d4f57610d4f610daa565b500190565b600082610d6f57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610d8e57610d8e610daa565b500290565b600082821015610da557610da5610daa565b500390565b634e487b7160e01b600052601160045260246000fdfea26469706673582212208627d5ebca71b0f977a8c6d3e0655f4e1558ce525efcd78c5c84639be07cd40464736f6c63430008040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000002a2550e0a75acec6d811ae3930732f7f3ad675880000000000000000000000000000000000000000000000000000000061b0e490

-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0x2a2550e0A75aCec6D811AE3930732F7f3ad67588
Arg [1] : _startRewards (uint256): 1638982800

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000002a2550e0a75acec6d811ae3930732f7f3ad67588
Arg [1] : 0000000000000000000000000000000000000000000000000000000061b0e490


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.