Contract 0x85E76cbf4893c1fbcB34dCF1239A91CE2A4CF5a7 1

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x5aeb3d2e3861f34c259d1ac5d1ef1091d697726fa84ad8f44a14fba5d517e702Claim112291372021-09-25 18:20:091 hr 4 mins ago0x7534f3c4f0c28af980b477e217125e6e488d559d IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.00047028
0xe952143cd9761dd18a81a2823558f389e79dcaf67b98cac54328b6483e6caa35Approve112276232021-09-25 17:03:492 hrs 20 mins ago0xa8f120918efa9edafd485f6d39f66a225371c60f IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.000221775
0xe449accad2958e5435e5a8a1a9f45c9396de15dbf73d3feaacb703b3b0d16fafClaim112274322021-09-25 16:54:152 hrs 30 mins ago0xa8f120918efa9edafd485f6d39f66a225371c60f IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.00039528
0x5d7ccbbed42ed5064045a6c9f3245f215d848373a22cad8e3953dd4b37c51e75Claim112233992021-09-25 13:28:335 hrs 56 mins ago0x589757c9346ae769b400274803c3dfad24ffd34e IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.000634935
0x3ae28c27a5ff53ee1ab73aae19bf3cdd2da2d13b8b3b013e06709fbfc3182fdbClaim112153812021-09-25 6:46:4912 hrs 37 mins ago0x9fd31424cfceab50218906bc1b3d87fe7778ca61 IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.000416055
0xffaad595cce61130bb668a19c39e562f4ba6d023aa6813f24f91fb02ea2ccaa9Claim112090672021-09-25 1:29:1517 hrs 55 mins ago0xb55c5e58ce4a5e9e247a266fd8fd3281c01e6be3 IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.000559995
0x480c1f4370b5e3b993752ddafc30b20b57f628a6300207267b490b634b196377Claim111974192021-09-24 15:44:131 day 3 hrs ago0xff819620c5019a420941283c7e47f50307e3b0e7 IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.00039528
0x8e014d007d6ecc9be8e73e20294c73fffe196035121e0a8d77e18524af87ebbfClaim111964772021-09-24 14:57:071 day 4 hrs ago0x7534f3c4f0c28af980b477e217125e6e488d559d IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.00047028
0xe3a65384c9e225780cd55fa1b4fb1c05aa677cdfe4b30efce81497345e3d271cApprove111909282021-09-24 10:18:141 day 9 hrs ago0x03fe304915a006dde7e5a82e6db852c09391bb3b IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.000221775
0xf0b1c4f8ca24ae8e0b7ba0df655c0685f84c44d65fdfe5c9b362b0f986aafe30Claim111905952021-09-24 10:01:351 day 9 hrs ago0xff819620c5019a420941283c7e47f50307e3b0e7 IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.000580995
0xb1d3c130d5ce72f94a206243a2f03fb1f938826e535d956c0184c9596be0bdd7Claim111885862021-09-24 8:21:011 day 11 hrs ago0x5f32bb3289803798e0027ed47604d94899c22698 IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.000634995
0x840934c4d2d210164ae555838fa2510b4329204ecf776539e93ca5d249e5ef54Claim111813932021-09-24 2:21:041 day 17 hrs ago0x02bc449b248f5c81b5a748db0b45402cd5ffa6b2 IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.000580995
0xfb4efcba6da583b4779b02294ec8284cd2c00a5e0f092542a9d4750a083b12ddClaim111706142021-09-23 17:21:042 days 2 hrs ago0x27c5bf85625fc40c12eb14513db533ad1a94f7cc IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.000580995
0x9c5a8f30efdbc6ca9e239c9ac64ca6bd7380faf4f1c74259fcfb2fc26be6ddb8Claim111699092021-09-23 16:45:162 days 2 hrs ago0x7534f3c4f0c28af980b477e217125e6e488d559d IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.00047028
0x4c7d3211adaf6f0224abb8fd5e26c74662bc6d74a4af28415a3bbeb30c9577fcClaim111669802021-09-23 14:16:592 days 5 hrs ago0x589757c9346ae769b400274803c3dfad24ffd34e IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.00047022
0xd90a1cf60cdc575eff5ed73e5481d70581571a2d3570025906f08e6b8f75e003Claim111669402021-09-23 14:14:562 days 5 hrs ago0x334e7538c4916e9b1cc7310f4f8501be065a9877 IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.000634995
0xe3f061ae73399aaad72e80cd2ce1a45f4d50eb7f1a7c1e57e99f4ab5d1a5673bApprove111665472021-09-23 13:54:402 days 5 hrs ago0x242d4fa8398e4620c1211943193c38929ae1a151 IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.000221775
0x9958e45da981d63697aae7c6a9cd7fcfa99e3d4cccf29d875872b28f5633a16fClaim111498852021-09-22 23:55:362 days 19 hrs ago0x5f32bb3289803798e0027ed47604d94899c22698 IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.00039528
0x66c0126c0d65ee1b00bbddef2ae1fd3e1f7e9a1b7d4397db01bab11a88476e5dClaim111495372021-09-22 23:38:122 days 19 hrs ago0x26767436cdc89798572a27666c1ca36d6f99c481 IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.00039528
0xe45cf066797845e4e10e10f3553a8d228f51c107e1039e456011780b81faf863Claim111472312021-09-22 21:41:152 days 21 hrs ago0xb80b441fffecfd1edb64df20aaae99fdb66101b2 IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.00041628
0xfbfae3bdb692c553b9d99fb39b34cc39cfe37f73d1241649edbd0285778317e8Claim111444502021-09-22 19:20:503 days 3 mins ago0x2f257996ee4938662a75f7c9a157e906158e94f3 IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.00039528
0xa3225a6ce80c6501c047d8bc5e9ed416af526a12b47347e696d38f32991e4fc8Claim111431352021-09-22 18:14:523 days 1 hr ago0x4c4baa9907f23c1c51fff261b518e704ce1d491d IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.00041628
0xbf6bce6d176b4e958658b91ba13142e9fee7bc996791b98bba48b2443dd0865cClaim111371592021-09-22 13:13:293 days 6 hrs ago0x7534f3c4f0c28af980b477e217125e6e488d559d IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.000634995
0x33c802739d9c7e955ed3d9b28d97f2e563c788631c5e6f3e20aa854e19e6092aClaim111354722021-09-22 11:49:083 days 7 hrs ago0xb55c5e58ce4a5e9e247a266fd8fd3281c01e6be3 IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.00034128
0xfbaba093cc03e0ddaeff3ac1da5ac54bdafd211a099e84b936c5e1842a4a1c9aClaim111344872021-09-22 10:59:413 days 8 hrs ago0x5f32bb3289803798e0027ed47604d94899c22698 IN  0x85e76cbf4893c1fbcb34dcf1239a91ce2a4cf5a70 BNB0.00041628
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
USDG

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 9 : USDG.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import "./interfaces/IUSDG.sol";
import "./YieldToken.sol";

