ETH Price: $3,395.73 (-0.65%)
Gas: 13 Gwei

Contract

0x7c7b924b4eaed3DA875Bc792b5C1a0b33d118047
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Get Reward201698532024-06-25 16:20:3523 days ago1719332435IN
zLOT.Finance: zGovernance
0 ETH0.0015566717.06188128
Get Reward201697922024-06-25 16:08:2323 days ago1719331703IN
zLOT.Finance: zGovernance
0 ETH0.0010704716.49315981
Exit192867432024-02-23 0:32:35146 days ago1708648355IN
zLOT.Finance: zGovernance
0 ETH0.0013180957.30842024
Get Reward192867372024-02-23 0:31:23146 days ago1708648283IN
zLOT.Finance: zGovernance
0 ETH0.0032341367.65406359
Get Reward180773682023-09-06 12:21:35316 days ago1694002895IN
zLOT.Finance: zGovernance
0 ETH0.0016263522.54530478
Withdraw171069212023-04-23 5:25:11452 days ago1682227511IN
zLOT.Finance: zGovernance
0 ETH0.0020739832
Get Reward171068862023-04-23 5:18:11452 days ago1682227091IN
zLOT.Finance: zGovernance
0 ETH0.0029448233
Withdraw163068422022-12-31 19:29:59564 days ago1672514999IN
zLOT.Finance: zGovernance
0 ETH0.0011777413.45990219
Get Reward162714012022-12-26 20:45:35569 days ago1672087535IN
zLOT.Finance: zGovernance
0 ETH0.0008984510.07837065
Withdraw161348762022-12-07 19:20:23588 days ago1670440823IN
zLOT.Finance: zGovernance
0 ETH0.0014547316.62096749
Withdraw158908272022-11-03 16:56:59623 days ago1667494619IN
zLOT.Finance: zGovernance
0 ETH0.0027228326.02499924
Withdraw158645912022-10-31 0:54:35626 days ago1667177675IN
zLOT.Finance: zGovernance
0 ETH0.000438055.34631232
Get Reward158645772022-10-31 0:51:47626 days ago1667177507IN
zLOT.Finance: zGovernance
0 ETH0.000459036.10175328
Withdraw158285942022-10-26 0:14:59631 days ago1666743299IN
zLOT.Finance: zGovernance
0 ETH0.0011078812
Get Reward158238992022-10-25 8:27:35632 days ago1666686455IN
zLOT.Finance: zGovernance
0 ETH0.0009123710
Withdraw158222872022-10-25 3:03:59632 days ago1666667039IN
zLOT.Finance: zGovernance
0 ETH0.0009255811.29808593
Get Reward158222582022-10-25 2:58:11632 days ago1666666691IN
zLOT.Finance: zGovernance
0 ETH0.0013645612.83241806
Stake158036392022-10-22 12:26:23635 days ago1666441583IN
zLOT.Finance: zGovernance
0 ETH0.0016654318.63819922
Withdraw158036172022-10-22 12:21:47635 days ago1666441307IN
zLOT.Finance: zGovernance
0 ETH0.0009957115.36602699
Get Reward158035882022-10-22 12:15:59635 days ago1666440959IN
zLOT.Finance: zGovernance
0 ETH0.0014006715.69614818
Exit157286182022-10-12 1:02:35645 days ago1665536555IN
zLOT.Finance: zGovernance
0 ETH0.0014149519.49244644
Stake157279542022-10-11 22:49:11645 days ago1665528551IN
zLOT.Finance: zGovernance
0 ETH0.0029150825.5584056
Exit151025432022-07-08 14:50:55741 days ago1657291855IN
zLOT.Finance: zGovernance
0 ETH0.0133504787.29739386
Withdraw150681762022-07-03 7:23:52746 days ago1656833032IN
zLOT.Finance: zGovernance
0 ETH0.0011764314.36010904
Get Reward150680292022-07-03 6:53:36746 days ago1656831216IN
zLOT.Finance: zGovernance
0 ETH0.0019004421.29665889
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:
zGovernance

Compiler Version
v0.6.8+commit.0bbfe453

Optimization Enabled:
Yes with 200 runs

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

pragma solidity >=0.6.8;

import '@openzeppelin/contracts/math/Math.sol';
import './IRewardDistributionRecipient.sol';
import './zLOTTokenWrapper.sol';

