Contract 0xb64dfae5122D70Fa932f563c53921FE33967B3E0

 
Ad
Crypto.com
Txn Hash Method
Block
From
To
Value
0x86b495219893ea38e24f982e01350750209f28b038ba53fcd357968752a9c779Provide Collater...116441162021-01-13 3:04:01254 days 9 hrs ago0xeb5f08e10812bc3bcae45f68dc9b1b6f21aa4fb5 IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.00388987272
0x396e0e009602263c9f47403f58706dca5f8dcf411de4f436dabf930cfae6955b_liquidate Accou...115630082020-12-31 16:24:30266 days 20 hrs ago0x0efe54e77e5cc430342088da27ef73f42b482d33 IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.00736065150
0xf7d15cacb0d8f074fe878fd73829b2111a3ff3c0ced31299231f983f35cbc668_liquidate Accou...115520352020-12-30 0:13:00268 days 12 hrs ago0x0efe54e77e5cc430342088da27ef73f42b482d33 IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.00736065150
0x25721a360e89d38d6892cb625982d14111ae7e871a2c733b45bb2dbef0af8a9c_liquidate Accou...115519652020-12-29 23:58:47268 days 12 hrs ago0x0efe54e77e5cc430342088da27ef73f42b482d33 IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.00736065150
0x178006780fb5234baf05cd27bee94810a41e06f97f5a794a24929914d5b35489_liquidate Accou...115371292020-12-27 17:14:51270 days 19 hrs ago0x0efe54e77e5cc430342088da27ef73f42b482d33 IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.00736065150
0x1d7a9520d7e00601385f85c6b9aefd6644797de002ec94cd26a4ca80119bf3a5Withdraw Collate...114778492020-12-18 14:59:26279 days 21 hrs ago0x6ff56f077766b24749c186a17f2b4dd098a75aae IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.02949534364267.000001459
0x8a84dcb388f47213583b60819637984a2c6491ae6b5e08bc699c712661e7c7c9Withdraw Collate...114770302020-12-18 11:50:46280 days 1 hr ago0x7a5509e03b1a9d75a4106900f5a014888833dc91 IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.02929653161
0x389864b422de13069f566867528346bc85f6c88eea69ee55b595a23e856982d7Withdraw Collate...114770252020-12-18 11:50:24280 days 1 hr ago0x7a5509e03b1a9d75a4106900f5a014888833dc91 IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.019852298445.1
0x607e31dac8df8e2d9984889541b486f316a3f01154221549befa5ca23780a508Withdraw Collate...114759642020-12-18 7:57:41280 days 4 hrs ago0x6ff56f077766b24749c186a17f2b4dd098a75aae IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.02375672662
0xa74bb6c239a68b1dd648ffdab309fffab864333835db82c5b364343daa73fb5eWithdraw Collate...114759532020-12-18 7:53:42280 days 5 hrs ago0x6ff56f077766b24749c186a17f2b4dd098a75aae IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.01800913147
0x862d4ef851a5412deac2b9a466dcae5ceb6fb84433262d430a92294ca79c4086Withdraw Collate...114754372020-12-18 6:07:45280 days 6 hrs ago0x7a5509e03b1a9d75a4106900f5a014888833dc91 IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.0154064435
0x636e998beccb182576252e8251d35ee568bf2bb25346e51204cfe253490d4595Withdraw Collate...114739502020-12-18 0:33:24280 days 12 hrs ago0xd836da33a6629548271eb9ef4f62d083376eb4a6 IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.044437575105
0xe5d79e8ec9b7060153fc4b44a36285d6c55688d927d1fb100ffc8d756961db35Withdraw Collate...114738762020-12-18 0:13:31280 days 12 hrs ago0x240cf70d8a648be133feb342d71e5e81c686e5f8 IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.02977734464
0xa422e3cf5978cca51461b002e2662c57acd1a1cd4bc550ba611b927837ca3c71Withdraw Collate...114738412020-12-18 0:05:44280 days 12 hrs ago0x240cf70d8a648be133feb342d71e5e81c686e5f8 IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.0308128870
0xbe5c3bfa5e7f72d74b071828b4294f42173629d94bff39188a57baa280493a46Withdraw Collate...114737322020-12-17 23:38:55280 days 13 hrs ago0xf10806c57b21f89a60ac5b743532fd3d4efce18a IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.04146493595
0xeef49cf8a05abfae80024cade5453f290d6008f5134f8f0ce192040418521569Withdraw Collate...114737312020-12-17 23:38:52280 days 13 hrs ago0xf10806c57b21f89a60ac5b743532fd3d4efce18a IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.02814340671
0x7a7b0bde8173b04b3b4d14112b39ecf408b46ee280ab9d55436619be1638ccdcWithdraw Collate...114737242020-12-17 23:38:04280 days 13 hrs ago0xf10806c57b21f89a60ac5b743532fd3d4efce18a IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.01863014247
0x1721986bef8d8b00879fa6c126fb267ef7be5d97d453f7a4b8a18410e5599abbWithdraw Collate...114736912020-12-17 23:31:58280 days 13 hrs ago0x240cf70d8a648be133feb342d71e5e81c686e5f8 IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.0226201260
0x0aaecb1c89cce9d550f3670b278d81a7c7bb171771420794013c6cb59c1c17d4Withdraw Collate...114736862020-12-17 23:30:48280 days 13 hrs ago0x240cf70d8a648be133feb342d71e5e81c686e5f8 IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.0170844660
0x32fbd96a716bc407ae521a0b03759a4838b646a31e3d4ddab5a31599ddd73e58Withdraw Collate...114736802020-12-17 23:29:59280 days 13 hrs ago0x53c063db2cc19e260540cfa04743b1380be1a2bb IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.03174202575
0x035a6fa6396574504f9abb5cd8b1cbbab947b640ae264f9e64f1f0af6c2594f5Withdraw Collate...114736782020-12-17 23:29:36280 days 13 hrs ago0x979211193cddb32b5f50928b83b6a6a4c40037bc IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.03174202575
0xf069eb29934b83e2cecd3bc4169965fc117069e3a63126350cc8ab259855d922Withdraw Collate...114734992020-12-17 22:55:43280 days 14 hrs ago0x8dd4fc6ec4e375894de3dea5696c7fcfe39e3b9e IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.01813443664238.000001347
0x13784adfa9136146fe1e267e2ab1e63ae8ce71e56417224cafbe7e2d436cd3beWithdraw Collate...114730702020-12-17 21:25:11280 days 15 hrs ago0x8e963dfd249beb7fb665b910257ecb622ffe9ad1 IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.0720638158
0xa8ea4d410197ad6f01b43e36062ec9fe044997a2e0cc5bb58223c8a7ad62f4b6Provide Collater...114721842020-12-17 18:09:24280 days 18 hrs ago0xf10806c57b21f89a60ac5b743532fd3d4efce18a IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.01486045275
0x668ff8a00040aa81d5c4738ed7844bc0daab0ab04bc56b0d284e69d1cd8ceb64Withdraw Collate...114718592020-12-17 16:51:53280 days 20 hrs ago0x8e963dfd249beb7fb665b910257ecb622ffe9ad1 IN  0xb64dfae5122d70fa932f563c53921fe33967b3e00 Ether0.055719593149
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xbd03ffc80eff983579f3a8ecdf7afdb8ccfc69e1e59fba85e53d34e6a87ce80f114622652020-12-16 5:36:56282 days 7 hrs ago 0x36c6bafb43718b776d32f2389cdf9c25823c1965  Contract Creation0 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x3c37f97F7d8f705cc230f97a0668f77a0e05D0aA

