Polygon Sponsored slots available. Book your slot here!
Overview
MATIC Balance
0 MATIC
MATIC Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator:
Sponsored
Latest 25 from a total of 9,118 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Harvest | 50869615 | 112 days ago | IN | 0 MATIC | 0.0199969 | ||||
Deposit | 50869179 | 112 days ago | IN | 0 MATIC | 0.0065623 | ||||
Harvest | 28376231 | 683 days ago | IN | 0 MATIC | 0.00017556 | ||||
Harvest | 28368277 | 683 days ago | IN | 0 MATIC | 0.00351136 | ||||
Harvest | 28361322 | 683 days ago | IN | 0 MATIC | 0.00463842 | ||||
Harvest | 28354402 | 683 days ago | IN | 0 MATIC | 0.00633444 | ||||
Harvest | 28347683 | 683 days ago | IN | 0 MATIC | 0.00351136 | ||||
Harvest | 28341204 | 683 days ago | IN | 0 MATIC | 0.00351136 | ||||
Harvest | 28334628 | 684 days ago | IN | 0 MATIC | 0.00351136 | ||||
Harvest | 28328008 | 684 days ago | IN | 0 MATIC | 0.00633444 | ||||
Harvest | 28321164 | 684 days ago | IN | 0 MATIC | 0.00351136 | ||||
Harvest | 28314372 | 684 days ago | IN | 0 MATIC | 0.00691435 | ||||
Harvest | 28307756 | 684 days ago | IN | 0 MATIC | 0.00351136 | ||||
Harvest | 28300845 | 684 days ago | IN | 0 MATIC | 0.00351136 | ||||
Harvest | 28294143 | 685 days ago | IN | 0 MATIC | 0.00351136 | ||||
Harvest | 28287572 | 685 days ago | IN | 0 MATIC | 0.00351136 | ||||
Harvest | 28280746 | 685 days ago | IN | 0 MATIC | 0.00487385 | ||||
Harvest | 28274777 | 685 days ago | IN | 0 MATIC | 0.00629248 | ||||
Harvest | 28267606 | 685 days ago | IN | 0 MATIC | 0.00351136 | ||||
Harvest | 28020239 | 691 days ago | IN | 0 MATIC | 0.02428558 | ||||
Harvest | 27982752 | 692 days ago | IN | 0 MATIC | 0.02331648 | ||||
Harvest | 27925503 | 694 days ago | IN | 0 MATIC | 0.00294076 | ||||
Harvest | 27925503 | 694 days ago | IN | 0 MATIC | 0.02743222 | ||||
Harvest | 27899997 | 695 days ago | IN | 0 MATIC | 0.02396772 | ||||
Harvest | 27833477 | 696 days ago | IN | 0 MATIC | 0.02493104 |
Loading...
Loading
Contract Name:
StrategyCurveAave
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-06-24 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Context.sol 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/token/ERC20/IERC20.sol 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/math/SafeMath.sol 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/ERC20.sol pragma solidity >=0.6.0 <0.8.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; 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 virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual 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 virtual { _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: @openzeppelin/contracts/utils/Address.sol 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/SafeERC20.sol 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: contracts/BIFI/interfaces/common/IUniswapRouterETH.sol pragma solidity ^0.6.0; interface IUniswapRouterETH { function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); } // File: contracts/BIFI/interfaces/curve/IRewardsGauge.sol pragma solidity ^0.6.0; interface IRewardsGauge { function balanceOf(address account) external view returns (uint256); function claim_rewards(address _addr) external; function deposit(uint256 _value) external; function withdraw(uint256 _value) external; } // File: contracts/BIFI/interfaces/curve/IStableSwapAave.sol pragma solidity ^0.6.0; interface IStableSwapAave { function add_liquidity(uint256[3] memory amounts, uint256 min_mint_amount, bool _use_underlying) external; } // File: @openzeppelin/contracts/access/Ownable.sol 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/utils/Pausable.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: contracts/BIFI/strategies/Common/StratManager.sol pragma solidity ^0.6.12; contract StratManager is Ownable, Pausable { /** * @dev Beefy Contracts: * {keeper} - Address to manage a few lower risk features of the strat * {strategist} - Address of the strategy author/deployer where strategist fee will go. * {vault} - Address of the vault that controls the strategy's funds. * {unirouter} - Address of exchange to execute swaps. */ address public keeper; address public strategist; address public unirouter; address public vault; address public beefyFeeRecipient; /** * @dev Initializes the base strategy. * @param _keeper address to use as alternative owner. * @param _strategist address where strategist fees go. * @param _unirouter router to use for swaps * @param _vault address of parent vault. * @param _beefyFeeRecipient address where to send Beefy's fees. */ constructor( address _keeper, address _strategist, address _unirouter, address _vault, address _beefyFeeRecipient ) public { keeper = _keeper; strategist = _strategist; unirouter = _unirouter; vault = _vault; beefyFeeRecipient = _beefyFeeRecipient; } // checks that caller is either owner or keeper. modifier onlyManager() { require(msg.sender == owner() || msg.sender == keeper, "!manager"); _; } // verifies that the caller is not a contract. modifier onlyEOA() { require(msg.sender == tx.origin, "!EOA"); _; } /** * @dev Updates address of the strat keeper. * @param _keeper new keeper address. */ function setKeeper(address _keeper) external onlyManager { keeper = _keeper; } /** * @dev Updates address where strategist fee earnings will go. * @param _strategist new strategist address. */ function setStrategist(address _strategist) external { require(msg.sender == strategist, "!strategist"); strategist = _strategist; } /** * @dev Updates router that will be used for swaps. * @param _unirouter new unirouter address. */ function setUnirouter(address _unirouter) external onlyOwner { unirouter = _unirouter; } /** * @dev Updates parent vault. * @param _vault new vault address. */ function setVault(address _vault) external onlyOwner { vault = _vault; } /** * @dev Updates beefy fee recipient. * @param _beefyFeeRecipient new beefy fee recipient address. */ function setBeefyFeeRecipient(address _beefyFeeRecipient) external onlyOwner { beefyFeeRecipient = _beefyFeeRecipient; } /** * @dev Function to synchronize balances before new user deposit. * Can be overridden in the strategy. */ function beforeDeposit() external virtual {} } // File: contracts/BIFI/strategies/Common/FeeManager.sol pragma solidity ^0.6.12; abstract contract FeeManager is StratManager { uint constant public STRATEGIST_FEE = 112; uint constant public MAX_FEE = 1000; uint constant public MAX_CALL_FEE = 111; uint constant public WITHDRAWAL_FEE_CAP = 50; uint constant public WITHDRAWAL_MAX = 10000; uint public withdrawalFee = 10; uint public callFee = 111; uint public beefyFee = MAX_FEE - STRATEGIST_FEE - callFee; function setCallFee(uint256 _fee) external onlyManager { require(_fee <= MAX_CALL_FEE, "!cap"); callFee = _fee; beefyFee = MAX_FEE - STRATEGIST_FEE - callFee; } function setWithdrawalFee(uint256 _fee) external onlyManager { require(_fee <= WITHDRAWAL_FEE_CAP, "!cap"); withdrawalFee = _fee; } } // File: contracts/BIFI/strategies/Curve/StrategyCurveAave.sol pragma solidity ^0.6.0; contract StrategyCurveAave is StratManager, FeeManager { using SafeERC20 for IERC20; using SafeMath for uint256; // Tokens used address constant public wmatic = address(0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270); address constant public usdc = address(0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174); address constant public crv = address(0x172370d5Cd63279eFa6d502DAB29171933a610AF); address constant public eth = address(0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619); address constant public want = address(0xE7a24EF0C5e95Ffb0f6684b813A78F2a3AD7D171); address constant public swapToken = address(0x445FE580eF8d70FF569aB36e80c647af338db351); // Third party contracts address constant public rewards = address(0x19793B454D3AfC7b454F206Ffe95aDE26cA6912c); // Routes address[] public wmaticToUsdcRoute = [wmatic, eth, usdc]; address[] public crvToWmaticRoute = [crv, eth, wmatic]; bool public harvestOnDeposit = true; /** * @dev Event that is fired each time someone harvests the strat. */ event StratHarvest(address indexed harvester); constructor( address _vault, address _unirouter, address _keeper, address _strategist, address _beefyFeeRecipient ) StratManager(_keeper, _strategist, _unirouter, _vault, _beefyFeeRecipient) public { _giveAllowances(); } // puts the funds to work function deposit() public whenNotPaused { uint256 wantBal = IERC20(want).balanceOf(address(this)); if (wantBal > 0) { IRewardsGauge(rewards).deposit(wantBal); } } function withdraw(uint256 _amount) external { require(msg.sender == vault, "!vault"); uint256 wantBal = IERC20(want).balanceOf(address(this)); if (wantBal < _amount) { IRewardsGauge(rewards).withdraw(_amount.sub(wantBal)); wantBal = IERC20(want).balanceOf(address(this)); } if (wantBal > _amount) { wantBal = _amount; } if (tx.origin == owner() || paused()) { IERC20(want).safeTransfer(vault, wantBal); } else { uint256 withdrawalFeeAmount = wantBal.mul(withdrawalFee).div(WITHDRAWAL_MAX); IERC20(want).safeTransfer(vault, wantBal.sub(withdrawalFeeAmount)); } } function beforeDeposit() external override { if (harvestOnDeposit) { harvest(); } } // compounds earnings and charges performance fee function harvest() public whenNotPaused { require(tx.origin == msg.sender || msg.sender == vault, "!contract"); IRewardsGauge(rewards).claim_rewards(address(this)); uint256 crvBal = IERC20(crv).balanceOf(address(this)); uint256 wmaticBal = IERC20(wmatic).balanceOf(address(this)); if (wmaticBal > 0 || crvBal > 0) { chargeFees(); addLiquidity(); deposit(); emit StratHarvest(msg.sender); } } // performance fees function chargeFees() internal { uint256 crvBal = IERC20(crv).balanceOf(address(this)); if (crvBal > 0) { IUniswapRouterETH(unirouter).swapExactTokensForTokens(crvBal, 0, crvToWmaticRoute, address(this), block.timestamp); } uint256 wmaticFeeBal = IERC20(wmatic).balanceOf(address(this)).mul(45).div(1000); uint256 callFeeAmount = wmaticFeeBal.mul(callFee).div(MAX_FEE); IERC20(wmatic).safeTransfer(tx.origin, callFeeAmount); uint256 beefyFeeAmount = wmaticFeeBal.mul(beefyFee).div(MAX_FEE); IERC20(wmatic).safeTransfer(beefyFeeRecipient, beefyFeeAmount); uint256 strategistFee = wmaticFeeBal.mul(STRATEGIST_FEE).div(MAX_FEE); IERC20(wmatic).safeTransfer(strategist, strategistFee); } // Adds liquidity to AMM and gets more LP tokens. function addLiquidity() internal { uint256 wmaticBal = IERC20(wmatic).balanceOf(address(this)); IUniswapRouterETH(unirouter).swapExactTokensForTokens(wmaticBal, 0, wmaticToUsdcRoute, address(this), block.timestamp); uint256 usdcBal = IERC20(usdc).balanceOf(address(this)); uint256[3] memory amounts = [0, usdcBal, 0]; IStableSwapAave(swapToken).add_liquidity(amounts, 0, true); } // calculate the total underlaying 'want' held by the strat. function balanceOf() public view returns (uint256) { return balanceOfWant().add(balanceOfPool()); } // it calculates how much 'want' this contract holds. function balanceOfWant() public view returns (uint256) { return IERC20(want).balanceOf(address(this)); } // it calculates how much 'want' the strategy has working in the farm. function balanceOfPool() public view returns (uint256) { return IRewardsGauge(rewards).balanceOf(address(this)); } function setHarvestOnDeposit(bool _harvest) external onlyManager { harvestOnDeposit = _harvest; } // called as part of strat migration. Sends all the available funds back to the vault. function retireStrat() external { require(msg.sender == vault, "!vault"); IRewardsGauge(rewards).withdraw(balanceOfPool()); uint256 wantBal = IERC20(want).balanceOf(address(this)); IERC20(want).transfer(vault, wantBal); } // pauses deposits and withdraws all funds from third party systems. function panic() public onlyManager { pause(); IRewardsGauge(rewards).withdraw(balanceOfPool()); } function pause() public onlyManager { _pause(); _removeAllowances(); } function unpause() external onlyManager { _unpause(); _giveAllowances(); deposit(); } function _giveAllowances() internal { IERC20(want).safeApprove(rewards, type(uint).max); IERC20(wmatic).safeApprove(unirouter, type(uint).max); IERC20(crv).safeApprove(unirouter, type(uint).max); IERC20(usdc).safeApprove(swapToken, type(uint).max); } function _removeAllowances() internal { IERC20(want).safeApprove(rewards, 0); IERC20(wmatic).safeApprove(unirouter, 0); IERC20(crv).safeApprove(unirouter, 0); IERC20(usdc).safeApprove(swapToken, 0); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_vault","type":"address"},{"internalType":"address","name":"_unirouter","type":"address"},{"internalType":"address","name":"_keeper","type":"address"},{"internalType":"address","name":"_strategist","type":"address"},{"internalType":"address","name":"_beefyFeeRecipient","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"harvester","type":"address"}],"name":"StratHarvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_CALL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STRATEGIST_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_FEE_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfWant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beefyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beefyFeeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beforeDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"callFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crv","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"crvToWmaticRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvestOnDeposit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keeper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"panic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retireStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beefyFeeRecipient","type":"address"}],"name":"setBeefyFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setCallFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_harvest","type":"bool"}],"name":"setHarvestOnDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_keeper","type":"address"}],"name":"setKeeper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"setStrategist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_unirouter","type":"address"}],"name":"setUnirouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"name":"setVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setWithdrawalFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unirouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdc","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"want","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wmatic","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wmaticToUsdcRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
600a600655606f60075561030960085560e0604052730d500b1d8e8ef31e21c99d1db9a6444d3adf12706080908152737ceb23fd6bc0add59e62ac25578270cff1b9f61960a052732791bca1f2de4661ed88a30c99a7a9449aa8417460c0526200006e90600990600362000727565b506040805160608101825273172370d5cd63279efa6d502dab29171933a610af8152737ceb23fd6bc0add59e62ac25578270cff1b9f6196020820152730d500b1d8e8ef31e21c99d1db9a6444d3adf127091810191909152620000d690600a90600362000727565b50600b805460ff19166001179055348015620000f157600080fd5b506040516200310238038062003102833981810160405260a08110156200011757600080fd5b50805160208201516040830151606084015160809094015192939192909190828285878460006200014762000210565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b19169055600180546001600160a01b03199081166001600160a01b039788161790915560028054821695871695909517909455600380548516938616939093179092556004805484169185169190911790556005805490921692169190911790556200020562000214565b5050505050620007b2565b3390565b6200025773e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d1717319793b454d3afc7b454f206ffe95ade26ca6912c60001962000314602090811b6200182a17901c565b6003546200029390730d500b1d8e8ef31e21c99d1db9a6444d3adf1270906001600160a01b031660001962000314602090811b6200182a17901c565b600354620002cf9073172370d5cd63279efa6d502dab29171933a610af906001600160a01b031660001962000314602090811b6200182a17901c565b62000312732791bca1f2de4661ed88a30c99a7a9449aa8417473445fe580ef8d70ff569ab36e80c647af338db35160001962000314602090811b6200182a17901c565b565b8015806200039e575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156200036e57600080fd5b505afa15801562000383573d6000803e3d6000fd5b505050506040513d60208110156200039a57600080fd5b5051155b620003db5760405162461bcd60e51b8152600401808060200182810382526036815260200180620030cc6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620004339185916200043816565b505050565b606062000494826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620004f460201b6200193d179092919060201c565b8051909150156200043357808060200190516020811015620004b557600080fd5b5051620004335760405162461bcd60e51b815260040180806020018281038252602a815260200180620030a2602a913960400191505060405180910390fd5b60606200050584846000856200050f565b90505b9392505050565b606082471015620005525760405162461bcd60e51b81526004018080602001828103825260268152602001806200307c6026913960400191505060405180910390fd5b6200055d8562000677565b620005af576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310620005f05780518252601f199092019160209182019101620005cf565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462000654576040519150601f19603f3d011682016040523d82523d6000602084013e62000659565b606091505b5090925090506200066c8282866200067d565b979650505050505050565b3b151590565b606083156200068e57508162000508565b8251156200069f5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620006eb578181015183820152602001620006d1565b50505050905090810190601f168015620007195780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b8280548282559060005260206000209081019282156200077f579160200282015b828111156200077f57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000748565b506200078d92915062000791565b5090565b5b808211156200078d5780546001600160a01b031916815560010162000792565b6128ba80620007c26000396000f3fe608060405234801561001057600080fd5b506004361061028a5760003560e01c80638bc7e8c41161015c578063c7b9d530116100ce578063dfbdc43711610087578063dfbdc43714610514578063eb3d03931461051c578063f2fde38b14610539578063fb41be161461055f578063fb61778714610567578063fbfa77cf1461056f5761028a565b8063c7b9d53014610493578063ca3de257146104b9578063d0e30db0146104d6578063d3102589146104de578063d92f3d73146104e6578063dc73e49c1461050c5761028a565b80639ec5a894116101205780639ec5a89414610430578063a68833e514610438578063ac1e50251461045e578063aced16611461047b578063bc063e1a14610483578063c1a3d44c1461048b5761028a565b80638bc7e8c4146104085780638c7c9e0c146104105780638da5cb5b146104185780638e1454591461042057806390321e1a146104285761028a565b80634700d30511610200578063715018a6116101b9578063715018a6146103ba578063722713f7146103c2578063748747e6146103ca5780637d38ca65146103f05780638456cb59146103f85780638912cb8b146104005761028a565b80634700d3051461035857806354518b1a14610360578063573fef0a146103685780635c975abb146103705780636817031b1461038c5780636a4874a1146103b25761028a565b8063264658261161025257806326465826146102fe5780632ad5a53f1461031b5780632e1a7d4d146103235780633e413bee146103405780633f4ba83a146103485780634641257d146103505761028a565b80630e8fbb5a1461028f57806311588086146102b05780631f1fcd51146102ca5780631fe4a686146102ee578063257ae0de146102f6575b600080fd5b6102ae600480360360208110156102a557600080fd5b50351515610577565b005b6102b86105f7565b60408051918252519081900360200190f35b6102d261067d565b604080516001600160a01b039092168252519081900360200190f35b6102d2610695565b6102d26106a4565b6102ae6004803603602081101561031457600080fd5b50356106b3565b6102b861076d565b6102ae6004803603602081101561033957600080fd5b5035610772565b6102d2610a04565b6102ae610a1c565b6102ae610aa3565b6102ae610d0f565b6102b8610df6565b6102ae610dfc565b610378610e0f565b604080519115158252519081900360200190f35b6102ae600480360360208110156103a257600080fd5b50356001600160a01b0316610e1f565b6102d2610ea3565b6102ae610ebb565b6102b8610f67565b6102ae600480360360208110156103e057600080fd5b50356001600160a01b0316610f87565b6102b8611016565b6102ae61101b565b610378611098565b6102b86110a1565b6102d26110a7565b6102d26110bf565b6102d26110ce565b6102b86110dd565b6102d26110e3565b6102ae6004803603602081101561044e57600080fd5b50356001600160a01b03166110fb565b6102ae6004803603602081101561047457600080fd5b503561117f565b6102d2611230565b6102b861123f565b6102b8611245565b6102ae600480360360208110156104a957600080fd5b50356001600160a01b031661129a565b6102d2600480360360208110156104cf57600080fd5b5035611309565b6102ae611330565b6102b861147c565b6102ae600480360360208110156104fc57600080fd5b50356001600160a01b0316611482565b6102d2611506565b6102b861151e565b6102d26004803603602081101561053257600080fd5b5035611523565b6102ae6004803603602081101561054f57600080fd5b50356001600160a01b0316611530565b6102d2611632565b6102ae61164a565b6102d261181b565b61057f6110bf565b6001600160a01b0316336001600160a01b031614806105a857506001546001600160a01b031633145b6105e4576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b600b805460ff1916911515919091179055565b604080516370a0823160e01b815230600482015290516000917319793b454d3afc7b454f206ffe95ade26ca6912c916370a0823191602480820192602092909190829003018186803b15801561064c57600080fd5b505afa158015610660573d6000803e3d6000fd5b505050506040513d602081101561067657600080fd5b5051905090565b73e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d17181565b6002546001600160a01b031681565b6003546001600160a01b031681565b6106bb6110bf565b6001600160a01b0316336001600160a01b031614806106e457506001546001600160a01b031633145b610720576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b606f81111561075f576040805162461bcd60e51b815260206004808301919091526024820152630216361760e41b604482015290519081900360640190fd5b600781905561037803600855565b606f81565b6004546001600160a01b031633146107ba576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b604080516370a0823160e01b8152306004820152905160009173e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d171916370a0823191602480820192602092909190829003018186803b15801561080f57600080fd5b505afa158015610823573d6000803e3d6000fd5b505050506040513d602081101561083957600080fd5b5051905081811015610937577319793b454d3afc7b454f206ffe95ade26ca6912c632e1a7d4d6108698484611956565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561089f57600080fd5b505af11580156108b3573d6000803e3d6000fd5b5050604080516370a0823160e01b8152306004820152905173e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d17193506370a0823192506024808301926020929190829003018186803b15801561090857600080fd5b505afa15801561091c573d6000803e3d6000fd5b505050506040513d602081101561093257600080fd5b505190505b818111156109425750805b61094a6110bf565b6001600160a01b0316326001600160a01b0316148061096c575061096c610e0f565b156109a25760045461099d9073e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d171906001600160a01b0316836119b8565b610a00565b60006109c56127106109bf60065485611a0a90919063ffffffff16565b90611a63565b6004549091506109fe906001600160a01b03166109e28484611956565b73e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d17191906119b8565b505b5050565b732791bca1f2de4661ed88a30c99a7a9449aa8417481565b610a246110bf565b6001600160a01b0316336001600160a01b03161480610a4d57506001546001600160a01b031633145b610a89576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b610a91611aca565b610a99611b6d565b610aa1611330565b565b610aab610e0f565b15610af0576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b32331480610b0857506004546001600160a01b031633145b610b45576040805162461bcd60e51b81526020600482015260096024820152680858dbdb9d1c9858dd60ba1b604482015290519081900360640190fd5b60408051634274debf60e11b815230600482015290517319793b454d3afc7b454f206ffe95ade26ca6912c916384e9bd7e91602480830192600092919082900301818387803b158015610b9757600080fd5b505af1158015610bab573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516000935073172370d5cd63279efa6d502dab29171933a610af92506370a0823191602480820192602092909190829003018186803b158015610c0457600080fd5b505afa158015610c18573d6000803e3d6000fd5b505050506040513d6020811015610c2e57600080fd5b5051604080516370a0823160e01b81523060048201529051919250600091730d500b1d8e8ef31e21c99d1db9a6444d3adf1270916370a08231916024808301926020929190829003018186803b158015610c8757600080fd5b505afa158015610c9b573d6000803e3d6000fd5b505050506040513d6020811015610cb157600080fd5b5051905080151580610cc35750600082115b15610a0057610cd0611c33565b610cd8611fb3565b610ce0611330565b60405133907f577a37fdb49a88d66684922c6f913df5239b4f214b2b97c53ef8e3bbb2034cb590600090a25050565b610d176110bf565b6001600160a01b0316336001600160a01b03161480610d4057506001546001600160a01b031633145b610d7c576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b610d8461101b565b7319793b454d3afc7b454f206ffe95ade26ca6912c632e1a7d4d610da66105f7565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610ddc57600080fd5b505af1158015610df0573d6000803e3d6000fd5b50505050565b61271081565b600b5460ff1615610aa157610aa1610aa3565b600054600160a01b900460ff1690565b610e27612319565b6001600160a01b0316610e386110bf565b6001600160a01b031614610e81576040805162461bcd60e51b81526020600482018190526024820152600080516020612805833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b73172370d5cd63279efa6d502dab29171933a610af81565b610ec3612319565b6001600160a01b0316610ed46110bf565b6001600160a01b031614610f1d576040805162461bcd60e51b81526020600482018190526024820152600080516020612805833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000610f82610f746105f7565b610f7c611245565b9061231d565b905090565b610f8f6110bf565b6001600160a01b0316336001600160a01b03161480610fb857506001546001600160a01b031633145b610ff4576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b607081565b6110236110bf565b6001600160a01b0316336001600160a01b0316148061104c57506001546001600160a01b031633145b611088576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b611090612377565b610aa1612400565b600b5460ff1681565b60065481565b737ceb23fd6bc0add59e62ac25578270cff1b9f61981565b6000546001600160a01b031690565b6005546001600160a01b031681565b60075481565b7319793b454d3afc7b454f206ffe95ade26ca6912c81565b611103612319565b6001600160a01b03166111146110bf565b6001600160a01b03161461115d576040805162461bcd60e51b81526020600482018190526024820152600080516020612805833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6111876110bf565b6001600160a01b0316336001600160a01b031614806111b057506001546001600160a01b031633145b6111ec576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b603281111561122b576040805162461bcd60e51b815260206004808301919091526024820152630216361760e41b604482015290519081900360640190fd5b600655565b6001546001600160a01b031681565b6103e881565b604080516370a0823160e01b8152306004820152905160009173e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d171916370a0823191602480820192602092909190829003018186803b15801561064c57600080fd5b6002546001600160a01b031633146112e7576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600a818154811061131657fe5b6000918252602090912001546001600160a01b0316905081565b611338610e0f565b1561137d576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b604080516370a0823160e01b8152306004820152905160009173e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d171916370a0823191602480820192602092909190829003018186803b1580156113d257600080fd5b505afa1580156113e6573d6000803e3d6000fd5b505050506040513d60208110156113fc57600080fd5b505190508015611479577319793b454d3afc7b454f206ffe95ade26ca6912c6001600160a01b031663b6b55f25826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561146057600080fd5b505af1158015611474573d6000803e3d6000fd5b505050505b50565b60085481565b61148a612319565b6001600160a01b031661149b6110bf565b6001600160a01b0316146114e4576040805162461bcd60e51b81526020600482018190526024820152600080516020612805833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b73445fe580ef8d70ff569ab36e80c647af338db35181565b603281565b6009818154811061131657fe5b611538612319565b6001600160a01b03166115496110bf565b6001600160a01b031614611592576040805162461bcd60e51b81526020600482018190526024820152600080516020612805833981519152604482015290519081900360640190fd5b6001600160a01b0381166115d75760405162461bcd60e51b81526004018080602001828103825260268152602001806127986026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b730d500b1d8e8ef31e21c99d1db9a6444d3adf127081565b6004546001600160a01b03163314611692576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b7319793b454d3afc7b454f206ffe95ade26ca6912c632e1a7d4d6116b46105f7565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156116ea57600080fd5b505af11580156116fe573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516000935073e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d17192506370a0823191602480820192602092909190829003018186803b15801561175757600080fd5b505afa15801561176b573d6000803e3d6000fd5b505050506040513d602081101561178157600080fd5b5051600480546040805163a9059cbb60e01b81526001600160a01b039092169282019290925260248101839052905191925073e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d1719163a9059cbb916044808201926020929091908290030181600087803b1580156117f157600080fd5b505af1158015611805573d6000803e3d6000fd5b505050506040513d60208110156109fe57600080fd5b6004546001600160a01b031681565b8015806118b0575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561188257600080fd5b505afa158015611896573d6000803e3d6000fd5b505050506040513d60208110156118ac57600080fd5b5051155b6118eb5760405162461bcd60e51b815260040180806020018281038252603681526020018061284f6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526109fe9084906124c2565b606061194c8484600085612573565b90505b9392505050565b6000828211156119ad576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b508082035b92915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526109fe9084906124c2565b600082611a19575060006119b2565b82820282848281611a2657fe5b041461194f5760405162461bcd60e51b81526004018080602001828103825260218152602001806127e46021913960400191505060405180910390fd5b6000808211611ab9576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611ac257fe5b049392505050565b611ad2610e0f565b611b1a576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611b50612319565b604080516001600160a01b039092168252519081900360200190a1565b611ba273e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d1717319793b454d3afc7b454f206ffe95ade26ca6912c60001961182a565b600354611bd090730d500b1d8e8ef31e21c99d1db9a6444d3adf1270906001600160a01b031660001961182a565b600354611bfe9073172370d5cd63279efa6d502dab29171933a610af906001600160a01b031660001961182a565b610aa1732791bca1f2de4661ed88a30c99a7a9449aa8417473445fe580ef8d70ff569ab36e80c647af338db35160001961182a565b604080516370a0823160e01b8152306004820152905160009173172370d5cd63279efa6d502dab29171933a610af916370a0823191602480820192602092909190829003018186803b158015611c8857600080fd5b505afa158015611c9c573d6000803e3d6000fd5b505050506040513d6020811015611cb257600080fd5b505190508015611e45576003546040516338ed173960e01b8152600481018381526000602483018190523060648401819052426084850181905260a060448601908152600a805460a488018190526001600160a01b03909816976338ed1739978a97929594939160c49091019086908015611d5657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611d38575b50509650505050505050600060405180830381600087803b158015611d7a57600080fd5b505af1158015611d8e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611db757600080fd5b8101908080516040519392919084640100000000821115611dd757600080fd5b908301906020820185811115611dec57600080fd5b8251866020820283011164010000000082111715611e0957600080fd5b82525081516020918201928201910280838360005b83811015611e36578181015183820152602001611e1e565b50505050905001604052505050505b6000611ee56103e86109bf602d730d500b1d8e8ef31e21c99d1db9a6444d3adf12706001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611eb357600080fd5b505afa158015611ec7573d6000803e3d6000fd5b505050506040513d6020811015611edd57600080fd5b505190611a0a565b90506000611f046103e86109bf60075485611a0a90919063ffffffff16565b9050611f25730d500b1d8e8ef31e21c99d1db9a6444d3adf127032836119b8565b6000611f426103e86109bf60085486611a0a90919063ffffffff16565b600554909150611f7190730d500b1d8e8ef31e21c99d1db9a6444d3adf1270906001600160a01b0316836119b8565b6000611f846103e86109bf866070611a0a565b60025490915061147490730d500b1d8e8ef31e21c99d1db9a6444d3adf1270906001600160a01b0316836119b8565b604080516370a0823160e01b81523060048201529051600091730d500b1d8e8ef31e21c99d1db9a6444d3adf1270916370a0823191602480820192602092909190829003018186803b15801561200857600080fd5b505afa15801561201c573d6000803e3d6000fd5b505050506040513d602081101561203257600080fd5b50516003546040516338ed173960e01b8152600481018381526000602483018190523060648401819052426084850181905260a0604486019081526009805460a488018190529899506001600160a01b03909716976338ed1739978a979596909590929160c490910190869080156120d357602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116120b5575b50509650505050505050600060405180830381600087803b1580156120f757600080fd5b505af115801561210b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561213457600080fd5b810190808051604051939291908464010000000082111561215457600080fd5b90830190602082018581111561216957600080fd5b825186602082028301116401000000008211171561218657600080fd5b82525081516020918201928201910280838360005b838110156121b357818101518382015260200161219b565b505050509190910160408181526370a0823160e01b82523060048301525160009650732791bca1f2de4661ed88a30c99a7a9449aa8417495506370a08231945060248083019450602093509091829003018186803b15801561221457600080fd5b505afa158015612228573d6000803e3d6000fd5b505050506040513d602081101561223e57600080fd5b5051905061224a612779565b6040518060600160405280600081526020018381526020016000815250905073445fe580ef8d70ff569ab36e80c647af338db3516001600160a01b0316632b6e993a82600060016040518463ffffffff1660e01b81526004018084600360200280838360005b838110156122c85781810151838201526020016122b0565b5050505090500183815260200182151581526020019350505050600060405180830381600087803b1580156122fc57600080fd5b505af1158015612310573d6000803e3d6000fd5b50505050505050565b3390565b60008282018381101561194f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b61237f610e0f565b156123c4576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611b50612319565b61243473e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d1717319793b454d3afc7b454f206ffe95ade26ca6912c600061182a565b60035461246190730d500b1d8e8ef31e21c99d1db9a6444d3adf1270906001600160a01b0316600061182a565b60035461248e9073172370d5cd63279efa6d502dab29171933a610af906001600160a01b0316600061182a565b610aa1732791bca1f2de4661ed88a30c99a7a9449aa8417473445fe580ef8d70ff569ab36e80c647af338db351600061182a565b6060612517826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661193d9092919063ffffffff16565b8051909150156109fe5780806020019051602081101561253657600080fd5b50516109fe5760405162461bcd60e51b815260040180806020018281038252602a815260200180612825602a913960400191505060405180910390fd5b6060824710156125b45760405162461bcd60e51b81526004018080602001828103825260268152602001806127be6026913960400191505060405180910390fd5b6125bd856126cf565b61260e576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061264d5780518252601f19909201916020918201910161262e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146126af576040519150601f19603f3d011682016040523d82523d6000602084013e6126b4565b606091505b50915091506126c48282866126d5565b979650505050505050565b3b151590565b606083156126e457508161194f565b8251156126f45782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561273e578181015183820152602001612726565b50505050905090810190601f16801561276b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040518060600160405280600390602082028036833750919291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220696561fe2a11c38d1717b8e6836663a7c51bcd41621c6afc55a530d93a1d8ff664736f6c634300060c0033416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000000093defac15338205d447bfca148d2fd27535d263c0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b4799750600000000000000000000000010aee6b5594942433e7fc2783598c979b030ef3d000000000000000000000000982f264ce97365864181df65df4931c593a515ad000000000000000000000000b66ca5319efc42fd1462693bab51ee0c9e452745
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061028a5760003560e01c80638bc7e8c41161015c578063c7b9d530116100ce578063dfbdc43711610087578063dfbdc43714610514578063eb3d03931461051c578063f2fde38b14610539578063fb41be161461055f578063fb61778714610567578063fbfa77cf1461056f5761028a565b8063c7b9d53014610493578063ca3de257146104b9578063d0e30db0146104d6578063d3102589146104de578063d92f3d73146104e6578063dc73e49c1461050c5761028a565b80639ec5a894116101205780639ec5a89414610430578063a68833e514610438578063ac1e50251461045e578063aced16611461047b578063bc063e1a14610483578063c1a3d44c1461048b5761028a565b80638bc7e8c4146104085780638c7c9e0c146104105780638da5cb5b146104185780638e1454591461042057806390321e1a146104285761028a565b80634700d30511610200578063715018a6116101b9578063715018a6146103ba578063722713f7146103c2578063748747e6146103ca5780637d38ca65146103f05780638456cb59146103f85780638912cb8b146104005761028a565b80634700d3051461035857806354518b1a14610360578063573fef0a146103685780635c975abb146103705780636817031b1461038c5780636a4874a1146103b25761028a565b8063264658261161025257806326465826146102fe5780632ad5a53f1461031b5780632e1a7d4d146103235780633e413bee146103405780633f4ba83a146103485780634641257d146103505761028a565b80630e8fbb5a1461028f57806311588086146102b05780631f1fcd51146102ca5780631fe4a686146102ee578063257ae0de146102f6575b600080fd5b6102ae600480360360208110156102a557600080fd5b50351515610577565b005b6102b86105f7565b60408051918252519081900360200190f35b6102d261067d565b604080516001600160a01b039092168252519081900360200190f35b6102d2610695565b6102d26106a4565b6102ae6004803603602081101561031457600080fd5b50356106b3565b6102b861076d565b6102ae6004803603602081101561033957600080fd5b5035610772565b6102d2610a04565b6102ae610a1c565b6102ae610aa3565b6102ae610d0f565b6102b8610df6565b6102ae610dfc565b610378610e0f565b604080519115158252519081900360200190f35b6102ae600480360360208110156103a257600080fd5b50356001600160a01b0316610e1f565b6102d2610ea3565b6102ae610ebb565b6102b8610f67565b6102ae600480360360208110156103e057600080fd5b50356001600160a01b0316610f87565b6102b8611016565b6102ae61101b565b610378611098565b6102b86110a1565b6102d26110a7565b6102d26110bf565b6102d26110ce565b6102b86110dd565b6102d26110e3565b6102ae6004803603602081101561044e57600080fd5b50356001600160a01b03166110fb565b6102ae6004803603602081101561047457600080fd5b503561117f565b6102d2611230565b6102b861123f565b6102b8611245565b6102ae600480360360208110156104a957600080fd5b50356001600160a01b031661129a565b6102d2600480360360208110156104cf57600080fd5b5035611309565b6102ae611330565b6102b861147c565b6102ae600480360360208110156104fc57600080fd5b50356001600160a01b0316611482565b6102d2611506565b6102b861151e565b6102d26004803603602081101561053257600080fd5b5035611523565b6102ae6004803603602081101561054f57600080fd5b50356001600160a01b0316611530565b6102d2611632565b6102ae61164a565b6102d261181b565b61057f6110bf565b6001600160a01b0316336001600160a01b031614806105a857506001546001600160a01b031633145b6105e4576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b600b805460ff1916911515919091179055565b604080516370a0823160e01b815230600482015290516000917319793b454d3afc7b454f206ffe95ade26ca6912c916370a0823191602480820192602092909190829003018186803b15801561064c57600080fd5b505afa158015610660573d6000803e3d6000fd5b505050506040513d602081101561067657600080fd5b5051905090565b73e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d17181565b6002546001600160a01b031681565b6003546001600160a01b031681565b6106bb6110bf565b6001600160a01b0316336001600160a01b031614806106e457506001546001600160a01b031633145b610720576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b606f81111561075f576040805162461bcd60e51b815260206004808301919091526024820152630216361760e41b604482015290519081900360640190fd5b600781905561037803600855565b606f81565b6004546001600160a01b031633146107ba576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b604080516370a0823160e01b8152306004820152905160009173e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d171916370a0823191602480820192602092909190829003018186803b15801561080f57600080fd5b505afa158015610823573d6000803e3d6000fd5b505050506040513d602081101561083957600080fd5b5051905081811015610937577319793b454d3afc7b454f206ffe95ade26ca6912c632e1a7d4d6108698484611956565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561089f57600080fd5b505af11580156108b3573d6000803e3d6000fd5b5050604080516370a0823160e01b8152306004820152905173e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d17193506370a0823192506024808301926020929190829003018186803b15801561090857600080fd5b505afa15801561091c573d6000803e3d6000fd5b505050506040513d602081101561093257600080fd5b505190505b818111156109425750805b61094a6110bf565b6001600160a01b0316326001600160a01b0316148061096c575061096c610e0f565b156109a25760045461099d9073e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d171906001600160a01b0316836119b8565b610a00565b60006109c56127106109bf60065485611a0a90919063ffffffff16565b90611a63565b6004549091506109fe906001600160a01b03166109e28484611956565b73e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d17191906119b8565b505b5050565b732791bca1f2de4661ed88a30c99a7a9449aa8417481565b610a246110bf565b6001600160a01b0316336001600160a01b03161480610a4d57506001546001600160a01b031633145b610a89576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b610a91611aca565b610a99611b6d565b610aa1611330565b565b610aab610e0f565b15610af0576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b32331480610b0857506004546001600160a01b031633145b610b45576040805162461bcd60e51b81526020600482015260096024820152680858dbdb9d1c9858dd60ba1b604482015290519081900360640190fd5b60408051634274debf60e11b815230600482015290517319793b454d3afc7b454f206ffe95ade26ca6912c916384e9bd7e91602480830192600092919082900301818387803b158015610b9757600080fd5b505af1158015610bab573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516000935073172370d5cd63279efa6d502dab29171933a610af92506370a0823191602480820192602092909190829003018186803b158015610c0457600080fd5b505afa158015610c18573d6000803e3d6000fd5b505050506040513d6020811015610c2e57600080fd5b5051604080516370a0823160e01b81523060048201529051919250600091730d500b1d8e8ef31e21c99d1db9a6444d3adf1270916370a08231916024808301926020929190829003018186803b158015610c8757600080fd5b505afa158015610c9b573d6000803e3d6000fd5b505050506040513d6020811015610cb157600080fd5b5051905080151580610cc35750600082115b15610a0057610cd0611c33565b610cd8611fb3565b610ce0611330565b60405133907f577a37fdb49a88d66684922c6f913df5239b4f214b2b97c53ef8e3bbb2034cb590600090a25050565b610d176110bf565b6001600160a01b0316336001600160a01b03161480610d4057506001546001600160a01b031633145b610d7c576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b610d8461101b565b7319793b454d3afc7b454f206ffe95ade26ca6912c632e1a7d4d610da66105f7565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610ddc57600080fd5b505af1158015610df0573d6000803e3d6000fd5b50505050565b61271081565b600b5460ff1615610aa157610aa1610aa3565b600054600160a01b900460ff1690565b610e27612319565b6001600160a01b0316610e386110bf565b6001600160a01b031614610e81576040805162461bcd60e51b81526020600482018190526024820152600080516020612805833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b73172370d5cd63279efa6d502dab29171933a610af81565b610ec3612319565b6001600160a01b0316610ed46110bf565b6001600160a01b031614610f1d576040805162461bcd60e51b81526020600482018190526024820152600080516020612805833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000610f82610f746105f7565b610f7c611245565b9061231d565b905090565b610f8f6110bf565b6001600160a01b0316336001600160a01b03161480610fb857506001546001600160a01b031633145b610ff4576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b607081565b6110236110bf565b6001600160a01b0316336001600160a01b0316148061104c57506001546001600160a01b031633145b611088576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b611090612377565b610aa1612400565b600b5460ff1681565b60065481565b737ceb23fd6bc0add59e62ac25578270cff1b9f61981565b6000546001600160a01b031690565b6005546001600160a01b031681565b60075481565b7319793b454d3afc7b454f206ffe95ade26ca6912c81565b611103612319565b6001600160a01b03166111146110bf565b6001600160a01b03161461115d576040805162461bcd60e51b81526020600482018190526024820152600080516020612805833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6111876110bf565b6001600160a01b0316336001600160a01b031614806111b057506001546001600160a01b031633145b6111ec576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b603281111561122b576040805162461bcd60e51b815260206004808301919091526024820152630216361760e41b604482015290519081900360640190fd5b600655565b6001546001600160a01b031681565b6103e881565b604080516370a0823160e01b8152306004820152905160009173e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d171916370a0823191602480820192602092909190829003018186803b15801561064c57600080fd5b6002546001600160a01b031633146112e7576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600a818154811061131657fe5b6000918252602090912001546001600160a01b0316905081565b611338610e0f565b1561137d576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b604080516370a0823160e01b8152306004820152905160009173e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d171916370a0823191602480820192602092909190829003018186803b1580156113d257600080fd5b505afa1580156113e6573d6000803e3d6000fd5b505050506040513d60208110156113fc57600080fd5b505190508015611479577319793b454d3afc7b454f206ffe95ade26ca6912c6001600160a01b031663b6b55f25826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561146057600080fd5b505af1158015611474573d6000803e3d6000fd5b505050505b50565b60085481565b61148a612319565b6001600160a01b031661149b6110bf565b6001600160a01b0316146114e4576040805162461bcd60e51b81526020600482018190526024820152600080516020612805833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b73445fe580ef8d70ff569ab36e80c647af338db35181565b603281565b6009818154811061131657fe5b611538612319565b6001600160a01b03166115496110bf565b6001600160a01b031614611592576040805162461bcd60e51b81526020600482018190526024820152600080516020612805833981519152604482015290519081900360640190fd5b6001600160a01b0381166115d75760405162461bcd60e51b81526004018080602001828103825260268152602001806127986026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b730d500b1d8e8ef31e21c99d1db9a6444d3adf127081565b6004546001600160a01b03163314611692576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b7319793b454d3afc7b454f206ffe95ade26ca6912c632e1a7d4d6116b46105f7565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156116ea57600080fd5b505af11580156116fe573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516000935073e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d17192506370a0823191602480820192602092909190829003018186803b15801561175757600080fd5b505afa15801561176b573d6000803e3d6000fd5b505050506040513d602081101561178157600080fd5b5051600480546040805163a9059cbb60e01b81526001600160a01b039092169282019290925260248101839052905191925073e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d1719163a9059cbb916044808201926020929091908290030181600087803b1580156117f157600080fd5b505af1158015611805573d6000803e3d6000fd5b505050506040513d60208110156109fe57600080fd5b6004546001600160a01b031681565b8015806118b0575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561188257600080fd5b505afa158015611896573d6000803e3d6000fd5b505050506040513d60208110156118ac57600080fd5b5051155b6118eb5760405162461bcd60e51b815260040180806020018281038252603681526020018061284f6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526109fe9084906124c2565b606061194c8484600085612573565b90505b9392505050565b6000828211156119ad576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b508082035b92915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526109fe9084906124c2565b600082611a19575060006119b2565b82820282848281611a2657fe5b041461194f5760405162461bcd60e51b81526004018080602001828103825260218152602001806127e46021913960400191505060405180910390fd5b6000808211611ab9576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611ac257fe5b049392505050565b611ad2610e0f565b611b1a576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611b50612319565b604080516001600160a01b039092168252519081900360200190a1565b611ba273e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d1717319793b454d3afc7b454f206ffe95ade26ca6912c60001961182a565b600354611bd090730d500b1d8e8ef31e21c99d1db9a6444d3adf1270906001600160a01b031660001961182a565b600354611bfe9073172370d5cd63279efa6d502dab29171933a610af906001600160a01b031660001961182a565b610aa1732791bca1f2de4661ed88a30c99a7a9449aa8417473445fe580ef8d70ff569ab36e80c647af338db35160001961182a565b604080516370a0823160e01b8152306004820152905160009173172370d5cd63279efa6d502dab29171933a610af916370a0823191602480820192602092909190829003018186803b158015611c8857600080fd5b505afa158015611c9c573d6000803e3d6000fd5b505050506040513d6020811015611cb257600080fd5b505190508015611e45576003546040516338ed173960e01b8152600481018381526000602483018190523060648401819052426084850181905260a060448601908152600a805460a488018190526001600160a01b03909816976338ed1739978a97929594939160c49091019086908015611d5657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611d38575b50509650505050505050600060405180830381600087803b158015611d7a57600080fd5b505af1158015611d8e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611db757600080fd5b8101908080516040519392919084640100000000821115611dd757600080fd5b908301906020820185811115611dec57600080fd5b8251866020820283011164010000000082111715611e0957600080fd5b82525081516020918201928201910280838360005b83811015611e36578181015183820152602001611e1e565b50505050905001604052505050505b6000611ee56103e86109bf602d730d500b1d8e8ef31e21c99d1db9a6444d3adf12706001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611eb357600080fd5b505afa158015611ec7573d6000803e3d6000fd5b505050506040513d6020811015611edd57600080fd5b505190611a0a565b90506000611f046103e86109bf60075485611a0a90919063ffffffff16565b9050611f25730d500b1d8e8ef31e21c99d1db9a6444d3adf127032836119b8565b6000611f426103e86109bf60085486611a0a90919063ffffffff16565b600554909150611f7190730d500b1d8e8ef31e21c99d1db9a6444d3adf1270906001600160a01b0316836119b8565b6000611f846103e86109bf866070611a0a565b60025490915061147490730d500b1d8e8ef31e21c99d1db9a6444d3adf1270906001600160a01b0316836119b8565b604080516370a0823160e01b81523060048201529051600091730d500b1d8e8ef31e21c99d1db9a6444d3adf1270916370a0823191602480820192602092909190829003018186803b15801561200857600080fd5b505afa15801561201c573d6000803e3d6000fd5b505050506040513d602081101561203257600080fd5b50516003546040516338ed173960e01b8152600481018381526000602483018190523060648401819052426084850181905260a0604486019081526009805460a488018190529899506001600160a01b03909716976338ed1739978a979596909590929160c490910190869080156120d357602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116120b5575b50509650505050505050600060405180830381600087803b1580156120f757600080fd5b505af115801561210b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561213457600080fd5b810190808051604051939291908464010000000082111561215457600080fd5b90830190602082018581111561216957600080fd5b825186602082028301116401000000008211171561218657600080fd5b82525081516020918201928201910280838360005b838110156121b357818101518382015260200161219b565b505050509190910160408181526370a0823160e01b82523060048301525160009650732791bca1f2de4661ed88a30c99a7a9449aa8417495506370a08231945060248083019450602093509091829003018186803b15801561221457600080fd5b505afa158015612228573d6000803e3d6000fd5b505050506040513d602081101561223e57600080fd5b5051905061224a612779565b6040518060600160405280600081526020018381526020016000815250905073445fe580ef8d70ff569ab36e80c647af338db3516001600160a01b0316632b6e993a82600060016040518463ffffffff1660e01b81526004018084600360200280838360005b838110156122c85781810151838201526020016122b0565b5050505090500183815260200182151581526020019350505050600060405180830381600087803b1580156122fc57600080fd5b505af1158015612310573d6000803e3d6000fd5b50505050505050565b3390565b60008282018381101561194f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b61237f610e0f565b156123c4576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611b50612319565b61243473e7a24ef0c5e95ffb0f6684b813a78f2a3ad7d1717319793b454d3afc7b454f206ffe95ade26ca6912c600061182a565b60035461246190730d500b1d8e8ef31e21c99d1db9a6444d3adf1270906001600160a01b0316600061182a565b60035461248e9073172370d5cd63279efa6d502dab29171933a610af906001600160a01b0316600061182a565b610aa1732791bca1f2de4661ed88a30c99a7a9449aa8417473445fe580ef8d70ff569ab36e80c647af338db351600061182a565b6060612517826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661193d9092919063ffffffff16565b8051909150156109fe5780806020019051602081101561253657600080fd5b50516109fe5760405162461bcd60e51b815260040180806020018281038252602a815260200180612825602a913960400191505060405180910390fd5b6060824710156125b45760405162461bcd60e51b81526004018080602001828103825260268152602001806127be6026913960400191505060405180910390fd5b6125bd856126cf565b61260e576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061264d5780518252601f19909201916020918201910161262e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146126af576040519150601f19603f3d011682016040523d82523d6000602084013e6126b4565b606091505b50915091506126c48282866126d5565b979650505050505050565b3b151590565b606083156126e457508161194f565b8251156126f45782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561273e578181015183820152602001612726565b50505050905090810190601f16801561276b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040518060600160405280600390602082028036833750919291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220696561fe2a11c38d1717b8e6836663a7c51bcd41621c6afc55a530d93a1d8ff664736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000093defac15338205d447bfca148d2fd27535d263c0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b4799750600000000000000000000000010aee6b5594942433e7fc2783598c979b030ef3d000000000000000000000000982f264ce97365864181df65df4931c593a515ad000000000000000000000000b66ca5319efc42fd1462693bab51ee0c9e452745
-----Decoded View---------------
Arg [0] : _vault (address): 0x93DeFaC15338205D447BFcA148d2fD27535d263C
Arg [1] : _unirouter (address): 0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506
Arg [2] : _keeper (address): 0x10aee6B5594942433e7Fc2783598c979B030eF3D
Arg [3] : _strategist (address): 0x982F264ce97365864181df65dF4931C593A515ad
Arg [4] : _beefyFeeRecipient (address): 0xb66Ca5319eFc42FD1462693BAB51ee0C9E452745
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000093defac15338205d447bfca148d2fd27535d263c
Arg [1] : 0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b47997506
Arg [2] : 00000000000000000000000010aee6b5594942433e7fc2783598c979b030ef3d
Arg [3] : 000000000000000000000000982f264ce97365864181df65df4931c593a515ad
Arg [4] : 000000000000000000000000b66ca5319efc42fd1462693bab51ee0c9e452745
Deployed Bytecode Sourcemap
45177:6491:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50205:111;;;;;;;;;;;;;;;;-1:-1:-1;50205:111:0;;;;:::i;:::-;;50069:128;;;:::i;:::-;;;;;;;;;;;;;;;;45683:82;;;:::i;:::-;;;;-1:-1:-1;;;;;45683:82:0;;;;;;;;;;;;;;41615:25;;;:::i;41647:24::-;;;:::i;44693:202::-;;;;;;;;;;;;;;;;-1:-1:-1;44693:202:0;;:::i;44405:39::-;;;:::i;46860:733::-;;;;;;;;;;;;;;;;-1:-1:-1;46860:733:0;;:::i;45418:82::-;;;:::i;50996:121::-;;;:::i;47783:504::-;;;:::i;50764:121::-;;;:::i;44504:43::-;;;:::i;47601:119::-;;;:::i;39903:86::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;43625;;;;;;;;;;;;;;;;-1:-1:-1;43625:86:0;-1:-1:-1;;;;;43625:86:0;;:::i;45507:81::-;;;:::i;38262:148::-;;;:::i;49687:113::-;;;:::i;42897:92::-;;;;;;;;;;;;;;;;-1:-1:-1;42897:92:0;-1:-1:-1;;;;;42897:92:0;;:::i;44315:41::-;;;:::i;50893:95::-;;;:::i;46133:35::-;;;:::i;44556:30::-;;;:::i;45595:81::-;;;:::i;37611:87::-;;;:::i;41705:32::-;;;:::i;44595:25::-;;;:::i;45898:85::-;;;:::i;43846:134::-;;;;;;;;;;;;;;;;-1:-1:-1;43846:134:0;-1:-1:-1;;;;;43846:134:0;;:::i;44903:156::-;;;;;;;;;;;;;;;;-1:-1:-1;44903:156:0;;:::i;41587:21::-;;;:::i;44363:35::-;;;:::i;49867:118::-;;;:::i;43134:155::-;;;;;;;;;;;;;;;;-1:-1:-1;43134:155:0;-1:-1:-1;;;;;43134:155:0;;:::i;46070:54::-;;;;;;;;;;;;;;;;-1:-1:-1;46070:54:0;;:::i;46643:209::-;;;:::i;44627:57::-;;;:::i;43421:102::-;;;;;;;;;;;;;;;;-1:-1:-1;43421:102:0;-1:-1:-1;;;;;43421:102:0;;:::i;45772:87::-;;;:::i;44453:44::-;;;:::i;46007:56::-;;;;;;;;;;;;;;;;-1:-1:-1;46007:56:0;;:::i;38565:244::-;;;;;;;;;;;;;;;;-1:-1:-1;38565:244:0;-1:-1:-1;;;;;38565:244:0;;:::i;45327:84::-;;;:::i;50416:266::-;;;:::i;41678:20::-;;;:::i;50205:111::-;42564:7;:5;:7::i;:::-;-1:-1:-1;;;;;42550:21:0;:10;-1:-1:-1;;;;;42550:21:0;;:45;;;-1:-1:-1;42589:6:0;;-1:-1:-1;;;;;42589:6:0;42575:10;:20;42550:45;42542:66;;;;;-1:-1:-1;;;42542:66:0;;;;;;;;;;;;-1:-1:-1;;;42542:66:0;;;;;;;;;;;;;;;50281:16:::1;:27:::0;;-1:-1:-1;;50281:27:0::1;::::0;::::1;;::::0;;;::::1;::::0;;50205:111::o;50069:128::-;50142:47;;;-1:-1:-1;;;50142:47:0;;50183:4;50142:47;;;;;;50115:7;;45940:42;;50142:32;;:47;;;;;;;;;;;;;;;45940:42;50142:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50142:47:0;;-1:-1:-1;50069:128:0;:::o;45683:82::-;45722:42;45683:82;:::o;41615:25::-;;;-1:-1:-1;;;;;41615:25:0;;:::o;41647:24::-;;;-1:-1:-1;;;;;41647:24:0;;:::o;44693:202::-;42564:7;:5;:7::i;:::-;-1:-1:-1;;;;;42550:21:0;:10;-1:-1:-1;;;;;42550:21:0;;:45;;;-1:-1:-1;42589:6:0;;-1:-1:-1;;;;;42589:6:0;42575:10;:20;42550:45;42542:66;;;;;-1:-1:-1;;;42542:66:0;;;;;;;;;;;;-1:-1:-1;;;42542:66:0;;;;;;;;;;;;;;;44441:3:::1;44767:4;:20;;44759:37;;;::::0;;-1:-1:-1;;;44759:37:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;44759:37:0;;;;;;;;;;;;;::::1;;44817:7;:14:::0;;;44853:24;:34:::1;44842:8;:45:::0;44693:202::o;44405:39::-;44441:3;44405:39;:::o;46860:733::-;46937:5;;-1:-1:-1;;;;;46937:5:0;46923:10;:19;46915:38;;;;;-1:-1:-1;;;46915:38:0;;;;;;;;;;;;-1:-1:-1;;;46915:38:0;;;;;;;;;;;;;;;46984:37;;;-1:-1:-1;;;46984:37:0;;47015:4;46984:37;;;;;;46966:15;;45722:42;;46984:22;;:37;;;;;;;;;;;;;;;45722:42;46984:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46984:37:0;;-1:-1:-1;47038:17:0;;;47034:165;;;45940:42;47072:31;47104:20;:7;47116;47104:11;:20::i;:::-;47072:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47150:37:0;;;-1:-1:-1;;;47150:37:0;;47181:4;47150:37;;;;;;45722:42;;-1:-1:-1;47150:22:0;;-1:-1:-1;47150:37:0;;;;;;;;;;;;;;45722:42;47150:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47150:37:0;;-1:-1:-1;47034:165:0;47225:7;47215;:17;47211:67;;;-1:-1:-1;47259:7:0;47211:67;47307:7;:5;:7::i;:::-;-1:-1:-1;;;;;47294:20:0;:9;-1:-1:-1;;;;;47294:20:0;;:32;;;;47318:8;:6;:8::i;:::-;47290:296;;;47369:5;;47343:41;;45722:42;;-1:-1:-1;;;;;47369:5:0;47376:7;47343:25;:41::i;:::-;47290:296;;;47417:27;47447:46;44542:5;47447:26;47459:13;;47447:7;:11;;:26;;;;:::i;:::-;:30;;:46::i;:::-;47534:5;;47417:76;;-1:-1:-1;47508:66:0;;-1:-1:-1;;;;;47534:5:0;47541:32;:7;47417:76;47541:11;:32::i;:::-;45722:42;;47508:66;:25;:66::i;:::-;47290:296;;46860:733;;:::o;45418:82::-;45457:42;45418:82;:::o;50996:121::-;42564:7;:5;:7::i;:::-;-1:-1:-1;;;;;42550:21:0;:10;-1:-1:-1;;;;;42550:21:0;;:45;;;-1:-1:-1;42589:6:0;;-1:-1:-1;;;;;42589:6:0;42575:10;:20;42550:45;42542:66;;;;;-1:-1:-1;;;42542:66:0;;;;;;;;;;;;-1:-1:-1;;;42542:66:0;;;;;;;;;;;;;;;51047:10:::1;:8;:10::i;:::-;51070:17;:15;:17::i;:::-;51100:9;:7;:9::i;:::-;50996:121::o:0;47783:504::-;40229:8;:6;:8::i;:::-;40228:9;40220:38;;;;;-1:-1:-1;;;40220:38:0;;;;;;;;;;;;-1:-1:-1;;;40220:38:0;;;;;;;;;;;;;;;47842:9:::1;47855:10;47842:23;::::0;:46:::1;;-1:-1:-1::0;47883:5:0::1;::::0;-1:-1:-1;;;;;47883:5:0::1;47869:10;:19;47842:46;47834:68;;;::::0;;-1:-1:-1;;;47834:68:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;47834:68:0;;;;;;;;;;;;;::::1;;47913:51;::::0;;-1:-1:-1;;;47913:51:0;;47958:4:::1;47913:51;::::0;::::1;::::0;;;45940:42:::1;::::0;47913:36:::1;::::0;:51;;;;;-1:-1:-1;;47913:51:0;;;;;;;-1:-1:-1;45940:42:0;47913:51;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;47994:36:0::1;::::0;;-1:-1:-1;;;47994:36:0;;48024:4:::1;47994:36;::::0;::::1;::::0;;;47977:14:::1;::::0;-1:-1:-1;45545:42:0::1;::::0;-1:-1:-1;47994:21:0::1;::::0;:36;;;;;::::1;::::0;;;;;;;;;45545:42;47994:36;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;47994:36:0;48061:39:::1;::::0;;-1:-1:-1;;;48061:39:0;;48094:4:::1;48061:39;::::0;::::1;::::0;;;47994:36;;-1:-1:-1;48041:17:0::1;::::0;45368:42:::1;::::0;48061:24:::1;::::0;:39;;;;;47994:36:::1;::::0;48061:39;;;;;;;45368:42;48061:39;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;48061:39:0;;-1:-1:-1;48115:13:0;;;;:27:::1;;;48141:1;48132:6;:10;48115:27;48111:169;;;48159:12;:10;:12::i;:::-;48186:14;:12;:14::i;:::-;48215:9;:7;:9::i;:::-;48244:24;::::0;48257:10:::1;::::0;48244:24:::1;::::0;;;::::1;40269:1;;47783:504::o:0;50764:121::-;42564:7;:5;:7::i;:::-;-1:-1:-1;;;;;42550:21:0;:10;-1:-1:-1;;;;;42550:21:0;;:45;;;-1:-1:-1;42589:6:0;;-1:-1:-1;;;;;42589:6:0;42575:10;:20;42550:45;42542:66;;;;;-1:-1:-1;;;42542:66:0;;;;;;;;;;;;-1:-1:-1;;;42542:66:0;;;;;;;;;;;;;;;50811:7:::1;:5;:7::i;:::-;45940:42;50829:31;50861:15;:13;:15::i;:::-;50829:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;50764:121::o:0;44504:43::-;44542:5;44504:43;:::o;47601:119::-;47659:16;;;;47655:58;;;47692:9;:7;:9::i;39903:86::-;39950:4;39974:7;-1:-1:-1;;;39974:7:0;;;;;39903:86::o;43625:::-;37842:12;:10;:12::i;:::-;-1:-1:-1;;;;;37831:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;37831:23:0;;37823:68;;;;;-1:-1:-1;;;37823:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;37823:68:0;;;;;;;;;;;;;;;43689:5:::1;:14:::0;;-1:-1:-1;;;;;;43689:14:0::1;-1:-1:-1::0;;;;;43689:14:0;;;::::1;::::0;;;::::1;::::0;;43625:86::o;45507:81::-;45545:42;45507:81;:::o;38262:148::-;37842:12;:10;:12::i;:::-;-1:-1:-1;;;;;37831:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;37831:23:0;;37823:68;;;;;-1:-1:-1;;;37823:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;37823:68:0;;;;;;;;;;;;;;;38369:1:::1;38353:6:::0;;38332:40:::1;::::0;-1:-1:-1;;;;;38353:6:0;;::::1;::::0;38332:40:::1;::::0;38369:1;;38332:40:::1;38400:1;38383:19:::0;;-1:-1:-1;;;;;;38383:19:0::1;::::0;;38262:148::o;49687:113::-;49729:7;49756:36;49776:15;:13;:15::i;:::-;49756;:13;:15::i;:::-;:19;;:36::i;:::-;49749:43;;49687:113;:::o;42897:92::-;42564:7;:5;:7::i;:::-;-1:-1:-1;;;;;42550:21:0;:10;-1:-1:-1;;;;;42550:21:0;;:45;;;-1:-1:-1;42589:6:0;;-1:-1:-1;;;;;42589:6:0;42575:10;:20;42550:45;42542:66;;;;;-1:-1:-1;;;42542:66:0;;;;;;;;;;;;-1:-1:-1;;;42542:66:0;;;;;;;;;;;;;;;42965:6:::1;:16:::0;;-1:-1:-1;;;;;;42965:16:0::1;-1:-1:-1::0;;;;;42965:16:0;;;::::1;::::0;;;::::1;::::0;;42897:92::o;44315:41::-;44353:3;44315:41;:::o;50893:95::-;42564:7;:5;:7::i;:::-;-1:-1:-1;;;;;42550:21:0;:10;-1:-1:-1;;;;;42550:21:0;;:45;;;-1:-1:-1;42589:6:0;;-1:-1:-1;;;;;42589:6:0;42575:10;:20;42550:45;42542:66;;;;;-1:-1:-1;;;42542:66:0;;;;;;;;;;;;-1:-1:-1;;;42542:66:0;;;;;;;;;;;;;;;50940:8:::1;:6;:8::i;:::-;50961:19;:17;:19::i;46133:35::-:0;;;;;;:::o;44556:30::-;;;;:::o;45595:81::-;45633:42;45595:81;:::o;37611:87::-;37657:7;37684:6;-1:-1:-1;;;;;37684:6:0;37611:87;:::o;41705:32::-;;;-1:-1:-1;;;;;41705:32:0;;:::o;44595:25::-;;;;:::o;45898:85::-;45940:42;45898:85;:::o;43846:134::-;37842:12;:10;:12::i;:::-;-1:-1:-1;;;;;37831:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;37831:23:0;;37823:68;;;;;-1:-1:-1;;;37823:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;37823:68:0;;;;;;;;;;;;;;;43934:17:::1;:38:::0;;-1:-1:-1;;;;;;43934:38:0::1;-1:-1:-1::0;;;;;43934:38:0;;;::::1;::::0;;;::::1;::::0;;43846:134::o;44903:156::-;42564:7;:5;:7::i;:::-;-1:-1:-1;;;;;42550:21:0;:10;-1:-1:-1;;;;;42550:21:0;;:45;;;-1:-1:-1;42589:6:0;;-1:-1:-1;;;;;42589:6:0;42575:10;:20;42550:45;42542:66;;;;;-1:-1:-1;;;42542:66:0;;;;;;;;;;;;-1:-1:-1;;;42542:66:0;;;;;;;;;;;;;;;44495:2:::1;44983:4;:26;;44975:43;;;::::0;;-1:-1:-1;;;44975:43:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;44975:43:0;;;;;;;;;;;;;::::1;;45031:13;:20:::0;44903:156::o;41587:21::-;;;-1:-1:-1;;;;;41587:21:0;;:::o;44363:35::-;44394:4;44363:35;:::o;49867:118::-;49940:37;;;-1:-1:-1;;;49940:37:0;;49971:4;49940:37;;;;;;49913:7;;45722:42;;49940:22;;:37;;;;;;;;;;;;;;;45722:42;49940:37;;;;;;;;;;43134:155;43220:10;;-1:-1:-1;;;;;43220:10:0;43206;:24;43198:48;;;;;-1:-1:-1;;;43198:48:0;;;;;;;;;;;;-1:-1:-1;;;43198:48:0;;;;;;;;;;;;;;;43257:10;:24;;-1:-1:-1;;;;;;43257:24:0;-1:-1:-1;;;;;43257:24:0;;;;;;;;;;43134:155::o;46070:54::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46070:54:0;;-1:-1:-1;46070:54:0;:::o;46643:209::-;40229:8;:6;:8::i;:::-;40228:9;40220:38;;;;;-1:-1:-1;;;40220:38:0;;;;;;;;;;;;-1:-1:-1;;;40220:38:0;;;;;;;;;;;;;;;46712:37:::1;::::0;;-1:-1:-1;;;46712:37:0;;46743:4:::1;46712:37;::::0;::::1;::::0;;;46694:15:::1;::::0;45722:42:::1;::::0;46712:22:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;;45722:42;46712:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;46712:37:0;;-1:-1:-1;46766:11:0;;46762:83:::1;;45940:42;-1:-1:-1::0;;;;;46794:30:0::1;;46825:7;46794:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;46762:83;40269:1;46643:209::o:0;44627:57::-;;;;:::o;43421:102::-;37842:12;:10;:12::i;:::-;-1:-1:-1;;;;;37831:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;37831:23:0;;37823:68;;;;;-1:-1:-1;;;37823:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;37823:68:0;;;;;;;;;;;;;;;43493:9:::1;:22:::0;;-1:-1:-1;;;;;;43493:22:0::1;-1:-1:-1::0;;;;;43493:22:0;;;::::1;::::0;;;::::1;::::0;;43421:102::o;45772:87::-;45816:42;45772:87;:::o;44453:44::-;44495:2;44453:44;:::o;46007:56::-;;;;;;;;;;38565:244;37842:12;:10;:12::i;:::-;-1:-1:-1;;;;;37831:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;37831:23:0;;37823:68;;;;;-1:-1:-1;;;37823:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;37823:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;38654:22:0;::::1;38646:73;;;;-1:-1:-1::0;;;38646:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38756:6;::::0;;38735:38:::1;::::0;-1:-1:-1;;;;;38735:38:0;;::::1;::::0;38756:6;::::1;::::0;38735:38:::1;::::0;::::1;38784:6;:17:::0;;-1:-1:-1;;;;;;38784:17:0::1;-1:-1:-1::0;;;;;38784:17:0;;;::::1;::::0;;;::::1;::::0;;38565:244::o;45327:84::-;45368:42;45327:84;:::o;50416:266::-;50481:5;;-1:-1:-1;;;;;50481:5:0;50467:10;:19;50459:38;;;;;-1:-1:-1;;;50459:38:0;;;;;;;;;;;;-1:-1:-1;;;50459:38:0;;;;;;;;;;;;;;;45940:42;50510:31;50542:15;:13;:15::i;:::-;50510:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50589:37:0;;;-1:-1:-1;;;50589:37:0;;50620:4;50589:37;;;;;;50571:15;;-1:-1:-1;45722:42:0;;-1:-1:-1;50589:22:0;;:37;;;;;;;;;;;;;;;45722:42;50589:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50589:37:0;50659:5;;;50637:37;;;-1:-1:-1;;;50637:37:0;;-1:-1:-1;;;;;50659:5:0;;;50637:37;;;;;;;;;;;;;;;50589;;-1:-1:-1;45722:42:0;;50637:21;;:37;;;;;50589;;50637;;;;;;;;-1:-1:-1;45722:42:0;50637:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41678:20;;;-1:-1:-1;;;;;41678:20:0;;:::o;31685:622::-;32055:10;;;32054:62;;-1:-1:-1;32071:39:0;;;-1:-1:-1;;;32071:39:0;;32095:4;32071:39;;;;-1:-1:-1;;;;;32071:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32071:39:0;:44;32054:62;32046:152;;;;-1:-1:-1;;;32046:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32236:62;;;-1:-1:-1;;;;;32236:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32236:62:0;-1:-1:-1;;;32236:62:0;;;32209:90;;32229:5;;32209:19;:90::i;26021:195::-;26124:12;26156:52;26178:6;26186:4;26192:1;26195:12;26156:21;:52::i;:::-;26149:59;;26021:195;;;;;;:::o;7087:158::-;7145:7;7178:1;7173;:6;;7165:49;;;;;-1:-1:-1;;;7165:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7232:5:0;;;7087:158;;;;;:::o;31026:177::-;31136:58;;;-1:-1:-1;;;;;31136:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31136:58:0;-1:-1:-1;;;31136:58:0;;;31109:86;;31129:5;;31109:19;:86::i;7504:220::-;7562:7;7586:6;7582:20;;-1:-1:-1;7601:1:0;7594:8;;7582:20;7625:5;;;7629:1;7625;:5;:1;7649:5;;;;;:10;7641:56;;;;-1:-1:-1;;;7641:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8202:153;8260:7;8292:1;8288;:5;8280:44;;;;;-1:-1:-1;;;8280:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8346:1;8342;:5;;;;;;;8202:153;-1:-1:-1;;;8202:153:0:o;40962:120::-;40506:8;:6;:8::i;:::-;40498:41;;;;;-1:-1:-1;;;40498:41:0;;;;;;;;;;;;-1:-1:-1;;;40498:41:0;;;;;;;;;;;;;;;41031:5:::1;41021:15:::0;;-1:-1:-1;;;;41021:15:0::1;::::0;;41052:22:::1;41061:12;:10;:12::i;:::-;41052:22;::::0;;-1:-1:-1;;;;;41052:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;40962:120::o:0;51125:291::-;51172:49;45722:42;45940;-1:-1:-1;;51172:24:0;:49::i;:::-;51259:9;;51232:53;;45368:42;;-1:-1:-1;;;;;51259:9:0;-1:-1:-1;;51232:26:0;:53::i;:::-;51320:9;;51296:50;;45545:42;;-1:-1:-1;;;;;51320:9:0;-1:-1:-1;;51296:23:0;:50::i;:::-;51357:51;45457:42;45816;-1:-1:-1;;51357:24:0;:51::i;48320:799::-;48379:36;;;-1:-1:-1;;;48379:36:0;;48409:4;48379:36;;;;;;48362:14;;45545:42;;48379:21;;:36;;;;;;;;;;;;;;;45545:42;48379:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48379:36:0;;-1:-1:-1;48430:10:0;;48426:157;;48475:9;;48457:114;;-1:-1:-1;;;48457:114:0;;;;;;;;48475:9;48457:114;;;;;;48548:4;48457:114;;;;;;48555:15;48457:114;;;;;;;;;;;;;48522:16;48457:114;;;;;;;;-1:-1:-1;;;;;48475:9:0;;;;48457:53;;48511:6;;48522:16;;48548:4;48555:15;48457:114;;;;;;48522:16;;48457:114;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48457:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;48457:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48457:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48426:157;48595:20;48618:57;48670:4;48618:47;48662:2;45368:42;-1:-1:-1;;;;;48618:24:0;;48651:4;48618:39;;;;;;;;;;;;;-1:-1:-1;;;;;48618:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48618:39:0;;:43;:47::i;:57::-;48595:80;;48688:21;48712:38;44394:4;48712:25;48729:7;;48712:12;:16;;:25;;;;:::i;:38::-;48688:62;-1:-1:-1;48761:53:0;45368:42;48789:9;48688:62;48761:27;:53::i;:::-;48827:22;48852:39;44394:4;48852:26;48869:8;;48852:12;:16;;:26;;;;:::i;:39::-;48930:17;;48827:64;;-1:-1:-1;48902:62:0;;45368:42;;-1:-1:-1;;;;;48930:17:0;48827:64;48902:27;:62::i;:::-;48977:21;49001:45;44394:4;49001:32;:12;44353:3;49001:16;:32::i;:45::-;49085:10;;48977:69;;-1:-1:-1;49057:54:0;;45368:42;;-1:-1:-1;;;;;49085:10:0;48977:69;49057:27;:54::i;49182:431::-;49246:39;;;-1:-1:-1;;;49246:39:0;;49279:4;49246:39;;;;;;49226:17;;45368:42;;49246:24;;:39;;;;;;;;;;;;;;;45368:42;49246:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49246:39:0;49314:9;;49296:118;;-1:-1:-1;;;49296:118:0;;;;;;;;49314:9;49296:118;;;;;;49391:4;49296:118;;;;;;49398:15;49296:118;;;;;;;;;;;;;49364:17;49296:118;;;;;;;;49246:39;;-1:-1:-1;;;;;;49314:9:0;;;;49296:53;;49246:39;;49314:9;;49364:17;;49296:118;;;;;;;;49364:17;;49296:118;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;49296:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49296:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49296:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;49296:118:0;;;;;;;;-1:-1:-1;;;49445:37:0;;49476:4;49445:37;;;;;49427:15;;-1:-1:-1;45457:42:0;;-1:-1:-1;49445:22:0;;-1:-1:-1;49445:37:0;;;;;-1:-1:-1;49445:37:0;;-1:-1:-1;49445:37:0;;;;;;;45457:42;49445:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49445:37:0;;-1:-1:-1;49493:25:0;;:::i;:::-;:43;;;;;;;;49522:1;49493:43;;;;49525:7;49493:43;;;;49534:1;49493:43;;;;;45816:42;-1:-1:-1;;;;;49547:40:0;;49588:7;49597:1;49600:4;49547:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49182:431;;;:::o;667:106::-;755:10;667:106;:::o;6625:179::-;6683:7;6715:5;;;6739:6;;;;6731:46;;;;;-1:-1:-1;;;6731:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;40703:118;40229:8;:6;:8::i;:::-;40228:9;40220:38;;;;;-1:-1:-1;;;40220:38:0;;;;;;;;;;;;-1:-1:-1;;;40220:38:0;;;;;;;;;;;;;;;40763:7:::1;:14:::0;;-1:-1:-1;;;;40763:14:0::1;-1:-1:-1::0;;;40763:14:0::1;::::0;;40793:20:::1;40800:12;:10;:12::i;51424:241::-:0;51473:36;45722:42;45940;51507:1;51473:24;:36::i;:::-;51547:9;;51520:40;;45368:42;;-1:-1:-1;;;;;51547:9:0;;51520:26;:40::i;:::-;51595:9;;51571:37;;45545:42;;-1:-1:-1;;;;;51595:9:0;;51571:23;:37::i;:::-;51619:38;45457:42;45816;51655:1;51619:24;:38::i;33331:761::-;33755:23;33781:69;33809:4;33781:69;;;;;;;;;;;;;;;;;33789:5;-1:-1:-1;;;;;33781:27:0;;;:69;;;;;:::i;:::-;33865:17;;33755:95;;-1:-1:-1;33865:21:0;33861:224;;34007:10;33996:30;;;;;;;;;;;;;;;-1:-1:-1;33996:30:0;33988:85;;;;-1:-1:-1;;;33988:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27073:530;27200:12;27258:5;27233:21;:30;;27225:81;;;;-1:-1:-1;;;27225:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27325:18;27336:6;27325:10;:18::i;:::-;27317:60;;;;;-1:-1:-1;;;27317:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27451:12;27465:23;27492:6;-1:-1:-1;;;;;27492:11:0;27512:5;27520:4;27492:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27492:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27450:75;;;;27543:52;27561:7;27570:10;27582:12;27543:17;:52::i;:::-;27536:59;27073:530;-1:-1:-1;;;;;;;27073:530:0:o;23103:422::-;23470:20;23509:8;;;23103:422::o;29613:742::-;29728:12;29757:7;29753:595;;;-1:-1:-1;29788:10:0;29781:17;;29753:595;29902:17;;:21;29898:439;;30165:10;30159:17;30226:15;30213:10;30209:2;30205:19;30198:44;30113:148;30308:12;30301:20;;-1:-1:-1;;;30301:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://696561fe2a11c38d1717b8e6836663a7c51bcd41621c6afc55a530d93a1d8ff6
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.