Contract 0xA8d91C6093b700897e4654a71BE67fE017f10098

Contract Overview

Balance:
0 AVAX

AVAX Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x6ec5d26ab84c75b0615e270b40b2ef225aceea8420bec4168824da0d32ab65bfRecover ERC20147476782022-05-15 23:41:5341 days 21 hrs ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.00200337772839.696
0x720bc08ef665985fd8f5e2c8c869c2d348fefb99ba30d3a97d89a11459de06b2Exit22812422021-06-10 15:42:07381 days 5 hrs ago0x03647b5b94957e70c7238f68cbd6dade6dd0b3c2 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.029838825
0xf3d4c2b6b1a8d836e6e00221078371f0b32ebd619121aaacd439679850c09799Get Reward22223382021-06-05 10:34:09386 days 10 hrs ago0x03647b5b94957e70c7238f68cbd6dade6dd0b3c2 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.021575925
0x5440125bd604fe664dcd88e33cd42be5e8b072c81c914f70bb6f3f8c76437d5dExit22024352021-06-03 20:51:28388 days 8 mins ago0xf73daf38a523a5c0a25319e4163024d701cfb70c IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.036798975
0x9cf5fe9efa6ed75f7c7a038f3eba78cec42a6742c2b6d9c61edb5857ca5f0543Exit21884052021-06-02 21:40:34388 days 23 hrs ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.036798975
0x85584b44cccf657e7779ddff77f0552dc933862ca33b00678a84dead6f991f70Exit21635552021-06-01 12:51:56390 days 8 hrs ago0x270b41577127a8ef8dfc3001dc171ace07521730 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.0232839
0xd7b1009df3790e028f4d2171a7d37442654ab479fac851252d2deeb070e84abaStake With Permi...21559652021-06-01 4:45:32390 days 16 hrs ago0x270b41577127a8ef8dfc3001dc171ace07521730 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.0374265
0x4726e9a48e00e4e276c662ced69232dbe7b5491e854cd3aef50c77ce649656bcExit21506322021-05-31 18:41:17391 days 2 hrs ago0x42f228b9c4943e3ebcb016202167f684a3c71e57 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.0232839
0x73f7928847f7d9d1f96098cf1487e12bd6941ae686551daa9ad22c96bd21b1acStake With Permi...21504832021-05-31 18:30:13391 days 2 hrs ago0x42f228b9c4943e3ebcb016202167f684a3c71e57 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.03870135
0xbcc1e794420dbdc7703777b87003c181b890cddde9365aefb178bb39c1f1044bExit21435082021-05-31 7:46:05391 days 13 hrs ago0xc1516b4fdef56cdf45f3d90cb722b0d7545aa1d9 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.038061675
0x047b9d02111dd8a67e541bf1e2730900b07830c9ef0a539aad302751e198ff62Exit21418332021-05-31 4:06:40391 days 16 hrs ago0x7d53f718c8799110bd8598f9aad4a1fb109aa0ab IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.038061675
0x51cf0c10001f9a28f958f8f42f2e4f53a57675191d65caa71bd593e306264278Exit21410152021-05-31 2:17:30391 days 18 hrs ago0x85b452216b053cbb018d9c7c4195da51b600c28e IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.038061675
0x689d9b754d5dd2745206ac5c6a21f3dc009b98bb6714940cae330e1decc955c6Exit21404062021-05-31 0:52:49391 days 20 hrs ago0x6ee7ac91bbbc33e146726438496d407b08212b3b IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.041909175
0x1c3b8ecdbf36b8e144d82568c03098bf34c19b09faed625f022f3c524ccd796dSet Coverage Amo...21365852021-05-30 17:26:23392 days 3 hrs ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.017939025
0x663f81ee390135fcf7894a9be8b4f731c07c1953a053732cee1b3a40b629b774Set Coverage Amo...21249892021-05-29 19:50:20393 days 1 hr ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.017939025
0x15c312f7e254f2431f2b1c37bf25d41565465edbfad46fdad51c4a0551edb72aSet Coverage Amo...21051812021-05-28 11:01:47394 days 9 hrs ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.017939025
0x47656e7878b531fa075127a664aa560b3ded53397d1dd1bc087d714214ab6b50Get Reward20798462021-05-26 20:25:32396 days 34 mins ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.0228474
0xc9a81a0539b88802becabb5b76d0fd24fdea15e5c2e4674a406027618cb4d1bcGet Reward20790632021-05-26 19:29:41396 days 1 hr ago0x85b452216b053cbb018d9c7c4195da51b600c28e IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.0228474
0xc16a81fc7eba32fbe9a2ce454d48f7c1110741d37eaac81f1c9edbc6f40e3bddSet Coverage Amo...20511942021-05-25 8:29:25397 days 12 hrs ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.02315925
0xb8619571e300b0b90f061a7ddc432e99cb1dda480f468f3fbb2b34aaa6580a1eExit20463952021-05-25 2:13:52397 days 18 hrs ago0xc356b22f2f5f08f27aee64e19ed49873edca8799 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.038061675
0xd0095f259496f7e81f719b6032580a6d5c712a0601acb243e93dbfa9ab9ffe26Get Reward20281192021-05-24 8:46:05398 days 12 hrs ago0xc1516b4fdef56cdf45f3d90cb722b0d7545aa1d9 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.0228474
0x7174aa393f92f6194ee42bd7f6013db757ea6b94414b1eb356d6de010d32f841Get Reward20172152021-05-23 20:17:47399 days 42 mins ago0x85b452216b053cbb018d9c7c4195da51b600c28e IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.0228474
0xa5e153a5e79a922cc750a4d6bfd6c1fcf22e96300282c147afc78a59c5bfe3b2Get Reward19640382021-05-21 14:02:55401 days 6 hrs ago0x03647b5b94957e70c7238f68cbd6dade6dd0b3c2 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.0228474
0x01db9f33e760b6d86ce5b060acc9d3d562020b8b9b97f399c51754776cb74cd1Set Coverage Amo...19523172021-05-20 22:59:50401 days 22 hrs ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.024529275
0xa3f8d6961e47cfdd20139aca1cf724ba9c1a13e01d6b2581042760fd75664cddExit19513002021-05-20 22:18:27401 days 22 hrs ago0x92ea5536b1de385175d67bb6024a98e48edb8aae IN  0xa8d91c6093b700897e4654a71be67fe017f100980 AVAX0.034214175
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x9080Bd46a55f8A32DB2B609C74f8125a08DafbC3