Contract Name:
WarpVaultLP

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// File: node_modules\@openzeppelin\contracts\GSN\Context.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

// File: @openzeppelin\contracts\access\Ownable.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

// File: @openzeppelin\contracts\math\SafeMath.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

        return c;
    }

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

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

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

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

// File: @openzeppelin\contracts\token\ERC20\IERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

// File: node_modules\@openzeppelin\contracts\utils\Address.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin\contracts\token\ERC20\ERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;





/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

// File: contracts\WarpWrapperToken.sol

pragma solidity ^0.6.2;



////////////////////////////////////////////////////////////////////////////////////////////
/// @title WarpWrapperToken
/// @author Christopher Dixon
////////////////////////////////////////////////////////////////////////////////////////////
/**
@notice the WarpWrapperToken contract is designed  as a token Wrapper to represent ownership of stablecoins added to a specific
        WarpVault. This contract inherits Ownership and ERC20 functionality from the Open Zeppelin Library.
**/
contract WarpWrapperToken is Ownable, ERC20 {
    address public stablecoin;

    ///@notice constructor sets up token names and symbols for the WarpWrapperToken
    constructor(
        address _SC,
        string memory _tokenName,
        string memory _tokenSymbol
    ) public ERC20(_tokenSymbol, _tokenName) {
        stablecoin = _SC;
    }

    /**
    @notice mint is an only owner function that allows the owner to mint new tokens to an input account
    @param _to is the address that will receive the new tokens
    @param _amount is the amount of token they will receive
    **/
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }

    /**
    @notice burn is an only owner function that allows the owner to burn  tokens from an input account
    @param _from is the address where the tokens will be burnt
    @param _amount is the amount of token to be burnt
    **/
    function burn(address _from, uint256 _amount) public onlyOwner {
        _burn(_from, _amount);
    }
}

