Contract 0xc06715dc67969c81069b0f91d95a611feb3d526e

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x7b31fa7b8e941abbf7b0023b149d2eea023b8f975fbe78772e0db44d91dd3c02Stake187932302022-08-18 7:14:2642 secs ago0xc25d524c5f2e2baee1d700ab148a912d827bb12b IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍003722084 26.‍5
0xa5706edf0d5b49a4aac3d83036e5330fb24194aa61d4e13f0472b39517151bbeStake187929392022-08-18 7:04:2910 mins ago0x54342d12395ea6bbba174241df0dc3d2b49bb23d IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍003724345788 26.‍516103182
0x6328c36ba2e0ac1c822444af1d915d1c0167b6f45dc8f484cdab746bf6b1c445Claim Reward187918462022-08-18 6:27:0748 mins ago0x2f06f6ea81c3b23d4a3170938719bcdad06016c5 IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍003228071 26.‍5
0xf7bd609324c61ba73452b1510f9d030a64b3a700b83f30c9647e68f6c3a87deeStake187910772022-08-18 6:00:491 hr 14 mins ago0x945db2538b3ae52f82a7c004f80e8cd12bf277b8 IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍003722084 26.‍5
0xb62f791881febbbe0f08963ecbdf4f41f1afe3572d81f12e39290a56a3641f21Stake187910752022-08-18 6:00:451 hr 14 mins ago0x9a21fe4f4ee54882d5d49298d322b1cd4f20bc5f IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍002887334 26.‍5
0x549daf9ccd32061838df6add8df5e90a3795091ba3ca4afeeddfa9b335674367Claim Reward187908512022-08-18 5:53:051 hr 22 mins ago0x9a21fe4f4ee54882d5d49298d322b1cd4f20bc5f IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍002774921 26.‍5
0x84e240d8132cb9149d3a6b6342d1bfe71618a7b22b85fcf26e32bf8b7459680fStake187907522022-08-18 5:49:441 hr 25 mins ago0xc7cd3ea6eac5237c620d774e9c50633289af63ee IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍003207256 26
0xf4cd379db2fcec6304b542280f3d4e122b859121be148370eb5fcf621c0d6fa3Stake187898962022-08-18 5:19:531 hr 55 mins ago0xe1cb4b646828e06d6cea403697e32e0a66b9994c IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍002887334 26.‍5
0x93972124edabd37b748a1c7c90fe8e958f5720410bb34cb83fd700acf281b660Stake187898042022-08-18 5:16:351 hr 58 mins ago0xe1cb4b646828e06d6cea403697e32e0a66b9994c IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍0037757101 26.‍8818
0x386282ec396a13dc24df973dccf0eab8ce7539c73a3232c07eaf59ffa4528cecStake187887702022-08-18 4:41:022 hrs 34 mins ago0x786305ea8e90537082fe014395975e5a9bbe15c1 IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍002887334 26.‍5
0xa58b330f5950b7d48d5e7e619bad9ca6a1456539888a0add39b385c9e0d025b1Claim Reward187887592022-08-18 4:40:402 hrs 34 mins ago0x786305ea8e90537082fe014395975e5a9bbe15c1 IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍002774921 26.‍5
0x0aaf46cd7e6dd7d01813d195b9c3e5f6508826831335eea9ff3b87eb3721d550Stake187884752022-08-18 4:31:072 hrs 44 mins ago0x52700d73a35f6ac75894e61ad15b3ad40275bc20 IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍0033833674 27.‍425
0xc5a168afb299b1b0cc9e95737a9e7f6bcabac4fb6bcf11e776997e7d61d58c23Stake187884602022-08-18 4:30:362 hrs 44 mins ago0x01b4748175a095dc5cd041eca2be3e930b340cb7 IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍0045533095 26.‍5
0x53dab9a00f50c7a5f9e37b00856d55b3e5ee9414d4c7e131fbce673dec6e4438Claim Reward187877392022-08-18 4:05:393 hrs 9 mins ago0x0020dfda2d8913800bf48006a48b0d8f8305ec48 IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍002774921 26.‍5
0xfebf94f630b89042415336187f2aea5878d63bab964222f950df026d0ec8cf2fStake187877302022-08-18 4:05:213 hrs 9 mins ago0x1fd40fdd4cd4e1785778550b05e82ad5d256d266 IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍0027239 25
0x0a7b6edac3d85d4ef13e38b126a468e3606ed1bd0553e84886b4beb0226d14ccStake187877022022-08-18 4:04:253 hrs 10 mins ago0x1fd40fdd4cd4e1785778550b05e82ad5d256d266 IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍0035111 25
0x6d1d985e5db786e5725f6fd14429f7a7607ff596ecc184472ee5c7ed1163116bStake187875432022-08-18 3:58:583 hrs 16 mins ago0x22e14c9b58af311eef370a4fe70f07b9dfa40244 IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍00453752851 26.‍41
0x1a64e0bb116c9499b5a0e8861b100f354201360fa4bf99b79ae1a4925e9e90d4Stake187859412022-08-18 3:03:404 hrs 11 mins ago0x5daf6a0f6a0ff0f81ba7b7dc45346a8393914fa2 IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍0036466915 26.‍5
0x82614061527a09d3a1e7a5898b143fea2d03646b889f2469de1f7b83e14fa0dbStake187857572022-08-18 2:57:184 hrs 17 mins ago0xce53076a174312c06dafa8ddccd826ff2e76500c IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍00328875589 26.‍6606885
0x71cb7abcc2853cbf0b5927dc25d12aac8327a2f0c27b481c60cf4edc4bf03326Stake187856032022-08-18 2:52:034 hrs 23 mins ago0x1820e8706632fb0c4d7aca1597664e657d1d67bc IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍0036466915 26.‍5
0xb094014083356c444701a7d35b1c161a27c7c1ce14c249f443a918c9f11a695eStake187852872022-08-18 2:41:174 hrs 33 mins ago0x4b0833ac04e6c13b22148379106c97dcb50ac285 IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍003268934 26.‍5
0xfd465cdcaa3783a040416e4ac2552525d576939b57467760b7487a3073044133Stake187848562022-08-18 2:26:404 hrs 48 mins ago0xab6ccad73e1ae57dff30e6c13abc098a883ca8ab IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍002887334 26.‍5
0x7880a7074a2258d165cd3f6d3dc244cf52f6ce43efc1defbeada32ecf3d9f3e4Stake187848432022-08-18 2:26:134 hrs 48 mins ago0x78b58910c6c5ec3c2ea478e775c63ff5146ebf0e IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍003268934 26.‍5
0x8a4b59010a47ff2334c3184a7c828b04863148b6a4f4289acc0b416c292a7c03Claim Reward187845902022-08-18 2:17:334 hrs 57 mins ago0x89e838f3b3b500ad46fd36aebbb7a2d957ee0a2f IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍002774921 26.‍5
0x6c455670ae3e9148043f9a41d3aae9f6e0b020430acfe17cc92c20bab55c6316Withdraw187844612022-08-18 2:13:125 hrs 1 min ago0x2e818545b078bcb5e08feba5d791042bb1ee1579 IN  0xc06715dc67969c81069b0f91d95a611feb3d526e0 AVAX0.‍00535855458 26.‍94
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
NrwlBoardroom

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

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