contract USDG is YieldToken, IUSDG {

    mapping (address => bool) public vaults;

    modifier onlyVault() {
        require(vaults[msg.sender], "USDG: forbidden");
        _;
    }

    constructor(address _vault) public YieldToken("USD Gambit", "USDG", 0) {
        vaults[_vault] = true;
    }

    function addVault(address _vault) external onlyGov {
        vaults[_vault] = true;
    }

    function removeVault(address _vault) external onlyGov {
        vaults[_vault] = false;
    }

    function mint(address _account, uint256 _amount) external override onlyVault {
        _mint(_account, _amount);
    }

    function burn(address _account, uint256 _amount) external override onlyVault {
        _burn(_account, _amount);
    }
}

File 2 of 9 : IUSDG.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

interface IUSDG {
    function mint(address _account, uint256 _amount) external;
    function burn(address _account, uint256 _amount) external;
}

File 3 of 9 : YieldToken.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import "../libraries/math/SafeMath.sol";
import "../libraries/token/IERC20.sol";
import "../libraries/token/SafeERC20.sol";

import "./interfaces/IYieldTracker.sol";
import "./interfaces/IYieldToken.sol";

contract YieldToken is IERC20, IYieldToken {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    string public name;
    string public symbol;
    uint8 public constant decimals = 18;

    uint256 public override totalSupply;
    uint256 public nonStakingSupply;

    address public gov;

    mapping (address => uint256) public balances;
    mapping (address => mapping (address => uint256)) public allowances;

    address[] public yieldTrackers;
    mapping (address => bool) public nonStakingAccounts;
    mapping (address => bool) public admins;

    modifier onlyGov() {
        require(msg.sender == gov, "YieldToken: forbidden");
        _;
    }

    modifier onlyAdmin() {
        require(admins[msg.sender], "YieldToken: forbidden");
        _;
    }

    constructor(string memory _name, string memory _symbol, uint256 _initialSupply) public {
        name = _name;
        symbol = _symbol;
        gov = msg.sender;
        admins[msg.sender] = true;
        _mint(msg.sender, _initialSupply);
    }

    function setGov(address _gov) external onlyGov {
        gov = _gov;
    }

    function setInfo(string memory _name, string memory _symbol) external onlyGov {
        name = _name;
        symbol = _symbol;
    }

    function setYieldTrackers(address[] memory _yieldTrackers) external onlyGov {
        yieldTrackers = _yieldTrackers;
    }

    function addAdmin(address _account) external onlyGov {
        admins[_account] = true;
    }

    function removeAdmin(address _account) external onlyGov {
        admins[_account] = false;
    }

    function addNonStakingAccount(address _account) external onlyAdmin {
        require(!nonStakingAccounts[_account], "YieldToken: _account already marked");
        _updateRewards(_account);
        nonStakingAccounts[_account] = true;
        nonStakingSupply = nonStakingSupply.add(balances[_account]);
    }

    function removeNonStakingAccount(address _account) external onlyAdmin {
        require(nonStakingAccounts[_account], "YieldToken: _account not marked");
        _updateRewards(_account);
        nonStakingAccounts[_account] = false;
        nonStakingSupply = nonStakingSupply.sub(balances[_account]);
    }

    // to help users who accidentally send their tokens to this contract
    function withdrawToken(address _token, address _account, uint256 _amount) external onlyAdmin {
        IERC20(_token).safeTransfer(_account, _amount);
    }

    function recoverClaim(address _account, address _receiver) external onlyAdmin {
        for (uint256 i = 0; i < yieldTrackers.length; i++) {
            address yieldTracker = yieldTrackers[i];
            IYieldTracker(yieldTracker).claim(_account, _receiver);
        }
    }

    function claim(address _receiver) external {
        for (uint256 i = 0; i < yieldTrackers.length; i++) {
            address yieldTracker = yieldTrackers[i];
            IYieldTracker(yieldTracker).claim(msg.sender, _receiver);
        }
    }

    function totalStaked() external view override returns (uint256) {
        return totalSupply.sub(nonStakingSupply);
    }

    function balanceOf(address _account) external view override returns (uint256) {
        return balances[_account];
    }

    function stakedBalance(address _account) external view override returns (uint256) {
        if (nonStakingAccounts[_account]) {
            return 0;
        }
        return balances[_account];
    }

    function transfer(address _recipient, uint256 _amount) external override returns (bool) {
        _transfer(msg.sender, _recipient, _amount);
        return true;
    }

    function allowance(address _owner, address _spender) external view override returns (uint256) {
        return allowances[_owner][_spender];
    }

    function approve(address _spender, uint256 _amount) external override returns (bool) {
        _approve(msg.sender, _spender, _amount);
        return true;
    }

    function transferFrom(address _sender, address _recipient, uint256 _amount) external override returns (bool) {
        uint256 nextAllowance = allowances[_sender][msg.sender].sub(_amount, "YieldToken: transfer amount exceeds allowance");
        _approve(_sender, msg.sender, nextAllowance);
        _transfer(_sender, _recipient, _amount);
        return true;
    }

    function _mint(address _account, uint256 _amount) internal {
        require(_account != address(0), "YieldToken: mint to the zero address");

        _updateRewards(_account);

        totalSupply = totalSupply.add(_amount);
        balances[_account] = balances[_account].add(_amount);

        if (nonStakingAccounts[_account]) {
            nonStakingSupply = nonStakingSupply.add(_amount);
        }

        emit Transfer(address(0), _account, _amount);
    }

    function _burn(address _account, uint256 _amount) internal {
        require(_account != address(0), "YieldToken: burn from the zero address");

        _updateRewards(_account);

        balances[_account] = balances[_account].sub(_amount, "YieldToken: burn amount exceeds balance");
        totalSupply = totalSupply.sub(_amount);

        if (nonStakingAccounts[_account]) {
            nonStakingSupply = nonStakingSupply.sub(_amount);
        }

        emit Transfer(_account, address(0), _amount);
    }

    function _transfer(address _sender, address _recipient, uint256 _amount) private {
        require(_sender != address(0), "YieldToken: transfer from the zero address");
        require(_recipient != address(0), "YieldToken: transfer to the zero address");

        _updateRewards(_sender);
        _updateRewards(_recipient);

        balances[_sender] = balances[_sender].sub(_amount, "YieldToken: transfer amount exceeds balance");
        balances[_recipient] = balances[_recipient].add(_amount);

        if (nonStakingAccounts[_sender]) {
            nonStakingSupply = nonStakingSupply.sub(_amount);
        }
        if (nonStakingAccounts[_recipient]) {
            nonStakingSupply = nonStakingSupply.add(_amount);
        }

        emit Transfer(_sender, _recipient,_amount);
    }

    function _approve(address _owner, address _spender, uint256 _amount) private {
        require(_owner != address(0), "YieldToken: approve from the zero address");
        require(_spender != address(0), "YieldToken: approve to the zero address");

        allowances[_owner][_spender] = _amount;

        emit Approval(_owner, _spender, _amount);
    }

    function _updateRewards(address _account) private {
        for (uint256 i = 0; i < yieldTrackers.length; i++) {
            address yieldTracker = yieldTrackers[i];
            IYieldTracker(yieldTracker).updateRewards(_account);
        }
    }
}

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