contract zGovernance is zLOTTokenWrapper, IRewardDistributionRecipient {
  uint256 public constant DURATION = 7 days;

  IERC20 public zToken;
  uint256 public periodFinish = 0;
  uint256 public rewardRate = 0;
  uint256 public lastUpdateTime = 0;
  uint256 public rewardPerTokenStored = 0;
  mapping(address => uint256) public userRewardPerTokenPaid;
  mapping(address => uint256) public rewards;
  mapping(address => uint256) public totalEarnedRewards;

  event RewardAdded(uint256 reward);
  event Staked(address indexed user, uint256 amount);
  event Withdrawn(address indexed user, uint256 amount);
  event RewardPaid(address indexed user, uint256 reward, uint256 totalEarnedRewards);

  constructor (address _zLOT, address _zToken) public zLOTTokenWrapper(_zLOT) {
    zToken = IERC20(_zToken);
  }

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

  function lastTimeRewardApplicable() public view returns (uint256) {
    return Math.min(block.timestamp, periodFinish);
  }

  function rewardPerToken() public view returns (uint256) {
    if (totalSupply() == 0) {
      return rewardPerTokenStored;
    }
    return
      rewardPerTokenStored.add(
        lastTimeRewardApplicable()
          .sub(lastUpdateTime)
          .mul(rewardRate)
          .mul(1e18)
          .div(totalSupply())
      );
  }

  function earned(address account) public view returns (uint256) {
    return
      balanceOf(account)
        .mul(rewardPerToken().sub(userRewardPerTokenPaid[account]))
        .div(1e18)
        .add(rewards[account]);
  }

  function stake(uint256 amount) override public updateReward(msg.sender) {
    require(amount > 0, 'zGovernance::stake::cant-stake-0');
    super.stake(amount);
    emit Staked(msg.sender, amount);
  }

  function withdraw(uint256 amount) override public updateReward(msg.sender) {
    require(amount > 0, 'zGovernance::withdraw::cant-withdraw-0');
    super.withdraw(amount);
    emit Withdrawn(msg.sender, amount);
  }

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

  function getReward() public updateReward(msg.sender) {
    uint256 reward = earned(msg.sender);
    if (reward > 0) {
      rewards[msg.sender] = 0;
      totalEarnedRewards[msg.sender] = totalEarnedRewards[msg.sender].add(reward);
      zToken.safeTransfer(msg.sender, reward);
      emit RewardPaid(msg.sender, reward, totalEarnedRewards[msg.sender]);
    }
  }

  function notifyRewardAmount(uint256 reward)
    external
    override
    onlyRewardDistribution
    updateReward(address(0))
  {
    IERC20(zToken).safeTransferFrom(msg.sender, address(this), reward);
    if (block.timestamp >= periodFinish) {
      rewardRate = reward.div(DURATION);
    } else {
      uint256 remaining = periodFinish.sub(block.timestamp);
      uint256 leftover = remaining.mul(rewardRate);
      rewardRate = reward.add(leftover).div(DURATION);
    }
    lastUpdateTime = block.timestamp;
    periodFinish = block.timestamp.add(DURATION);
    emit RewardAdded(reward);
  }
}

File 2 of 19 : CollectableDust.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.8;

import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/EnumerableSet.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';

import '../interfaces/ICollectableDust.sol';

abstract
contract CollectableDust is ICollectableDust {
  using EnumerableSet for EnumerableSet.AddressSet;

  address public constant ETH_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
  EnumerableSet.AddressSet internal protocolTokens;

  constructor() public {}

  function _addProtocolToken(address _token) internal {
    require(!protocolTokens.contains(_token), 'collectable-dust/token-is-part-of-the-protocol');
    protocolTokens.add(_token);
  }

  function _removeProtocolToken(address _token) internal {
    require(protocolTokens.contains(_token), 'collectable-dust/token-not-part-of-the-protocol');
    protocolTokens.remove(_token);
  }

  function _sendDust(
    address _to,
    address _token,
    uint256 _amount
  ) internal {
    require(_to != address(0), 'collectable-dust/cant-send-dust-to-zero-address');
    require(!protocolTokens.contains(_token), 'collectable-dust/token-is-part-of-the-protocol');
    if (_token == ETH_ADDRESS) {
      payable(_to).transfer(_amount);
    } else {
      IERC20(_token).transfer(_to, _amount);
    }
    emit DustSent(_to, _token, _amount);
  }
}

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