pragma solidity 0.6.12;

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

import "./utils/ContractGuard.sol";
import "./interfaces/IBasisAsset.sol";
import "./interfaces/ITreasury.sol";

contract ShareWrapper {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    IERC20 public share;

    uint256 private _totalSupply;
    mapping(address => uint256) private _balances;

    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    function stake(uint256 amount) public virtual {
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        share.safeTransferFrom(msg.sender, address(this), amount);
    }

    function withdraw(uint256 amount) public virtual {
        uint256 memberShare = _balances[msg.sender];
        require(memberShare >= amount, "Boardroom: withdraw request greater than staked amount");
        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = memberShare.sub(amount);
        share.safeTransfer(msg.sender, amount);
    }
}

/*
    https://frozenwalrus.finance
*/
contract NrwlBoardroom is ShareWrapper, ContractGuard {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    /* ========== DATA STRUCTURES ========== */

    struct Memberseat {
        uint256 lastSnapshotIndex;
        uint256 rewardEarned;
        uint256 epochTimerStart;
    }

    struct BoardroomSnapshot {
        uint256 time;
        uint256 rewardReceived;
        uint256 rewardPerShare;
    }

    /* ========== STATE VARIABLES ========== */

    // governance
    address public operator;

    // flags
    bool public initialized = false;

    IERC20 public wlrs;
    ITreasury public treasury;

    mapping(address => Memberseat) public members;
    BoardroomSnapshot[] public boardroomHistory;

    uint256 public withdrawLockupEpochs;
    uint256 public rewardLockupEpochs;

    /* ========== EVENTS ========== */

    event Initialized(address indexed executor, uint256 at);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);
    event RewardAdded(address indexed user, uint256 reward);

    /* ========== Modifiers =============== */

    modifier onlyOperator() {
        require(operator == msg.sender, "Boardroom: caller is not the operator");
        _;
    }

    modifier memberExists() {
        require(balanceOf(msg.sender) > 0, "Boardroom: The member does not exist");
        _;
    }

    modifier updateReward(address member) {
        if (member != address(0)) {
            Memberseat memory seat = members[member];
            seat.rewardEarned = earned(member);
            seat.lastSnapshotIndex = latestSnapshotIndex();
            members[member] = seat;
        }
        _;
    }

    modifier notInitialized() {
        require(!initialized, "Boardroom: already initialized");
        _;
    }

    /* ========== GOVERNANCE ========== */

    function initialize(
        IERC20 _wlrs,
        IERC20 _share,
        ITreasury _treasury
    ) public notInitialized {
        wlrs = _wlrs;
        share = _share;
        treasury = _treasury;

        BoardroomSnapshot memory genesisSnapshot = BoardroomSnapshot({time: block.number, rewardReceived: 0, rewardPerShare: 0});
        boardroomHistory.push(genesisSnapshot);

        withdrawLockupEpochs = 6; // Lock for 6 epochs (36h) before release withdraw
        rewardLockupEpochs = 4; // Lock for 4 epochs (24h) before release claimReward

        initialized = true;
        operator = msg.sender;
        emit Initialized(msg.sender, block.number);
    }

    function setOperator(address _operator) external onlyOperator {
        operator = _operator;
    }

    function setLockUp(uint256 _withdrawLockupEpochs, uint256 _rewardLockupEpochs) external onlyOperator {
        require(_withdrawLockupEpochs >= _rewardLockupEpochs && _withdrawLockupEpochs <= 56, "_withdrawLockupEpochs: out of range"); // <= 2 week
        withdrawLockupEpochs = _withdrawLockupEpochs;
        rewardLockupEpochs = _rewardLockupEpochs;
    }

    /* ========== VIEW FUNCTIONS ========== */

    // =========== Snapshot getters

    function latestSnapshotIndex() public view returns (uint256) {
        return boardroomHistory.length.sub(1);
    }

    function getLatestSnapshot() internal view returns (BoardroomSnapshot memory) {
        return boardroomHistory[latestSnapshotIndex()];
    }

    function getLastSnapshotIndexOf(address member) public view returns (uint256) {
        return members[member].lastSnapshotIndex;
    }

    function getLastSnapshotOf(address member) internal view returns (BoardroomSnapshot memory) {
        return boardroomHistory[getLastSnapshotIndexOf(member)];
    }

    function canWithdraw(address member) external view returns (bool) {
        return members[member].epochTimerStart.add(withdrawLockupEpochs) <= treasury.epoch();
    }

    function canClaimReward(address member) external view returns (bool) {
        return members[member].epochTimerStart.add(rewardLockupEpochs) <= treasury.epoch();
    }

    function epoch() external view returns (uint256) {
        return treasury.epoch();
    }

    function nextEpochPoint() external view returns (uint256) {
        return treasury.nextEpochPoint();
    }

    function getWlrsPrice() external view returns (uint256) {
        return treasury.getWlrsPrice();
    }

    // =========== Member getters

    function rewardPerShare() public view returns (uint256) {
        return getLatestSnapshot().rewardPerShare;
    }

    function earned(address member) public view returns (uint256) {
        uint256 latestRPS = getLatestSnapshot().rewardPerShare;
        uint256 storedRPS = getLastSnapshotOf(member).rewardPerShare;

        return balanceOf(member).mul(latestRPS.sub(storedRPS)).div(1e18).add(members[member].rewardEarned);
    }

    /* ========== MUTATIVE FUNCTIONS ========== */

    function stake(uint256 amount) public override onlyOneBlock updateReward(msg.sender) {
        require(amount > 0, "Boardroom: Cannot stake 0");
        super.stake(amount);
        members[msg.sender].epochTimerStart = treasury.epoch(); // reset timer
        emit Staked(msg.sender, amount);
    }

    function withdraw(uint256 amount) public override onlyOneBlock memberExists updateReward(msg.sender) {
        require(amount > 0, "Boardroom: Cannot withdraw 0");
        require(members[msg.sender].epochTimerStart.add(withdrawLockupEpochs) <= treasury.epoch(), "Boardroom: still in withdraw lockup");
        claimReward();
        super.withdraw(amount);
        emit Withdrawn(msg.sender, amount);
    }

    function exit() external {
        withdraw(balanceOf(msg.sender));
    }

    function claimReward() public updateReward(msg.sender) {
        uint256 reward = members[msg.sender].rewardEarned;
        if (reward > 0) {
            require(members[msg.sender].epochTimerStart.add(rewardLockupEpochs) <= treasury.epoch(), "Boardroom: still in reward lockup");
            members[msg.sender].epochTimerStart = treasury.epoch(); // reset timer
            members[msg.sender].rewardEarned = 0;
            wlrs.safeTransfer(msg.sender, reward);
            emit RewardPaid(msg.sender, reward);
        }
    }

    function allocateSeigniorage(uint256 amount) external onlyOneBlock onlyOperator {
        require(amount > 0, "Boardroom: Cannot allocate 0");
        require(totalSupply() > 0, "Boardroom: Cannot allocate when totalSupply is 0");

        // Create & add new snapshot
        uint256 prevRPS = getLatestSnapshot().rewardPerShare;
        uint256 nextRPS = prevRPS.add(amount.mul(1e18).div(totalSupply()));

        BoardroomSnapshot memory newSnapshot = BoardroomSnapshot({time: block.number, rewardReceived: amount, rewardPerShare: nextRPS});
        boardroomHistory.push(newSnapshot);

        wlrs.safeTransferFrom(msg.sender, address(this), amount);
        emit RewardAdded(msg.sender, amount);
    }

    function governanceRecoverUnsupported(
        IERC20 _token,
        uint256 _amount,
        address _to
    ) external onlyOperator {
        // do not allow to drain core tokens
        require(address(_token) != address(wlrs), "wlrs");
        require(address(_token) != address(share), "share");
        _token.safeTransfer(_to, _amount);
    }
}

