Token gOHM-ETHvault
Polygon Sponsored slots available. Book your slot here!
Overview ERC-20
Price
$0.00 @ 0.000000 MATIC
Fully Diluted Market Cap
Total Supply:
0.001744 vgOHM-ETH
Holders:
2 addresses
Contract:
Decimals:
18
Balance
0.000429754172329094 vgOHM-ETHValue
$0.00
[ Download CSV Export ]
[ Download CSV Export ]
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
vaultBase
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-04-30 */ /** *Submitted for verification at polygonscan.com on 2021-09-01 */ pragma solidity ^0.6.12; // SPDX-License-Identifier: UNLICENSED interface IStrategy { function harvestedToken() external view returns (address); function rewards() external view returns (address); function emergencyStatus() external view returns (bool); function gauge() external view returns (address); function want() external view returns (address); function treasury() external view returns (address); function deposit() external; function depositLocked(uint256 _secs) external; function underlyingPoolId() external view returns(uint16); function withdrawForSwap(uint256) external returns (uint256); function withdraw(address) external; function withdraw(uint256) external; function withdrawLocked(bytes32 kek_id) external returns (uint256 balance); function withdrawAll() external returns (uint256); function balanceOf() external view returns (uint256); function getHarvestable() external view returns (uint256); function pairName() external view returns (string memory); function harvest() external; function setJar(address _jar) external; function getLastTimeMigrated() external view returns (uint256); function execute(address _target, bytes calldata _data) external payable returns (bytes memory response); function execute(bytes calldata _data) external payable returns (bytes memory response); } /* * @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; } } /** * @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); } /** * @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; } } /** * @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 { } } /** * @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); } } } } /** * @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"); } } } /* MasterChef contract */ contract MasterChef { using SafeMath for uint256; using SafeERC20 for IERC20; // Info of each pool. struct PoolInfo { IERC20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. EGGs to distribute per block. uint256 lastRewardBlock; // Last block number that EGGs distribution occurs. uint256 accEggPerShare; // Accumulated EGGs per share, times 1e12. See below. uint16 depositFeeBP; // Make sure the underlying vault defines this is basis points in an immutable way } // Info of each pool. PoolInfo[] public poolInfo; // Withdrawal penalty uint256 public withdrawPenalty; // Make sure the underlying vault defines this is basis points in an immutable way } /** * @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; } } // Based on https://github.com/iearn-finance/vaults/blob/master/contracts/vaults/yVault.sol abstract contract JarBase is ERC20, Ownable { using SafeERC20 for IERC20; using Address for address; using SafeMath for uint256; IERC20 public token; address public strategy; mapping (address => uint256) private lastTimeStaked; mapping (address => uint256) private lastTimeRestaked; uint256 public constant keepMax = 10000; constructor(IStrategy _strategy, string memory name, string memory symbol) public ERC20(name, symbol) { require(address(_strategy) != address(0)); _setupDecimals(ERC20(_strategy.want()).decimals()); token = IERC20(_strategy.want()); strategy = address(_strategy); } function transfer(address recipient, uint256 amount) public override returns (bool) { require(recipient != address(this)); return super.transfer(recipient, amount); } function balance() public view returns (uint256) { return token.balanceOf(address(this)).add( IStrategy(strategy).balanceOf() ); } function depositAll() external { deposit(token.balanceOf(msg.sender)); } function deposit(uint256 _amount) public { require(msg.sender == tx.origin, "no contracts"); lastTimeStaked[msg.sender] = now; IStrategy(strategy).harvest(); uint256 _pool = balance(); uint256 _before = token.balanceOf(address(this)); token.safeTransferFrom(msg.sender, address(this), _amount); uint256 _after = token.balanceOf(address(this)); _amount = _after.sub(_before); // Additional check for deflationary tokens uint256 shares = 0; if (totalSupply() == 0) { shares = _amount; } else { shares = (_amount.mul(totalSupply())).div(_pool); } // If deposit penalty, grab it. Otherwise, just comment out this section. //Grab deposit fee from underlying farm, if available. // address masterChefAddr = IStrategy(strategy).rewards(); // uint16 underlyingPoolId = IStrategy(strategy).underlyingPoolId(); // MasterChef underlyingMC = MasterChef(masterChefAddr); // Read pool info on deposit fee // (, , , , uint256 depositFee) = underlyingMC.poolInfo(underlyingPoolId); // Adjust for deposit fee // if(depositFee > 0) { // uint256 fee = shares.mul(depositFee).div(keepMax); // shares = shares.sub(fee); // } // Send share of pool _mint(msg.sender, shares); earnAmount(_amount); } //This does what earn() used to do, functionally the same for the end user since no LP tokens are stored in this contract during normal operation function earnAmount(uint256 _amount) internal { token.safeTransfer(strategy, _amount); IStrategy(strategy).deposit(); } function withdrawAll() external { withdraw(balanceOf(msg.sender)); } // No rebalance implementation for lower fees and faster swaps function withdraw(uint256 _shares) public { uint256 r = (balance().mul(_shares)).div(totalSupply()); _burn(msg.sender, _shares); // Check balance uint256 b = token.balanceOf(address(this)); if (b < r) { uint256 _withdraw = r.sub(b); IStrategy(strategy).withdraw(_withdraw); uint256 _after = token.balanceOf(address(this)); uint256 _diff = _after.sub(b); if (_diff < _withdraw) { r = b.add(_diff); } } // If withdrawal penalty, subtract before transferring // Otherwise, just comment out this section // address masterChefAddr = IStrategy(strategy).rewards(); // MasterChef underlyingMC = MasterChef(masterChefAddr); // Read pool info on withdrawal fee // uint256 withdrawPenalty = underlyingMC.withdrawPenalty(); // bool emergencyStatus = IStrategy(strategy).emergencyStatus(); // if (withdrawPenalty>0 && emergencyStatus==false) { // uint256 WithdrawalFee = r.mul(withdrawPenalty).div(keepMax); // r = r.sub(WithdrawalFee); // } token.safeTransfer(msg.sender, r); } // A view function that makes it easier for the UI to display LPs of users function getRatio() public view returns (uint256) { if (totalSupply() == 0) { return 0; } return balance().mul(1e18).div(totalSupply()); } //Website UI will hide the restake button for a user if it's been less than 1 day since they last restaked function getLastTimeRestaked(address _address) public view returns (uint256) { return lastTimeRestaked[_address]; } //Website UI will hide the restake button for a user if they staked after the migration function getLastTimeStaked(address _address) public view returns (uint256) { return lastTimeStaked[_address]; } } contract vaultBase is JarBase { constructor(IStrategy _strategy) public JarBase(_strategy, string(abi.encodePacked(_strategy.pairName(), "vault")), string(abi.encodePacked("v", _strategy.pairName())) ) { } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IStrategy","name":"_strategy","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getLastTimeRestaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getLastTimeStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"keepMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"strategy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200223338038062002233833981810160405260208110156200003757600080fd5b5051604080516340794c3b60e01b8152905182916001600160a01b038316916340794c3b91600480820192600092909190829003018186803b1580156200007d57600080fd5b505afa15801562000092573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015620000bc57600080fd5b8101908080516040519392919084640100000000821115620000dd57600080fd5b908301906020820185811115620000f357600080fd5b82516401000000008111828201881017156200010e57600080fd5b82525081516020918201929091019080838360005b838110156200013d57818101518382015260200162000123565b50505050905090810190601f1680156200016b5780820380516001836020036101000a031916815260200191505b506040525050506040516020018082805190602001908083835b60208310620001a65780518252601f19909201916020918201910162000185565b6001836020036101000a03801982511681845116808217855250505050505090500180641d985d5b1d60da1b815250600501915050604051602081830303815290604052826001600160a01b03166340794c3b6040518163ffffffff1660e01b815260040160006040518083038186803b1580156200022457600080fd5b505afa15801562000239573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156200026357600080fd5b81019080805160405193929190846401000000008211156200028457600080fd5b9083019060208201858111156200029a57600080fd5b8251640100000000811182820188101715620002b557600080fd5b82525081516020918201929091019080838360005b83811015620002e4578181015183820152602001620002ca565b50505050905090810190601f168015620003125780820380516001836020036101000a031916815260200191505b506040525050506040516020018080603b60f91b81525060010182805190602001908083835b60208310620003595780518252601f19909201916020918201910162000338565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405281818160039080519060200190620003a7929190620005e2565b508051620003bd906004906020840190620005e2565b50506005805460ff19166012179055506000620003d9620005c8565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160a01b0383166200044357600080fd5b62000526836001600160a01b0316631f1fcd516040518163ffffffff1660e01b815260040160206040518083038186803b1580156200048157600080fd5b505afa15801562000496573d6000803e3d6000fd5b505050506040513d6020811015620004ad57600080fd5b50516040805163313ce56760e01b815290516001600160a01b039092169163313ce56791600480820192602092909190829003018186803b158015620004f257600080fd5b505afa15801562000507573d6000803e3d6000fd5b505050506040513d60208110156200051e57600080fd5b5051620005cc565b826001600160a01b0316631f1fcd516040518163ffffffff1660e01b815260040160206040518083038186803b1580156200056057600080fd5b505afa15801562000575573d6000803e3d6000fd5b505050506040513d60208110156200058c57600080fd5b5051600680546001600160a01b039283166001600160a01b0319918216179091556007805495909216941693909317909255506200067e915050565b3390565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200062557805160ff191683800117855562000655565b8280016001018555821562000655579182015b828111156200065557825182559160200191906001019062000638565b506200066392915062000667565b5090565b5b8082111562000663576000815560010162000668565b611ba5806200068e6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063853828b6116100de578063b69ef8a811610097578063de5f626811610071578063de5f626814610457578063ec1ebd7a1461045f578063f2fde38b14610467578063fc0c546a1461048d57610173565b8063b69ef8a814610404578063b6b55f251461040c578063dd62ed3e1461042957610173565b8063853828b6146103705780638da5cb5b1461037857806395d89b411461039c578063a457c2d7146103a4578063a8c62e76146103d0578063a9059cbb146103d857610173565b8063313ce56711610130578063313ce567146102ac57806339509351146102ca57806370a08231146102f6578063715018a61461031c57806377056b7a1461032457806382782f3c1461034a57610173565b806306fdde0314610178578063095ea7b3146101f55780630975d8d81461023557806318160ddd1461024f57806323b872dd146102575780632e1a7d4d1461028d575b600080fd5b610180610495565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102216004803603604081101561020b57600080fd5b506001600160a01b03813516906020013561052c565b604080519115158252519081900360200190f35b61023d61054a565b60408051918252519081900360200190f35b61023d610550565b6102216004803603606081101561026d57600080fd5b506001600160a01b03813581169160208101359091169060400135610556565b6102aa600480360360208110156102a357600080fd5b50356105de565b005b6102b46107c2565b6040805160ff9092168252519081900360200190f35b610221600480360360408110156102e057600080fd5b506001600160a01b0381351690602001356107cb565b61023d6004803603602081101561030c57600080fd5b50356001600160a01b0316610819565b6102aa610834565b61023d6004803603602081101561033a57600080fd5b50356001600160a01b03166108f8565b61023d6004803603602081101561036057600080fd5b50356001600160a01b0316610913565b6102aa61092e565b610380610941565b604080516001600160a01b039092168252519081900360200190f35b610180610955565b610221600480360360408110156103ba57600080fd5b506001600160a01b0381351690602001356109b6565b610380610a1e565b610221600480360360408110156103ee57600080fd5b506001600160a01b038135169060200135610a2d565b61023d610a4f565b6102aa6004803603602081101561042257600080fd5b5035610b50565b61023d6004803603604081101561043f57600080fd5b506001600160a01b0381358116916020013516610d6c565b6102aa610d97565b61023d610e14565b6102aa6004803603602081101561047d57600080fd5b50356001600160a01b0316610e49565b610380610f69565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105215780601f106104f657610100808354040283529160200191610521565b820191906000526020600020905b81548152906001019060200180831161050457829003601f168201915b505050505090505b90565b6000610540610539610f78565b8484610f7c565b5060015b92915050565b61271081565b60025490565b6000610563848484611068565b6105d38461056f610f78565b6105ce85604051806060016040528060288152602001611a8f602891396001600160a01b038a166000908152600160205260408120906105ad610f78565b6001600160a01b0316815260208101919091526040016000205491906111c3565b610f7c565b5060015b9392505050565b60006106036105eb610550565b6105fd846105f7610a4f565b9061125a565b906112b3565b905061060f338361131a565b600654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561065a57600080fd5b505afa15801561066e573d6000803e3d6000fd5b505050506040513d602081101561068457600080fd5b50519050818110156107a657600061069c8383611416565b60075460408051632e1a7d4d60e01b81526004810184905290519293506001600160a01b0390911691632e1a7d4d9160248082019260009290919082900301818387803b1580156106ec57600080fd5b505af1158015610700573d6000803e3d6000fd5b5050600654604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b15801561075157600080fd5b505afa158015610765573d6000803e3d6000fd5b505050506040513d602081101561077b57600080fd5b50519050600061078b8285611416565b9050828110156107a25761079f8482611473565b94505b5050505b6006546107bd906001600160a01b031633846114cd565b505050565b60055460ff1690565b60006105406107d8610f78565b846105ce85600160006107e9610f78565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611473565b6001600160a01b031660009081526020819052604090205490565b61083c610f78565b6001600160a01b031661084d610941565b6001600160a01b0316146108a8576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6001600160a01b031660009081526008602052604090205490565b6001600160a01b031660009081526009602052604090205490565b61093f61093a33610819565b6105de565b565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105215780601f106104f657610100808354040283529160200191610521565b60006105406109c3610f78565b846105ce85604051806060016040528060258152602001611b4b60259139600160006109ed610f78565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906111c3565b6007546001600160a01b031681565b60006001600160a01b038316301415610a4557600080fd5b6105d7838361151f565b6000610b4b600760009054906101000a90046001600160a01b03166001600160a01b031663722713f76040518163ffffffff1660e01b815260040160206040518083038186803b158015610aa257600080fd5b505afa158015610ab6573d6000803e3d6000fd5b505050506040513d6020811015610acc57600080fd5b5051600654604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015610b1957600080fd5b505afa158015610b2d573d6000803e3d6000fd5b505050506040513d6020811015610b4357600080fd5b505190611473565b905090565b333214610b93576040805162461bcd60e51b815260206004820152600c60248201526b6e6f20636f6e74726163747360a01b604482015290519081900360640190fd5b336000908152600860205260408082204290556007548151634641257d60e01b815291516001600160a01b0390911692634641257d926004808201939182900301818387803b158015610be557600080fd5b505af1158015610bf9573d6000803e3d6000fd5b505050506000610c07610a4f565b600654604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015610c5857600080fd5b505afa158015610c6c573d6000803e3d6000fd5b505050506040513d6020811015610c8257600080fd5b5051600654909150610c9f906001600160a01b0316333086611533565b600654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610cea57600080fd5b505afa158015610cfe573d6000803e3d6000fd5b505050506040513d6020811015610d1457600080fd5b50519050610d228183611416565b93506000610d2e610550565b610d39575083610d52565b610d4f846105fd610d48610550565b889061125a565b90505b610d5c3382611593565b610d6585611683565b5050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600654604080516370a0823160e01b8152336004820152905161093f926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610de357600080fd5b505afa158015610df7573d6000803e3d6000fd5b505050506040513d6020811015610e0d57600080fd5b5051610b50565b6000610e1e610550565b610e2a57506000610529565b610b4b610e35610550565b6105fd670de0b6b3a76400006105f7610a4f565b610e51610f78565b6001600160a01b0316610e62610941565b6001600160a01b031614610ebd576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610f025760405162461bcd60e51b81526004018080602001828103825260268152602001806119da6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6006546001600160a01b031681565b3390565b6001600160a01b038316610fc15760405162461bcd60e51b8152600401808060200182810382526024815260200180611afd6024913960400191505060405180910390fd5b6001600160a01b0382166110065760405162461bcd60e51b8152600401808060200182810382526022815260200180611a006022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166110ad5760405162461bcd60e51b8152600401808060200182810382526025815260200180611ad86025913960400191505060405180910390fd5b6001600160a01b0382166110f25760405162461bcd60e51b81526004018080602001828103825260238152602001806119956023913960400191505060405180910390fd5b6110fd8383836107bd565b61113a81604051806060016040528060268152602001611a22602691396001600160a01b03861660009081526020819052604090205491906111c3565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546111699082611473565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156112525760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156112175781810151838201526020016111ff565b50505050905090810190601f1680156112445780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008261126957506000610544565b8282028284828161127657fe5b04146105d75760405162461bcd60e51b8152600401808060200182810382526021815260200180611a6e6021913960400191505060405180910390fd5b6000808211611309576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161131257fe5b049392505050565b6001600160a01b03821661135f5760405162461bcd60e51b8152600401808060200182810382526021815260200180611ab76021913960400191505060405180910390fd5b61136b826000836107bd565b6113a8816040518060600160405280602281526020016119b8602291396001600160a01b03851660009081526020819052604090205491906111c3565b6001600160a01b0383166000908152602081905260409020556002546113ce9082611416565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60008282111561146d576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000828201838110156105d7576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526107bd908490611704565b600061054061152c610f78565b8484611068565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261158d908590611704565b50505050565b6001600160a01b0382166115ee576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6115fa600083836107bd565b6002546116079082611473565b6002556001600160a01b03821660009081526020819052604090205461162d9082611473565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6007546006546116a0916001600160a01b039182169116836114cd565b600760009054906101000a90046001600160a01b03166001600160a01b031663d0e30db06040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156116f057600080fd5b505af1158015610d65573d6000803e3d6000fd5b6060611759826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166117b59092919063ffffffff16565b8051909150156107bd5780806020019051602081101561177857600080fd5b50516107bd5760405162461bcd60e51b815260040180806020018281038252602a815260200180611b21602a913960400191505060405180910390fd5b60606117c484846000856117cc565b949350505050565b60608247101561180d5760405162461bcd60e51b8152600401808060200182810382526026815260200180611a486026913960400191505060405180910390fd5b61181685611928565b611867576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106118a65780518252601f199092019160209182019101611887565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611908576040519150601f19603f3d011682016040523d82523d6000602084013e61190d565b606091505b509150915061191d82828661192e565b979650505050505050565b3b151590565b6060831561193d5750816105d7565b82511561194d5782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156112175781810151838201526020016111ff56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220393c12f97b0f54be43b71e5636248cf4adf55fbcf895d20dbf47f5b81ba363d364736f6c634300060c00330000000000000000000000003343eea9ed88b683cdb6bc34fdfbe508e4b0b973
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003343eea9ed88b683cdb6bc34fdfbe508e4b0b973
-----Decoded View---------------
Arg [0] : _strategy (address): 0x3343eea9ed88b683cdb6bc34fdfbe508e4b0b973
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003343eea9ed88b683cdb6bc34fdfbe508e4b0b973
Deployed ByteCode Sourcemap
43438:280:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14659:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16805:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16805:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;38631:39;;;:::i;:::-;;;;;;;;;;;;;;;;15758:108;;;:::i;17456:321::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17456:321:0;;;;;;;;;;;;;;;;;:::i;41443:1240::-;;;;;;;;;;;;;;;;-1:-1:-1;41443:1240:0;;:::i;:::-;;15602:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18186:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18186:218:0;;;;;;;;:::i;15929:127::-;;;;;;;;;;;;;;;;-1:-1:-1;15929:127:0;-1:-1:-1;;;;;15929:127:0;;:::i;37655:148::-;;;:::i;43304:125::-;;;;;;;;;;;;;;;;-1:-1:-1;43304:125:0;-1:-1:-1;;;;;43304:125:0;;:::i;43074:129::-;;;;;;;;;;;;;;;;-1:-1:-1;43074:129:0;-1:-1:-1;;;;;43074:129:0;;:::i;41285:82::-;;;:::i;37004:87::-;;;:::i;:::-;;;;-1:-1:-1;;;;;37004:87:0;;;;;;;;;;;;;;14869:95;;;:::i;18907:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18907:269:0;;;;;;;;:::i;38483:23::-;;;:::i;39018:194::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;39018:194:0;;;;;;;;:::i;39220:187::-;;;:::i;39509:1467::-;;;;;;;;;;;;;;;;-1:-1:-1;39509:1467:0;;:::i;16507:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16507:151:0;;;;;;;;;;:::i;39415:86::-;;;:::i;42771:183::-;;;:::i;37958:244::-;;;;;;;;;;;;;;;;-1:-1:-1;37958:244:0;-1:-1:-1;;;;;37958:244:0;;:::i;38457:19::-;;;:::i;14659:91::-;14737:5;14730:12;;;;;;;;-1:-1:-1;;14730:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14704:13;;14730:12;;14737:5;;14730:12;;14737:5;14730:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14659:91;;:::o;16805:169::-;16888:4;16905:39;16914:12;:10;:12::i;:::-;16928:7;16937:6;16905:8;:39::i;:::-;-1:-1:-1;16962:4:0;16805:169;;;;;:::o;38631:39::-;38665:5;38631:39;:::o;15758:108::-;15846:12;;15758:108;:::o;17456:321::-;17562:4;17579:36;17589:6;17597:9;17608:6;17579:9;:36::i;:::-;17626:121;17635:6;17643:12;:10;:12::i;:::-;17657:89;17695:6;17657:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17657:19:0;;;;;;:11;:19;;;;;;17677:12;:10;:12::i;:::-;-1:-1:-1;;;;;17657:33:0;;;;;;;;;;;;-1:-1:-1;17657:33:0;;;:89;:37;:89::i;:::-;17626:8;:121::i;:::-;-1:-1:-1;17765:4:0;17456:321;;;;;;:::o;41443:1240::-;41496:9;41508:43;41537:13;:11;:13::i;:::-;41509:22;41523:7;41509:9;:7;:9::i;:::-;:13;;:22::i;:::-;41508:28;;:43::i;:::-;41496:55;;41562:26;41568:10;41580:7;41562:5;:26::i;:::-;41639:5;;:30;;;-1:-1:-1;;;41639:30:0;;41663:4;41639:30;;;;;;41627:9;;-1:-1:-1;;;;;41639:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41639:30:0;;-1:-1:-1;41684:5:0;;;41680:314;;;41706:17;41726:8;:1;41732;41726:5;:8::i;:::-;41759;;41749:39;;;-1:-1:-1;;;41749:39:0;;;;;;;;;;41706:28;;-1:-1:-1;;;;;;41759:8:0;;;;41749:28;;:39;;;;;41759:8;;41749:39;;;;;;;;41759:8;;41749:39;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;41820:5:0;;:30;;;-1:-1:-1;;;41820:30:0;;41844:4;41820:30;;;;;;41803:14;;-1:-1:-1;;;;;;41820:5:0;;;;-1:-1:-1;41820:15:0;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41820:30:0;;-1:-1:-1;41865:13:0;41881;41820:30;41892:1;41881:10;:13::i;:::-;41865:29;;41921:9;41913:5;:17;41909:74;;;41955:12;:1;41961:5;41955;:12::i;:::-;41951:16;;41909:74;41680:314;;;;42642:5;;:33;;-1:-1:-1;;;;;42642:5:0;42661:10;42673:1;42642:18;:33::i;:::-;41443:1240;;;:::o;15602:91::-;15676:9;;;;15602:91;:::o;18186:218::-;18274:4;18291:83;18300:12;:10;:12::i;:::-;18314:7;18323:50;18362:10;18323:11;:25;18335:12;:10;:12::i;:::-;-1:-1:-1;;;;;18323:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;18323:25:0;;;:34;;;;;;;;;;;:38;:50::i;15929:127::-;-1:-1:-1;;;;;16030:18:0;16003:7;16030:18;;;;;;;;;;;;15929:127::o;37655:148::-;37235:12;:10;:12::i;:::-;-1:-1:-1;;;;;37224:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;37224:23:0;;37216:68;;;;;-1:-1:-1;;;37216:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37746:6:::1;::::0;37725:40:::1;::::0;37762:1:::1;::::0;37746:6:::1;::::0;::::1;-1:-1:-1::0;;;;;37746:6:0::1;::::0;37725:40:::1;::::0;37762:1;;37725:40:::1;37776:6;:19:::0;;-1:-1:-1;;;;;;37776:19:0::1;::::0;;37655:148::o;43304:125::-;-1:-1:-1;;;;;43397:24:0;43370:7;43397:24;;;:14;:24;;;;;;;43304:125::o;43074:129::-;-1:-1:-1;;;;;43169:26:0;43142:7;43169:26;;;:16;:26;;;;;;;43074:129::o;41285:82::-;41328:31;41337:21;41347:10;41337:9;:21::i;:::-;41328:8;:31::i;:::-;41285:82::o;37004:87::-;37077:6;;;;;-1:-1:-1;;;;;37077:6:0;;37004:87::o;14869:95::-;14949:7;14942:14;;;;;;;;-1:-1:-1;;14942:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14916:13;;14942:14;;14949:7;;14942:14;;14949:7;14942:14;;;;;;;;;;;;;;;;;;;;;;;;18907:269;19000:4;19017:129;19026:12;:10;:12::i;:::-;19040:7;19049:96;19088:15;19049:96;;;;;;;;;;;;;;;;;:11;:25;19061:12;:10;:12::i;:::-;-1:-1:-1;;;;;19049:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;19049:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;38483:23::-;;;-1:-1:-1;;;;;38483:23:0;;:::o;39018:194::-;39096:4;-1:-1:-1;;;;;39126:26:0;;39147:4;39126:26;;39118:35;;;;;;39171:33;39186:9;39197:6;39171:14;:33::i;39220:187::-;39260:7;39300:99;39363:8;;;;;;;;;-1:-1:-1;;;;;39363:8:0;-1:-1:-1;;;;;39353:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39353:31:0;39300:5;;:30;;;-1:-1:-1;;;39300:30:0;;39324:4;39300:30;;;;;;-1:-1:-1;;;;;39300:5:0;;;;:15;;:30;;;;;39353:31;;39300:30;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39300:30:0;;:34;:99::i;:::-;39280:119;;39220:187;:::o;39509:1467::-;39569:10;39583:9;39569:23;39561:48;;;;;-1:-1:-1;;;39561:48:0;;;;;;;;;;;;-1:-1:-1;;;39561:48:0;;;;;;;;;;;;;;;39635:10;39620:26;;;;:14;:26;;;;;;39649:3;39620:32;;39675:8;;39665:29;;-1:-1:-1;;;39665:29:0;;;;-1:-1:-1;;;;;39675:8:0;;;;39665:27;;:29;;;;;;;;;;;39620:26;39675:8;39665:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39707:13;39723:9;:7;:9::i;:::-;39761:5;;:30;;;-1:-1:-1;;;39761:30:0;;39785:4;39761:30;;;;;;39707:25;;-1:-1:-1;39743:15:0;;-1:-1:-1;;;;;39761:5:0;;;;:15;;:30;;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39761:30:0;39802:5;;39761:30;;-1:-1:-1;39802:58:0;;-1:-1:-1;;;;;39802:5:0;39825:10;39845:4;39852:7;39802:22;:58::i;:::-;39888:5;;:30;;;-1:-1:-1;;;39888:30:0;;39912:4;39888:30;;;;;;39871:14;;-1:-1:-1;;;;;39888:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39888:30:0;;-1:-1:-1;39939:19:0;39888:30;39950:7;39939:10;:19::i;:::-;39929:29;;40013:14;40046:13;:11;:13::i;:::-;40042:148;;-1:-1:-1;40090:7:0;40042:148;;;40139:39;40172:5;40140:26;40152:13;:11;:13::i;:::-;40140:7;;:11;:26::i;40139:39::-;40130:48;;40042:148;40913:25;40919:10;40931:6;40913:5;:25::i;:::-;40949:19;40960:7;40949:10;:19::i;:::-;39509:1467;;;;;:::o;16507:151::-;-1:-1:-1;;;;;16623:18:0;;;16596:7;16623:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;16507:151::o;39415:86::-;39465:5;;:27;;;-1:-1:-1;;;39465:27:0;;39481:10;39465:27;;;;;;39457:36;;-1:-1:-1;;;;;39465:5:0;;:15;;:27;;;;;;;;;;;;;;:5;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39465:27:0;39457:7;:36::i;42771:183::-;42812:7;42836:13;:11;:13::i;:::-;42832:59;;-1:-1:-1;42878:1:0;42871:8;;42832:59;42908:38;42932:13;:11;:13::i;:::-;42908:19;42922:4;42908:9;:7;:9::i;37958:244::-;37235:12;:10;:12::i;:::-;-1:-1:-1;;;;;37224:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;37224:23:0;;37216:68;;;;;-1:-1:-1;;;37216:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38047:22:0;::::1;38039:73;;;;-1:-1:-1::0;;;38039:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38149:6;::::0;38128:38:::1;::::0;-1:-1:-1;;;;;38128:38:0;;::::1;::::0;38149:6:::1;::::0;::::1;;::::0;38128:38:::1;::::0;;;::::1;38177:6;:17:::0;;-1:-1:-1;;;;;38177:17:0;;::::1;;;-1:-1:-1::0;;;;;;38177:17:0;;::::1;::::0;;;::::1;::::0;;37958:244::o;38457:19::-;;;-1:-1:-1;;;;;38457:19:0;;:::o;2142:106::-;2230:10;2142:106;:::o;22054:346::-;-1:-1:-1;;;;;22156:19:0;;22148:68;;;;-1:-1:-1;;;22148:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22235:21:0;;22227:68;;;;-1:-1:-1;;;22227:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22308:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;22360:32;;;;;;;;;;;;;;;;;22054:346;;;:::o;19666:539::-;-1:-1:-1;;;;;19772:20:0;;19764:70;;;;-1:-1:-1;;;19764:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19853:23:0;;19845:71;;;;-1:-1:-1;;;19845:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19929:47;19950:6;19958:9;19969:6;19929:20;:47::i;:::-;20009:71;20031:6;20009:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20009:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;19989:17:0;;;:9;:17;;;;;;;;;;;:91;;;;20114:20;;;;;;;:32;;20139:6;20114:24;:32::i;:::-;-1:-1:-1;;;;;20091:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;20162:35;;;;;;;20091:20;;20162:35;;;;;;;;;;;;;19666:539;;;:::o;10746:166::-;10832:7;10868:12;10860:6;;;;10852:29;;;;-1:-1:-1;;;10852:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;10899:5:0;;;10746:166::o;8798:220::-;8856:7;8880:6;8876:20;;-1:-1:-1;8895:1:0;8888:8;;8876:20;8919:5;;;8923:1;8919;:5;:1;8943:5;;;;;:10;8935:56;;;;-1:-1:-1;;;8935:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9496:153;9554:7;9586:1;9582;:5;9574:44;;;;;-1:-1:-1;;;9574:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;9640:1;9636;:5;;;;;;;9496:153;-1:-1:-1;;;9496:153:0:o;21198:418::-;-1:-1:-1;;;;;21282:21:0;;21274:67;;;;-1:-1:-1;;;21274:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21354:49;21375:7;21392:1;21396:6;21354:20;:49::i;:::-;21437:68;21460:6;21437:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21437:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;21416:18:0;;:9;:18;;;;;;;;;;:89;21531:12;;:24;;21548:6;21531:16;:24::i;:::-;21516:12;:39;21571:37;;;;;;;;21597:1;;-1:-1:-1;;;;;21571:37:0;;;;;;;;;;;;21198:418;;:::o;8381:158::-;8439:7;8472:1;8467;:6;;8459:49;;;;;-1:-1:-1;;;8459:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8526:5:0;;;8381:158::o;7919:179::-;7977:7;8009:5;;;8033:6;;;;8025:46;;;;;-1:-1:-1;;;8025:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;32037:177;32147:58;;;-1:-1:-1;;;;;32147:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32147:58:0;-1:-1:-1;;;32147:58:0;;;32120:86;;32140:5;;32120:19;:86::i;16269:175::-;16355:4;16372:42;16382:12;:10;:12::i;:::-;16396:9;16407:6;16372:9;:42::i;32222:205::-;32350:68;;;-1:-1:-1;;;;;32350:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32350:68:0;-1:-1:-1;;;32350:68:0;;;32323:96;;32343:5;;32323:19;:96::i;:::-;32222:205;;;;:::o;20487:378::-;-1:-1:-1;;;;;20571:21:0;;20563:65;;;;;-1:-1:-1;;;20563:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20641:49;20670:1;20674:7;20683:6;20641:20;:49::i;:::-;20718:12;;:24;;20735:6;20718:16;:24::i;:::-;20703:12;:39;-1:-1:-1;;;;;20774:18:0;;:9;:18;;;;;;;;;;;:30;;20797:6;20774:22;:30::i;:::-;-1:-1:-1;;;;;20753:18:0;;:9;:18;;;;;;;;;;;:51;;;;20820:37;;;;;;;20753:18;;:9;;20820:37;;;;;;;;;;20487:378;;:::o;41135:142::-;41211:8;;41192:5;;:37;;-1:-1:-1;;;;;41192:5:0;;;;41211:8;41221:7;41192:18;:37::i;:::-;41250:8;;;;;;;;;-1:-1:-1;;;;;41250:8:0;-1:-1:-1;;;;;41240:27:0;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34342:761;34766:23;34792:69;34820:4;34792:69;;;;;;;;;;;;;;;;;34800:5;-1:-1:-1;;;;;34792:27:0;;;:69;;;;;:::i;:::-;34876:17;;34766:95;;-1:-1:-1;34876:21:0;34872:224;;35018:10;35007:30;;;;;;;;;;;;;;;-1:-1:-1;35007:30:0;34999:85;;;;-1:-1:-1;;;34999:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27133:195;27236:12;27268:52;27290:6;27298:4;27304:1;27307:12;27268:21;:52::i;:::-;27261:59;27133:195;-1:-1:-1;;;;27133:195:0:o;28185:530::-;28312:12;28370:5;28345:21;:30;;28337:81;;;;-1:-1:-1;;;28337:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28437:18;28448:6;28437:10;:18::i;:::-;28429:60;;;;;-1:-1:-1;;;28429:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28563:12;28577:23;28604:6;-1:-1:-1;;;;;28604:11:0;28624:5;28632:4;28604:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;28604:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28562:75;;;;28655:52;28673:7;28682:10;28694:12;28655:17;:52::i;:::-;28648:59;28185:530;-1:-1:-1;;;;;;;28185:530:0:o;24215:422::-;24582:20;24621:8;;;24215:422::o;30725:742::-;30840:12;30869:7;30865:595;;;-1:-1:-1;30900:10:0;30893:17;;30865:595;31014:17;;:21;31010:439;;31277:10;31271:17;31338:15;31325:10;31321:2;31317:19;31310:44;31225:148;31413:20;;-1:-1:-1;;;31413:20:0;;;;;;;;;;;;;;;;;31420:12;;31413:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://393c12f97b0f54be43b71e5636248cf4adf55fbcf895d20dbf47f5b81ba363d3