// File: contracts\interfaces\WarpControlI.sol

pragma solidity ^0.6.0;

////////////////////////////////////////////////////////////////////////////////////////////
/// @title WarpVaultI
/// @author Christopher Dixon
////////////////////////////////////////////////////////////////////////////////////////////
/**
The WarpControlI contract is an abstract contract used by individual WarpVault contracts to call the
  maxWithdrawAllowed function on the WarpControl contract
**/

abstract contract WarpControlI {
    function getMaxWithdrawAllowed(address account, address lpToken)
        public
        virtual
        returns (uint256);

    function viewMaxWithdrawAllowed(address account, address lpToken)
        public
        virtual
        view
        returns (uint256);

    function viewPriceOfCollateral(address lpToken)
        public
        virtual
        view
        returns (uint256);

    function addMemberToGroup(address _refferalCode, address _member)
        public
        virtual;

    function checkIfGroupMember(address _account)
        public
        virtual
        view
        returns (bool);

    function getTotalAvailableCollateralValue(address _account)
        public
        virtual
        returns (uint256);

    function viewTotalAvailableCollateralValue(address _account)
        public
        virtual
        view
        returns (uint256);

    function viewPriceOfToken(address token)
        public
        virtual
        view
        returns (uint256);

    function viewTotalBorrowedValue(address _account)
        public
        virtual
        view
        returns (uint256);

    function getTotalBorrowedValue(address _account)
        public
        virtual
        returns (uint256);

    function calcBorrowLimit(uint256 _collateralValue)
        public
        virtual
        pure
        returns (uint256);

    function calcCollateralRequired(uint256 _borrowAmount)
        public
        virtual
        view
        returns (uint256);

    function getBorrowLimit(address _account) public virtual returns (uint256);

    function viewBorrowLimit(address _account)
        public
        virtual
        view
        returns (uint256);

    function liquidateAccount(address _borrower) public virtual;
}

// File: contracts\WarpVaultLP.sol

pragma solidity ^0.6.2;






////////////////////////////////////////////////////////////////////////////////////////////
/// @title WarpVaultLP
/// @author Christopher Dixon
////////////////////////////////////////////////////////////////////////////////////////////
/**
@notice the WarpVaultLP contract is the main point of interface for a specific LP asset class and an end user in the
Warp lending platform. This contract is responsible for distributing WarpWrapper tokens in exchange for stablecoin assets,
holding and accounting of stablecoins and LP tokens and all associates lending/borrowing calculations for a specific Warp LP asset class.
This contract inherits Ownership and ERC20 functionality from the Open Zeppelin Library as well as Exponential and the InterestRateModel contracts
from the coumpound protocol.
**/