pragma solidity 0.6.12;

/**
 * @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 5 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

/**
 * @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 9 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

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 7 of 9 : IYieldTracker.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

interface IYieldTracker {
    function claim(address _account, address _receiver) external returns (uint256);
    function updateRewards(address _account) external;
    function getTokensPerInterval() external view returns (uint256);
    function claimable(address _account) external view returns (uint256);
}

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

pragma solidity 0.6.12;

interface IYieldToken {
    function totalStaked() external view returns (uint256);
    function stakedBalance(address _account) external view returns (uint256);
}

File 9 of 9 : 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 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.3._
     */
    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.3._
     */
    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": 1
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"addNonStakingAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"name":"addVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"admins","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonStakingAccounts","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nonStakingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"recoverClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"removeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"removeNonStakingAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"name":"removeVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gov","type":"address"}],"name":"setGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"setInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_yieldTrackers","type":"address[]"}],"name":"setYieldTrackers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"stakedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","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":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"vaults","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"yieldTrackers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051620023c2380380620023c2833981810160405260208110156200003757600080fd5b5051604080518082018252600a8152691554d10811d85b589a5d60b21b6020828101918252835180850190945260048452635553444760e01b9084015281519192916000916200008a918391906200033d565b508151620000a09060019060208501906200033d565b50600480546001600160a01b031916339081179091556000818152600960205260409020805460ff19166001179055620000db908262000106565b5050506001600160a01b03166000908152600a60205260409020805460ff19166001179055620003d9565b6001600160a01b0382166200014d5760405162461bcd60e51b81526004018080602001828103825260248152602001806200239e6024913960400191505060405180910390fd5b62000158826200023c565b6200017481600254620002db60201b620012f11790919060201c565b6002556001600160a01b038216600090815260056020908152604090912054620001a9918390620012f1620002db821b17901c565b6001600160a01b03831660009081526005602090815260408083209390935560089052205460ff1615620001f757620001f381600354620002db60201b620012f11790919060201c565b6003555b6040805182815290516001600160a01b038416916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60005b600754811015620002d7576000600782815481106200025a57fe5b600091825260208220015460408051635fd6196560e01b81526001600160a01b03878116600483015291519190921693508392635fd61965926024808201939182900301818387803b158015620002b057600080fd5b505af1158015620002c5573d6000803e3d6000fd5b5050600190930192506200023f915050565b5050565b60008282018381101562000336576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200038057805160ff1916838001178555620003b0565b82800160010185558215620003b0579182015b82811115620003b057825182559160200191906001019062000393565b50620003be929150620003c2565b5090565b5b80821115620003be5760008155600101620003c3565b611fb580620003e96000396000f3fe608060405234801561001057600080fd5b506004361061018b5760003560e01c806301e336671461019057806306fdde03146101c8578063095ea7b31461024557806312d43a51146102855780631785f53c146102a957806318160ddd146102cf5780631e83409a146102e957806323b872dd1461030f578063256b5a0214610345578063276eab4e1461036b57806327e235e31461040c578063313ce5671461043257806340c10f1914610450578063429b62e51461047c57806352cd38d9146104a257806355b6ed5c146104bf57806360217267146104ed5780636228907714610513578063704802751461053957806370a082311461055f578063817b1cd2146105855780639554381a1461058d57806395d89b41146105b3578063996f11ee146105bb5780639dc29fac146105e9578063a622ee7c14610615578063a9059cbb1461063b578063a923fc4014610667578063c93be63614610790578063ceb68c2314610798578063cfad57a2146107be578063dd62ed3e146107e4578063fb30d91614610812575b600080fd5b6101c6600480360360608110156101a657600080fd5b506001600160a01b03813581169160208101359091169060400135610838565b005b6101d06108a3565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561020a5781810151838201526020016101f2565b50505050905090810190601f1680156102375780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102716004803603604081101561025b57600080fd5b506001600160a01b038135169060200135610931565b604080519115158252519081900360200190f35b61028d610947565b604080516001600160a01b039092168252519081900360200190f35b6101c6600480360360208110156102bf57600080fd5b50356001600160a01b0316610956565b6102d76109c4565b60408051918252519081900360200190f35b6101c6600480360360208110156102ff57600080fd5b50356001600160a01b03166109ca565b6102716004803603606081101561032557600080fd5b506001600160a01b03813581169160208101359091169060400135610a81565b6101c66004803603602081101561035b57600080fd5b50356001600160a01b0316610af1565b6101c66004803603602081101561038157600080fd5b810190602081018135600160201b81111561039b57600080fd5b8201836020820111156103ad57600080fd5b803590602001918460208302840111600160201b831117156103ce57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610b62945050505050565b6102d76004803603602081101561042257600080fd5b50356001600160a01b0316610bc2565b61043a610bd4565b6040805160ff9092168252519081900360200190f35b6101c66004803603604081101561046657600080fd5b506001600160a01b038135169060200135610bd9565b6102716004803603602081101561049257600080fd5b50356001600160a01b0316610c39565b61028d600480360360208110156104b857600080fd5b5035610c4e565b6102d7600480360360408110156104d557600080fd5b506001600160a01b0381358116916020013516610c75565b6102d76004803603602081101561050357600080fd5b50356001600160a01b0316610c92565b6101c66004803603602081101561052957600080fd5b50356001600160a01b0316610cdb565b6101c66004803603602081101561054f57600080fd5b50356001600160a01b0316610dce565b6102d76004803603602081101561057557600080fd5b50356001600160a01b0316610e3f565b6102d7610e5a565b610271600480360360208110156105a357600080fd5b50356001600160a01b0316610e78565b6101d0610e8d565b6101c6600480360360408110156105d157600080fd5b506001600160a01b0381358116916020013516610ee7565b6101c6600480360360408110156105ff57600080fd5b506001600160a01b038135169060200135610fee565b6102716004803603602081101561062b57600080fd5b50356001600160a01b031661104e565b6102716004803603604081101561065157600080fd5b506001600160a01b038135169060200135611063565b6101c66004803603604081101561067d57600080fd5b810190602081018135600160201b81111561069757600080fd5b8201836020820111156106a957600080fd5b803590602001918460018302840111600160201b831117156106ca57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561071c57600080fd5b82018360208201111561072e57600080fd5b803590602001918460018302840111600160201b8311171561074f57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611070945050505050565b6102d76110e4565b6101c6600480360360208110156107ae57600080fd5b50356001600160a01b03166110ea565b6101c6600480360360208110156107d457600080fd5b50356001600160a01b0316611158565b6102d7600480360360408110156107fa57600080fd5b506001600160a01b03813581169160200135166111c7565b6101c66004803603602081101561082857600080fd5b50356001600160a01b03166111f2565b3360009081526009602052604090205460ff1661088a576040805162461bcd60e51b81526020600482015260156024820152600080516020611f35833981519152604482015290519081900360640190fd5b61089e6001600160a01b0384168383611349565b505050565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109295780601f106108fe57610100808354040283529160200191610929565b820191906000526020600020905b81548152906001019060200180831161090c57829003601f168201915b505050505081565b600061093e33848461139b565b50600192915050565b6004546001600160a01b031681565b6004546001600160a01b031633146109a3576040805162461bcd60e51b81526020600482015260156024820152600080516020611f35833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600960205260409020805460ff19169055565b60025481565b60005b600754811015610a7d576000600782815481106109e657fe5b6000918252602080832090910154604080516310e059a160e11b81523360048201526001600160a01b038881166024830152915191909216945084936321c0b34293604480850194919392918390030190829087803b158015610a4857600080fd5b505af1158015610a5c573d6000803e3d6000fd5b505050506040513d6020811015610a7257600080fd5b5050506001016109cd565b5050565b600080610acc836040518060600160405280602d8152602001611f08602d91396001600160a01b03881660009081526006602090815260408083203384529091529020549190611487565b9050610ad985338361139b565b610ae485858561151e565b60019150505b9392505050565b6004546001600160a01b03163314610b3e576040805162461bcd60e51b81526020600482015260156024820152600080516020611f35833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b6004546001600160a01b03163314610baf576040805162461bcd60e51b81526020600482015260156024820152600080516020611f35833981519152604482015290519081900360640190fd5b8051610a7d906007906020840190611c4e565b60056020526000908152604090205481565b601281565b336000908152600a602052604090205460ff16610c2f576040805162461bcd60e51b815260206004820152600f60248201526e2aa9a2239d103337b93134b23232b760891b604482015290519081900360640190fd5b610a7d82826116db565b60096020526000908152604090205460ff1681565b60078181548110610c5b57fe5b6000918252602090912001546001600160a01b0316905081565b600660209081526000928352604080842090915290825290205481565b6001600160a01b03811660009081526008602052604081205460ff1615610cbb57506000610cd6565b506001600160a01b0381166000908152600560205260409020545b919050565b3360009081526009602052604090205460ff16610d2d576040805162461bcd60e51b81526020600482015260156024820152600080516020611f35833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526008602052604090205460ff1615610d855760405162461bcd60e51b8152600401808060200182810382526023815260200180611d626023913960400191505060405180910390fd5b610d8e816117cd565b6001600160a01b0381166000908152600860209081526040808320805460ff191660011790556005909152902054600354610dc8916112f1565b60035550565b6004546001600160a01b03163314610e1b576040805162461bcd60e51b81526020600482015260156024820152600080516020611f35833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6001600160a01b031660009081526005602052604090205490565b6000610e7360035460025461186390919063ffffffff16565b905090565b60086020526000908152604090205460ff1681565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109295780601f106108fe57610100808354040283529160200191610929565b3360009081526009602052604090205460ff16610f39576040805162461bcd60e51b81526020600482015260156024820152600080516020611f35833981519152604482015290519081900360640190fd5b60005b60075481101561089e57600060078281548110610f5557fe5b6000918252602080832090910154604080516310e059a160e11b81526001600160a01b0389811660048301528881166024830152915191909216945084936321c0b34293604480850194919392918390030190829087803b158015610fb957600080fd5b505af1158015610fcd573d6000803e3d6000fd5b505050506040513d6020811015610fe357600080fd5b505050600101610f3c565b336000908152600a602052604090205460ff16611044576040805162461bcd60e51b815260206004820152600f60248201526e2aa9a2239d103337b93134b23232b760891b604482015290519081900360640190fd5b610a7d82826118a5565b600a6020526000908152604090205460ff1681565b600061093e33848461151e565b6004546001600160a01b031633146110bd576040805162461bcd60e51b81526020600482015260156024820152600080516020611f35833981519152604482015290519081900360640190fd5b81516110d0906000906020850190611cb3565b50805161089e906001906020840190611cb3565b60035481565b6004546001600160a01b03163314611137576040805162461bcd60e51b81526020600482015260156024820152600080516020611f35833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600a60205260409020805460ff19169055565b6004546001600160a01b031633146111a5576040805162461bcd60e51b81526020600482015260156024820152600080516020611f35833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3360009081526009602052604090205460ff16611244576040805162461bcd60e51b81526020600482015260156024820152600080516020611f35833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526008602052604090205460ff166112b1576040805162461bcd60e51b815260206004820152601f60248201527f5969656c64546f6b656e3a205f6163636f756e74206e6f74206d61726b656400604482015290519081900360640190fd5b6112ba816117cd565b6001600160a01b0381166000908152600860209081526040808320805460ff191690556005909152902054600354610dc891611863565b600082820183811015610aea576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261089e9084906119be565b6001600160a01b0383166113e05760405162461bcd60e51b8152600401808060200182810382526029815260200180611edf6029913960400191505060405180910390fd5b6001600160a01b0382166114255760405162461bcd60e51b8152600401808060200182810382526027815260200180611e236027913960400191505060405180910390fd5b6001600160a01b03808416600081815260066020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600081848411156115165760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156114db5781810151838201526020016114c3565b50505050905090810190601f1680156115085780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0383166115635760405162461bcd60e51b815260040180806020018281038252602a815260200180611dad602a913960400191505060405180910390fd5b6001600160a01b0382166115a85760405162461bcd60e51b8152600401808060200182810382526028815260200180611d856028913960400191505060405180910390fd5b6115b1836117cd565b6115ba826117cd565b6115f7816040518060600160405280602b8152602001611f55602b91396001600160a01b0386166000908152600560205260409020549190611487565b6001600160a01b03808516600090815260056020526040808220939093559084168152205461162690826112f1565b6001600160a01b0380841660009081526005602090815260408083209490945591861681526008909152205460ff161561166b576003546116679082611863565b6003555b6001600160a01b03821660009081526008602052604090205460ff161561169d5760035461169990826112f1565b6003555b816001600160a01b0316836001600160a01b0316600080516020611e95833981519152836040518082815260200191505060405180910390a3505050565b6001600160a01b0382166117205760405162461bcd60e51b8152600401808060200182810382526024815260200180611e716024913960400191505060405180910390fd5b611729826117cd565b60025461173690826112f1565b6002556001600160a01b03821660009081526005602052604090205461175c90826112f1565b6001600160a01b03831660009081526005602090815260408083209390935560089052205460ff161561179a5760035461179690826112f1565b6003555b6040805182815290516001600160a01b03841691600091600080516020611e958339815191529181900360200190a35050565b60005b600754811015610a7d576000600782815481106117e957fe5b600091825260208220015460408051635fd6196560e01b81526001600160a01b03878116600483015291519190921693508392635fd61965926024808201939182900301818387803b15801561183e57600080fd5b505af1158015611852573d6000803e3d6000fd5b5050600190930192506117d0915050565b6000610aea83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611487565b6001600160a01b0382166118ea5760405162461bcd60e51b8152600401808060200182810382526026815260200180611dd76026913960400191505060405180910390fd5b6118f3826117cd565b61193081604051806060016040528060278152602001611e4a602791396001600160a01b0385166000908152600560205260409020549190611487565b6001600160a01b0383166000908152600560205260409020556002546119569082611863565b6002556001600160a01b03821660009081526008602052604090205460ff161561198b576003546119879082611863565b6003555b6040805182815290516000916001600160a01b03851691600080516020611e958339815191529181900360200190a35050565b6060611a13826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611a6f9092919063ffffffff16565b80519091501561089e57808060200190516020811015611a3257600080fd5b505161089e5760405162461bcd60e51b815260040180806020018281038252602a815260200180611eb5602a913960400191505060405180910390fd5b6060611a7e8484600085611a86565b949350505050565b606082471015611ac75760405162461bcd60e51b8152600401808060200182810382526026815260200180611dfd6026913960400191505060405180910390fd5b611ad085611be2565b611b21576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611b605780518252601f199092019160209182019101611b41565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611bc2576040519150601f19603f3d011682016040523d82523d6000602084013e611bc7565b606091505b5091509150611bd7828286611be8565b979650505050505050565b3b151590565b60608315611bf7575081610aea565b825115611c075782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156114db5781810151838201526020016114c3565b828054828255906000526020600020908101928215611ca3579160200282015b82811115611ca357825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611c6e565b50611caf929150611d2d565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611cf457805160ff1916838001178555611d21565b82800160010185558215611d21579182015b82811115611d21578251825591602001919060010190611d06565b50611caf929150611d4c565b5b80821115611caf5780546001600160a01b0319168155600101611d2e565b5b80821115611caf5760008155600101611d4d56fe5969656c64546f6b656e3a205f6163636f756e7420616c7265616479206d61726b65645969656c64546f6b656e3a207472616e7366657220746f20746865207a65726f20616464726573735969656c64546f6b656e3a207472616e736665722066726f6d20746865207a65726f20616464726573735969656c64546f6b656e3a206275726e2066726f6d20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5969656c64546f6b656e3a20617070726f766520746f20746865207a65726f20616464726573735969656c64546f6b656e3a206275726e20616d6f756e7420657863656564732062616c616e63655969656c64546f6b656e3a206d696e7420746f20746865207a65726f2061646472657373ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645969656c64546f6b656e3a20617070726f76652066726f6d20746865207a65726f20616464726573735969656c64546f6b656e3a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655969656c64546f6b656e3a20666f7262696464656e00000000000000000000005969656c64546f6b656e3a207472616e7366657220616d6f756e7420657863656564732062616c616e6365a264697066735822122003023a29b9d97d91109a67d195ea44317e976b913fedf1d77d74898f43f18a5564736f6c634300060c00335969656c64546f6b656e3a206d696e7420746f20746865207a65726f2061646472657373000000000000000000000000c73a8dcac88498fd4b4b1b2aaa37b0a2614ff67b

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

000000000000000000000000c73a8dcac88498fd4b4b1b2aaa37b0a2614ff67b

-----Decoded View---------------
Arg [0] : _vault (address): 0xc73a8dcac88498fd4b4b1b2aaa37b0a2614ff67b

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c73a8dcac88498fd4b4b1b2aaa37b0a2614ff67b


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