pragma solidity ^0.6.2;

/**
 * @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 in 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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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

pragma solidity ^0.6.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

File 5 of 19 : IERC20.sol
// SPDX-License-Identifier: MIT

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 6 of 19 : ICollectableDust.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.8;

interface ICollectableDust {
  event DustSent(address _to, address token, uint256 amount);

  function sendDust(address _to, address _token, uint256 _amount) external;
}

File 7 of 19 : zTreasury.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.8;

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

import '../../interfaces/zTreasury/IZTreasury.sol';

import '../Governable.sol';
import '../CollectableDust.sol';

import './zTreasuryProtocolParameters.sol';

contract zTreasury is 
  Governable, 
  CollectableDust,
  zTreasuryProtocolParameters, 
  IZTreasury {

  using SafeERC20 for IERC20;

  uint256 public override lastEarningsDistribution = 0;
  uint256 public override totalEarningsDistributed = 0;
  
  constructor(
    address _governor,
    address _zGov,
    address _maintainer,
    address _zToken,
    uint256 _maintainerShare,
    uint256 _governanceShare
  ) public 
    zTreasuryProtocolParameters(
      _zGov, 
      _maintainer, 
      _zToken,
      _maintainerShare,
      _governanceShare
    )
    CollectableDust()
    Governable(_governor) { // governor = timelock
    
    _addProtocolToken(_zToken);
  }
  
  function distributeEarnings() external override {

    uint256 _balance = zToken.balanceOf(address(this));
    
    // Send zToken to maintainer
    uint256 _maintainerEarnings = _balance.mul(maintainerShare).div(SHARES_PRECISION).div(100);
    zToken.safeTransfer(maintainer, _maintainerEarnings);

    // Send zToken to zGov
    uint256 _governanceEarnings = _balance.sub(_maintainerEarnings);
    zToken.safeApprove(address(zGov), 0);
    zToken.safeApprove(address(zGov), _governanceEarnings);

    // Notify governance reward amount to distribute
    zGov.notifyRewardAmount(_governanceEarnings);

    // Set last time distributed
    lastEarningsDistribution = block.timestamp;
    totalEarningsDistributed = totalEarningsDistributed.add(_balance);

    // Emit event
    emit EarningsDistributed(_maintainerEarnings, _governanceEarnings, totalEarningsDistributed);
  }

  // zTreasuryProtocolParameters
  function setZGov(address _zGov) external override onlyGovernor {
    _setZGov(_zGov);
  }

  function setMaintainer(address _maintainer) external override onlyGovernor {
    _setMaintainer(_maintainer);
  }

  function setZToken(address _zToken) external override onlyGovernor {
    require(address(zToken) != _zToken, 'zTreasury::setZToken::same-ztoken');
    _removeProtocolToken(address(zToken));
    _addProtocolToken(address(_zToken));
    _setZToken(_zToken);
  }

  function setShares(uint256 _maintainerShare, uint256 _governanceShare) external override onlyGovernor {
    _setShares(_maintainerShare, _governanceShare);
  }

  // Governable
  function setPendingGovernor(address _pendingGovernor) external override onlyGovernor {
    _setPendingGovernor(_pendingGovernor);
  }

  function acceptGovernor() external override onlyPendingGovernor {
    _acceptGovernor();
  }

  // Collectable Dust
  function sendDust(
    address _to,
    address _token,
    uint256 _amount
  ) external override onlyGovernor {
    _sendDust(_to, _token, _amount);
  }
}

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

pragma solidity ^0.6.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 9 of 19 : IZTreasury.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.8;

import './IZTreasuryProtocolParameters.sol';

interface IZTreasury is IZTreasuryProtocolParameters {
  event EarningsDistributed(
    uint256 maintainerRewards, 
    uint256 governanceRewards, 
    uint256 totalEarningsDistributed
  );

  function lastEarningsDistribution() external returns (uint256);
  function totalEarningsDistributed() external returns (uint256);
  function distributeEarnings() external;
}

File 10 of 19 : Governable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.8;

import '../interfaces/IGovernable.sol';

abstract
contract Governable is IGovernable {
  address public governor;
  address public pendingGovernor;

  constructor(address _governor) public {
    require(_governor != address(0), 'governable/governor-should-not-be-zero-address');
    governor = _governor;
  }

  function _setPendingGovernor(address _pendingGovernor) internal {
    require(_pendingGovernor != address(0), 'governable/pending-governor-should-not-be-zero-addres');
    pendingGovernor = _pendingGovernor;
    emit PendingGovernorSet(_pendingGovernor);
  }

  function _acceptGovernor() internal {
    governor = pendingGovernor;
    pendingGovernor = address(0);
    emit GovernorAccepted();
  }

  modifier onlyGovernor {
    require(msg.sender == governor, 'governable/only-governor');
    _;
  }

  modifier onlyPendingGovernor {
    require(msg.sender == pendingGovernor, 'governable/only-pending-governor');
    _;
  }
}

File 11 of 19 : zTreasuryProtocolParameters.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.8;

import '@openzeppelin/contracts/math/SafeMath.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';

import '../../interfaces/zTreasury/IZTreasuryProtocolParameters.sol';

abstract
contract zTreasuryProtocolParameters is IZTreasuryProtocolParameters {
  using SafeMath for uint256;
  
  uint256 public constant override SHARES_PRECISION = 10000;
  uint256 public constant override MAX_MAINTAINER_SHARE = 25 * SHARES_PRECISION;

  IERC20 public override zToken; // zhegic
  zGovernance public override zGov; // zgov

  address public override maintainer;

  uint256 public override maintainerShare;
  uint256 public override governanceShare;
  
  constructor(
    address _zGov,
    address _maintainer,
    address _zToken,
    uint256 _maintainerShare,
    uint256 _governanceShare
  ) public {
    _setZGov(_zGov);
    _setMaintainer(_maintainer);
    _setZToken(_zToken);
    _setShares(_maintainerShare, _governanceShare);
  }
  
  function _setZGov(address _zGov) internal {
    require(_zGov != address(0), 'zTreasuryProtocolParameters::_setZGov::no-zero-address');
    zGov = zGovernance(_zGov);
    emit ZGovSet(_zGov);
  }

  function _setMaintainer(address _maintainer) internal {
    require(_maintainer != address(0), 'zTreasuryProtocolParameters::_setMaintainer::no-zero-address');
    maintainer = _maintainer;
    emit MaintainerSet(_maintainer);
  }

  function _setZToken(address _zToken) internal {
    require(_zToken != address(0), 'zTreasuryProtocolParameters::_setZToken::no-zero-address');
    zToken = IERC20(_zToken);
    emit ZTokenSet(_zToken);
  }

  function _setShares(uint256 _maintainerShare, uint256 _governanceShare) internal {
    require(_maintainerShare.add(_governanceShare) == SHARES_PRECISION.mul(100), 'zTreasuryProtocolParameters::_setShares::not-100-percent');
    require(_maintainerShare <= MAX_MAINTAINER_SHARE, 'zTreasuryProtocolParameters::_setShares::exceeds-max-mantainer-share');
    maintainerShare = _maintainerShare;
    governanceShare = _governanceShare;
    emit SharesSet(_maintainerShare, _governanceShare);
  }
}

File 12 of 19 : SafeMath.sol
// SPDX-License-Identifier: MIT

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 13 of 19 : IZTreasuryProtocolParameters.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.8;

import '@openzeppelin/contracts/token/ERC20/IERC20.sol';

interface zGovernance {
  function notifyRewardAmount(uint) external;
}

interface IZTreasuryProtocolParameters {
  event ZGovSet(address zGov);
  event MaintainerSet(address maintainer);
  event ZTokenSet(address zToken);
  event SharesSet(uint256 maintainerShare, uint256 governanceShare);

  function zToken() external returns (IERC20); // zhegic

  function zGov() external returns (zGovernance); // zgov rewards
  function maintainer() external returns (address);

  function SHARES_PRECISION() external returns (uint256);
  function MAX_MAINTAINER_SHARE() external returns (uint256);
  function maintainerShare() external returns (uint256);
  function governanceShare() external returns (uint256);

  function setZGov(address _zGov) external;
  function setMaintainer(address _maintainer) external;
  function setZToken(address _zToken) external;
  function setShares(uint256 _maintainerShare, uint256 _governanceShare) external;
}

File 14 of 19 : IGovernable.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.8;

interface IGovernable {
  event PendingGovernorSet(address pendingGovernor);
  event GovernorAccepted();

  function setPendingGovernor(address _pendingGovernor) external;
  function acceptGovernor() external;
}

File 15 of 19 : zLOTTokenWrapper.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.8;

import '@openzeppelin/contracts/math/SafeMath.sol';
import '@openzeppelin/contracts/token/ERC20/SafeERC20.sol';

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

  IERC20 public zLOT;

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

  constructor(address _zLOT) public {
    zLOT = IERC20(_zLOT);
  }

  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);
    zLOT.safeTransferFrom(msg.sender, address(this), amount);
  }

  function withdraw(uint256 amount) public virtual {
    _totalSupply = _totalSupply.sub(amount);
    _balances[msg.sender] = _balances[msg.sender].sub(amount);
    zLOT.safeTransfer(msg.sender, amount);
  }
}

File 16 of 19 : Math.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

File 17 of 19 : IRewardDistributionRecipient.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.8;

import '@openzeppelin/contracts/access/Ownable.sol';

abstract contract IRewardDistributionRecipient is Ownable {
  address public rewardDistribution;

  function notifyRewardAmount(uint256 reward) external virtual;

  modifier onlyRewardDistribution() {
    require(_msgSender() == rewardDistribution, 'Caller is not reward distribution');
    _;
  }

  function setRewardDistribution(address _rewardDistribution)
    external
    onlyOwner
  {
    rewardDistribution = _rewardDistribution;
  }
}

File 18 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _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 == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

pragma solidity ^0.6.0;

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

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_zLOT","type":"address"},{"internalType":"address","name":"_zToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"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"},{"indexed":false,"internalType":"uint256","name":"totalEarnedRewards","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":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardDistribution","type":"address"}],"name":"setRewardDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalEarnedRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zLOT","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"zToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6080604052600060065560006007556000600855600060095534801561002457600080fd5b506040516113f83803806113f88339818101604052604081101561004757600080fd5b508051602090910151600080546001600160a01b0319166001600160a01b0384161781556100736100e7565b600380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600580546001600160a01b0319166001600160a01b0392909216919091179055506100eb565b3390565b6112fe806100fa6000396000f3fe608060405234801561001057600080fd5b50600436106101725760003560e01c806380faa57d116100de578063c8f33c9111610097578063df136d6511610071578063df136d6514610342578063e9fad8ee1461034a578063ebe2b12b14610352578063f2fde38b1461035a57610172565b8063c8f33c911461032a578063cc7da25714610332578063cd3daf9d1461033a57610172565b806380faa57d146102a95780638b876347146102b15780638da5cb5b146102d75780639c1b49cb146102df5780639cac6f6314610305578063a694fc3a1461030d57610172565b80632e1a7d4d116101305780632e1a7d4d146102315780633c6b16ab1461024e5780633d18b9121461026b57806370a0823114610273578063715018a6146102995780637b0a47ee146102a157610172565b80628cc262146101775780630700037d146101af5780630d68b761146101d5578063101114cf146101fd57806318160ddd146102215780631be0528914610229575b600080fd5b61019d6004803603602081101561018d57600080fd5b50356001600160a01b0316610380565b60408051918252519081900360200190f35b61019d600480360360208110156101c557600080fd5b50356001600160a01b0316610406565b6101fb600480360360208110156101eb57600080fd5b50356001600160a01b0316610418565b005b6102056104a4565b604080516001600160a01b039092168252519081900360200190f35b61019d6104b3565b61019d6104ba565b6101fb6004803603602081101561024757600080fd5b50356104c1565b6101fb6004803603602081101561026457600080fd5b503561059e565b6101fb610736565b61019d6004803603602081101561028957600080fd5b50356001600160a01b031661084c565b6101fb610867565b61019d61091b565b61019d610921565b61019d600480360360208110156102c757600080fd5b50356001600160a01b0316610934565b610205610946565b61019d600480360360208110156102f557600080fd5b50356001600160a01b0316610955565b610205610967565b6101fb6004803603602081101561032357600080fd5b5035610976565b61019d610a69565b610205610a6f565b61019d610a7e565b61019d610ad2565b6101fb610ad8565b61019d610af3565b6101fb6004803603602081101561037057600080fd5b50356001600160a01b0316610af9565b6001600160a01b0381166000908152600b6020908152604080832054600a90925282205461040091906103f490670de0b6b3a7640000906103e8906103d3906103c7610a7e565b9063ffffffff610c0416565b6103dc8861084c565b9063ffffffff610c4d16565b9063ffffffff610ca616565b9063ffffffff610ce816565b92915050565b600b6020526000908152604090205481565b610420610d42565b6003546001600160a01b03908116911614610482576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b6001545b90565b62093a8081565b336104ca610a7e565b6009556104d5610921565b6008556001600160a01b0381161561051c576104f081610380565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b6000821161055b5760405162461bcd60e51b81526004018080602001828103825260268152602001806112376026913960400191505060405180910390fd5b61056482610d46565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b6004546001600160a01b03166105b2610d42565b6001600160a01b0316146105f75760405162461bcd60e51b815260040180806020018281038252602181526020018061127e6021913960400191505060405180910390fd5b6000610601610a7e565b60095561060c610921565b6008556001600160a01b038116156106535761062781610380565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600554610671906001600160a01b031633308563ffffffff610daa16565b60065442106106955761068d8262093a8063ffffffff610ca616565b6007556106e3565b6006546000906106ab904263ffffffff610c0416565b905060006106c460075483610c4d90919063ffffffff16565b90506106dd62093a806103e8868463ffffffff610ce816565b60075550505b4260088190556106fc9062093a8063ffffffff610ce816565b6006556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050565b3361073f610a7e565b60095561074a610921565b6008556001600160a01b038116156107915761076581610380565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600061079c33610380565b9050801561084857336000908152600b60209081526040808320839055600c9091529020546107d1908263ffffffff610ce816565b336000818152600c60205260409020919091556005546107fd916001600160a01b039091169083610e0a565b336000818152600c60209081526040918290205482518581529182015281517fd6f2c8500df5b44f11e9e48b91ff9f1b9d81bc496d55570c2b1b75bf65243f51929181900390910190a25b5050565b6001600160a01b031660009081526002602052604090205490565b61086f610d42565b6003546001600160a01b039081169116146108d1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b60075481565b600061092f42600654610e61565b905090565b600a6020526000908152604090205481565b6003546001600160a01b031690565b600c6020526000908152604090205481565b6005546001600160a01b031681565b3361097f610a7e565b60095561098a610921565b6008556001600160a01b038116156109d1576109a581610380565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b60008211610a26576040805162461bcd60e51b815260206004820181905260248201527f7a476f7665726e616e63653a3a7374616b653a3a63616e742d7374616b652d30604482015290519081900360640190fd5b610a2f82610e77565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b60085481565b6000546001600160a01b031681565b6000610a886104b3565b610a9557506009546104b7565b61092f610ac3610aa36104b3565b6103e8670de0b6b3a76400006103dc6007546103dc6008546103c7610921565b6009549063ffffffff610ce816565b60095481565b610ae9610ae43361084c565b6104c1565b610af1610736565b565b60065481565b610b01610d42565b6003546001600160a01b03908116911614610b63576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610ba85760405162461bcd60e51b81526004018080602001828103825260268152602001806112116026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000610c4683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ed9565b9392505050565b600082610c5c57506000610400565b82820282848281610c6957fe5b0414610c465760405162461bcd60e51b815260040180806020018281038252602181526020018061125d6021913960400191505060405180910390fd5b6000610c4683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610f70565b600082820183811015610c46576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b600154610d59908263ffffffff610c0416565b60015533600090815260026020526040902054610d7c908263ffffffff610c0416565b336000818152600260205260408120929092559054610da7916001600160a01b039091169083610e0a565b50565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610e04908590610fd5565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610e5c908490610fd5565b505050565b6000818310610e705781610c46565b5090919050565b600154610e8a908263ffffffff610ce816565b60015533600090815260026020526040902054610ead908263ffffffff610ce816565b336000818152600260205260408120929092559054610da7916001600160a01b03909116903084610daa565b60008184841115610f685760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610f2d578181015183820152602001610f15565b50505050905090810190601f168015610f5a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183610fbf5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610f2d578181015183820152602001610f15565b506000838581610fcb57fe5b0495945050505050565b606061102a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166110869092919063ffffffff16565b805190915015610e5c5780806020019051602081101561104957600080fd5b5051610e5c5760405162461bcd60e51b815260040180806020018281038252602a81526020018061129f602a913960400191505060405180910390fd5b6060611095848460008561109d565b949350505050565b60606110a88561120a565b6110f9576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106111385780518252601f199092019160209182019101611119565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461119a576040519150601f19603f3d011682016040523d82523d6000602084013e61119f565b606091505b509150915081156111b35791506110959050565b8051156111c35780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315610f2d578181015183820152602001610f15565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573737a476f7665726e616e63653a3a77697468647261773a3a63616e742d77697468647261772d30536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220388e2ad7e77bf65c51eec757d8ba40ef0d74c26c578d3ef3c4545df416cba05264736f6c63430006080033000000000000000000000000a8e7ad77c60ee6f30bac54e2e7c0617bd7b5a03e000000000000000000000000837010619aeb2ae24141605afc8f66577f6fb2e7

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101725760003560e01c806380faa57d116100de578063c8f33c9111610097578063df136d6511610071578063df136d6514610342578063e9fad8ee1461034a578063ebe2b12b14610352578063f2fde38b1461035a57610172565b8063c8f33c911461032a578063cc7da25714610332578063cd3daf9d1461033a57610172565b806380faa57d146102a95780638b876347146102b15780638da5cb5b146102d75780639c1b49cb146102df5780639cac6f6314610305578063a694fc3a1461030d57610172565b80632e1a7d4d116101305780632e1a7d4d146102315780633c6b16ab1461024e5780633d18b9121461026b57806370a0823114610273578063715018a6146102995780637b0a47ee146102a157610172565b80628cc262146101775780630700037d146101af5780630d68b761146101d5578063101114cf146101fd57806318160ddd146102215780631be0528914610229575b600080fd5b61019d6004803603602081101561018d57600080fd5b50356001600160a01b0316610380565b60408051918252519081900360200190f35b61019d600480360360208110156101c557600080fd5b50356001600160a01b0316610406565b6101fb600480360360208110156101eb57600080fd5b50356001600160a01b0316610418565b005b6102056104a4565b604080516001600160a01b039092168252519081900360200190f35b61019d6104b3565b61019d6104ba565b6101fb6004803603602081101561024757600080fd5b50356104c1565b6101fb6004803603602081101561026457600080fd5b503561059e565b6101fb610736565b61019d6004803603602081101561028957600080fd5b50356001600160a01b031661084c565b6101fb610867565b61019d61091b565b61019d610921565b61019d600480360360208110156102c757600080fd5b50356001600160a01b0316610934565b610205610946565b61019d600480360360208110156102f557600080fd5b50356001600160a01b0316610955565b610205610967565b6101fb6004803603602081101561032357600080fd5b5035610976565b61019d610a69565b610205610a6f565b61019d610a7e565b61019d610ad2565b6101fb610ad8565b61019d610af3565b6101fb6004803603602081101561037057600080fd5b50356001600160a01b0316610af9565b6001600160a01b0381166000908152600b6020908152604080832054600a90925282205461040091906103f490670de0b6b3a7640000906103e8906103d3906103c7610a7e565b9063ffffffff610c0416565b6103dc8861084c565b9063ffffffff610c4d16565b9063ffffffff610ca616565b9063ffffffff610ce816565b92915050565b600b6020526000908152604090205481565b610420610d42565b6003546001600160a01b03908116911614610482576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b6001545b90565b62093a8081565b336104ca610a7e565b6009556104d5610921565b6008556001600160a01b0381161561051c576104f081610380565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b6000821161055b5760405162461bcd60e51b81526004018080602001828103825260268152602001806112376026913960400191505060405180910390fd5b61056482610d46565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b6004546001600160a01b03166105b2610d42565b6001600160a01b0316146105f75760405162461bcd60e51b815260040180806020018281038252602181526020018061127e6021913960400191505060405180910390fd5b6000610601610a7e565b60095561060c610921565b6008556001600160a01b038116156106535761062781610380565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600554610671906001600160a01b031633308563ffffffff610daa16565b60065442106106955761068d8262093a8063ffffffff610ca616565b6007556106e3565b6006546000906106ab904263ffffffff610c0416565b905060006106c460075483610c4d90919063ffffffff16565b90506106dd62093a806103e8868463ffffffff610ce816565b60075550505b4260088190556106fc9062093a8063ffffffff610ce816565b6006556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050565b3361073f610a7e565b60095561074a610921565b6008556001600160a01b038116156107915761076581610380565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600061079c33610380565b9050801561084857336000908152600b60209081526040808320839055600c9091529020546107d1908263ffffffff610ce816565b336000818152600c60205260409020919091556005546107fd916001600160a01b039091169083610e0a565b336000818152600c60209081526040918290205482518581529182015281517fd6f2c8500df5b44f11e9e48b91ff9f1b9d81bc496d55570c2b1b75bf65243f51929181900390910190a25b5050565b6001600160a01b031660009081526002602052604090205490565b61086f610d42565b6003546001600160a01b039081169116146108d1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b60075481565b600061092f42600654610e61565b905090565b600a6020526000908152604090205481565b6003546001600160a01b031690565b600c6020526000908152604090205481565b6005546001600160a01b031681565b3361097f610a7e565b60095561098a610921565b6008556001600160a01b038116156109d1576109a581610380565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b60008211610a26576040805162461bcd60e51b815260206004820181905260248201527f7a476f7665726e616e63653a3a7374616b653a3a63616e742d7374616b652d30604482015290519081900360640190fd5b610a2f82610e77565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b60085481565b6000546001600160a01b031681565b6000610a886104b3565b610a9557506009546104b7565b61092f610ac3610aa36104b3565b6103e8670de0b6b3a76400006103dc6007546103dc6008546103c7610921565b6009549063ffffffff610ce816565b60095481565b610ae9610ae43361084c565b6104c1565b610af1610736565b565b60065481565b610b01610d42565b6003546001600160a01b03908116911614610b63576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610ba85760405162461bcd60e51b81526004018080602001828103825260268152602001806112116026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000610c4683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ed9565b9392505050565b600082610c5c57506000610400565b82820282848281610c6957fe5b0414610c465760405162461bcd60e51b815260040180806020018281038252602181526020018061125d6021913960400191505060405180910390fd5b6000610c4683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610f70565b600082820183811015610c46576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b600154610d59908263ffffffff610c0416565b60015533600090815260026020526040902054610d7c908263ffffffff610c0416565b336000818152600260205260408120929092559054610da7916001600160a01b039091169083610e0a565b50565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610e04908590610fd5565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610e5c908490610fd5565b505050565b6000818310610e705781610c46565b5090919050565b600154610e8a908263ffffffff610ce816565b60015533600090815260026020526040902054610ead908263ffffffff610ce816565b336000818152600260205260408120929092559054610da7916001600160a01b03909116903084610daa565b60008184841115610f685760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610f2d578181015183820152602001610f15565b50505050905090810190601f168015610f5a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183610fbf5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610f2d578181015183820152602001610f15565b506000838581610fcb57fe5b0495945050505050565b606061102a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166110869092919063ffffffff16565b805190915015610e5c5780806020019051602081101561104957600080fd5b5051610e5c5760405162461bcd60e51b815260040180806020018281038252602a81526020018061129f602a913960400191505060405180910390fd5b6060611095848460008561109d565b949350505050565b60606110a88561120a565b6110f9576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106111385780518252601f199092019160209182019101611119565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461119a576040519150601f19603f3d011682016040523d82523d6000602084013e61119f565b606091505b509150915081156111b35791506110959050565b8051156111c35780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315610f2d578181015183820152602001610f15565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573737a476f7665726e616e63653a3a77697468647261773a3a63616e742d77697468647261772d30536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220388e2ad7e77bf65c51eec757d8ba40ef0d74c26c578d3ef3c4545df416cba05264736f6c63430006080033

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

000000000000000000000000a8e7ad77c60ee6f30bac54e2e7c0617bd7b5a03e000000000000000000000000837010619aeb2ae24141605afc8f66577f6fb2e7

-----Decoded View---------------
Arg [0] : _zLOT (address): 0xA8e7AD77C60eE6f30BaC54E2E7c0617Bd7B5A03E
Arg [1] : _zToken (address): 0x837010619aeb2AE24141605aFC8f66577f6fb2e7

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a8e7ad77c60ee6f30bac54e2e7c0617bd7b5a03e
Arg [1] : 000000000000000000000000837010619aeb2ae24141605afc8f66577f6fb2e7


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

zGovernance is the rewards contract for zLOT tokenholders.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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