ETH Price: $3,519.07 (+3.58%)
Gas: 64 Gwei

Contract

0xC0223ab23b519260AE7C52Dfb0a3dff65Da8385A
 
Transaction Hash
Method
Block
From
To
Value
Set ADX Per Bloc...115424852020-12-28 12:38:331161 days ago1609159113IN
0xC0223ab2...65Da8385A
0 ETH0.02609838252
Set ADX Per Bloc...114863522020-12-19 22:17:521170 days ago1608416272IN
0xC0223ab2...65Da8385A
0 ETH0.003991232
Withdraw114537882020-12-14 22:12:301175 days ago1607983950IN
0xC0223ab2...65Da8385A
0 ETH0.0050648570
Withdraw114448042020-12-13 12:52:581176 days ago1607863978IN
0xC0223ab2...65Da8385A
0 ETH0.0018088725
Withdraw114448042020-12-13 12:52:581176 days ago1607863978IN
0xC0223ab2...65Da8385A
0 ETH0.0018088725
Deposit114443352020-12-13 11:10:391176 days ago1607857839IN
0xC0223ab2...65Da8385A
0 ETH0.0023191640
Deposit114442792020-12-13 10:58:561176 days ago1607857136IN
0xC0223ab2...65Da8385A
0 ETH0.0035351735
Deposit114442772020-12-13 10:58:391176 days ago1607857119IN
0xC0223ab2...65Da8385A
0 ETH0.0020292635
Withdraw114390192020-12-12 15:49:111177 days ago1607788151IN
0xC0223ab2...65Da8385A
0 ETH0.0026653133
Withdraw114390182020-12-12 15:49:051177 days ago1607788145IN
0xC0223ab2...65Da8385A
0 ETH0.0033514235
Emergency Withdr...114389772020-12-12 15:40:591177 days ago1607787659IN
0xC0223ab2...65Da8385A
0 ETH0.0012466247
Deposit114389642020-12-12 15:38:001177 days ago1607787480IN
0xC0223ab2...65Da8385A
0 ETH0.0050502550
Deposit114388422020-12-12 15:07:481177 days ago1607785668IN
0xC0223ab2...65Da8385A
0 ETH0.0036982143
Deposit114388422020-12-12 15:07:481177 days ago1607785668IN
0xC0223ab2...65Da8385A
0 ETH0.0031311531.00000145
Withdraw114380222020-12-12 12:11:461177 days ago1607775106IN
0xC0223ab2...65Da8385A
0 ETH0.0017443918
Set114376832020-12-12 10:54:551177 days ago1607770495IN
0xC0223ab2...65Da8385A
0 ETH0.0033735525
Set114376732020-12-12 10:53:141177 days ago1607770394IN
0xC0223ab2...65Da8385A
0 ETH0.0038976228
Set114376672020-12-12 10:52:251177 days ago1607770345IN
0xC0223ab2...65Da8385A
0 ETH0.0040168828
Set114376662020-12-12 10:51:341177 days ago1607770294IN
0xC0223ab2...65Da8385A
0 ETH0.0020271728
Set114376622020-12-12 10:50:541177 days ago1607770254IN
0xC0223ab2...65Da8385A
0 ETH0.0018823726
Set114376612020-12-12 10:50:421177 days ago1607770242IN
0xC0223ab2...65Da8385A
0 ETH0.0041361328
Set ADX Per Bloc...114376552020-12-12 10:49:471177 days ago1607770187IN
0xC0223ab2...65Da8385A
0 ETH0.0053863935
Set ADX Per Bloc...114376532020-12-12 10:49:191177 days ago1607770159IN
0xC0223ab2...65Da8385A
0 ETH0.0009664935
Set ADX Per Bloc...114376462020-12-12 10:48:191177 days ago1607770099IN
0xC0223ab2...65Da8385A
0 ETH0.0005522820
Deposit114357502020-12-12 3:45:341178 days ago1607744734IN
0xC0223ab2...65Da8385A
0 ETH0.001900818
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:
MasterChef

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-11-12
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.6.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: @openzeppelin/contracts/math/SafeMath.sol



pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @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 sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * 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) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * 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) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}
// file: SafeERC20
pragma solidity ^0.6.12;

// NOTE: this interface lacks return values for transfer/transferFrom/approve on purpose,
// as we use the SafeERC20 library to check the return value
interface GeneralERC20 {
    function transfer(address to, uint256 amount) external;
    function transferFrom(address from, address to, uint256 amount) external;
    function approve(address spender, uint256 amount) external;
    function balanceOf(address spender) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);
}

