ETH Price: $2,444.67 (+0.13%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw156382442022-09-29 9:55:35768 days ago1664445335IN
0xe15a31e8...FF27CE39d
0 ETH0.00130417.20860033
Withdraw156159222022-09-26 7:01:23771 days ago1664175683IN
0xe15a31e8...FF27CE39d
0 ETH0.000737644.0774293
Withdraw153651112022-08-18 12:51:53810 days ago1660827113IN
0xe15a31e8...FF27CE39d
0 ETH0.001155766.38860456
Withdraw153610132022-08-17 21:12:55810 days ago1660770775IN
0xe15a31e8...FF27CE39d
0 ETH0.0034400221.00006288
Withdraw149130022022-06-06 4:32:23883 days ago1654489943IN
0xe15a31e8...FF27CE39d
0 ETH0.0030809121
Withdraw146483982022-04-24 16:03:19925 days ago1650816199IN
0xe15a31e8...FF27CE39d
0 ETH0.0066241336.61561307
Withdraw145758382022-04-13 7:28:40937 days ago1649834920IN
0xe15a31e8...FF27CE39d
0 ETH0.0047574432.40324746
Withdraw145718242022-04-12 16:32:23937 days ago1649781143IN
0xe15a31e8...FF27CE39d
0 ETH0.0080703155.00861787
Withdraw145717142022-04-12 16:04:20937 days ago1649779460IN
0xe15a31e8...FF27CE39d
0 ETH0.007045448.0226407
Withdraw145716922022-04-12 16:00:56937 days ago1649779256IN
0xe15a31e8...FF27CE39d
0 ETH0.011956381.4961769
Withdraw145703062022-04-12 10:58:58938 days ago1649761138IN
0xe15a31e8...FF27CE39d
0 ETH0.0046294131.5548867
Withdraw145702942022-04-12 10:55:50938 days ago1649760950IN
0xe15a31e8...FF27CE39d
0 ETH0.0056611831.29282332
Withdraw143263812022-03-05 10:38:38976 days ago1646476718IN
0xe15a31e8...FF27CE39d
0 ETH0.0031553317.44146614
Withdraw143205012022-03-04 12:37:13977 days ago1646397433IN
0xe15a31e8...FF27CE39d
0 ETH0.0034711423.65988821
Withdraw143204982022-03-04 12:36:35977 days ago1646397395IN
0xe15a31e8...FF27CE39d
0 ETH0.0036857622.50025254
Withdraw143135002022-03-03 10:31:05978 days ago1646303465IN
0xe15a31e8...FF27CE39d
0 ETH0.0045552525.17966398
Withdraw143102742022-03-02 22:27:02978 days ago1646260022IN
0xe15a31e8...FF27CE39d
0 ETH0.0088720754.16074572
Withdraw143077212022-03-02 12:53:59979 days ago1646225639IN
0xe15a31e8...FF27CE39d
0 ETH0.005189331.67881671
Withdraw143057722022-03-02 5:41:48979 days ago1646199708IN
0xe15a31e8...FF27CE39d
0 ETH0.0064863435.85399728
Withdraw142749302022-02-25 11:21:46984 days ago1645788106IN
0xe15a31e8...FF27CE39d
0 ETH0.0066426736.71812084
Withdraw142721332022-02-25 0:37:41984 days ago1645749461IN
0xe15a31e8...FF27CE39d
0 ETH0.0075295151.32241111
Withdraw142721322022-02-25 0:37:23984 days ago1645749443IN
0xe15a31e8...FF27CE39d
0 ETH0.0082948250.63684186
Withdraw142036062022-02-14 9:52:35995 days ago1644832355IN
0xe15a31e8...FF27CE39d
0 ETH0.0008525430.27396834
Withdraw142036062022-02-14 9:52:35995 days ago1644832355IN
0xe15a31e8...FF27CE39d
0 ETH0.0044865227.38857331
Withdraw142033422022-02-14 8:56:37995 days ago1644828997IN
0xe15a31e8...FF27CE39d
0 ETH0.005859835.77195173
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 0x38A1f049...391b1dEF6
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
MostBasicYield

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2021-04-08
*/

// SPDX-License-Identifier: GPL-3.0-only

pragma solidity 0.7.4;

library SafeMathLib {
  function times(uint a, uint b) public pure returns (uint) {
    uint c = a * b;
    require(a == 0 || c / a == b, 'Overflow detected');
    return c;
  }

  function minus(uint a, uint b) public pure returns (uint) {
    require(b <= a, 'Underflow detected');
    return a - b;
  }

  function plus(uint a, uint b) public pure returns (uint) {
    uint c = a + b;
    require(c>=a && c>=b, 'Overflow detected');
    return c;
  }
}


/**
 * @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);
}


contract MostBasicYield {
    using SafeMathLib for uint;

    struct Receipt {
        uint id;
        uint amountDeposited;
        uint timeDeposited;
        uint timeWithdrawn;
        address owner;
    }

    uint[] public tokensPerSecondPerToken;
    uint public maximumDeposit;
    uint public totalDeposits = 0;
    uint[] public rewardsClaimed;
    uint public numReceipts = 0;
    uint public startTime;
    uint public endTime;

    address public management;

    IERC20 public depositToken;
    IERC20[] public rewardTokens;
    mapping (uint => Receipt) public receipts;

    event DepositOccurred(uint indexed id, address indexed owner);
    event WithdrawalOccurred(uint indexed id, address indexed owner);
    event ExcessRewardsWithdrawn();

    constructor(
        uint _startTime,
        uint maxDeposit,
        uint[] memory rewards,
        uint programLengthDays,
        address depositTokenAddress,
        address[] memory rewardTokenAddresses,
        address mgmt)
    {
        tokensPerSecondPerToken = rewards;
        startTime = _startTime > 0 ? _startTime : block.timestamp;
        endTime = startTime.plus(programLengthDays * 1 days);
        depositToken = IERC20(depositTokenAddress);
        require(tokensPerSecondPerToken.length == rewardTokenAddresses.length, 'Rewards and reward token arrays must be same length');

        for (uint i = 0; i < rewardTokenAddresses.length; i++) {
            rewardTokens.push(IERC20(rewardTokenAddresses[i]));
            rewardsClaimed.push(0);
        }

        maximumDeposit = maxDeposit;
        management = mgmt;
    }

    function getRewards(uint receiptId) public view returns (uint[] memory) {
        Receipt memory receipt = receipts[receiptId];
        uint nowish = block.timestamp;
        if (nowish > endTime) {
            nowish = endTime;
        }

        uint secondsDiff = nowish.minus(receipt.timeDeposited);
        uint[] memory rewardsLocal = new uint[](tokensPerSecondPerToken.length);
        for (uint i = 0; i < tokensPerSecondPerToken.length; i++) {
            rewardsLocal[i] = (secondsDiff.times(tokensPerSecondPerToken[i]).times(receipt.amountDeposited)) / 1e18;
        }

        return rewardsLocal;
    }

    function deposit(uint amount) external {
        require(block.timestamp > startTime, 'Cannot deposit before pool start');
        require(block.timestamp < endTime, 'Cannot deposit after pool ends');
        require(totalDeposits < maximumDeposit, 'Maximum deposit already reached');
        if (totalDeposits.plus(amount) > maximumDeposit) {
            amount = maximumDeposit.minus(totalDeposits);
        }
        depositToken.transferFrom(msg.sender, address(this), amount);
        totalDeposits = totalDeposits.plus(amount);

        Receipt storage receipt = receipts[++numReceipts];
        receipt.id = numReceipts;
        receipt.amountDeposited = amount;
        receipt.timeDeposited = block.timestamp;
        receipt.owner = msg.sender;

        emit DepositOccurred(numReceipts, msg.sender);
    }

    function withdraw(uint receiptId) external {
        Receipt storage receipt = receipts[receiptId];
        require(receipt.id == receiptId, 'Can only withdraw real receipts');
        require(receipt.owner == msg.sender || block.timestamp > endTime, 'Can only withdraw your own deposit');
        require(receipt.timeWithdrawn == 0, 'Can only withdraw once per receipt');
        receipt.timeWithdrawn = block.timestamp;
        uint[] memory rewards = getRewards(receiptId);
        totalDeposits = totalDeposits.minus(receipt.amountDeposited);

        for (uint i = 0; i < rewards.length; i++) {
            rewardsClaimed[i] = rewardsClaimed[i].plus(rewards[i]);
            rewardTokens[i].transfer(receipt.owner, rewards[i]);
        }
        depositToken.transfer(receipt.owner, receipt.amountDeposited);
        emit WithdrawalOccurred(receiptId, receipt.owner);
    }

    function withdrawExcessRewards() external {
        require(totalDeposits == 0, 'Cannot withdraw until all deposits are withdrawn');
        require(block.timestamp > endTime, 'Contract must reach maturity');

        for (uint i = 0; i < rewardTokens.length; i++) {
            uint rewards = rewardTokens[i].balanceOf(address(this));
            rewardTokens[i].transfer(management, rewards);
        }

        depositToken.transfer(management, depositToken.balanceOf(address(this)));
        emit ExcessRewardsWithdrawn();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"maxDeposit","type":"uint256"},{"internalType":"uint256[]","name":"rewards","type":"uint256[]"},{"internalType":"uint256","name":"programLengthDays","type":"uint256"},{"internalType":"address","name":"depositTokenAddress","type":"address"},{"internalType":"address[]","name":"rewardTokenAddresses","type":"address[]"},{"internalType":"address","name":"mgmt","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"}],"name":"DepositOccurred","type":"event"},{"anonymous":false,"inputs":[],"name":"ExcessRewardsWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"}],"name":"WithdrawalOccurred","type":"event"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"receiptId","type":"uint256"}],"name":"getRewards","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"management","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maximumDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numReceipts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"receipts","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amountDeposited","type":"uint256"},{"internalType":"uint256","name":"timeDeposited","type":"uint256"},{"internalType":"uint256","name":"timeWithdrawn","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardTokens","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardsClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokensPerSecondPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDeposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"receiptId","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawExcessRewards","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80637bb7bed111610097578063b6b55f2511610066578063b6b55f2514610342578063baf979a914610370578063c0d8012c1461037a578063c89039c5146103fd576100f5565b80637bb7bed11461027a5780637d882097146102d257806388a8d602146102f0578063a4a95ffc14610324576100f5565b80633197cbb6116100d35780633197cbb6146101de57806354b302c5146101fc5780635685c4661461021a57806378e979251461025c576100f5565b806305ba6308146100fa5780630f7ee1ec1461013c5780632e1a7d4d146101b0575b600080fd5b6101266004803603602081101561011057600080fd5b8101908080359060200190929190505050610431565b6040518082815260200191505060405180910390f35b6101686004803603602081101561015257600080fd5b8101908080359060200190929190505050610455565b604051808681526020018581526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019550505050505060405180910390f35b6101dc600480360360208110156101c657600080fd5b81019080803590602001909291905050506104ab565b005b6101e6610a74565b6040518082815260200191505060405180910390f35b610204610a7a565b6040518082815260200191505060405180910390f35b6102466004803603602081101561023057600080fd5b8101908080359060200190929190505050610a80565b6040518082815260200191505060405180910390f35b610264610aa4565b6040518082815260200191505060405180910390f35b6102a66004803603602081101561029057600080fd5b8101908080359060200190929190505050610aaa565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102da610ae9565b6040518082815260200191505060405180910390f35b6102f8610aef565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61032c610b15565b6040518082815260200191505060405180910390f35b61036e6004803603602081101561035857600080fd5b8101908080359060200190929190505050610b1b565b005b610378611014565b005b6103a66004803603602081101561039057600080fd5b81019080803590602001909291905050506114ca565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156103e95780820151818401526020810190506103ce565b505050509050019250505060405180910390f35b610405611808565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000818154811061044157600080fd5b906000526020600020016000915090505481565b600a6020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905085565b6000600a600083815260200190815260200160002090508181600001541461053b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f43616e206f6e6c79207769746864726177207265616c2072656365697074730081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061059a575060065442115b6105ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806118966022913960400191505060405180910390fd5b600081600301541461064c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806118746022913960400191505060405180910390fd5b4281600301819055506060610660836114ca565b90506002547382d7630c5eb722557de6d76575c9a7b8de71850063f4f3bdc1909184600101546040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b1580156106c157600080fd5b505af41580156106d5573d6000803e3d6000fd5b505050506040513d60208110156106eb57600080fd5b810190808051906020019092919050505060028190555060005b815181101561090f576003818154811061071b57fe5b90600052602060002001547382d7630c5eb722557de6d76575c9a7b8de7185006366098d4f909184848151811061074e57fe5b60200260200101516040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b15801561079157600080fd5b505af41580156107a5573d6000803e3d6000fd5b505050506040513d60208110156107bb57600080fd5b8101908080519060200190929190505050600382815481106107d957fe5b9060005260206000200181905550600981815481106107f457fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8460040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684848151811061086b57fe5b60200260200101516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156108c657600080fd5b505af11580156108da573d6000803e3d6000fd5b505050506040513d60208110156108f057600080fd5b8101908080519060200190929190505050508080600101915050610705565b50600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8360040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684600101546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156109cb57600080fd5b505af11580156109df573d6000803e3d6000fd5b505050506040513d60208110156109f557600080fd5b8101908080519060200190929190505050508160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16837f2d710e29579ed2fc86a56e3d761e38cdf88f56927e7c07e2c5eb85e44ce6788760405160405180910390a3505050565b60065481565b60015481565b60038181548110610a9057600080fd5b906000526020600020016000915090505481565b60055481565b60098181548110610aba57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025481565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b6005544211610b92576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f43616e6e6f74206465706f736974206265666f726520706f6f6c20737461727481525060200191505060405180910390fd5b6006544210610c09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f43616e6e6f74206465706f73697420616674657220706f6f6c20656e6473000081525060200191505060405180910390fd5b60015460025410610c82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4d6178696d756d206465706f73697420616c726561647920726561636865640081525060200191505060405180910390fd5b6001546002547382d7630c5eb722557de6d76575c9a7b8de7185006366098d4f9091846040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b158015610ce057600080fd5b505af4158015610cf4573d6000803e3d6000fd5b505050506040513d6020811015610d0a57600080fd5b81019080805190602001909291905050501115610dbc576001547382d7630c5eb722557de6d76575c9a7b8de71850063f4f3bdc190916002546040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b158015610d7e57600080fd5b505af4158015610d92573d6000803e3d6000fd5b505050506040513d6020811015610da857600080fd5b810190808051906020019092919050505090505b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015610e6d57600080fd5b505af1158015610e81573d6000803e3d6000fd5b505050506040513d6020811015610e9757600080fd5b8101908080519060200190929190505050506002547382d7630c5eb722557de6d76575c9a7b8de7185006366098d4f9091836040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b158015610f0457600080fd5b505af4158015610f18573d6000803e3d6000fd5b505050506040513d6020811015610f2e57600080fd5b81019080805190602001909291905050506002819055506000600a6000600460008154600101919050819055815260200190815260200160002090506004548160000181905550818160010181905550428160020181905550338160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503373ffffffffffffffffffffffffffffffffffffffff166004547f4346bdb8a21fc2fdfe4f170f7a64de8d1f4ea31b534aa5be2bbd6eb22d669b2860405160405180910390a35050565b60006002541461106f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806118b86030913960400191505060405180910390fd5b60065442116110e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f436f6e7472616374206d757374207265616368206d617475726974790000000081525060200191505060405180910390fd5b60005b6009805490508110156112e75760006009828154811061110557fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561119657600080fd5b505afa1580156111aa573d6000803e3d6000fd5b505050506040513d60208110156111c057600080fd5b81019080805190602001909291905050509050600982815481106111e057fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561129d57600080fd5b505af11580156112b1573d6000803e3d6000fd5b505050506040513d60208110156112c757600080fd5b8101908080519060200190929190505050505080806001019150506110e9565b50600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156113d257600080fd5b505afa1580156113e6573d6000803e3d6000fd5b505050506040513d60208110156113fc57600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561146057600080fd5b505af1158015611474573d6000803e3d6000fd5b505050506040513d602081101561148a57600080fd5b8101908080519060200190929190505050507fa0c9bf9ff1841eb4d3cbd86054371c6df215d08cc82d02d1cf59a37eb85fa0d660405160405180910390a1565b60606114d461182e565b600a60008481526020019081526020016000206040518060a0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905060004290506006548111156115875760065490505b6000817382d7630c5eb722557de6d76575c9a7b8de71850063f4f3bdc1909185604001516040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b1580156115e657600080fd5b505af41580156115fa573d6000803e3d6000fd5b505050506040513d602081101561161057600080fd5b81019080805190602001909291905050509050606060008054905067ffffffffffffffff8111801561164157600080fd5b506040519080825280602002602001820160405280156116705781602001602082028036833780820191505090505b50905060005b6000805490508110156117fb57670de0b6b3a7640000837382d7630c5eb722557de6d76575c9a7b8de718500631d3b9edf9091600085815481106116b657fe5b90600052602060002001546040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b1580156116fc57600080fd5b505af4158015611710573d6000803e3d6000fd5b505050506040513d602081101561172657600080fd5b81019080805190602001909291905050507382d7630c5eb722557de6d76575c9a7b8de718500631d3b9edf909188602001516040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b15801561179357600080fd5b505af41580156117a7573d6000803e3d6000fd5b505050506040513d60208110156117bd57600080fd5b8101908080519060200190929190505050816117d557fe5b048282815181106117e257fe5b6020026020010181815250508080600101915050611676565b5080945050505050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152509056fe43616e206f6e6c79207769746864726177206f6e636520706572207265636569707443616e206f6e6c7920776974686472617720796f7572206f776e206465706f73697443616e6e6f7420776974686472617720756e74696c20616c6c206465706f73697473206172652077697468647261776ea26469706673582212201f1d3bd0095dabc15daa2922f8a0a27d8feca8f293be5954616636e4d255f32664736f6c63430007040033

Libraries Used


Deployed Bytecode Sourcemap

3263:4594:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3491:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3831:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6410:893;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3701:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3535:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3604:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3673:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3796:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;3568:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3729:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;3639:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5569:833;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7311:543;;;:::i;:::-;;4932:629;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3763:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;3491:37;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3831:41::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;6410:893::-;6464:23;6490:8;:19;6499:9;6490:19;;;;;;;;;;;6464:45;;6542:9;6528:7;:10;;;:23;6520:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6623:10;6606:27;;:7;:13;;;;;;;;;;;;:27;;;:56;;;;6655:7;;6637:15;:25;6606:56;6598:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6745:1;6720:7;:21;;;:26;6712:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6820:15;6796:7;:21;;:39;;;;6846:21;6870;6881:9;6870:10;:21::i;:::-;6846:45;;6918:13;;:19;;;;6938:7;:23;;;6918:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6902:13;:60;;;;6980:6;6975:189;6996:7;:14;6992:1;:18;6975:189;;;7052:14;7067:1;7052:17;;;;;;;;;;;;;;;;:22;;;;7075:7;7083:1;7075:10;;;;;;;;;;;;;;7052:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7032:14;7047:1;7032:17;;;;;;;;;;;;;;;:54;;;;7101:12;7114:1;7101:15;;;;;;;;;;;;;;;;;;;;;;;;;:24;;;7126:7;:13;;;;;;;;;;;;7141:7;7149:1;7141:10;;;;;;;;;;;;;;7101:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7012:3;;;;;;;6975:189;;;;7174:12;;;;;;;;;;;:21;;;7196:7;:13;;;;;;;;;;;;7211:7;:23;;;7174:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7281:7;:13;;;;;;;;;;;;7251:44;;7270:9;7251:44;;;;;;;;;;6410:893;;;:::o;3701:19::-;;;;:::o;3535:26::-;;;;:::o;3604:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3673:21::-;;;;:::o;3796:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3568:29::-;;;;:::o;3729:25::-;;;;;;;;;;;;;:::o;3639:27::-;;;;:::o;5569:833::-;5645:9;;5627:15;:27;5619:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5728:7;;5710:15;:25;5702:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5805:14;;5789:13;;:30;5781:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5899:14;;5870:13;;:18;;;;5889:6;5870:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:43;5866:120;;;5939:14;;:20;;;;5960:13;;5939:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5930:44;;5866:120;5996:12;;;;;;;;;;;:25;;;6022:10;6042:4;6049:6;5996:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6083:13;;:18;;;;6102:6;6083:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6067:13;:42;;;;6122:23;6148:8;:23;6159:11;;6157:13;;;;;;;;;;6148:23;;;;;;;;;;;6122:49;;6195:11;;6182:7;:10;;:24;;;;6243:6;6217:7;:23;;:32;;;;6284:15;6260:7;:21;;:39;;;;6326:10;6310:7;:13;;;:26;;;;;;;;;;;;;;;;;;6383:10;6354:40;;6370:11;;6354:40;;;;;;;;;;5569:833;;:::o;7311:543::-;7389:1;7372:13;;:18;7364:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7480:7;;7462:15;:25;7454:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7538:6;7533:189;7554:12;:19;;;;7550:1;:23;7533:189;;;7595:12;7610;7623:1;7610:15;;;;;;;;;;;;;;;;;;;;;;;;;:25;;;7644:4;7610:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7595:55;;7665:12;7678:1;7665:15;;;;;;;;;;;;;;;;;;;;;;;;;:24;;;7690:10;;;;;;;;;;;7702:7;7665:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7533:189;7575:3;;;;;;;7533:189;;;;7734:12;;;;;;;;;;;:21;;;7756:10;;;;;;;;;;;7768:12;;;;;;;;;;;:22;;;7799:4;7768:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7734:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7822:24;;;;;;;;;;7311:543::o;4932:629::-;4989:13;5015:22;;:::i;:::-;5040:8;:19;5049:9;5040:19;;;;;;;;;;;5015:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5070:11;5084:15;5070:29;;5123:7;;5114:6;:16;5110:65;;;5156:7;;5147:16;;5110:65;5187:16;5206:6;:12;;;;5219:7;:21;;;5206:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5187:54;;5252:26;5292:23;:30;;;;5281:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5252:71;;5339:6;5334:188;5355:23;:30;;;;5351:1;:34;5334:188;;;5506:4;5426:11;:17;;;;5444:23;5468:1;5444:26;;;;;;;;;;;;;;;;5426:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:51;;;;5478:7;:23;;;5426:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5425:85;;;;;;5407:12;5420:1;5407:15;;;;;;;;;;;;;:103;;;;;5387:3;;;;;;;5334:188;;;;5541:12;5534:19;;;;;;4932:629;;;:::o;3763:26::-;;;;;;;;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://1f1d3bd0095dabc15daa2922f8a0a27d8feca8f293be5954616636e4d255f326

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.