Contract Name:
StakingRewardsILP

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at snowtrace.io on 2021-11-16
*/

// Sources flattened with hardhat v2.1.1 https://hardhat.org

// File @openzeppelin/contracts/utils/[email protected]

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.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;
    }
}


// File @openzeppelin/contracts/access/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract 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 virtual 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 @openzeppelin/contracts/math/[email protected]

pragma solidity >=0.6.0 <0.8.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 @openzeppelin/contracts/math/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/[email protected]

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/[email protected]

pragma solidity >=0.6.0 <0.8.0;



/**
 * @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 @openzeppelin/contracts/utils/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}


// File contracts/interfaces/IElkERC20.sol

pragma solidity >=0.5.0;

interface IElkERC20 {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
}


// File contracts/StakingRewardsILP.sol

pragma solidity ^0.7.6;





contract StakingRewardsILP is ReentrancyGuard, Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

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

    IERC20 public rewardsToken;
    IERC20 public stakingToken;
    uint256 public periodFinish = 1620640800;
    uint256 public rewardRate = 0;
    uint256 public rewardsDuration = 21 days;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;

    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;

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

    /* ========== CONSTRUCTOR ========== */

    constructor(
        address _rewardsToken,
        address _stakingToken
    ) public {
        rewardsToken = IERC20(_rewardsToken);
        stakingToken = IERC20(_stakingToken);
    }

    /* ========== VIEWS ========== */

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

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

    function coverageOf(address account) external view returns (uint256) {
        return _coverages[account];
    }

    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 _balances[account].mul(rewardPerToken().sub(userRewardPerTokenPaid[account])).div(1e18).add(rewards[account]);
    }

    function getRewardForDuration() external view returns (uint256) {
        return rewardRate.mul(rewardsDuration);
    }

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

    function stake(uint256 amount) external nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot stake 0");
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        stakingToken.safeTransferFrom(msg.sender, address(this), amount);
        emit Staked(msg.sender, amount);
    }

    function stakeWithPermit(uint256 amount, uint deadline, uint8 v, bytes32 r, bytes32 s) external nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot stake 0");
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);

        // permit
        IElkERC20(address(stakingToken)).permit(msg.sender, address(this), amount, deadline, v, r, s);

        stakingToken.safeTransferFrom(msg.sender, address(this), amount);
        emit Staked(msg.sender, amount);
    }

    function withdraw(uint256 amount) public nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot withdraw 0");
        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);
        stakingToken.safeTransfer(msg.sender, amount);
        emit Withdrawn(msg.sender, amount);
    }

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

    function getCoverage() public nonReentrant {
        uint256 coverageAmount = _coverages[msg.sender];
        if (coverageAmount > 0) {
            _coverages[msg.sender] = 0;
            rewardsToken.safeTransfer(msg.sender, coverageAmount);
            emit CoveragePaid(msg.sender, coverageAmount);
        }
    }

    function exit() external {
        withdraw(_balances[msg.sender]);
        getReward();
        getCoverage();
    }

    /* ========== RESTRICTED FUNCTIONS ========== */

    // Always needs to update the balance of the contract when calling this method
    function notifyRewardAmount(uint256 reward) external onlyOwner updateReward(address(0)) {
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(rewardsDuration);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(rewardsDuration);
        }

        // Ensure the provided reward amount is not more than the balance in the contract.
        // This keeps the reward rate in the right range, preventing overflows due to
        // very high values of rewardRate in the earned and rewardsPerToken functions;
        // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow.
        uint balance = rewardsToken.balanceOf(address(this));
        require(rewardRate <= balance.div(rewardsDuration), "Provided reward too high");

        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(rewardsDuration);
        emit RewardAdded(reward);
    }

    function setCoverageAmount(address addr, uint256 amount) public onlyOwner {
        _coverages[addr] = amount;
    }

    function setCoverageAmounts(address[] memory addresses, uint256[] memory amounts) external onlyOwner {
        require(addresses.length == amounts.length, "The same number of addresses and amounts must be provided");
        for (uint i=0; i < addresses.length; ++i) {
            setCoverageAmount(addresses[i], amounts[i]);
        }
    }

    // End rewards emission earlier
    function updatePeriodFinish(uint timestamp) external onlyOwner updateReward(address(0)) {
        periodFinish = timestamp;
    }

    // Added to support recovering LP Rewards from other systems such as BAL to be distributed to holders
    function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyOwner {
        require(tokenAddress != address(stakingToken), "Cannot withdraw the staking token");
        IERC20(tokenAddress).safeTransfer(owner(), tokenAmount);
        emit Recovered(tokenAddress, tokenAmount);
    }

    function setRewardsDuration(uint256 _rewardsDuration) external onlyOwner {
        require(
            block.timestamp > periodFinish,
            "Previous rewards period must be complete before changing the duration for the new period"
        );
        rewardsDuration = _rewardsDuration;
        emit RewardsDurationUpdated(rewardsDuration);
    }

    /* ========== MODIFIERS ========== */

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

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

    event RewardAdded(uint256 reward);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event CoveragePaid(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);
    event RewardsDurationUpdated(uint256 newDuration);
    event Recovered(address token, uint256 amount);
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_rewardsToken","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"CoveragePaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"RewardsDurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"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":"coverageOf","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":"getCoverage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setCoverageAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"setCoverageAmounts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardsDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"stakeWithPermit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"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":"uint256","name":"timestamp","type":"uint256"}],"name":"updatePeriodFinish","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"}]