library SafeERC20 {
    function checkSuccess()
        private
        pure
        returns (bool)
    {
        uint256 returnValue = 0;

        assembly {
            // check number of bytes returned from last function call
            switch returndatasize()

            // no bytes returned: assume success
            case 0x0 {
                returnValue := 1
            }

            // 32 bytes returned: check if non-zero
            case 0x20 {
                // copy 32 bytes into scratch space
                returndatacopy(0x0, 0x0, 0x20)

                // load those bytes into returnValue
                returnValue := mload(0x0)
            }

            // not sure what was returned: don't mark as success
            default { }
        }

        return returnValue != 0;
    }

    function transfer(address token, address to, uint256 amount) internal {
        GeneralERC20(token).transfer(to, amount);
        require(checkSuccess());
    }

    function transferFrom(address token, address from, address to, uint256 amount) internal {
        GeneralERC20(token).transferFrom(from, to, amount);
        require(checkSuccess());
    }

    function approve(address token, address spender, uint256 amount) internal {
        GeneralERC20(token).approve(spender, amount);
        require(checkSuccess());
    }
}



// File: @openzeppelin/contracts/access/Ownable.sol; changed to remove context


pragma solidity ^0.6.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = msg.sender;
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == msg.sender, "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: @openzeppelin/contracts/token/ERC20/ERC20.sol