File 2 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

File 3 of 8 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity 0.6.12;

contract ContractGuard {
    mapping(uint256 => mapping(address => bool)) private _status;

    function checkSameOriginReentranted() internal view returns (bool) {
        return _status[block.number][tx.origin];
    }

    function checkSameSenderReentranted() internal view returns (bool) {
        return _status[block.number][msg.sender];
    }

    modifier onlyOneBlock() {
        require(!checkSameOriginReentranted(), "ContractGuard: one block, one function");
        require(!checkSameSenderReentranted(), "ContractGuard: one block, one function");

        _;

        _status[block.number][tx.origin] = true;
        _status[block.number][msg.sender] = true;
    }
}

File 5 of 8 : IBasisAsset.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

interface IBasisAsset {
    function mint(address recipient, uint256 amount) external returns (bool);

    function burn(uint256 amount) external;

    function burnFrom(address from, uint256 amount) external;

    function isOperator() external returns (bool);

    function operator() external view returns (address);

    function transferOperator(address newOperator_) external;
}

File 6 of 8 : ITreasury.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

interface ITreasury {
    function epoch() external view returns (uint256);

    function nextEpochPoint() external view returns (uint256);

    function getWlrsPrice() external view returns (uint256);

    function buyBonds(uint256 amount, uint256 targetPrice) external;