608060405263609904206004556000600555621baf8060065534801561002457600080fd5b50604051611ff3380380611ff38339818101604052604081101561004757600080fd5b5080516020909101516001600090815561005f6100de565b600180546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600280546001600160a01b039384166001600160a01b031991821617909155600380549290931691161790556100e2565b3390565b611f02806100f16000396000f3fe608060405234801561001057600080fd5b50600436106101e45760003560e01c80637b0a47ee1161010f578063cc1a378f116100a2578063e9fad8ee11610071578063e9fad8ee14610557578063ebe2b12b1461055f578063ecd9ba8214610567578063f2fde38b1461059f576101e4565b8063cc1a378f14610522578063cd3daf9d1461053f578063d1af0c7d14610547578063df136d651461054f576101e4565b80638da5cb5b116100de5780638da5cb5b146103ce578063905b7d3c146103d6578063a694fc3a146104fd578063c8f33c911461051a576101e4565b80637b0a47ee1461036c57806380faa57d146103745780638980f11f1461037c5780638b876347146103a8576101e4565b80633c6b16ab116101875780636de4ab87116101565780636de4ab871461031257806370a082311461031a578063715018a61461034057806372f702f314610348576101e4565b80633c6b16ab146102a45780633d18b912146102c157806343d45c17146102c9578063556f6e6b146102f5576101e4565b806318160ddd116101c357806318160ddd1461026d5780631c1f78eb146102755780632e1a7d4d1461027d578063386a95251461029c576101e4565b80628cc262146101e95780630700037d146102215780631204598714610247575b600080fd5b61020f600480360360208110156101ff57600080fd5b50356001600160a01b03166105c5565b60408051918252519081900360200190f35b61020f6004803603602081101561023757600080fd5b50356001600160a01b0316610643565b61020f6004803603602081101561025d57600080fd5b50356001600160a01b0316610655565b61020f610670565b61020f610677565b61029a6004803603602081101561029357600080fd5b5035610695565b005b61020f610837565b61029a600480360360208110156102ba57600080fd5b503561083d565b61029a610ab4565b61029a600480360360408110156102df57600080fd5b506001600160a01b038135169060200135610beb565b61029a6004803603602081101561030b57600080fd5b5035610c7b565b61029a610d51565b61020f6004803603602081101561033057600080fd5b50356001600160a01b0316610e2b565b61029a610e46565b610350610f11565b604080516001600160a01b039092168252519081900360200190f35b61020f610f20565b61020f610f26565b61029a6004803603604081101561039257600080fd5b506001600160a01b038135169060200135610f34565b61020f600480360360208110156103be57600080fd5b50356001600160a01b0316611059565b61035061106b565b61029a600480360360408110156103ec57600080fd5b81019060208101813564010000000081111561040757600080fd5b82018360208201111561041957600080fd5b8035906020019184602083028401116401000000008311171561043b57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561048b57600080fd5b82018360208201111561049d57600080fd5b803590602001918460208302840111640100000000831117156104bf57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061107a945050505050565b61029a6004803603602081101561051357600080fd5b5035611177565b61020f61131a565b61029a6004803603602081101561053857600080fd5b5035611320565b61020f61140f565b61035061145d565b61020f61146c565b61029a611472565b61020f61149d565b61029a600480360360a081101561057d57600080fd5b5080359060208101359060ff60408201351690606081013590608001356114a3565b61029a600480360360208110156105b557600080fd5b50356001600160a01b03166116ee565b6001600160a01b0381166000908152600a6020908152604080832054600990925282205461063d919061063790670de0b6b3a764000090610631906106129061060c61140f565b90611810565b6001600160a01b0388166000908152600c60205260409020549061186d565b906118cd565b90611934565b92915050565b600a6020526000908152604090205481565b6001600160a01b03166000908152600d602052604090205490565b600b545b90565b600061069060065460055461186d90919063ffffffff16565b905090565b600260005414156106ed576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600055336106fb61140f565b600855610706610f26565b6007556001600160a01b0381161561074d57610721816105c5565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b600082116107a2576040805162461bcd60e51b815260206004820152601160248201527f43616e6e6f742077697468647261772030000000000000000000000000000000604482015290519081900360640190fd5b600b546107af9083611810565b600b55336000908152600c60205260409020546107cc9083611810565b336000818152600c60205260409020919091556003546107f8916001600160a01b03909116908461198e565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250506001600055565b60065481565b610845611a0e565b6001600160a01b031661085661106b565b6001600160a01b0316146108b1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60006108bb61140f565b6008556108c6610f26565b6007556001600160a01b0381161561090d576108e1816105c5565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b600454421061092c576006546109249083906118cd565b60055561096f565b60045460009061093c9042611810565b905060006109556005548361186d90919063ffffffff16565b600654909150610969906106318684611934565b60055550505b600254604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156109d357600080fd5b505afa1580156109e7573d6000803e3d6000fd5b505050506040513d60208110156109fd57600080fd5b5051600654909150610a109082906118cd565b6005541115610a66576040805162461bcd60e51b815260206004820152601860248201527f50726f76696465642072657761726420746f6f20686967680000000000000000604482015290519081900360640190fd5b426007819055600654610a799190611934565b6004556040805184815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1505050565b60026000541415610b0c576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260005533610b1a61140f565b600855610b25610f26565b6007556001600160a01b03811615610b6c57610b40816105c5565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b336000908152600a60205260409020548015610be257336000818152600a6020526040812055600254610bab916001600160a01b03909116908361198e565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b50506001600055565b610bf3611a0e565b6001600160a01b0316610c0461106b565b6001600160a01b031614610c5f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b039091166000908152600d6020526040902055565b610c83611a0e565b6001600160a01b0316610c9461106b565b6001600160a01b031614610cef576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000610cf961140f565b600855610d04610f26565b6007556001600160a01b03811615610d4b57610d1f816105c5565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b50600455565b60026000541415610da9576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000908155338152600d60205260409020548015610e2357336000818152600d6020526040812055600254610dec916001600160a01b03909116908361198e565b60408051828152905133917fef4696bdcf47e292773442e4169d670e1b2d0d3f5ceff2a5c1e236c10109ee80919081900360200190a25b506001600055565b6001600160a01b03166000908152600c602052604090205490565b610e4e611a0e565b6001600160a01b0316610e5f61106b565b6001600160a01b031614610eba576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36001805473ffffffffffffffffffffffffffffffffffffffff19169055565b6003546001600160a01b031681565b60055481565b600061069042600454611a12565b610f3c611a0e565b6001600160a01b0316610f4d61106b565b6001600160a01b031614610fa8576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003546001600160a01b0383811691161415610ff55760405162461bcd60e51b8152600401808060200182810382526021815260200180611eac6021913960400191505060405180910390fd5b61101161100061106b565b6001600160a01b038416908361198e565b604080516001600160a01b03841681526020810183905281517f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28929181900390910190a15050565b60096020526000908152604090205481565b6001546001600160a01b031690565b611082611a0e565b6001600160a01b031661109361106b565b6001600160a01b0316146110ee576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b805182511461112e5760405162461bcd60e51b8152600401808060200182810382526039815260200180611e026039913960400191505060405180910390fd5b60005b82518110156111725761116a83828151811061114957fe5b602002602001015183838151811061115d57fe5b6020026020010151610beb565b600101611131565b505050565b600260005414156111cf576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600055336111dd61140f565b6008556111e8610f26565b6007556001600160a01b0381161561122f57611203816105c5565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b60008211611284576040805162461bcd60e51b815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b600b546112919083611934565b600b55336000908152600c60205260409020546112ae9083611934565b336000818152600c60205260409020919091556003546112db916001600160a01b03909116903085611a28565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250506001600055565b60075481565b611328611a0e565b6001600160a01b031661133961106b565b6001600160a01b031614611394576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60045442116113d45760405162461bcd60e51b8152600401808060200182810382526058815260200180611d846058913960600191505060405180910390fd5b60068190556040805182815290517ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d39181900360200190a150565b6000600b54600014156114255750600854610674565b610690611454600b54610631670de0b6b3a764000061144e60055461144e60075461060c610f26565b9061186d565b60085490611934565b6002546001600160a01b031681565b60085481565b336000908152600c602052604090205461148b90610695565b611493610ab4565b61149b610d51565b565b60045481565b600260005414156114fb576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000553361150961140f565b600855611514610f26565b6007556001600160a01b0381161561155b5761152f816105c5565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b600086116115b0576040805162461bcd60e51b815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b600b546115bd9087611934565b600b55336000908152600c60205260409020546115da9087611934565b336000818152600c60205260408082209390935560035483517fd505accf0000000000000000000000000000000000000000000000000000000081526004810193909352306024840152604483018a90526064830189905260ff8816608484015260a4830187905260c4830186905292516001600160a01b039093169263d505accf9260e480820193929182900301818387803b15801561167a57600080fd5b505af115801561168e573d6000803e3d6000fd5b50506003546116ab92506001600160a01b03169050333089611a28565b60408051878152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050600160005550505050565b6116f6611a0e565b6001600160a01b031661170761106b565b6001600160a01b031614611762576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166117a75760405162461bcd60e51b8152600401808060200182810382526026815260200180611ddc6026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600082821115611867576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261187c5750600061063d565b8282028284828161188957fe5b04146118c65760405162461bcd60e51b8152600401808060200182810382526021815260200180611e616021913960400191505060405180910390fd5b9392505050565b6000808211611923576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161192c57fe5b049392505050565b6000828201838110156118c6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052611172908490611ab6565b3390565b6000818310611a2157816118c6565b5090919050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052611ab0908590611ab6565b50505050565b6000611b0b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611b679092919063ffffffff16565b80519091501561117257808060200190516020811015611b2a57600080fd5b50516111725760405162461bcd60e51b815260040180806020018281038252602a815260200180611e82602a913960400191505060405180910390fd5b6060611b768484600085611b7e565b949350505050565b606082471015611bbf5760405162461bcd60e51b8152600401808060200182810382526026815260200180611e3b6026913960400191505060405180910390fd5b611bc885611cd9565b611c19576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b60208310611c575780518252601f199092019160209182019101611c38565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611cb9576040519150601f19603f3d011682016040523d82523d6000602084013e611cbe565b606091505b5091509150611cce828286611cdf565b979650505050505050565b3b151590565b60608315611cee5750816118c6565b825115611cfe5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d48578181015183820152602001611d30565b50505050905090810190601f168015611d755780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f644f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735468652073616d65206e756d626572206f662061646472657373657320616e6420616d6f756e7473206d7573742062652070726f7669646564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f7420776974686472617720746865207374616b696e6720746f6b656ea26469706673582212207ba25714dd312d47efc6d40b010b2c961b2c64c43627886ccd48b857e5bf4b4d64736f6c63430007060033000000000000000000000000e1c8f3d529bea8e3fa1fac5b416335a2f998ee1c000000000000000000000000febf47cf89f766e6c24317b17f862ba5d4d82f8c