// MasterChef is now repurposed to distribute existing ADX.
//
// Note that it's ownable and the owner wields tremendous power.
//
// Have fun reading it. Hopefully it's bug-free. Амин.
contract MasterChef is Ownable {
    using SafeMath for uint256;

    // Info of each user.
    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of ADXs
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accADXPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accADXPerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }

    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. ADXs to distribute per block.
        uint256 lastRewardBlock; // Last block number that ADXs distribution occurs.
        uint256 accADXPerShare; // Accumulated ADXs per share, times 1e12. See below.
    }

    // The ADX TOKEN!
    IERC20 public ADX;
    // ADX tokens distributed per block.
    uint256 public ADXPerBlock;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when ADX mining starts.
    uint256 public startBlock;

    // Events
    event Recovered(address token, uint256 amount);
    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(
        address indexed user,
        uint256 indexed pid,
        uint256 amount
    );

    constructor(
        IERC20 _ADX,
        uint256 _ADXPerBlock,
        uint256 _startBlock
    ) public {
        ADX = _ADX;
        ADXPerBlock = _ADXPerBlock;
        startBlock = _startBlock;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    //  Not in a big way, but the payout will be less than the planned payout per block cause we divide the user's deposit by the total lpToken.balanceOf(this)
    function add(
        uint256 _allocPoint,
        IERC20 _lpToken,
        bool _withUpdate
    ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = block.number > startBlock
            ? block.number
            : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(
            PoolInfo({
                lpToken: _lpToken,
                allocPoint: _allocPoint,
                lastRewardBlock: lastRewardBlock,
                accADXPerShare: 0
            })
        );
    }

    // XXX general note on _withUpdate and why it's optional
    // Some have pointed out pending (unwithdrawn) rewards can be modified on the fly if `set`/`setADXPerBlock` is called
    // without `_withUpdate` set to true
    // There's a reason to keep this as an optional flag, which is to ensure it can be called in case `massUpdatePools`
    // is failing for whatever reason (eg runs out of gas)
    // In any case, those methods will be placed behind a timelock to ensure this cannot happen

    // Update the given pool's ADX allocation point. Can only be called by the owner.
    function set(
        uint256 _pid,
        uint256 _allocPoint,
        bool _withUpdate
    ) public onlyOwner {
	// XXX you can allocate for a nonexistant pool
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(
            _allocPoint
        );
        poolInfo[_pid].allocPoint = _allocPoint;
    }

    // View function to see pending ADXs on frontend.
    function pendingADX(uint256 _pid, address _user)
        external
        view
        returns (uint256)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accADXPerShare = pool.accADXPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 ADXReward = block.number.sub(pool.lastRewardBlock)
                .mul(ADXPerBlock)
                .mul(pool.allocPoint)
                .div(totalAllocPoint);
            accADXPerShare = accADXPerShare.add(
                ADXReward.mul(1e12).div(lpSupply)
            );
        }
        return
            user.amount.mul(accADXPerShare).div(1e12).sub(user.rewardDebt);
    }

    // Update reward variables for all pools. Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 ADXReward = block.number.sub(pool.lastRewardBlock)
            .mul(ADXPerBlock)
            .mul(pool.allocPoint)
            .div(totalAllocPoint);
        // XXX The original masterchef mints here; our version expects to be pre-funded with ADX
	pool.accADXPerShare = pool.accADXPerShare.add(
            ADXReward.mul(1e12).div(lpSupply)
        );
        pool.lastRewardBlock = block.number;
    }

    // Deposit LP tokens to MasterChef for ADX allocation.
    function deposit(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending = user
                .amount
                .mul(pool.accADXPerShare)
                .div(1e12)
                .sub(user.rewardDebt);
            safeADXTransfer(msg.sender, pending);
        }
        SafeERC20.transferFrom(
            address(pool.lpToken),
            address(msg.sender),
            address(this),
            _amount
        );
        user.amount = user.amount.add(_amount);
        user.rewardDebt = user.amount.mul(pool.accADXPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accADXPerShare).div(1e12).sub(
            user.rewardDebt
        );
        safeADXTransfer(msg.sender, pending);
        user.amount = user.amount.sub(_amount);
        user.rewardDebt = user.amount.mul(pool.accADXPerShare).div(1e12);
        SafeERC20.transfer(address(pool.lpToken), address(msg.sender), _amount);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        SafeERC20.transfer(address(pool.lpToken), address(msg.sender), user.amount);
        emit EmergencyWithdraw(msg.sender, _pid, user.amount);
        user.amount = 0;
        user.rewardDebt = 0;
    }

    // Safe ADX transfer function, just in case if rounding error causes pool to not have enough ADXs.
    function safeADXTransfer(address _to, uint256 _amount) internal {
        uint256 ADXBal = ADX.balanceOf(address(this));
        if (_amount > ADXBal) {
            require((_amount - ADXBal) < 10e17, "safeADXTransfer: rounding error too big, contract may be underfunded?");
            ADX.transfer(_to, ADXBal);
        } else {
            ADX.transfer(_to, _amount);
        }
    }

    // AdEx-specific masterchef extensions
    function setADXPerBlock(uint256 _ADXPerBlock, bool _withUpdate) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        ADXPerBlock = _ADXPerBlock;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_ADX","type":"address"},{"internalType":"uint256","name":"_ADXPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","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":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"ADX","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ADXPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingADX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accADXPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ADXPerBlock","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"setADXPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","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":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060055534801561001557600080fd5b5060405161209d38038061209d8339818101604052606081101561003857600080fd5b810190808051906020019092919080519060200190929190805190602001909291905050506000339050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35082600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160028190555080600681905550505050611f3e8061015f6000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c8063630b5ba1116100ad578063a51de77411610071578063a51de77414610432578063a7d50d0c1461046c578063dcea0a641461048a578063e2bbb158146104be578063f2fde38b146104f657610121565b8063630b5ba11461033d57806364482f7914610347578063715018a61461038b5780638da5cb5b1461039557806393f1a40b146103c957610121565b8063441a3e70116100f4578063441a3e701461022957806348cd4cb11461026157806351eb05a61461027f5780635312ea8e146102ad5780635997a2b3146102db57610121565b8063081e3eda146101265780631526fe271461014457806317caf6f1146101b15780631eaaa045146101cf575b600080fd5b61012e61053a565b6040518082815260200191505060405180910390f35b6101706004803603602081101561015a57600080fd5b8101908080359060200190929190505050610547565b604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b6101b96105a4565b6040518082815260200191505060405180910390f35b610227600480360360608110156101e557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291905050506105aa565b005b61025f6004803603604081101561023f57600080fd5b81019080803590602001909291908035906020019092919050505061077c565b005b6102696109a6565b6040518082815260200191505060405180910390f35b6102ab6004803603602081101561029557600080fd5b81019080803590602001909291905050506109ac565b005b6102d9600480360360208110156102c357600080fd5b8101908080359060200190929190505050610b70565b005b610327600480360360408110156102f157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c82565b6040518082815260200191505060405180910390f35b610345610ecb565b005b6103896004803603606081101561035d57600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050610ef8565b005b61039361103b565b005b61039d6111ba565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610415600480360360408110156103df57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111e3565b604051808381526020018281526020019250505060405180910390f35b61046a6004803603604081101561044857600080fd5b8101908080359060200190929190803515159060200190929190505050611214565b005b6104746112ef565b6040518082815260200191505060405180910390f35b6104926112f5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104f4600480360360408110156104d457600080fd5b81019080803590602001909291908035906020019092919050505061131b565b005b6105386004803603602081101561050c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114da565b005b6000600380549050905090565b6003818154811061055457fe5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154905084565b60055481565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461066b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b801561067a57610679610ecb565b5b6000600654431161068d5760065461068f565b435b90506106a6846005546116de90919063ffffffff16565b600581905550600360405180608001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018381526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030155505050505050565b60006003838154811061078b57fe5b9060005260206000209060040201905060006004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610869576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610872846109ac565b60006108bc82600101546108ae64e8d4a510006108a08760030154876000015461176690919063ffffffff16565b6117ec90919063ffffffff16565b61183690919063ffffffff16565b90506108c83382611880565b6108df84836000015461183690919063ffffffff16565b826000018190555061091964e8d4a5100061090b8560030154856000015461176690919063ffffffff16565b6117ec90919063ffffffff16565b82600101819055506109508360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff163386611b5b565b843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a35050505050565b60065481565b6000600382815481106109bb57fe5b90600052602060002090600402019050806002015443116109dc5750610b6d565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610a6957600080fd5b505afa158015610a7d573d6000803e3d6000fd5b505050506040513d6020811015610a9357600080fd5b810190808051906020019092919050505090506000811415610abf574382600201819055505050610b6d565b6000610b16600554610b088560010154610afa600254610aec89600201544361183690919063ffffffff16565b61176690919063ffffffff16565b61176690919063ffffffff16565b6117ec90919063ffffffff16565b9050610b58610b4583610b3764e8d4a510008561176690919063ffffffff16565b6117ec90919063ffffffff16565b84600301546116de90919063ffffffff16565b83600301819055504383600201819055505050505b50565b600060038281548110610b7f57fe5b9060005260206000209060040201905060006004600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050610c168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16338360000154611b5b565b823373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583600001546040518082815260200191505060405180910390a36000816000018190555060008160010181905550505050565b60008060038481548110610c9257fe5b9060005260206000209060040201905060006004600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610d8c57600080fd5b505afa158015610da0573d6000803e3d6000fd5b505050506040513d6020811015610db657600080fd5b81019080805190602001909291905050509050836002015443118015610ddd575060008114155b15610e7b576000610e39600554610e2b8760010154610e1d600254610e0f8b600201544361183690919063ffffffff16565b61176690919063ffffffff16565b61176690919063ffffffff16565b6117ec90919063ffffffff16565b9050610e77610e6883610e5a64e8d4a510008561176690919063ffffffff16565b6117ec90919063ffffffff16565b846116de90919063ffffffff16565b9250505b610ebf8360010154610eb164e8d4a51000610ea386886000015461176690919063ffffffff16565b6117ec90919063ffffffff16565b61183690919063ffffffff16565b94505050505092915050565b6000600380549050905060005b81811015610ef457610ee9816109ac565b806001019050610ed8565b5050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fb9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8015610fc857610fc7610ecb565b5b61100d82610fff60038681548110610fdc57fe5b90600052602060002090600402016001015460055461183690919063ffffffff16565b6116de90919063ffffffff16565b600581905550816003848154811061102157fe5b906000526020600020906004020160010181905550505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6004602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80156112e4576112e3610ecb565b5b816002819055505050565b60025481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006003838154811061132a57fe5b9060005260206000209060040201905060006004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611397846109ac565b6000816000015411156113fc5760006113ee82600101546113e064e8d4a510006113d28760030154876000015461176690919063ffffffff16565b6117ec90919063ffffffff16565b61183690919063ffffffff16565b90506113fa3382611880565b505b61142c8260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16333086611bfa565b6114438382600001546116de90919063ffffffff16565b816000018190555061147d64e8d4a5100061146f8460030154846000015461176690919063ffffffff16565b6117ec90919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a350505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461159b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611621576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611e7d6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008082840190508381101561175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008083141561177957600090506117e6565b600082840290508284828161178a57fe5b04146117e1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611ea36021913960400191505060405180910390fd5b809150505b92915050565b600061182e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611cb8565b905092915050565b600061187883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d7e565b905092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561190b57600080fd5b505afa15801561191f573d6000803e3d6000fd5b505050506040513d602081101561193557600080fd5b8101908080519060200190929190505050905080821115611a8657670de0b6b3a7640000818303106119b2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526045815260200180611ec46045913960600191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611a4557600080fd5b505af1158015611a59573d6000803e3d6000fd5b505050506040513d6020811015611a6f57600080fd5b810190808051906020019092919050505050611b56565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611b1957600080fd5b505af1158015611b2d573d6000803e3d6000fd5b505050506040513d6020811015611b4357600080fd5b8101908080519060200190929190505050505b505050565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611bcc57600080fd5b505af1158015611be0573d6000803e3d6000fd5b50505050611bec611e3e565b611bf557600080fd5b505050565b8373ffffffffffffffffffffffffffffffffffffffff166323b872dd8484846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015611c8957600080fd5b505af1158015611c9d573d6000803e3d6000fd5b50505050611ca9611e3e565b611cb257600080fd5b50505050565b60008083118290611d64576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d29578082015181840152602081019050611d0e565b50505050905090810190601f168015611d565780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611d7057fe5b049050809150509392505050565b6000838311158290611e2b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611df0578082015181840152602081019050611dd5565b50505050905090810190601f168015611e1d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080600090503d60008114611e5b5760208114611e6457611e70565b60019150611e70565b60206000803e60005191505b5060008114159150509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77736166654144585472616e736665723a20726f756e64696e67206572726f7220746f6f206269672c20636f6e7472616374206d617920626520756e64657266756e6465643fa2646970667358221220ec3382bba5e934f90373cd9940b56ce2506a110b5b8180e7ef9d7bc03f5a028364736f6c634300060c0033000000000000000000000000ade00c28244d5ce17d72e40330b1c318cd12b7c30000000000000000000000000000000000000000000000008ba270aa7e1d25a00000000000000000000000000000000000000000000000000000000000ac5d00

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c8063630b5ba1116100ad578063a51de77411610071578063a51de77414610432578063a7d50d0c1461046c578063dcea0a641461048a578063e2bbb158146104be578063f2fde38b146104f657610121565b8063630b5ba11461033d57806364482f7914610347578063715018a61461038b5780638da5cb5b1461039557806393f1a40b146103c957610121565b8063441a3e70116100f4578063441a3e701461022957806348cd4cb11461026157806351eb05a61461027f5780635312ea8e146102ad5780635997a2b3146102db57610121565b8063081e3eda146101265780631526fe271461014457806317caf6f1146101b15780631eaaa045146101cf575b600080fd5b61012e61053a565b6040518082815260200191505060405180910390f35b6101706004803603602081101561015a57600080fd5b8101908080359060200190929190505050610547565b604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b6101b96105a4565b6040518082815260200191505060405180910390f35b610227600480360360608110156101e557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291905050506105aa565b005b61025f6004803603604081101561023f57600080fd5b81019080803590602001909291908035906020019092919050505061077c565b005b6102696109a6565b6040518082815260200191505060405180910390f35b6102ab6004803603602081101561029557600080fd5b81019080803590602001909291905050506109ac565b005b6102d9600480360360208110156102c357600080fd5b8101908080359060200190929190505050610b70565b005b610327600480360360408110156102f157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c82565b6040518082815260200191505060405180910390f35b610345610ecb565b005b6103896004803603606081101561035d57600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050610ef8565b005b61039361103b565b005b61039d6111ba565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610415600480360360408110156103df57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111e3565b604051808381526020018281526020019250505060405180910390f35b61046a6004803603604081101561044857600080fd5b8101908080359060200190929190803515159060200190929190505050611214565b005b6104746112ef565b6040518082815260200191505060405180910390f35b6104926112f5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104f4600480360360408110156104d457600080fd5b81019080803590602001909291908035906020019092919050505061131b565b005b6105386004803603602081101561050c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114da565b005b6000600380549050905090565b6003818154811061055457fe5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154905084565b60055481565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461066b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b801561067a57610679610ecb565b5b6000600654431161068d5760065461068f565b435b90506106a6846005546116de90919063ffffffff16565b600581905550600360405180608001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018381526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030155505050505050565b60006003838154811061078b57fe5b9060005260206000209060040201905060006004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610869576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610872846109ac565b60006108bc82600101546108ae64e8d4a510006108a08760030154876000015461176690919063ffffffff16565b6117ec90919063ffffffff16565b61183690919063ffffffff16565b90506108c83382611880565b6108df84836000015461183690919063ffffffff16565b826000018190555061091964e8d4a5100061090b8560030154856000015461176690919063ffffffff16565b6117ec90919063ffffffff16565b82600101819055506109508360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff163386611b5b565b843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a35050505050565b60065481565b6000600382815481106109bb57fe5b90600052602060002090600402019050806002015443116109dc5750610b6d565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610a6957600080fd5b505afa158015610a7d573d6000803e3d6000fd5b505050506040513d6020811015610a9357600080fd5b810190808051906020019092919050505090506000811415610abf574382600201819055505050610b6d565b6000610b16600554610b088560010154610afa600254610aec89600201544361183690919063ffffffff16565b61176690919063ffffffff16565b61176690919063ffffffff16565b6117ec90919063ffffffff16565b9050610b58610b4583610b3764e8d4a510008561176690919063ffffffff16565b6117ec90919063ffffffff16565b84600301546116de90919063ffffffff16565b83600301819055504383600201819055505050505b50565b600060038281548110610b7f57fe5b9060005260206000209060040201905060006004600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050610c168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16338360000154611b5b565b823373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583600001546040518082815260200191505060405180910390a36000816000018190555060008160010181905550505050565b60008060038481548110610c9257fe5b9060005260206000209060040201905060006004600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610d8c57600080fd5b505afa158015610da0573d6000803e3d6000fd5b505050506040513d6020811015610db657600080fd5b81019080805190602001909291905050509050836002015443118015610ddd575060008114155b15610e7b576000610e39600554610e2b8760010154610e1d600254610e0f8b600201544361183690919063ffffffff16565b61176690919063ffffffff16565b61176690919063ffffffff16565b6117ec90919063ffffffff16565b9050610e77610e6883610e5a64e8d4a510008561176690919063ffffffff16565b6117ec90919063ffffffff16565b846116de90919063ffffffff16565b9250505b610ebf8360010154610eb164e8d4a51000610ea386886000015461176690919063ffffffff16565b6117ec90919063ffffffff16565b61183690919063ffffffff16565b94505050505092915050565b6000600380549050905060005b81811015610ef457610ee9816109ac565b806001019050610ed8565b5050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fb9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8015610fc857610fc7610ecb565b5b61100d82610fff60038681548110610fdc57fe5b90600052602060002090600402016001015460055461183690919063ffffffff16565b6116de90919063ffffffff16565b600581905550816003848154811061102157fe5b906000526020600020906004020160010181905550505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6004602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80156112e4576112e3610ecb565b5b816002819055505050565b60025481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006003838154811061132a57fe5b9060005260206000209060040201905060006004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611397846109ac565b6000816000015411156113fc5760006113ee82600101546113e064e8d4a510006113d28760030154876000015461176690919063ffffffff16565b6117ec90919063ffffffff16565b61183690919063ffffffff16565b90506113fa3382611880565b505b61142c8260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16333086611bfa565b6114438382600001546116de90919063ffffffff16565b816000018190555061147d64e8d4a5100061146f8460030154846000015461176690919063ffffffff16565b6117ec90919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a350505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461159b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611621576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611e7d6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008082840190508381101561175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008083141561177957600090506117e6565b600082840290508284828161178a57fe5b04146117e1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611ea36021913960400191505060405180910390fd5b809150505b92915050565b600061182e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611cb8565b905092915050565b600061187883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d7e565b905092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561190b57600080fd5b505afa15801561191f573d6000803e3d6000fd5b505050506040513d602081101561193557600080fd5b8101908080519060200190929190505050905080821115611a8657670de0b6b3a7640000818303106119b2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526045815260200180611ec46045913960600191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611a4557600080fd5b505af1158015611a59573d6000803e3d6000fd5b505050506040513d6020811015611a6f57600080fd5b810190808051906020019092919050505050611b56565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611b1957600080fd5b505af1158015611b2d573d6000803e3d6000fd5b505050506040513d6020811015611b4357600080fd5b8101908080519060200190929190505050505b505050565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611bcc57600080fd5b505af1158015611be0573d6000803e3d6000fd5b50505050611bec611e3e565b611bf557600080fd5b505050565b8373ffffffffffffffffffffffffffffffffffffffff166323b872dd8484846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015611c8957600080fd5b505af1158015611c9d573d6000803e3d6000fd5b50505050611ca9611e3e565b611cb257600080fd5b50505050565b60008083118290611d64576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d29578082015181840152602081019050611d0e565b50505050905090810190601f168015611d565780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611d7057fe5b049050809150509392505050565b6000838311158290611e2b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611df0578082015181840152602081019050611dd5565b50505050905090810190601f168015611e1d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080600090503d60008114611e5b5760208114611e6457611e70565b60019150611e70565b60206000803e60005191505b5060008114159150509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77736166654144585472616e736665723a20726f756e64696e67206572726f7220746f6f206269672c20636f6e7472616374206d617920626520756e64657266756e6465643fa2646970667358221220ec3382bba5e934f90373cd9940b56ce2506a110b5b8180e7ef9d7bc03f5a028364736f6c634300060c0033

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