    function redeemBonds(uint256 amount, uint256 targetPrice) external;
}

File 7 of 8 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

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

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

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"executor","type":"address"},{"indexed":false,"internalType":"uint256","name":"at","type":"uint256"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"allocateSeigniorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"boardroomHistory","outputs":[{"internalType":"uint256","name":"time","type":"uint256"},{"internalType":"uint256","name":"rewardReceived","type":"uint256"},{"internalType":"uint256","name":"rewardPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"member","type":"address"}],"name":"canClaimReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"member","type":"address"}],"name":"canWithdraw","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"member","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"epoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"member","type":"address"}],"name":"getLastSnapshotIndexOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWlrsPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"governanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_wlrs","type":"address"},{"internalType":"contract IERC20","name":"_share","type":"address"},{"internalType":"contract ITreasury","name":"_treasury","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestSnapshotIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"members","outputs":[{"internalType":"uint256","name":"lastSnapshotIndex","type":"uint256"},{"internalType":"uint256","name":"rewardEarned","type":"uint256"},{"internalType":"uint256","name":"epochTimerStart","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextEpochPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardLockupEpochs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawLockupEpochs","type":"uint256"},{"internalType":"uint256","name":"_rewardLockupEpochs","type":"uint256"}],"name":"setLockUp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"share","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"contract ITreasury","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawLockupEpochs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlrs","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040526004805460ff60a01b1916905534801561001d57600080fd5b50611fbc8061002d6000396000f3fe608060405234801561001057600080fd5b50600436106101ce5760003560e01c8063570ca73511610104578063a8d5fd65116100a2578063c0c53b8b11610071578063c0c53b8b14610457578063c58e38431461048f578063c5967c26146104ac578063e9fad8ee146104b4576101ce565b8063a8d5fd6514610419578063b3ab15fb14610421578063b88a802f14610447578063bc48283d1461044f576101ce565b8063714b4658116100de578063714b4658146103b1578063900cf0cf146103d757806397ffe1d7146103df578063a694fc3a146103fc576101ce565b8063570ca7351461037b57806361d027b31461038357806370a082311461038b576101ce565b80631e85cd651161017157806333d50f021161014b57806333d50f02146103115780633f9e3f0414610335578063446a2ec81461033d57806354575af414610345576101ce565b80631e85cd65146102c75780632e1a7d4d146102cf5780632ffaaa09146102ee576101ce565b806308ae4b0c116101ad57806308ae4b0c1461024d578063158ef93e1461029157806318160ddd1461029957806319262d30146102a1576101ce565b80628cc262146101d3578063022ba18d1461020b578063046335d014610213575b600080fd5b6101f9600480360360208110156101e957600080fd5b50356001600160a01b03166104bc565b60408051918252519081900360200190f35b6101f961053d565b6102396004803603602081101561022957600080fd5b50356001600160a01b0316610543565b604080519115158252519081900360200190f35b6102736004803603602081101561026357600080fd5b50356001600160a01b03166105e4565b60408051938452602084019290925282820152519081900360600190f35b610239610605565b6101f9610615565b610239600480360360208110156102b757600080fd5b50356001600160a01b031661061b565b6101f96106b4565b6102ec600480360360208110156102e557600080fd5b50356106ba565b005b6102ec6004803603604081101561030457600080fd5b50803590602001356109d4565b610319610a74565b604080516001600160a01b039092168252519081900360200190f35b6101f9610a83565b6101f9610a99565b6102ec6004803603606081101561035b57600080fd5b506001600160a01b03813581169160208101359160409091013516610aac565b610319610ba5565b610319610bb4565b6101f9600480360360208110156103a157600080fd5b50356001600160a01b0316610bc3565b6101f9600480360360208110156103c757600080fd5b50356001600160a01b0316610bde565b6101f9610bf9565b6102ec600480360360208110156103f557600080fd5b5035610c6f565b6102ec6004803603602081101561041257600080fd5b5035610f53565b6103196111d8565b6102ec6004803603602081101561043757600080fd5b50356001600160a01b03166111e7565b6102ec611252565b6101f96114c9565b6102ec6004803603606081101561046d57600080fd5b506001600160a01b03813581169160208101358216916040909101351661150e565b610273600480360360208110156104a557600080fd5b50356116c2565b6101f96116f2565b6102ec611737565b6000806104c761174a565b60400151905060006104d8846117a2565b6040908101516001600160a01b0386166000908152600760205291909120600101549091506105359061052f670de0b6b3a764000061052961051a87876117fd565b6105238a610bc3565b9061185f565b906118bf565b90611926565b949350505050565b600a5481565b6006546040805163900cf0cf60e01b815290516000926001600160a01b03169163900cf0cf916004808301926020929190829003018186803b15801561058857600080fd5b505afa15801561059c573d6000803e3d6000fd5b505050506040513d60208110156105b257600080fd5b5051600a546001600160a01b0384166000908152600760205260409020600201546105dc91611926565b111592915050565b60076020526000908152604090208054600182015460029092015490919083565b600454600160a01b900460ff1681565b60015490565b6006546040805163900cf0cf60e01b815290516000926001600160a01b03169163900cf0cf916004808301926020929190829003018186803b15801561066057600080fd5b505afa158015610674573d6000803e3d6000fd5b505050506040513d602081101561068a57600080fd5b50516009546001600160a01b0384166000908152600760205260409020600201546105dc91611926565b60095481565b6106c2611980565b156106fe5760405162461bcd60e51b8152600401808060200182810382526026815260200180611f2b6026913960400191505060405180910390fd5b6107066119a1565b156107425760405162461bcd60e51b8152600401808060200182810382526026815260200180611f2b6026913960400191505060405180910390fd5b600061074d33610bc3565b116107895760405162461bcd60e51b8152600401808060200182810382526024815260200180611e006024913960400191505060405180910390fd5b33801561082357610798611dde565b506001600160a01b03811660009081526007602090815260409182902082516060810184528154815260018201549281019290925260020154918101919091526107e1826104bc565b60208201526107ee610a83565b81526001600160a01b038216600090815260076020908152604091829020835181559083015160018201559101516002909101555b60008211610878576040805162461bcd60e51b815260206004820152601c60248201527f426f617264726f6f6d3a2043616e6e6f74207769746864726177203000000000604482015290519081900360640190fd5b600660009054906101000a90046001600160a01b03166001600160a01b031663900cf0cf6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108c657600080fd5b505afa1580156108da573d6000803e3d6000fd5b505050506040513d60208110156108f057600080fd5b50516009543360009081526007602052604090206002015461091191611926565b111561094e5760405162461bcd60e51b8152600401808060200182810382526023815260200180611ede6023913960400191505060405180910390fd5b610956611252565b61095f826119c2565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250504360009081526003602090815260408083203284529091528082208054600160ff1991821681179092553384529190922080549091169091179055565b6004546001600160a01b03163314610a1d5760405162461bcd60e51b8152600401808060200182810382526025815260200180611eb96025913960400191505060405180910390fd5b808210158015610a2e575060388211155b610a695760405162461bcd60e51b8152600401808060200182810382526023815260200180611e966023913960400191505060405180910390fd5b600991909155600a55565b6005546001600160a01b031681565b600854600090610a949060016117fd565b905090565b6000610aa361174a565b60400151905090565b6004546001600160a01b03163314610af55760405162461bcd60e51b8152600401808060200182810382526025815260200180611eb96025913960400191505060405180910390fd5b6005546001600160a01b0384811691161415610b41576040805162461bcd60e51b81526020600480830191909152602482015263776c727360e01b604482015290519081900360640190fd5b6000546001600160a01b0384811691161415610b8c576040805162461bcd60e51b8152602060048201526005602482015264736861726560d81b604482015290519081900360640190fd5b610ba06001600160a01b0384168284611a52565b505050565b6004546001600160a01b031681565b6006546001600160a01b031681565b6001600160a01b031660009081526002602052604090205490565b6001600160a01b031660009081526007602052604090205490565b6006546040805163900cf0cf60e01b815290516000926001600160a01b03169163900cf0cf916004808301926020929190829003018186803b158015610c3e57600080fd5b505afa158015610c52573d6000803e3d6000fd5b505050506040513d6020811015610c6857600080fd5b5051905090565b610c77611980565b15610cb35760405162461bcd60e51b8152600401808060200182810382526026815260200180611f2b6026913960400191505060405180910390fd5b610cbb6119a1565b15610cf75760405162461bcd60e51b8152600401808060200182810382526026815260200180611f2b6026913960400191505060405180910390fd5b6004546001600160a01b03163314610d405760405162461bcd60e51b8152600401808060200182810382526025815260200180611eb96025913960400191505060405180910390fd5b60008111610d95576040805162461bcd60e51b815260206004820152601c60248201527f426f617264726f6f6d3a2043616e6e6f7420616c6c6f63617465203000000000604482015290519081900360640190fd5b6000610d9f610615565b11610ddb5760405162461bcd60e51b8152600401808060200182810382526030815260200180611e246030913960400191505060405180910390fd5b6000610de561174a565b6040015190506000610e14610e0d610dfb610615565b61052986670de0b6b3a764000061185f565b8390611926565b9050610e1e611dde565b5060408051606081018252438152602081018581529181018381526008805460018101825560009190915282517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee360039092029182015592517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee4840155517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee590920191909155600554610edc906001600160a01b0316333087611aa4565b60408051858152905133917fac24935fd910bc682b5ccb1a07b718cadf8cf2f6d1404c4f3ddc3662dae40e29919081900360200190a250504360009081526003602090815260408083203284529091528082208054600160ff19918216811790925533845291909220805490911690911790555050565b610f5b611980565b15610f975760405162461bcd60e51b8152600401808060200182810382526026815260200180611f2b6026913960400191505060405180910390fd5b610f9f6119a1565b15610fdb5760405162461bcd60e51b8152600401808060200182810382526026815260200180611f2b6026913960400191505060405180910390fd5b33801561107557610fea611dde565b506001600160a01b0381166000908152600760209081526040918290208251606081018452815481526001820154928101929092526002015491810191909152611033826104bc565b6020820152611040610a83565b81526001600160a01b038216600090815260076020908152604091829020835181559083015160018201559101516002909101555b600082116110ca576040805162461bcd60e51b815260206004820152601960248201527f426f617264726f6f6d3a2043616e6e6f74207374616b65203000000000000000604482015290519081900360640190fd5b6110d382611b04565b600660009054906101000a90046001600160a01b03166001600160a01b031663900cf0cf6040518163ffffffff1660e01b815260040160206040518083038186803b15801561112157600080fd5b505afa158015611135573d6000803e3d6000fd5b505050506040513d602081101561114b57600080fd5b505133600081815260076020908152604091829020600201939093558051858152905191927f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d92918290030190a250504360009081526003602090815260408083203284529091528082208054600160ff1991821681179092553384529190922080549091169091179055565b6000546001600160a01b031681565b6004546001600160a01b031633146112305760405162461bcd60e51b8152600401808060200182810382526025815260200180611eb96025913960400191505060405180910390fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b3380156112ec57611261611dde565b506001600160a01b03811660009081526007602090815260409182902082516060810184528154815260018201549281019290925260020154918101919091526112aa826104bc565b60208201526112b7610a83565b81526001600160a01b038216600090815260076020908152604091829020835181559083015160018201559101516002909101555b3360009081526007602052604090206001015480156114c557600660009054906101000a90046001600160a01b03166001600160a01b031663900cf0cf6040518163ffffffff1660e01b815260040160206040518083038186803b15801561135357600080fd5b505afa158015611367573d6000803e3d6000fd5b505050506040513d602081101561137d57600080fd5b5051600a543360009081526007602052604090206002015461139e91611926565b11156113db5760405162461bcd60e51b8152600401808060200182810382526021815260200180611e756021913960400191505060405180910390fd5b600660009054906101000a90046001600160a01b03166001600160a01b031663900cf0cf6040518163ffffffff1660e01b815260040160206040518083038186803b15801561142957600080fd5b505afa15801561143d573d6000803e3d6000fd5b505050506040513d602081101561145357600080fd5b5051336000818152600760205260408120600281019390935560019092019190915560055461148e916001600160a01b039091169083611a52565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b6006546040805163bc48283d60e01b815290516000926001600160a01b03169163bc48283d916004808301926020929190829003018186803b158015610c3e57600080fd5b600454600160a01b900460ff161561156d576040805162461bcd60e51b815260206004820152601e60248201527f426f617264726f6f6d3a20616c726561647920696e697469616c697a65640000604482015290519081900360640190fd5b600580546001600160a01b038086166001600160a01b0319928316179092556000805485841690831617905560068054928416929091169190911790556115b2611dde565b50604080516060810182524380825260006020808401828152848601838152600880546001810182559452855160039094027ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee381019490945590517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee4840155517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee59092019190915560066009556004600a81905580546001600160a01b031960ff60a01b19909116600160a01b171633908117909155845192835293519293927f25ff68dd81b34665b5ba7e553ee5511bf6812e12adb4a7e2c0d9e26b3099ce799281900390910190a250505050565b600881815481106116cf57fe5b600091825260209091206003909102018054600182015460029092015490925083565b600654604080516362cb3e1360e11b815290516000926001600160a01b03169163c5967c26916004808301926020929190829003018186803b158015610c3e57600080fd5b61174861174333610bc3565b6106ba565b565b611752611dde565b600861175c610a83565b8154811061176657fe5b90600052602060002090600302016040518060600160405290816000820154815260200160018201548152602001600282015481525050905090565b6117aa611dde565b60086117b583610bde565b815481106117bf57fe5b906000526020600020906003020160405180606001604052908160008201548152602001600182015481526020016002820154815250509050919050565b600082821115611854576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b508082035b92915050565b60008261186e57506000611859565b8282028284828161187b57fe5b04146118b85760405162461bcd60e51b8152600401808060200182810382526021815260200180611e546021913960400191505060405180910390fd5b9392505050565b6000808211611915576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161191e57fe5b049392505050565b6000828201838110156118b8576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b43600090815260036020908152604080832032845290915290205460ff1690565b43600090815260036020908152604080832033845290915290205460ff1690565b3360009081526002602052604090205481811015611a115760405162461bcd60e51b8152600401808060200182810382526036815260200180611f516036913960400191505060405180910390fd5b600154611a1e90836117fd565b600155611a2b81836117fd565b3360008181526002602052604081209290925590546114c5916001600160a01b0390911690845b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ba0908490611b5d565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611afe908590611b5d565b50505050565b600154611b119082611926565b60015533600090815260026020526040902054611b2e9082611926565b336000818152600260205260408120929092559054611b5a916001600160a01b03909116903084611aa4565b50565b6060611bb2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611c0e9092919063ffffffff16565b805190915015610ba057808060200190516020811015611bd157600080fd5b5051610ba05760405162461bcd60e51b815260040180806020018281038252602a815260200180611f01602a913960400191505060405180910390fd5b6060610535848460008585611c2285611d34565b611c73576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611cb25780518252601f199092019160209182019101611c93565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611d14576040519150601f19603f3d011682016040523d82523d6000602084013e611d19565b606091505b5091509150611d29828286611d3a565b979650505050505050565b3b151590565b60608315611d495750816118b8565b825115611d595782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611da3578181015183820152602001611d8b565b50505050905090810190601f168015611dd05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040518060600160405280600081526020016000815260200160008152509056fe426f617264726f6f6d3a20546865206d656d62657220646f6573206e6f74206578697374426f617264726f6f6d3a2043616e6e6f7420616c6c6f63617465207768656e20746f74616c537570706c792069732030536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77426f617264726f6f6d3a207374696c6c20696e20726577617264206c6f636b75705f77697468647261774c6f636b757045706f6368733a206f7574206f662072616e6765426f617264726f6f6d3a2063616c6c6572206973206e6f7420746865206f70657261746f72426f617264726f6f6d3a207374696c6c20696e207769746864726177206c6f636b75705361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564436f6e747261637447756172643a206f6e6520626c6f636b2c206f6e652066756e6374696f6e426f617264726f6f6d3a20776974686472617720726571756573742067726561746572207468616e207374616b656420616d6f756e74a26469706673582212203b4dfca5f8de7dcc3764c63edf19054aa2b6ce4d4cb32517d985b27c63f6dc7b64736f6c634300060c0033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.