Deployed ByteCode Sourcemap

30343:7761:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32165:198;;;;;;;;;;;;;;;;-1:-1:-1;32165:198:0;-1:-1:-1;;;;;32165:198:0;;:::i;:::-;;;;;;;;;;;;;;;;30864:42;;;;;;;;;;;;;;;;-1:-1:-1;30864:42:0;-1:-1:-1;;;;;30864:42:0;;:::i;31566:114::-;;;;;;;;;;;;;;;;-1:-1:-1;31566:114:0;-1:-1:-1;;;;;31566:114:0;;:::i;31345:93::-;;;:::i;32371:121::-;;;:::i;33491:357::-;;;;;;;;;;;;;;;;-1:-1:-1;33491:357:0;;:::i;:::-;;30673:40;;;:::i;34772:1069::-;;;;;;;;;;;;;;;;-1:-1:-1;34772:1069:0;;:::i;33856:307::-;;;:::i;35849:118::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;35849:118:0;;;;;;;;:::i;36366:131::-;;;;;;;;;;;;;;;;-1:-1:-1;36366:131:0;;:::i;34171:324::-;;;:::i;31446:112::-;;;;;;;;;;;;;;;;-1:-1:-1;31446:112:0;-1:-1:-1;;;;;31446:112:0;;:::i;2857:148::-;;;:::i;30557:26::-;;;:::i;:::-;;;;-1:-1:-1;;;;;30557:26:0;;;;;;;;;;;;;;30637:29;;;:::i;31688:131::-;;;:::i;36612:304::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;36612:304:0;;;;;;;;:::i;30800:57::-;;;;;;;;;;;;;;;;-1:-1:-1;30800:57:0;-1:-1:-1;;;;;30800:57:0;;:::i;2206:87::-;;;:::i;35975:346::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35975:346:0;;;;;;;;-1:-1:-1;35975:346:0;;-1:-1:-1;;35975:346:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35975:346:0;;-1:-1:-1;35975:346:0;;-1:-1:-1;;;;;35975:346:0:i;32554:369::-;;;;;;;;;;;;;;;;-1:-1:-1;32554:369:0;;:::i;30720:29::-;;;:::i;36924:360::-;;;;;;;;;;;;;;;;-1:-1:-1;36924:360:0;;:::i;31827:330::-;;;:::i;30524:26::-;;;:::i;30756:35::-;;;:::i;34503:121::-;;;:::i;30590:40::-;;;:::i;32931:552::-;;;;;;;;;;;;;;;;-1:-1:-1;32931:552:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;3160:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3160:244:0;-1:-1:-1;;;;;3160:244:0;;:::i;32165:198::-;-1:-1:-1;;;;;32338:16:0;;32219:7;32338:16;;;:7;:16;;;;;;;;;32290:22;:31;;;;;;32246:109;;32338:16;32246:87;;32328:4;;32246:77;;32269:53;;:16;:14;:16::i;:::-;:20;;:53::i;:::-;-1:-1:-1;;;;;32246:18:0;;;;;;:9;:18;;;;;;;:22;:77::i;:::-;:81;;:87::i;:::-;:91;;:109::i;:::-;32239:116;32165:198;-1:-1:-1;;32165:198:0:o;30864:42::-;;;;;;;;;;;;;:::o;31566:114::-;-1:-1:-1;;;;;31653:19:0;31626:7;31653:19;;;:10;:19;;;;;;;31566:114::o;31345:93::-;31418:12;;31345:93;;:::o;32371:121::-;32426:7;32453:31;32468:15;;32453:10;;:14;;:31;;;;:::i;:::-;32446:38;;32371:121;:::o;33491:357::-;28093:1;28699:7;;:19;;28691:63;;;;;-1:-1:-1;;;28691:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28093:1;28832:7;:18;33558:10:::1;37410:16;:14;:16::i;:::-;37387:20;:39:::0;37454:26:::1;:24;:26::i;:::-;37437:14;:43:::0;-1:-1:-1;;;;;37495:21:0;::::1;::::0;37491:157:::1;;37552:15;37559:7;37552:6;:15::i;:::-;-1:-1:-1::0;;;;;37533:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;37616:20:::1;::::0;37582:22:::1;:31:::0;;;;;;:54;37491:157:::1;33598:1:::2;33589:6;:10;33581:40;;;::::0;;-1:-1:-1;;;33581:40:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;33647:12;::::0;:24:::2;::::0;33664:6;33647:16:::2;:24::i;:::-;33632:12;:39:::0;33716:10:::2;33706:21;::::0;;;:9:::2;:21;::::0;;;;;:33:::2;::::0;33732:6;33706:25:::2;:33::i;:::-;33692:10;33682:21;::::0;;;:9:::2;:21;::::0;;;;:57;;;;33750:12:::2;::::0;:45:::2;::::0;-1:-1:-1;;;;;33750:12:0;;::::2;::::0;33788:6;33750:25:::2;:45::i;:::-;33811:29;::::0;;;;;;;33821:10:::2;::::0;33811:29:::2;::::0;;;;;::::2;::::0;;::::2;-1:-1:-1::0;;28049:1:0;29011:7;:22;33491:357::o;30673:40::-;;;;:::o;34772:1069::-;2437:12;:10;:12::i;:::-;-1:-1:-1;;;;;2426:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2426:23:0;;2418:68;;;;;-1:-1:-1;;;2418:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34856:1:::1;37410:16;:14;:16::i;:::-;37387:20;:39:::0;37454:26:::1;:24;:26::i;:::-;37437:14;:43:::0;-1:-1:-1;;;;;37495:21:0;::::1;::::0;37491:157:::1;;37552:15;37559:7;37552:6;:15::i;:::-;-1:-1:-1::0;;;;;37533:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;37616:20:::1;::::0;37582:22:::1;:31:::0;;;;;;:54;37491:157:::1;34894:12:::2;;34875:15;:31;34871:318;;34947:15;::::0;34936:27:::2;::::0;:6;;:10:::2;:27::i;:::-;34923:10;:40:::0;34871:318:::2;;;35016:12;::::0;34996:17:::2;::::0;35016:33:::2;::::0;35033:15:::2;35016:16;:33::i;:::-;34996:53;;35064:16;35083:25;35097:10;;35083:9;:13;;:25;;;;:::i;:::-;35161:15;::::0;35064:44;;-1:-1:-1;35136:41:0::2;::::0;:20:::2;:6:::0;35064:44;35136:10:::2;:20::i;:41::-;35123:10;:54:::0;-1:-1:-1;;34871:318:0::2;35564:12;::::0;:37:::2;::::0;;;;;35595:4:::2;35564:37;::::0;::::2;::::0;;;35549:12:::2;::::0;-1:-1:-1;;;;;35564:12:0::2;::::0;:22:::2;::::0;:37;;;;;::::2;::::0;;;;;;;;:12;:37;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;35564:37:0;35646:15:::2;::::0;35564:37;;-1:-1:-1;35634:28:0::2;::::0;35564:37;;35634:11:::2;:28::i;:::-;35620:10;;:42;;35612:79;;;::::0;;-1:-1:-1;;;35612:79:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;35721:15;35704:14;:32:::0;;;35782:15:::2;::::0;35762:36:::2;::::0;35721:15;35762:19:::2;:36::i;:::-;35747:12;:51:::0;35814:19:::2;::::0;;;;;;;::::2;::::0;;;;::::2;::::0;;::::2;37658:1;2497::::1;34772:1069:::0;:::o;33856:307::-;28093:1;28699:7;;:19;;28691:63;;;;;-1:-1:-1;;;28691:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28093:1;28832:7;:18;33910:10:::1;37410:16;:14;:16::i;:::-;37387:20;:39:::0;37454:26:::1;:24;:26::i;:::-;37437:14;:43:::0;-1:-1:-1;;;;;37495:21:0;::::1;::::0;37491:157:::1;;37552:15;37559:7;37552:6;:15::i;:::-;-1:-1:-1::0;;;;;37533:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;37616:20:::1;::::0;37582:22:::1;:31:::0;;;;;;:54;37491:157:::1;33958:10:::2;33933:14;33950:19:::0;;;:7:::2;:19;::::0;;;;;33984:10;;33980:176:::2;;34019:10;34033:1;34011:19:::0;;;:7:::2;:19;::::0;;;;:23;34049:12:::2;::::0;:45:::2;::::0;-1:-1:-1;;;;;34049:12:0;;::::2;::::0;34087:6;34049:25:::2;:45::i;:::-;34114:30;::::0;;;;;;;34125:10:::2;::::0;34114:30:::2;::::0;;;;;::::2;::::0;;::::2;33980:176;-1:-1:-1::0;;28049:1:0;29011:7;:22;33856:307::o;35849:118::-;2437:12;:10;:12::i;:::-;-1:-1:-1;;;;;2426:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2426:23:0;;2418:68;;;;;-1:-1:-1;;;2418:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35934:16:0;;::::1;;::::0;;;:10:::1;:16;::::0;;;;:25;35849:118::o;36366:131::-;2437:12;:10;:12::i;:::-;-1:-1:-1;;;;;2426:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2426:23:0;;2418:68;;;;;-1:-1:-1;;;2418:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36450:1:::1;37410:16;:14;:16::i;:::-;37387:20;:39:::0;37454:26:::1;:24;:26::i;:::-;37437:14;:43:::0;-1:-1:-1;;;;;37495:21:0;::::1;::::0;37491:157:::1;;37552:15;37559:7;37552:6;:15::i;:::-;-1:-1:-1::0;;;;;37533:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;37616:20:::1;::::0;37582:22:::1;:31:::0;;;;;;:54;37491:157:::1;-1:-1:-1::0;36465:12:0::2;:24:::0;36366:131::o;34171:324::-;28093:1;28699:7;;:19;;28691:63;;;;;-1:-1:-1;;;28691:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28093:1;28832:7;:18;;;34261:10:::1;34250:22:::0;;:10:::1;:22;::::0;;;;;34287:18;;34283:205:::1;;34333:10;34347:1;34322:22:::0;;;:10:::1;:22;::::0;;;;:26;34363:12:::1;::::0;:53:::1;::::0;-1:-1:-1;;;;;34363:12:0;;::::1;::::0;34401:14;34363:25:::1;:53::i;:::-;34436:40;::::0;;;;;;;34449:10:::1;::::0;34436:40:::1;::::0;;;;;::::1;::::0;;::::1;34283:205;-1:-1:-1::0;28049:1:0;29011:7;:22;34171:324::o;31446:112::-;-1:-1:-1;;;;;31532:18:0;31505:7;31532:18;;;:9;:18;;;;;;;31446:112::o;2857:148::-;2437:12;:10;:12::i;:::-;-1:-1:-1;;;;;2426:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2426:23:0;;2418:68;;;;;-1:-1:-1;;;2418:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2948:6:::1;::::0;2927:40:::1;::::0;2964:1:::1;::::0;-1:-1:-1;;;;;2948:6:0::1;::::0;2927:40:::1;::::0;2964:1;;2927:40:::1;2978:6;:19:::0;;-1:-1:-1;;2978:19:0::1;::::0;;2857:148::o;30557:26::-;;;-1:-1:-1;;;;;30557:26:0;;:::o;30637:29::-;;;;:::o;31688:131::-;31745:7;31772:39;31781:15;31798:12;;31772:8;:39::i;36612:304::-;2437:12;:10;:12::i;:::-;-1:-1:-1;;;;;2426:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2426:23:0;;2418:68;;;;;-1:-1:-1;;;2418:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36739:12:::1;::::0;-1:-1:-1;;;;;36715:37:0;;::::1;36739:12:::0;::::1;36715:37;;36707:83;;;;-1:-1:-1::0;;;36707:83:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36801:55;36835:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;36801:33:0;::::1;::::0;36844:11;36801:33:::1;:55::i;:::-;36872:36;::::0;;-1:-1:-1;;;;;36872:36:0;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;36612:304:::0;;:::o;30800:57::-;;;;;;;;;;;;;:::o;2206:87::-;2279:6;;-1:-1:-1;;;;;2279:6:0;2206:87;:::o;35975:346::-;2437:12;:10;:12::i;:::-;-1:-1:-1;;;;;2426:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2426:23:0;;2418:68;;;;;-1:-1:-1;;;2418:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36115:7:::1;:14;36095:9;:16;:34;36087:104;;;;-1:-1:-1::0;;;36087:104:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36207:6;36202:112;36221:9;:16;36217:1;:20;36202:112;;;36259:43;36277:9;36287:1;36277:12;;;;;;;;;;;;;;36291:7;36299:1;36291:10;;;;;;;;;;;;;;36259:17;:43::i;:::-;36239:3;;36202:112;;;;35975:346:::0;;:::o;32554:369::-;28093:1;28699:7;;:19;;28691:63;;;;;-1:-1:-1;;;28691:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28093:1;28832:7;:18;32620:10:::1;37410:16;:14;:16::i;:::-;37387:20;:39:::0;37454:26:::1;:24;:26::i;:::-;37437:14;:43:::0;-1:-1:-1;;;;;37495:21:0;::::1;::::0;37491:157:::1;;37552:15;37559:7;37552:6;:15::i;:::-;-1:-1:-1::0;;;;;37533:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;37616:20:::1;::::0;37582:22:::1;:31:::0;;;;;;:54;37491:157:::1;32660:1:::2;32651:6;:10;32643:37;;;::::0;;-1:-1:-1;;;32643:37:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;32706:12;::::0;:24:::2;::::0;32723:6;32706:16:::2;:24::i;:::-;32691:12;:39:::0;32775:10:::2;32765:21;::::0;;;:9:::2;:21;::::0;;;;;:33:::2;::::0;32791:6;32765:25:::2;:33::i;:::-;32751:10;32741:21;::::0;;;:9:::2;:21;::::0;;;;:57;;;;32809:12:::2;::::0;:64:::2;::::0;-1:-1:-1;;;;;32809:12:0;;::::2;::::0;32859:4:::2;32866:6:::0;32809:29:::2;:64::i;:::-;32889:26;::::0;;;;;;;32896:10:::2;::::0;32889:26:::2;::::0;;;;;::::2;::::0;;::::2;-1:-1:-1::0;;28049:1:0;29011:7;:22;32554:369::o;30720:29::-;;;;:::o;36924:360::-;2437:12;:10;:12::i;:::-;-1:-1:-1;;;;;2426:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2426:23:0;;2418:68;;;;;-1:-1:-1;;;2418:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37048:12:::1;;37030:15;:30;37008:168;;;;-1:-1:-1::0;;;37008:168:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37187:15;:34:::0;;;37237:39:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;36924:360:::0;:::o;31827:330::-;31874:7;31898:12;;31914:1;31898:17;31894:77;;;-1:-1:-1;31939:20:0;;31932:27;;31894:77;32001:148;32044:90;32121:12;;32044:72;32111:4;32044:62;32095:10;;32044:46;32075:14;;32044:26;:24;:26::i;:46::-;:50;;:62::i;:90::-;32001:20;;;:24;:148::i;30524:26::-;;;-1:-1:-1;;;;;30524:26:0;;:::o;30756:35::-;;;;:::o;34503:121::-;34558:10;34548:21;;;;:9;:21;;;;;;34539:31;;:8;:31::i;:::-;34581:11;:9;:11::i;:::-;34603:13;:11;:13::i;:::-;34503:121::o;30590:40::-;;;;:::o;32931:552::-;28093:1;28699:7;;:19;;28691:63;;;;;-1:-1:-1;;;28691:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28093:1;28832:7;:18;33053:10:::1;37410:16;:14;:16::i;:::-;37387:20;:39:::0;37454:26:::1;:24;:26::i;:::-;37437:14;:43:::0;-1:-1:-1;;;;;37495:21:0;::::1;::::0;37491:157:::1;;37552:15;37559:7;37552:6;:15::i;:::-;-1:-1:-1::0;;;;;37533:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;37616:20:::1;::::0;37582:22:::1;:31:::0;;;;;;:54;37491:157:::1;33093:1:::2;33084:6;:10;33076:37;;;::::0;;-1:-1:-1;;;33076:37:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;33139:12;::::0;:24:::2;::::0;33156:6;33139:16:::2;:24::i;:::-;33124:12;:39:::0;33208:10:::2;33198:21;::::0;;;:9:::2;:21;::::0;;;;;:33:::2;::::0;33224:6;33198:25:::2;:33::i;:::-;33184:10;33174:21;::::0;;;:9:::2;:21;::::0;;;;;:57;;;;33281:12:::2;::::0;33263:93;;;;;::::2;::::0;::::2;::::0;;;;33323:4:::2;33263:93:::0;;;;;;;;;;;;;;;;::::2;::::0;::::2;::::0;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33281:12:0;;::::2;::::0;33263:39:::2;::::0;:93;;;;;33174:21;33263:93;;;;;;33174:21;33281:12;33263:93;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;33369:12:0::2;::::0;:64:::2;::::0;-1:-1:-1;;;;;;33369:12:0::2;::::0;-1:-1:-1;33399:10:0::2;33419:4;33426:6:::0;33369:29:::2;:64::i;:::-;33449:26;::::0;;;;;;;33456:10:::2;::::0;33449:26:::2;::::0;;;;;::::2;::::0;;::::2;-1:-1:-1::0;;28049:1:0;29011:7;:22;-1:-1:-1;;;;32931:552:0:o;3160:244::-;2437:12;:10;:12::i;:::-;-1:-1:-1;;;;;2426:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2426:23:0;;2418:68;;;;;-1:-1:-1;;;2418:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3249:22:0;::::1;3241:73;;;;-1:-1:-1::0;;;3241:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3351:6;::::0;3330:38:::1;::::0;-1:-1:-1;;;;;3330:38:0;;::::1;::::0;3351:6:::1;::::0;3330:38:::1;::::0;3351:6:::1;::::0;3330:38:::1;3379:6;:17:::0;;-1:-1:-1;;3379:17:0::1;-1:-1:-1::0;;;;;3379:17:0;;;::::1;::::0;;;::::1;::::0;;3160:244::o;7539:158::-;7597:7;7630:1;7625;:6;;7617:49;;;;;-1:-1:-1;;;7617:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7684:5:0;;;7539:158::o;7956:220::-;8014:7;8038:6;8034:20;;-1:-1:-1;8053:1:0;8046:8;;8034:20;8077:5;;;8081:1;8077;:5;:1;8101:5;;;;;:10;8093:56;;;;-1:-1:-1;;;8093:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8167:1;7956:220;-1:-1:-1;;;7956:220:0:o;8654:153::-;8712:7;8744:1;8740;:5;8732:44;;;;;-1:-1:-1;;;8732:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8798:1;8794;:5;;;;;;;8654:153;-1:-1:-1;;;8654:153:0:o;7077:179::-;7135:7;7167:5;;;7191:6;;;;7183:46;;;;;-1:-1:-1;;;7183:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;23264:177;23374:58;;;-1:-1:-1;;;;;23374:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23397:23;23374:58;;;23347:86;;23367:5;;23347:19;:86::i;737:106::-;825:10;737:106;:::o;3851:::-;3909:7;3940:1;3936;:5;:13;;3948:1;3936:13;;;-1:-1:-1;3944:1:0;;3929:20;-1:-1:-1;3851:106:0:o;23449:205::-;23577:68;;;-1:-1:-1;;;;;23577:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23600:27;23577:68;;;23550:96;;23570:5;;23550:19;:96::i;:::-;23449:205;;;;:::o;25569:761::-;25993:23;26019:69;26047:4;26019:69;;;;;;;;;;;;;;;;;26027:5;-1:-1:-1;;;;;26019:27:0;;;:69;;;;;:::i;:::-;26103:17;;25993:95;;-1:-1:-1;26103:21:0;26099:224;;26245:10;26234:30;;;;;;;;;;;;;;;-1:-1:-1;26234:30:0;26226:85;;;;-1:-1:-1;;;26226:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18255:195;18358:12;18390:52;18412:6;18420:4;18426:1;18429:12;18390:21;:52::i;:::-;18383:59;18255:195;-1:-1:-1;;;;18255:195:0:o;19307:530::-;19434:12;19492:5;19467:21;:30;;19459:81;;;;-1:-1:-1;;;19459:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19559:18;19570:6;19559:10;:18::i;:::-;19551:60;;;;;-1:-1:-1;;;19551:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19685:12;19699:23;19726:6;-1:-1:-1;;;;;19726:11:0;19746:5;19754:4;19726:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19726:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19684:75;;;;19777:52;19795:7;19804:10;19816:12;19777:17;:52::i;:::-;19770:59;19307:530;-1:-1:-1;;;;;;;19307:530:0:o;15337:422::-;15704:20;15743:8;;;15337:422::o;21847:742::-;21962:12;21991:7;21987:595;;;-1:-1:-1;22022:10:0;22015:17;;21987:595;22136:17;;:21;22132:439;;22399:10;22393:17;22460:15;22447:10;22443:2;22439:19;22432:44;22347:148;22542:12;22535:20;;-1:-1:-1;;;22535:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

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