000000000000000000000000ade00c28244d5ce17d72e40330b1c318cd12b7c30000000000000000000000000000000000000000000000008ba270aa7e1d25a00000000000000000000000000000000000000000000000000000000000ac5d00

-----Decoded View---------------
Arg [0] : _ADX (address): 0xADE00C28244d5CE17D72E40330B1c318cD12B7c3
Arg [1] : _ADXPerBlock (uint256): 10061728395061700000
Arg [2] : _startBlock (uint256): 11296000

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000ade00c28244d5ce17d72e40330b1c318cd12b7c3
Arg [1] : 0000000000000000000000000000000000000000000000008ba270aa7e1d25a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000ac5d00


Deployed Bytecode Sourcemap

12763:9262:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15147:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14212:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14453:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;15572:616;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;20135:689;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14543:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18427:784;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;20895:372;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;17264:824;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18171:180;;;:::i;:::-;;16790:411;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;11954:148;;;:::i;:::-;;11314:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;14294:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;21825:197;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14150:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14084:17;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;19279:804;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;12257:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;15147:95;15192:7;15219:8;:15;;;;15212:22;;15147:95;:::o;14212:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14453:34::-;;;;:::o;15572:616::-;11536:10;11526:20;;:6;;;;;;;;;;:20;;;11518:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15707:11:::1;15703:61;;;15735:17;:15;:17::i;:::-;15703:61;15774:23;15815:10;;15800:12;:25;:79;;15869:10;;15800:79;;;15841:12;15800:79;15774:105;;15908:32;15928:11;15908:15;;:19;;:32;;;;:::i;:::-;15890:15;:50;;;;15951:8;15979:190;;;;;;;;16016:8;15979:190;;;;;;16055:11;15979:190;;;;16102:15;15979:190;;;;16152:1;15979:190;;::::0;15951:229:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11594:1;15572:616:::0;;;:::o;20135:689::-;20202:21;20226:8;20235:4;20226:14;;;;;;;;;;;;;;;;;;20202:38;;20251:21;20275:8;:14;20284:4;20275:14;;;;;;;;;;;:26;20290:10;20275:26;;;;;;;;;;;;;;;20251:50;;20335:7;20320:4;:11;;;:22;;20312:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20376:16;20387:4;20376:10;:16::i;:::-;20403:15;20421:91;20486:4;:15;;;20421:46;20462:4;20421:36;20437:4;:19;;;20421:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:91;;;;:::i;:::-;20403:109;;20523:36;20539:10;20551:7;20523:15;:36::i;:::-;20584:24;20600:7;20584:4;:11;;;:15;;:24;;;;:::i;:::-;20570:4;:11;;:38;;;;20637:46;20678:4;20637:36;20653:4;:19;;;20637:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;20619:4;:15;;:64;;;;20694:71;20721:4;:12;;;;;;;;;;;;20744:10;20757:7;20694:18;:71::i;:::-;20802:4;20790:10;20781:35;;;20808:7;20781:35;;;;;;;;;;;;;;;;;;20135:689;;;;;:::o;14543:25::-;;;;:::o;18427:784::-;18479:21;18503:8;18512:4;18503:14;;;;;;;;;;;;;;;;;;18479:38;;18548:4;:20;;;18532:12;:36;18528:75;;18585:7;;;18528:75;18613:16;18632:4;:12;;;;;;;;;;;;:22;;;18663:4;18632:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18613:56;;18696:1;18684:8;:13;18680:102;;;18737:12;18714:4;:20;;:35;;;;18764:7;;;;18680:102;18792:17;18812:139;18935:15;;18812:104;18900:4;:15;;;18812:69;18869:11;;18812:38;18829:4;:20;;;18812:12;:16;;:38;;;;:::i;:::-;:56;;:69;;;;:::i;:::-;:87;;:104;;;;:::i;:::-;:122;;:139;;;;:::i;:::-;18792:159;;19075:82;19113:33;19137:8;19113:19;19127:4;19113:9;:13;;:19;;;;:::i;:::-;:23;;:33;;;;:::i;:::-;19075:4;:19;;;:23;;:82;;;;:::i;:::-;19053:4;:19;;:104;;;;19191:12;19168:4;:20;;:35;;;;18427:784;;;;;:::o;20895:372::-;20954:21;20978:8;20987:4;20978:14;;;;;;;;;;;;;;;;;;20954:38;;21003:21;21027:8;:14;21036:4;21027:14;;;;;;;;;;;:26;21042:10;21027:26;;;;;;;;;;;;;;;21003:50;;21064:75;21091:4;:12;;;;;;;;;;;;21114:10;21127:4;:11;;;21064:18;:75::i;:::-;21185:4;21173:10;21155:48;;;21191:4;:11;;;21155:48;;;;;;;;;;;;;;;;;;21228:1;21214:4;:11;;:15;;;;21258:1;21240:4;:15;;:19;;;;20895:372;;;:::o;17264:824::-;17363:7;17388:21;17412:8;17421:4;17412:14;;;;;;;;;;;;;;;;;;17388:38;;17437:21;17461:8;:14;17470:4;17461:14;;;;;;;;;;;:21;17476:5;17461:21;;;;;;;;;;;;;;;17437:45;;17493:22;17518:4;:19;;;17493:44;;17548:16;17567:4;:12;;;;;;;;;;;;:22;;;17598:4;17567:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17548:56;;17634:4;:20;;;17619:12;:35;:52;;;;;17670:1;17658:8;:13;;17619:52;17615:373;;;17688:17;17708:151;17843:15;;17708:112;17804:4;:15;;;17708:73;17769:11;;17708:38;17725:4;:20;;;17708:12;:16;;:38;;;;:::i;:::-;:60;;:73;;;;:::i;:::-;:95;;:112;;;;:::i;:::-;:134;;:151;;;;:::i;:::-;17688:171;;17891:85;17928:33;17952:8;17928:19;17942:4;17928:9;:13;;:19;;;;:::i;:::-;:23;;:33;;;;:::i;:::-;17891:14;:18;;:85;;;;:::i;:::-;17874:102;;17615:373;;18018:62;18064:4;:15;;;18018:41;18054:4;18018:31;18034:14;18018:4;:11;;;:15;;:31;;;;:::i;:::-;:35;;:41;;;;:::i;:::-;:45;;:62;;;;:::i;:::-;17998:82;;;;;;17264:824;;;;:::o;18171:180::-;18216:14;18233:8;:15;;;;18216:32;;18264:11;18259:85;18287:6;18281:3;:12;18259:85;;;18317:15;18328:3;18317:10;:15::i;:::-;18295:5;;;;;18259:85;;;;18171:180;:::o;16790:411::-;11536:10;11526:20;;:6;;;;;;;;;;:20;;;11518:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16971:11:::1;16967:61;;;16999:17;:15;:17::i;:::-;16967:61;17056:87;17121:11;17056:46;17076:8;17085:4;17076:14;;;;;;;;;;;;;;;;;;:25;;;17056:15;;:19;;:46;;;;:::i;:::-;:50;;:87;;;;:::i;:::-;17038:15;:105;;;;17182:11;17154:8;17163:4;17154:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;16790:411:::0;;;:::o;11954:148::-;11536:10;11526:20;;:6;;;;;;;;;;:20;;;11518:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12061:1:::1;12024:40;;12045:6;::::0;::::1;;;;;;;;12024:40;;;;;;;;;;;;12092:1;12075:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;11954:148::o:0;11314:79::-;11352:7;11379:6;;;;;;;;;;;11372:13;;11314:79;:::o;14294:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;21825:197::-;11536:10;11526:20;;:6;;;;;;;;;;:20;;;11518:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21921:11:::1;21917:61;;;21949:17;:15;:17::i;:::-;21917:61;22002:12;21988:11;:26;;;;21825:197:::0;;:::o;14150:26::-;;;;:::o;14084:17::-;;;;;;;;;;;;;:::o;19279:804::-;19345:21;19369:8;19378:4;19369:14;;;;;;;;;;;;;;;;;;19345:38;;19394:21;19418:8;:14;19427:4;19418:14;;;;;;;;;;;:26;19433:10;19418:26;;;;;;;;;;;;;;;19394:50;;19455:16;19466:4;19455:10;:16::i;:::-;19500:1;19486:4;:11;;;:15;19482:256;;;19518:15;19536:139;19659:4;:15;;;19536:100;19631:4;19536:72;19588:4;:19;;;19536:4;:29;;;:51;;:72;;;;:::i;:::-;:94;;:100;;;;:::i;:::-;:122;;:139;;;;:::i;:::-;19518:157;;19690:36;19706:10;19718:7;19690:15;:36::i;:::-;19482:256;;19748:153;19793:4;:12;;;;;;;;;;;;19829:10;19863:4;19883:7;19748:22;:153::i;:::-;19926:24;19942:7;19926:4;:11;;;:15;;:24;;;;:::i;:::-;19912:4;:11;;:38;;;;19979:46;20020:4;19979:36;19995:4;:19;;;19979:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;19961:4;:15;;:64;;;;20061:4;20049:10;20041:34;;;20067:7;20041:34;;;;;;;;;;;;;;;;;;19279:804;;;;:::o;12257:244::-;11536:10;11526:20;;:6;;;;;;;;;;:20;;;11518:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12366:1:::1;12346:22;;:8;:22;;;;12338:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12456:8;12427:38;;12448:6;::::0;::::1;;;;;;;;12427:38;;;;;;;;;;;;12485:8;12476:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;12257:244:::0;:::o;3755:181::-;3813:7;3833:9;3849:1;3845;:5;3833:17;;3874:1;3869;:6;;3861:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3927:1;3920:8;;;3755:181;;;;:::o;5109:471::-;5167:7;5417:1;5412;:6;5408:47;;;5442:1;5435:8;;;;5408:47;5467:9;5483:1;5479;:5;5467:17;;5512:1;5507;5503;:5;;;;;;:10;5495:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5571:1;5564:8;;;5109:471;;;;;:::o;6056:132::-;6114:7;6141:39;6145:1;6148;6141:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;6134:46;;6056:132;;;;:::o;4219:136::-;4277:7;4304:43;4308:1;4311;4304:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4297:50;;4219:136;;;;:::o;21379:394::-;21454:14;21471:3;;;;;;;;;;;:13;;;21493:4;21471:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21454:45;;21524:6;21514:7;:16;21510:256;;;21576:5;21566:6;21556:7;:16;21555:26;21547:108;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21670:3;;;;;;;;;;;:12;;;21683:3;21688:6;21670:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21510:256;;;21728:3;;;;;;;;;;;:12;;;21741:3;21746:7;21728:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21510:256;21379:394;;;:::o;9656:163::-;9750:5;9737:28;;;9766:2;9770:6;9737:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9796:14;:12;:14::i;:::-;9788:23;;;;;;9656:163;;;:::o;9827:191::-;9939:5;9926:32;;;9959:4;9965:2;9969:6;9926:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9995:14;:12;:14::i;:::-;9987:23;;;;;;9827:191;;;;:::o;6684:278::-;6770:7;6802:1;6798;:5;6805:12;6790:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6829:9;6845:1;6841;:5;;;;;;6829:17;;6953:1;6946:8;;;6684:278;;;;;:::o;4658:192::-;4744:7;4777:1;4772;:6;;4780:12;4764:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4804:9;4820:1;4816;:5;4804:17;;4841:1;4834:8;;;4658:192;;;;;:::o;8832:816::-;8905:4;8927:19;8949:1;8927:23;;9065:16;9152:3;9147:59;;;;9280:4;9275:226;;;;9058:536;;9147:59;9190:1;9175:16;;9147:59;;9275:226;9382:4;9377:3;9372;9357:30;9482:3;9476:10;9461:25;;9058:536;;9639:1;9624:11;:16;;9617:23;;;8832:816;:::o

Swarm Source

ipfs://ec3382bba5e934f90373cd9940b56ce2506a110b5b8180e7ef9d7bc03f5a0283

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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