contract WarpVaultLP {
    using SafeMath for uint256;

    uint256 public timeWizard;
    string public lpName;

    IERC20 public LPtoken;
    WarpControlI public warpControl;

    mapping(address => uint256) public collateralizedLP;

    event CollateralProvided(address _account, uint256 _amount);
    event CollateralWithdraw(address _account, uint256 _amount);
    event WarpControlChanged(address _newControl, address _oldControl);
    event AccountLiquidated(
        address _account,
        address _liquidator,
        uint256 _amount
    );

    /**
     * @dev Throws if called by any account other than a warp control
     */
    modifier onlyWarpControl() {
        require(msg.sender == address(warpControl));
        _;
    }

    /**
@dev Throws if a function is called before the time wizard allows it
**/
    modifier angryWizard() {
        require(now > timeWizard);
        _;
    }

    /**
    @notice constructor sets up token names and symbols for the WarpWrapperToken
    @param _lp is the address of the lp token a specific Warp vault will represent
    @param _lpName is the name of the lp token
    @param _timelock is a variable representing the number of seconds the timeWizard will prevent withdraws and borrows from a contracts(one week is 605800 seconds)
    @dev this function instantiates the lp token as a useable object and generates three WarpWrapperToken contracts to represent
        each type of stable coin this vault can hold. this also instantiates each of these contracts as a usable object in this contract giving
        this contract the ability to call their mint and burn functions.
    **/
    constructor(
        uint256 _timelock,
        address _lp,
        address _WarpControl,
        string memory _lpName
    ) public {
        lpName = _lpName;
        LPtoken = IERC20(_lp);
        warpControl = WarpControlI(_WarpControl);
        timeWizard = now.add(_timelock);
    }

    function updateWarpControl(address _warpControl) public onlyWarpControl {
        emit WarpControlChanged(_warpControl, address(warpControl));
        warpControl = WarpControlI(_warpControl);
    }

    /**
    @notice provideCollateral allows a user to collateralize this contracts associated LP token
    @param _amount is the amount of LP being collateralized
    **/
    function provideCollateral(uint256 _amount) public {
        require(
            LPtoken.allowance(msg.sender, address(this)) >= _amount,
            "Vault must have enough allowance."
        );
        require(
            LPtoken.balanceOf(msg.sender) >= _amount,
            "Must have enough LP to provide"
        );
        LPtoken.transferFrom(msg.sender, address(this), _amount);
        collateralizedLP[msg.sender] = collateralizedLP[msg.sender].add(
            _amount
        );

        emit CollateralProvided(msg.sender, _amount);
    }

    /**
    @notice withdrawCollateral allows the user to trade in his WarpLP tokens for hiss underlying LP token collateral
    @param _amount is the amount of LP tokens he wishes to withdraw
    **/
    function withdrawCollateral(uint256 _amount) public {
        uint256 amount;
        uint256 maxAmount = warpControl.getMaxWithdrawAllowed(
            msg.sender,
            address(LPtoken)
        );
        if (_amount == 0) {
            amount = maxAmount;
        } else {
            amount = _amount;
        }

        //require the availible value of the LP locked in this contract the user has
        //is greater than or equal to the amount being withdrawn
        require(maxAmount >= amount, "Trying to withdraw too much");
        //require the user has locked up enough collateral to withdraw this amount
        require(
            collateralizedLP[msg.sender] >= amount,
            "you are trying to withdraw more collateral than you have locked"
        );

        //subtract withdrawn amount from amount stored
        collateralizedLP[msg.sender] = collateralizedLP[msg.sender].sub(amount);
        //transfer them their token
        LPtoken.transfer(msg.sender, amount);
        emit CollateralWithdraw(msg.sender, amount);
    }

    /**
    @notice getAssetAdd allows for easy retrieval of a WarpVaults LP token Adress
    **/
    function getAssetAdd() public view returns (address) {
        return address(LPtoken);
    }

    /**
    @notice collateralOfAccount is a view function to retreive an accounts collateralized LP amount
    @param _account is the address of the account being looked up
    **/
    function collateralOfAccount(address _account)
        public
        view
        returns (uint256)
    {
        return collateralizedLP[_account];
    }

    /**
    @notice _liquidateAccount is a function to liquidate the LP tokens of the input account
    @param _account is the address of the account being liquidated
    @param _liquidator is the address of the account doing the liquidating who receives the liquidated LP's
    @dev this function uses the onlyWarpControl modifier meaning that only the Warp Control contract can call it
    **/
    function _liquidateAccount(address _account, address _liquidator)
        public
        onlyWarpControl
        angryWizard
    {
        emit AccountLiquidated(
            _account,
            _liquidator,
            collateralizedLP[_account]
        );
        //transfer the LP tokens to the liquidator
        LPtoken.transfer(_liquidator, collateralizedLP[_account]);
        //reset the borrowers collateral tracker
        collateralizedLP[_account] = 0;
    }

    function valueOfAccountCollateral(address _account)
        external
        view
        returns (uint256)
    {
        uint256 collateralPrice = warpControl.viewPriceOfCollateral(
            address(LPtoken)
        );
        uint256 collateralValue = collateralizedLP[_account].mul(
            collateralPrice
        );
        return collateralValue;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_timelock","type":"uint256"},{"internalType":"address","name":"_lp","type":"address"},{"internalType":"address","name":"_WarpControl","type":"address"},{"internalType":"string","name":"_lpName","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_account","type":"address"},{"indexed":false,"internalType":"address","name":"_liquidator","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"AccountLiquidated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_account","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"CollateralProvided","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_account","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"CollateralWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_newControl","type":"address"},{"indexed":false,"internalType":"address","name":"_oldControl","type":"address"}],"name":"WarpControlChanged","type":"event"},{"inputs":[],"name":"LPtoken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"address","name":"_liquidator","type":"address"}],"name":"_liquidateAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"collateralOfAccount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"collateralizedLP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAssetAdd","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"provideCollateral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"timeWizard","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_warpControl","type":"address"}],"name":"updateWarpControl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"valueOfAccountCollateral","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"warpControl","outputs":[{"internalType":"contract WarpControlI","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawCollateral","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162000f5238038062000f52833981810160405260808110156200003757600080fd5b8151602083015160408085015160608601805192519496939591949391820192846401000000008211156200006b57600080fd5b9083019060208201858111156200008157600080fd5b82516401000000008111828201881017156200009c57600080fd5b82525081516020918201929091019080838360005b83811015620000cb578181015183820152602001620000b1565b50505050905090810190601f168015620000f95780820380516001836020036101000a031916815260200191505b50604052505081516200011591506001906020840190620001d0565b50600280546001600160a01b03199081166001600160a01b0386811691909117909255600380549091169184169190911790556200016042856200016e602090811b62000b2517901c565b600055506200027592505050565b600082820183811015620001c9576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200021357805160ff191683800117855562000243565b8280016001018555821562000243579182015b828111156200024357825182559160200191906001019062000226565b506200025192915062000255565b5090565b6200027291905b808211156200025157600081556001016200025c565b90565b610ccd80620002856000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c8063c14cba3e11610071578063c14cba3e146101df578063c453e557146101e7578063cb7b42061461020d578063f0c3c06b14610215578063f4b5e3e414610232578063f919b4bf14610260576100b4565b806346cd6801146100b95780634c20ac74146101365780634cf3e7841461015a5780636112fe2e14610182578063763e4a0d1461019f578063bbb7d489146101d7575b600080fd5b6100c1610286565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61013e610313565b604080516001600160a01b039092168252519081900360200190f35b6101806004803603602081101561017057600080fd5b50356001600160a01b0316610322565b005b6101806004803603602081101561019857600080fd5b50356103a3565b6101c5600480360360208110156101b557600080fd5b50356001600160a01b03166105d2565b60408051918252519081900360200190f35b61013e6105e4565b61013e6105f3565b6101c5600480360360208110156101fd57600080fd5b50356001600160a01b0316610602565b6101c56106b5565b6101806004803603602081101561022b57600080fd5b50356106bb565b6101806004803603604081101561024857600080fd5b506001600160a01b0381358116916020013516610935565b6101c56004803603602081101561027657600080fd5b50356001600160a01b0316610a66565b60018054604080516020600284861615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561030b5780601f106102e05761010080835404028352916020019161030b565b820191906000526020600020905b8154815290600101906020018083116102ee57829003601f168201915b505050505081565b6002546001600160a01b031690565b6003546001600160a01b0316331461033957600080fd5b600354604080516001600160a01b038085168252909216602083015280517ff31f198b56fc88f5180e2da8285f8fc0e39731c96e24af25bab67838a32c5d799281900390910190a1600380546001600160a01b0319166001600160a01b0392909216919091179055565b6003546002546040805163ab5e2c9960e01b81523360048201526001600160a01b03928316602482015290516000938493169163ab5e2c9991604480830192602092919082900301818787803b1580156103fc57600080fd5b505af1158015610410573d6000803e3d6000fd5b505050506040513d602081101561042657600080fd5b50519050826104375780915061043b565b8291505b81811015610490576040805162461bcd60e51b815260206004820152601b60248201527f547279696e6720746f20776974686472617720746f6f206d7563680000000000604482015290519081900360640190fd5b336000908152600460205260409020548211156104de5760405162461bcd60e51b815260040180806020018281038252603f815260200180610c17603f913960400191505060405180910390fd5b336000908152600460205260409020546104fe908363ffffffff610a8116565b33600081815260046020818152604080842095909555600254855163a9059cbb60e01b8152928301949094526024820187905293516001600160a01b039093169363a9059cbb9360448084019492939192918390030190829087803b15801561056657600080fd5b505af115801561057a573d6000803e3d6000fd5b505050506040513d602081101561059057600080fd5b5050604080513381526020810184905281517f92682d28e4c16f4a2ddb833ecdd2bab2f2da69e2f325cda58d421e7d634b8e27929181900390910190a1505050565b60046020526000908152604090205481565b6003546001600160a01b031681565b6002546001600160a01b031681565b6003546002546040805163272c85f760e11b81526001600160a01b039283166004820152905160009384931691634e590bee916024808301926020929190829003018186803b15801561065457600080fd5b505afa158015610668573d6000803e3d6000fd5b505050506040513d602081101561067e57600080fd5b50516001600160a01b038416600090815260046020526040812054919250906106ad908363ffffffff610acc16565b949350505050565b60005481565b60025460408051636eb1769f60e11b8152336004820152306024820152905183926001600160a01b03169163dd62ed3e916044808301926020929190829003018186803b15801561070b57600080fd5b505afa15801561071f573d6000803e3d6000fd5b505050506040513d602081101561073557600080fd5b505110156107745760405162461bcd60e51b8152600401808060200182810382526021815260200180610c776021913960400191505060405180910390fd5b600254604080516370a0823160e01b8152336004820152905183926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156107be57600080fd5b505afa1580156107d2573d6000803e3d6000fd5b505050506040513d60208110156107e857600080fd5b5051101561083d576040805162461bcd60e51b815260206004820152601e60248201527f4d757374206861766520656e6f756768204c5020746f2070726f766964650000604482015290519081900360640190fd5b600254604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b15801561089757600080fd5b505af11580156108ab573d6000803e3d6000fd5b505050506040513d60208110156108c157600080fd5b5050336000908152600460205260409020546108e3908263ffffffff610b2516565b3360008181526004602090815260409182902093909355805191825291810183905281517f304548d20eea45684a7db179080f94dce8e4442923ddd63688ab5b7e270a4849929181900390910190a150565b6003546001600160a01b0316331461094c57600080fd5b600054421161095a57600080fd5b6001600160a01b03808316600081815260046020908152604091829020548251938452938516908301528181019290925290517fb45e156992a4fbdcc0ac5b35d795eaabed404816fd7b53363a18a5da1ae16a699181900360600190a16002546001600160a01b03838116600090815260046020818152604080842054815163a9059cbb60e01b815288871694810194909452602484015251939094169363a9059cbb9360448084019492939192918390030190829087803b158015610a1f57600080fd5b505af1158015610a33573d6000803e3d6000fd5b505050506040513d6020811015610a4957600080fd5b5050506001600160a01b0316600090815260046020526040812055565b6001600160a01b031660009081526004602052604090205490565b6000610ac383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610b7f565b90505b92915050565b600082610adb57506000610ac6565b82820282848281610ae857fe5b0414610ac35760405162461bcd60e51b8152600401808060200182810382526021815260200180610c566021913960400191505060405180910390fd5b600082820183811015610ac3576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008184841115610c0e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610bd3578181015183820152602001610bbb565b50505050905090810190601f168015610c005780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50505090039056fe796f752061726520747279696e6720746f207769746864726177206d6f726520636f6c6c61746572616c207468616e20796f752068617665206c6f636b6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775661756c74206d757374206861766520656e6f75676820616c6c6f77616e63652ea2646970667358221220acdf2d78a7d4c383e3bba05aacc14929fc00ef77fc224203b58925da8beb4ac864736f6c634300060600330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bb2b8038a1640196fbe3e38816f3e67cba72d940000000000000000000000000ba539b9a5c2d412cb10e5770435f362094f9541c00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000009574254432d574554480000000000000000000000000000000000000000000000

Deployed ByteCode Sourcemap

33613:6099:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;33613:6099:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;33708:20:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;33708:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37978:95;;;:::i;:::-;;;;-1:-1:-1;;;;;37978:95:0;;;;;;;;;;;;;;35615:201;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;35615:201:0;-1:-1:-1;;;;;35615:201:0;;:::i;:::-;;36783:1086;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;36783:1086:0;;:::i;33805:51::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;33805:51:0;-1:-1:-1;;;;;33805:51:0;;:::i;:::-;;;;;;;;;;;;;;;;33765:31;;;:::i;33737:21::-;;;:::i;39332:377::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;39332:377:0;-1:-1:-1;;;;;39332:377:0;;:::i;33676:25::-;;;:::i;36000:570::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;36000:570:0;;:::i;38838:486::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;38838:486:0;;;;;;;;;;:::i;38267:161::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;38267:161:0;-1:-1:-1;;;;;38267:161:0;;:::i;33708:20::-;;;;;;;;;;;;;;;-1:-1:-1;;33708:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;37978:95::-;38057:7;;-1:-1:-1;;;;;38057:7:0;37978:95;:::o;35615:201::-;34349:11;;-1:-1:-1;;;;;34349:11:0;34327:10;:34;34319:43;;12:1:-1;9;2:12;34319:43:0;35744:11:::1;::::0;35703:54:::1;::::0;;-1:-1:-1;;;;;35703:54:0;;::::1;::::0;;35744:11;;::::1;35703:54;::::0;::::1;::::0;;;::::1;::::0;;;;;;;;::::1;35768:11;:40:::0;;-1:-1:-1;;;;;;35768:40:0::1;-1:-1:-1::0;;;;;35768:40:0;;;::::1;::::0;;;::::1;::::0;;35615:201::o;36783:1086::-;36891:11;;36972:7;;36891:100;;;-1:-1:-1;;;36891:100:0;;36939:10;36891:100;;;;-1:-1:-1;;;;;36972:7:0;;;36891:100;;;;;;36846:14;;;;36891:11;;:33;;:100;;;;;;;;;;;;;;36846:14;36891:11;:100;;;2:2:-1;;;;27:1;24;17:12;2:2;36891:100:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36891:100:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;36891:100:0;;-1:-1:-1;37006:12:0;37002:112;;37044:9;37035:18;;37002:112;;;37095:7;37086:16;;37002:112;37299:6;37286:9;:19;;37278:59;;;;;-1:-1:-1;;;37278:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;37471:10;37454:28;;;;:16;:28;;;;;;:38;-1:-1:-1;37454:38:0;37432:151;;;;-1:-1:-1;;;37432:151:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37700:10;37683:28;;;;:16;:28;;;;;;:40;;37716:6;37683:40;:32;:40;:::i;:::-;37669:10;37652:28;;;;:16;:28;;;;;;;;:71;;;;37771:7;;:36;;-1:-1:-1;;;37771:36:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37771:7:0;;;;:16;;:36;;;;;37652:28;;37771:36;;;;;;;;;;:7;:36;;;2:2:-1;;;;27:1;24;17:12;2:2;37771:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;37771:36:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;37823:38:0;;;37842:10;37823:38;;37771:36;37823:38;;;;;;;;;;;;;;;;;;36783:1086;;;:::o;33805:51::-;;;;;;;;;;;;;:::o;33765:31::-;;;-1:-1:-1;;;;;33765:31:0;;:::o;33737:21::-;;;-1:-1:-1;;;;;33737:21:0;;:::o;39332:377::-;39485:11;;39541:7;;39485:75;;;-1:-1:-1;;;39485:75:0;;-1:-1:-1;;;;;39541:7:0;;;39485:75;;;;;;39434:7;;;;39485:11;;:33;;:75;;;;;;;;;;;;;;:11;:75;;;2:2:-1;;;;27:1;24;17:12;2:2;39485:75:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;39485:75:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;39485:75:0;-1:-1:-1;;;;;39597:26:0;;39571:23;39597:26;;;:16;39485:75;39597:26;;;;;39485:75;;-1:-1:-1;39571:23:0;39597:71;;39485:75;39597:71;:30;:71;:::i;:::-;39571:97;39332:377;-1:-1:-1;;;;39332:377:0:o;33676:25::-;;;;:::o;36000:570::-;36084:7;;:44;;;-1:-1:-1;;;36084:44:0;;36102:10;36084:44;;;;36122:4;36084:44;;;;;;36132:7;;-1:-1:-1;;;;;36084:7:0;;:17;;:44;;;;;;;;;;;;;;:7;:44;;;2:2:-1;;;;27:1;24;17:12;2:2;36084:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36084:44:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;36084:44:0;:55;;36062:138;;;;-1:-1:-1;;;36062:138:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36233:7;;:29;;;-1:-1:-1;;;36233:29:0;;36251:10;36233:29;;;;;;36266:7;;-1:-1:-1;;;;;36233:7:0;;:17;;:29;;;;;;;;;;;;;;:7;:29;;;2:2:-1;;;;27:1;24;17:12;2:2;36233:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36233:29:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;36233:29:0;:40;;36211:120;;;;;-1:-1:-1;;;36211:120:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;36342:7;;:56;;;-1:-1:-1;;;36342:56:0;;36363:10;36342:56;;;;36383:4;36342:56;;;;;;;;;;;;-1:-1:-1;;;;;36342:7:0;;;;:20;;:56;;;;;;;;;;;;;;;:7;;:56;;;2:2:-1;;;;27:1;24;17:12;2:2;36342:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36342:56:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;36457:10:0;36440:28;;;;:16;36342:56;36440:28;;;;;:65;;36487:7;36440:65;:32;:65;:::i;:::-;36426:10;36409:28;;;;:16;:28;;;;;;;;;:96;;;;36523:39;;;;;;;;;;;;;;;;;;;;;;;;36000:570;:::o;38838:486::-;34349:11;;-1:-1:-1;;;;;34349:11:0;34327:10;:34;34319:43;;12:1:-1;9;2:12;34319:43:0;34522:10:::1;;34516:3;:16;34508:25;;12:1:-1;9::::0;2:12:::1;34508:25:0;-1:-1:-1::0;;;;;39068:26:0;;::::2;;::::0;;;:16:::2;:26;::::0;;;;;;;;;38987:118;;;;;;;::::2;::::0;;::::2;::::0;;;;;;;;;;::::2;::::0;;;;;;;::::2;39168:7;::::0;-1:-1:-1;;;;;39198:26:0;;::::2;39168:7;39198:26:::0;;;:16:::2;:26;::::0;;;;;;;;39168:57;;-1:-1:-1;;;39168:57:0;;;;::::2;::::0;;::::2;::::0;;;;;;;;;:7;;;::::2;::::0;:16:::2;::::0;:57;;;;;39198:26;;39168:57;;;;;;;;;;:7;:57;::::2;;2:2:-1::0;::::2;;;27:1;24::::0;17:12:::2;2:2;39168:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;39168:57:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::2;4:2;-1:-1:::0;;;;;;;;39286:26:0::2;39315:1;39286:26:::0;;;:16:::2;39168:57;39286:26:::0;;;;:30;38838:486::o;38267:161::-;-1:-1:-1;;;;;38394:26:0;38362:7;38394:26;;;:16;:26;;;;;;;38267:161::o;4765:136::-;4823:7;4850:43;4854:1;4857;4850:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4843:50;;4765:136;;;;;:::o;5655:471::-;5713:7;5958:6;5954:47;;-1:-1:-1;5988:1:0;5981:8;;5954:47;6025:5;;;6029:1;6025;:5;:1;6049:5;;;;;:10;6041:56;;;;-1:-1:-1;;;6041:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4301:181;4359:7;4391:5;;;4415:6;;;;4407:46;;;;;-1:-1:-1;;;4407:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;5204:192;5290:7;5326:12;5318:6;;;;5310:29;;;;-1:-1:-1;;;5310:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5310:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5362:5:0;;;5204:192::o

Swarm Source

ipfs://acdf2d78a7d4c383e3bba05aacc14929fc00ef77fc224203b58925da8beb4ac8
Block Transaction Difficulty Gas Used Reward
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.