More Info
Private Name Tags
ContractCreator:
Sponsored
Latest 25 from a total of 11,207 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Panic | 22631764 | 859 days ago | IN | 0 FTM | 0.0203072 | ||||
Transfer Ownersh... | 22557464 | 860 days ago | IN | 0 FTM | 0.00705354 | ||||
Harvest | 22060741 | 865 days ago | IN | 0 FTM | 0.10501466 | ||||
Harvest | 22060676 | 865 days ago | IN | 0 FTM | 0.11433508 | ||||
Harvest | 22056374 | 865 days ago | IN | 0 FTM | 0.1215584 | ||||
Harvest | 22056247 | 865 days ago | IN | 0 FTM | 0.13017434 | ||||
Harvest | 22052212 | 865 days ago | IN | 0 FTM | 0.15691614 | ||||
Harvest | 22052153 | 865 days ago | IN | 0 FTM | 0.17642812 | ||||
Harvest | 22048311 | 865 days ago | IN | 0 FTM | 0.09597124 | ||||
Harvest | 22048263 | 865 days ago | IN | 0 FTM | 0.10450914 | ||||
Harvest | 22044171 | 865 days ago | IN | 0 FTM | 0.12483037 | ||||
Harvest | 22044099 | 865 days ago | IN | 0 FTM | 0.13537208 | ||||
Harvest | 22039692 | 865 days ago | IN | 0 FTM | 0.10579957 | ||||
Harvest | 22035746 | 865 days ago | IN | 0 FTM | 0.09083809 | ||||
Harvest | 22035665 | 865 days ago | IN | 0 FTM | 0.09278822 | ||||
Harvest | 22031646 | 865 days ago | IN | 0 FTM | 0.09874808 | ||||
Harvest | 22031519 | 865 days ago | IN | 0 FTM | 0.10204299 | ||||
Harvest | 22027678 | 865 days ago | IN | 0 FTM | 0.09383531 | ||||
Harvest | 22023661 | 865 days ago | IN | 0 FTM | 0.0940608 | ||||
Harvest | 22019937 | 865 days ago | IN | 0 FTM | 0.11153877 | ||||
Harvest | 22015742 | 865 days ago | IN | 0 FTM | 0.08568141 | ||||
Harvest | 22011522 | 865 days ago | IN | 0 FTM | 0.11564871 | ||||
Harvest | 22011392 | 865 days ago | IN | 0 FTM | 0.12064054 | ||||
Harvest | 22007555 | 866 days ago | IN | 0 FTM | 0.09224229 | ||||
Harvest | 22007540 | 866 days ago | IN | 0 FTM | 0.10240917 |
Latest 1 internal transaction
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
6432436 | 1049 days ago | Contract Creation | 0 FTM |
Loading...
Loading
Contract Name:
StrategyHyperLP
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at ftmscan.com on 2021-05-14 */ // File: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/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/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: @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/interfaces/hyperftm/IHyperswapRouter.sol pragma solidity ^0.6.0; interface IHyperswapRouter { 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 addLiquidityFTM( address token, uint amountTokenDesired, uint amountTokenMin, uint amountFTMMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountFTM, 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 removeLiquidityFTM( address token, uint liquidity, uint amountTokenMin, uint amountFTMMin, address to, uint deadline ) external returns (uint amountToken, uint amountFTM); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactFTMForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapExactTokensForFTM(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); } // File: contracts/BIFI/interfaces/hyperftm/IHyperswapPair.sol pragma solidity ^0.6.0; interface IHyperswapPair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } // File: contracts/BIFI/interfaces/hyperftm/IHyperPlanet.sol pragma solidity ^0.6.0; interface IHyperPlanet { function deposit(uint256 _pid, uint256 _amount) external; function withdraw(uint256 _pid, uint256 _amount) external; function enterMechs(uint256 _amount) external; function leaveMechs(uint256 _amount) external; function pendingOrillium(uint256 _pid, address _user) external view returns (uint256); function userInfo(uint256 _pid, address _user) external view returns (uint256, uint256); function emergencyWithdraw(uint256 _pid) external; } // File: contracts/BIFI/strategies/HyperJump-FTM/StrategyHyperLP.sol pragma solidity ^0.6.0; /** * @dev Implementation of a strategy to get yields from farming LP Pools in HyperSwap. * * This strat is currently compatible with all LP pools. */ contract StrategyHyperLP is Ownable, Pausable { using SafeERC20 for IERC20; using Address for address; using SafeMath for uint256; /** * @dev Tokens Used: * {wftm} - Required for liquidity routing when doing swaps. * {ori} - Token generated by staking our funds. In this case it's the ALLOY token. * {hypr} - HyperBurn token, used to send funds to dao. * {lpPair} - Token that the strategy maximizes. The same token that users deposit in the vault. * {lpToken0, lpToken1} - Tokens that the strategy maximizes. IHyperswapPair tokens */ address constant public wftm = address(0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83); address constant public ori = address(0x0575f8738EFdA7F512e3654F277C77e80C7d2725); address constant public hypr = address(0xbc2451AaD349b6B43FD05F4F0cC327F8A6bcA2d4); address public lpPair; address public lpToken0; address public lpToken1; /** * @dev Third Party Contracts: * {hyperrouter} - Selected hyperrouter configured through constructor * {hyperplanet} - HyperPlanet contract * {poolId} - HyperPlanet pool id */ address constant public hyperrouter = address(0x53c153a0df7E050BbEFbb70eE9632061f12795fB); address constant public hyperplanet = address(0x90Df158ff7c31aD1d81ddDb1D8ab9d0eCBCeDa20); uint8 public poolId; /** * @dev Hyper Contracts: * {hyperdao} - Reward pool where the strategy fee earnings will go. * {vault} - Address of the vault that controls the strategy's funds. */ address constant public hyperdao = address(0x62f4deb9895a95276b03E38ABea8b0B315e8C3c1); address public vault; /** * @dev Distribution of fees earned. This allocations relative to the % implemented on chargeFees(). * Current implementation separates 4% for fees. * * {CALL_FEE} - 0.5% goes to whoever executes the harvest function as gas subsidy. * {HYPER_FEE} - 1.5% goes to the hyper dao. * {MAX_FEE} - Aux const used to safely calc the correct amounts. * * {WITHDRAWAL_FEE} - Fee taxed when a user withdraws funds. 10 === 0.1% fee. * {WITHDRAWAL_MAX} - Aux const used to safely calc the correct amounts. */ uint constant public CALL_FEE = 125; uint constant public HYPER_FEE = 875; uint constant public MAX_FEE = 1000; uint constant public WITHDRAWAL_FEE = 10; uint constant public WITHDRAWAL_MAX = 10000; /** * @dev Routes we take to swap tokens using Hyperswap. * {oriToWftmRoute} - Route we take to get from {ori} into {wftm}. * {wftmToBifiRoute} - Route we take to get from {wftm} into {hypr}. * {oriToLp0Route} - Route we take to get from {ori} into {lpToken0}. * {oriToLp1Route} - Route we take to get from {ori} into {lpToken1}. */ address[] public oriToWftmRoute = [ori, wftm]; address[] public wftmToHyprRoute = [wftm, hypr]; address[] public oriToLp0Route; address[] public oriToLp1Route; /** * @dev Event that is fired each time someone harvests the strat. */ event StratHarvest(address indexed harvester); /** * @dev Initializes the strategy with the token to maximize. */ constructor(address _lpPair, uint8 _poolId, address _vault) public { require(_vault != address(this), "invalid"); lpPair = _lpPair; lpToken0 = IHyperswapPair(lpPair).token0(); lpToken1 = IHyperswapPair(lpPair).token1(); poolId = _poolId; vault = _vault; if (lpToken0 == wftm) { oriToLp0Route = [ori, wftm]; } else if (lpToken0 != ori) { oriToLp0Route = [ori, wftm, lpToken0]; } if (lpToken1 == wftm) { oriToLp1Route = [ori, wftm]; } else if (lpToken1 != ori) { oriToLp1Route = [ori, wftm, lpToken1]; } IERC20(lpPair).safeApprove(hyperplanet, uint(-1)); IERC20(ori).safeApprove(hyperrouter, uint(-1)); IERC20(wftm).safeApprove(hyperrouter, uint(-1)); IERC20(lpToken0).safeApprove(hyperrouter, 0); IERC20(lpToken0).safeApprove(hyperrouter, uint(-1)); IERC20(lpToken1).safeApprove(hyperrouter, 0); IERC20(lpToken1).safeApprove(hyperrouter, uint(-1)); } /** * @dev Function that puts the funds to work. * It gets called whenever someone deposits in the strategy's vault contract. * It deposits {lpPair} in the HyperPlanet to farm {ori} */ function deposit() public whenNotPaused { require(msg.sender == vault, "!vault"); uint256 pairBal = IERC20(lpPair).balanceOf(address(this)); if (pairBal > 0) { IHyperPlanet(hyperplanet).deposit(poolId, pairBal); } } /** * @dev Withdraws funds and sents them back to the vault. * It withdraws {lpPair} from the HyperPlanet. * The available {lpPair} minus fees is returned to the vault. */ function withdraw(uint256 _amount) external { require(msg.sender == vault, "!vault"); uint256 pairBal = IERC20(lpPair).balanceOf(address(this)); if (pairBal < _amount) { IHyperPlanet(hyperplanet).withdraw(poolId, _amount.sub(pairBal)); pairBal = IERC20(lpPair).balanceOf(address(this)); } if (pairBal > _amount) { pairBal = _amount; } if (tx.origin == owner() || paused()) { IERC20(lpPair).safeTransfer(vault, pairBal); } else { uint256 withdrawalFee = pairBal.mul(WITHDRAWAL_FEE).div(WITHDRAWAL_MAX); IERC20(lpPair).safeTransfer(vault, pairBal.sub(withdrawalFee)); } } /** * @dev Core function of the strat, in charge of collecting and re-investing rewards. * 1. It claims rewards from the HyperPlanet. * 2. It charges the system fees to simplify the split. * 3. It swaps the {ori} token for {lpToken0} & {lpToken1} * 4. Adds more liquidity to the pool. * 5. It deposits the new LP tokens. */ function harvest() external whenNotPaused { require(!Address.isContract(msg.sender), "!contract"); IHyperPlanet(hyperplanet).deposit(poolId, 0); chargeFees(); addLiquidity(); _deposit(); emit StratHarvest(msg.sender); } /** * @dev Function that puts the funds to work. * It gets called whenever someone deposits in the strategy's vault contract. * It deposits {lpPair} in the HyperPlanet to farm {ori} */ function _deposit() internal { uint256 pairBal = IERC20(lpPair).balanceOf(address(this)); if (pairBal > 0) { IHyperPlanet(hyperplanet).deposit(poolId, pairBal); } } /** * @dev Takes out 4% as system fees from the rewards. */ function chargeFees() internal { uint256 toWftm = IERC20(ori).balanceOf(address(this)).mul(4).div(100); IHyperswapRouter(hyperrouter).swapExactTokensForTokens(toWftm, 0, oriToWftmRoute, address(this), now.add(600)); uint256 wftmBal = IERC20(wftm).balanceOf(address(this)); uint256 callFee = wftmBal.mul(CALL_FEE).div(MAX_FEE); IERC20(wftm).safeTransfer(msg.sender, callFee); uint256 hyperFee = wftmBal.mul(HYPER_FEE).div(MAX_FEE); IHyperswapRouter(hyperrouter).swapExactTokensForTokens(hyperFee, 0, wftmToHyprRoute, hyperdao, now.add(600)); } /** * @dev Swaps {ori} for {lpToken0}, {lpToken1} & {wftm} using ThugSwap. */ function addLiquidity() internal { uint256 oriHalf = IERC20(ori).balanceOf(address(this)).div(2); if (lpToken0 != ori) { IHyperswapRouter(hyperrouter).swapExactTokensForTokens(oriHalf, 0, oriToLp0Route, address(this), now.add(600)); } if (lpToken1 != ori) { IHyperswapRouter(hyperrouter).swapExactTokensForTokens(oriHalf, 0, oriToLp1Route, address(this), now.add(600)); } uint256 lp0Bal = IERC20(lpToken0).balanceOf(address(this)); uint256 lp1Bal = IERC20(lpToken1).balanceOf(address(this)); IHyperswapRouter(hyperrouter).addLiquidity(lpToken0, lpToken1, lp0Bal, lp1Bal, 1, 1, address(this), now.add(600)); } /** * @dev Function to calculate the total underlaying {lpPair} held by the strat. * It takes into account both the funds in hand, as the funds allocated in the HyperPlanet. */ function balanceOf() public view returns (uint256) { return balanceOfLpPair().add(balanceOfPool()); } /** * @dev It calculates how much {lpPair} the contract holds. */ function balanceOfLpPair() public view returns (uint256) { return IERC20(lpPair).balanceOf(address(this)); } /** * @dev It calculates how much {lpPair} the strategy has allocated in the HyperPlanet */ function balanceOfPool() public view returns (uint256) { (uint256 _amount, ) = IHyperPlanet(hyperplanet).userInfo(poolId, address(this)); return _amount; } /** * @dev Function that has to be called as part of strat migration. It sends all the available funds back to the * vault, ready to be migrated to the new strat. */ function retireStrat() external { require(msg.sender == vault, "!vault"); IHyperPlanet(hyperplanet).emergencyWithdraw(poolId); uint256 pairBal = IERC20(lpPair).balanceOf(address(this)); IERC20(lpPair).transfer(vault, pairBal); } /** * @dev Pauses deposits. Withdraws all funds from the HyperPlanet, leaving rewards behind */ function panic() public onlyOwner { pause(); IHyperPlanet(hyperplanet).emergencyWithdraw(poolId); } /** * @dev Pauses the strat. */ function pause() public onlyOwner { _pause(); IERC20(lpPair).safeApprove(hyperplanet, 0); IERC20(ori).safeApprove(hyperrouter, 0); IERC20(wftm).safeApprove(hyperrouter, 0); IERC20(lpToken0).safeApprove(hyperrouter, 0); IERC20(lpToken1).safeApprove(hyperrouter, 0); } /** * @dev Unpauses the strat. */ function unpause() external onlyOwner { _unpause(); IERC20(lpPair).safeApprove(hyperplanet, uint(-1)); IERC20(ori).safeApprove(hyperrouter, uint(-1)); IERC20(wftm).safeApprove(hyperrouter, uint(-1)); IERC20(lpToken0).safeApprove(hyperrouter, 0); IERC20(lpToken0).safeApprove(hyperrouter, uint(-1)); IERC20(lpToken1).safeApprove(hyperrouter, 0); IERC20(lpToken1).safeApprove(hyperrouter, uint(-1)); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_lpPair","type":"address"},{"internalType":"uint8","name":"_poolId","type":"uint8"},{"internalType":"address","name":"_vault","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":"CALL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HYPER_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":"WITHDRAWAL_FEE","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":"balanceOfLpPair","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":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hyperdao","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hyperplanet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hyperrouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hypr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpToken0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpToken1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ori","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"oriToLp0Route","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"oriToLp1Route","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"oriToWftmRoute","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":"poolId","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retireStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wftm","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wftmToHyprRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c0604052600080516020620031d883398151915260809081526000805160206200323e83398151915260a0526200003c90600590600262000a27565b50604080518082019091526000805160206200323e833981519152815273bc2451aad349b6b43fd05f4f0cc327f8a6bca2d460208201526200008390600690600262000a27565b503480156200009157600080fd5b50604051620032be380380620032be83398181016040526060811015620000b757600080fd5b50805160208201516040909201519091906000620000d462000610565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b191690556001600160a01b03811630141562000174576040805162461bcd60e51b81526020600482015260076024820152661a5b9d985b1a5960ca1b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b03858116919091179182905560408051630dfe168160e01b815290519290911691630dfe168191600480820192602092909190829003018186803b158015620001d157600080fd5b505afa158015620001e6573d6000803e3d6000fd5b505050506040513d6020811015620001fd57600080fd5b5051600280546001600160a01b0319166001600160a01b039283161790556001546040805163d21220a760e01b81529051919092169163d21220a7916004808301926020929190829003018186803b1580156200025957600080fd5b505afa1580156200026e573d6000803e3d6000fd5b505050506040513d60208110156200028557600080fd5b5051600380546001600160a01b03199081166001600160a01b039384161760ff60a01b1916600160a01b60ff87160217909155600480549091168383161790556002546000805160206200323e83398151915291161415620003295760408051808201909152600080516020620031d883398151915281526000805160206200323e83398151915260208201526200032290600790600262000a27565b50620003a1565b6002546001600160a01b0316600080516020620031d883398151915214620003a15760408051606081018252600080516020620031d883398151915281526000805160206200323e83398151915260208201526002546001600160a01b0316918101919091526200039f90600790600362000a27565b505b6003546001600160a01b03166000805160206200323e83398151915214156200040c5760408051808201909152600080516020620031d883398151915281526000805160206200323e83398151915260208201526200040590600890600262000a27565b5062000484565b6003546001600160a01b0316600080516020620031d883398151915214620004845760408051606081018252600080516020620031d883398151915281526000805160206200323e8339815191526020820152600380546001600160a01b03169282019290925262000482916008919062000a27565b505b600154620004bf906001600160a01b03167390df158ff7c31ad1d81dddb1d8ab9d0ecbceda2060001962000614602090811b6200141417901c565b620004f8600080516020620031d8833981519152600080516020620031f883398151915260001962000614602090811b6200141417901c565b620005316000805160206200323e833981519152600080516020620031f883398151915260001962000614602090811b6200141417901c565b60025462000566906001600160a01b0316600080516020620031f8833981519152600062000614602090811b6200141417901c565b6002546200059c906001600160a01b0316600080516020620031f883398151915260001962000614602090811b6200141417901c565b600354620005d1906001600160a01b0316600080516020620031f8833981519152600062000614602090811b6200141417901c565b60035462000607906001600160a01b0316600080516020620031f883398151915260001962000614602090811b6200141417901c565b50505062000ab2565b3390565b8015806200069e575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156200066e57600080fd5b505afa15801562000683573d6000803e3d6000fd5b505050506040513d60208110156200069a57600080fd5b5051155b620006db5760405162461bcd60e51b8152600401808060200182810382526036815260200180620032886036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620007339185916200073816565b505050565b606062000794826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620007f460201b6200156e179092919060201c565b8051909150156200073357808060200190516020811015620007b557600080fd5b5051620007335760405162461bcd60e51b815260040180806020018281038252602a8152602001806200325e602a913960400191505060405180910390fd5b60606200080584846000856200080f565b90505b9392505050565b606082471015620008525760405162461bcd60e51b8152600401808060200182810382526026815260200180620032186026913960400191505060405180910390fd5b6200085d8562000977565b620008af576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310620008f05780518252601f199092019160209182019101620008cf565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462000954576040519150601f19603f3d011682016040523d82523d6000602084013e62000959565b606091505b5090925090506200096c8282866200097d565b979650505050505050565b3b151590565b606083156200098e57508162000808565b8251156200099f5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620009eb578181015183820152602001620009d1565b50505050905090810190601f16801562000a195780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b82805482825590600052602060002090810192821562000a7f579160200282015b8281111562000a7f57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000a48565b5062000a8d92915062000a91565b5090565b5b8082111562000a8d5780546001600160a01b031916815560010162000a92565b6127168062000ac26000396000f3fe608060405234801561001057600080fd5b50600436106102265760003560e01c80638456cb591161012a578063bc063e1a116100bd578063e4437bfc1161008c578063f4f45b4611610071578063f4f45b4614610404578063fb6177871461040c578063fbfa77cf1461041457610226565b8063e4437bfc146103d6578063f2fde38b146103de57610226565b8063bc063e1a146103b6578063c2351cdd146103be578063d0e30db0146103c6578063dc7e8d45146103ce57610226565b8063951d6d20116100f9578063951d6d2014610381578063a5d33ed514610389578063b3b420d314610391578063b69359e8146103ae57610226565b80638456cb591461034c578063877562b614610354578063897e38161461035c5780638da5cb5b1461037957610226565b80634641257d116101bd5780635ee167c01161018c578063722713f711610171578063722713f71461031f57806372a7d4651461032757806383f2cdcb1461034457610226565b80635ee167c01461030f578063715018a61461031757610226565b80634641257d146102db5780634700d305146102e357806354518b1a146102eb5780635c975abb146102f357610226565b80633e0dc34e116101f95780633e0dc34e146102a55780633f4ba83a146102c357806343c15124146102cb578063452ed4f1146102d357610226565b8063115880861461022b5780631703acd6146102455780632e1a7d4d1461027e578063355f6c961461029d575b600080fd5b61023361041c565b60408051918252519081900360200190f35b6102626004803603602081101561025b57600080fd5b50356104cd565b604080516001600160a01b039092168252519081900360200190f35b61029b6004803603602081101561029457600080fd5b50356104f4565b005b61026261076d565b6102ad610785565b6040805160ff9092168252519081900360200190f35b61029b610795565b61026261095c565b610262610974565b61029b610983565b61029b610aed565b610233610be1565b6102fb610be7565b604080519115158252519081900360200190f35b610262610bf7565b61029b610c06565b610233610cd1565b6102626004803603602081101561033d57600080fd5b5035610cf1565b610262610cfe565b61029b610d16565b610262610e7e565b6102626004803603602081101561037257600080fd5b5035610e8d565b610262610e9a565b610233610ea9565b610233610eae565b610262600480360360208110156103a757600080fd5b5035610eb3565b610262610ec0565b610233610ed8565b610233610ede565b61029b610f5a565b6102336110ef565b6102626110f5565b61029b600480360360208110156103f457600080fd5b50356001600160a01b031661110d565b61026261122e565b61029b611246565b610262611405565b600354604080517f93f1a40b000000000000000000000000000000000000000000000000000000008152600160a01b90920460ff166004830152306024830152805160009283927390df158ff7c31ad1d81dddb1d8ab9d0ecbceda20926393f1a40b926044808201939291829003018186803b15801561049b57600080fd5b505afa1580156104af573d6000803e3d6000fd5b505050506040513d60408110156104c557600080fd5b505191505090565b600881815481106104da57fe5b6000918252602090912001546001600160a01b0316905081565b6004546001600160a01b0316331461053c576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561058757600080fd5b505afa15801561059b573d6000803e3d6000fd5b505050506040513d60208110156105b157600080fd5b50519050818110156106c2576003547390df158ff7c31ad1d81dddb1d8ab9d0ecbceda209063441a3e7090600160a01b900460ff166105f08585611587565b6040518363ffffffff1660e01b8152600401808360ff16815260200182815260200192505050600060405180830381600087803b15801561063057600080fd5b505af1158015610644573d6000803e3d6000fd5b5050600154604080516370a0823160e01b815230600482015290516001600160a01b0390921693506370a082319250602480820192602092909190829003018186803b15801561069357600080fd5b505afa1580156106a7573d6000803e3d6000fd5b505050506040513d60208110156106bd57600080fd5b505190505b818111156106cd5750805b6106d5610e9a565b6001600160a01b0316326001600160a01b031614806106f757506106f7610be7565b1561071e57600454600154610719916001600160a01b039182169116836115e9565b610769565b600061073761271061073184600a611650565b906116a9565b600454909150610767906001600160a01b03166107548484611587565b6001546001600160a01b031691906115e9565b505b5050565b730575f8738efda7f512e3654f277c77e80c7d272581565b600354600160a01b900460ff1681565b61079d611710565b6001600160a01b03166107ae610e9a565b6001600160a01b031614610809576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610811611714565b60015461083e906001600160a01b03167390df158ff7c31ad1d81dddb1d8ab9d0ecbceda20600019611414565b610873730575f8738efda7f512e3654f277c77e80c7d27257353c153a0df7e050bbefbb70ee9632061f12795fb600019611414565b6108a87321be370d5312f44cb42ce377bc9b8a0cef1a4c837353c153a0df7e050bbefbb70ee9632061f12795fb600019611414565b6002546108d4906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb6000611414565b600254610901906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb600019611414565b60035461092d906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb6000611414565b60035461095a906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb600019611414565b565b7362f4deb9895a95276b03e38abea8b0b315e8c3c181565b6001546001600160a01b031681565b61098b610be7565b156109d0576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6109d9336117c0565b15610a2b576040805162461bcd60e51b815260206004820152600960248201527f21636f6e74726163740000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60035460408051631c57762b60e31b8152600160a01b90920460ff16600483015260006024830181905290517390df158ff7c31ad1d81dddb1d8ab9d0ecbceda209263e2bbb15892604480830193919282900301818387803b158015610a9057600080fd5b505af1158015610aa4573d6000803e3d6000fd5b50505050610ab06117c6565b610ab8611c7e565b610ac0610fef565b60405133907f577a37fdb49a88d66684922c6f913df5239b4f214b2b97c53ef8e3bbb2034cb590600090a2565b610af5611710565b6001600160a01b0316610b06610e9a565b6001600160a01b031614610b61576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610b69610d16565b60035460408051632989754760e11b8152600160a01b90920460ff166004830152517390df158ff7c31ad1d81dddb1d8ab9d0ecbceda2091635312ea8e91602480830192600092919082900301818387803b158015610bc757600080fd5b505af1158015610bdb573d6000803e3d6000fd5b50505050565b61271081565b600054600160a01b900460ff1690565b6002546001600160a01b031681565b610c0e611710565b6001600160a01b0316610c1f610e9a565b6001600160a01b031614610c7a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6000610cec610cde61041c565b610ce6610ede565b9061227f565b905090565b600581815481106104da57fe5b7353c153a0df7e050bbefbb70ee9632061f12795fb81565b610d1e611710565b6001600160a01b0316610d2f610e9a565b6001600160a01b031614610d8a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610d926122d9565b600154610dbe906001600160a01b03167390df158ff7c31ad1d81dddb1d8ab9d0ecbceda206000611414565b610df2730575f8738efda7f512e3654f277c77e80c7d27257353c153a0df7e050bbefbb70ee9632061f12795fb6000611414565b610e267321be370d5312f44cb42ce377bc9b8a0cef1a4c837353c153a0df7e050bbefbb70ee9632061f12795fb6000611414565b600254610e52906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb6000611414565b60035461095a906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb6000611414565b6003546001600160a01b031681565b600681815481106104da57fe5b6000546001600160a01b031690565b607d81565b600a81565b600781815481106104da57fe5b73bc2451aad349b6b43fd05f4f0cc327f8a6bca2d481565b6103e881565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610f2957600080fd5b505afa158015610f3d573d6000803e3d6000fd5b505050506040513d6020811015610f5357600080fd5b5051905090565b610f62610be7565b15610fa7576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6004546001600160a01b03163314610fef576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561103a57600080fd5b505afa15801561104e573d6000803e3d6000fd5b505050506040513d602081101561106457600080fd5b5051905080156110ec5760035460408051631c57762b60e31b8152600160a01b90920460ff16600483015260248201839052517390df158ff7c31ad1d81dddb1d8ab9d0ecbceda209163e2bbb15891604480830192600092919082900301818387803b1580156110d357600080fd5b505af11580156110e7573d6000803e3d6000fd5b505050505b50565b61036b81565b7390df158ff7c31ad1d81dddb1d8ab9d0ecbceda2081565b611115611710565b6001600160a01b0316611126610e9a565b6001600160a01b031614611181576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166111c65760405162461bcd60e51b81526004018080602001828103825260268152602001806126146026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b7321be370d5312f44cb42ce377bc9b8a0cef1a4c8381565b6004546001600160a01b0316331461128e576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b60035460408051632989754760e11b8152600160a01b90920460ff166004830152517390df158ff7c31ad1d81dddb1d8ab9d0ecbceda2091635312ea8e91602480830192600092919082900301818387803b1580156112ec57600080fd5b505af1158015611300573d6000803e3d6000fd5b5050600154604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b15801561135157600080fd5b505afa158015611365573d6000803e3d6000fd5b505050506040513d602081101561137b57600080fd5b5051600154600480546040805163a9059cbb60e01b81526001600160a01b039283169381019390935260248301859052519394509091169163a9059cbb916044808201926020929091908290030181600087803b1580156113db57600080fd5b505af11580156113ef573d6000803e3d6000fd5b505050506040513d602081101561076757600080fd5b6004546001600160a01b031681565b8015806114b35750604080517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561148557600080fd5b505afa158015611499573d6000803e3d6000fd5b505050506040513d60208110156114af57600080fd5b5051155b6114ee5760405162461bcd60e51b81526004018080602001828103825260368152602001806126ab6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b300000000000000000000000000000000000000000000000000000000179052610767908490612362565b606061157d8484600085612413565b90505b9392505050565b6000828211156115de576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b508082035b92915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b179052610767908490612362565b60008261165f575060006115e3565b8282028284828161166c57fe5b04146115805760405162461bcd60e51b81526004018080602001828103825260218152602001806126606021913960400191505060405180910390fd5b60008082116116ff576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161170857fe5b049392505050565b3390565b61171c610be7565b61176d576040805162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6117a3611710565b604080516001600160a01b039092168252519081900360200190a1565b3b151590565b600061186560646107316004730575f8738efda7f512e3654f277c77e80c7d27256001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561183357600080fd5b505afa158015611847573d6000803e3d6000fd5b505050506040513d602081101561185d57600080fd5b505190611650565b90507353c153a0df7e050bbefbb70ee9632061f12795fb6338ed17398260006005306118934261025861227f565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818154815260200191508054801561191257602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116118f4575b50509650505050505050600060405180830381600087803b15801561193657600080fd5b505af115801561194a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561197357600080fd5b810190808051604051939291908464010000000082111561199357600080fd5b9083019060208201858111156119a857600080fd5b82518660208202830111640100000000821117156119c557600080fd5b82525081516020918201928201910280838360005b838110156119f25781810151838201526020016119da565b505050509190910160408181526370a0823160e01b825230600483015251600096507321be370d5312f44cb42ce377bc9b8a0cef1a4c8395506370a08231945060248083019450602093509091829003018186803b158015611a5357600080fd5b505afa158015611a67573d6000803e3d6000fd5b505050506040513d6020811015611a7d57600080fd5b505190506000611a946103e861073184607d611650565b9050611ab57321be370d5312f44cb42ce377bc9b8a0cef1a4c8333836115e9565b6000611ac96103e86107318561036b611650565b90507353c153a0df7e050bbefbb70ee9632061f12795fb6338ed173982600060067362f4deb9895a95276b03e38abea8b0b315e8c3c1611b0b4261025861227f565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b031681526020018381526020018281038252858181548152602001915080548015611b8a57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611b6c575b50509650505050505050600060405180830381600087803b158015611bae57600080fd5b505af1158015611bc2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611beb57600080fd5b8101908080516040519392919084640100000000821115611c0b57600080fd5b908301906020820185811115611c2057600080fd5b8251866020820283011164010000000082111715611c3d57600080fd5b82525081516020918201928201910280838360005b83811015611c6a578181015183820152602001611c52565b505050509050016040525050505050505050565b6000611d186002730575f8738efda7f512e3654f277c77e80c7d27256001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611ce657600080fd5b505afa158015611cfa573d6000803e3d6000fd5b505050506040513d6020811015611d1057600080fd5b5051906116a9565b6002549091506001600160a01b0316730575f8738efda7f512e3654f277c77e80c7d272514611edb577353c153a0df7e050bbefbb70ee9632061f12795fb6338ed1739826000600730611d6d4261025861227f565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b031681526020018381526020018281038252858181548152602001915080548015611dec57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611dce575b50509650505050505050600060405180830381600087803b158015611e1057600080fd5b505af1158015611e24573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611e4d57600080fd5b8101908080516040519392919084640100000000821115611e6d57600080fd5b908301906020820185811115611e8257600080fd5b8251866020820283011164010000000082111715611e9f57600080fd5b82525081516020918201928201910280838360005b83811015611ecc578181015183820152602001611eb4565b50505050905001604052505050505b6003546001600160a01b0316730575f8738efda7f512e3654f277c77e80c7d27251461209b577353c153a0df7e050bbefbb70ee9632061f12795fb6338ed1739826000600830611f2d4261025861227f565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b031681526020018381526020018281038252858181548152602001915080548015611fac57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611f8e575b50509650505050505050600060405180830381600087803b158015611fd057600080fd5b505af1158015611fe4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561200d57600080fd5b810190808051604051939291908464010000000082111561202d57600080fd5b90830190602082018581111561204257600080fd5b825186602082028301116401000000008211171561205f57600080fd5b82525081516020918201928201910280838360005b8381101561208c578181015183820152602001612074565b50505050905001604052505050505b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156120e657600080fd5b505afa1580156120fa573d6000803e3d6000fd5b505050506040513d602081101561211057600080fd5b5051600354604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561216357600080fd5b505afa158015612177573d6000803e3d6000fd5b505050506040513d602081101561218d57600080fd5b50516002546003549192507353c153a0df7e050bbefbb70ee9632061f12795fb9163e8e33700916001600160a01b0390811691168585600180306121d34261025861227f565b6040518963ffffffff1660e01b815260040180896001600160a01b03168152602001886001600160a01b03168152602001878152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200198505050505050505050606060405180830381600087803b15801561225557600080fd5b505af1158015612269573d6000803e3d6000fd5b505050506040513d60608110156110e757600080fd5b600082820183811015611580576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6122e1610be7565b15612326576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117a3611710565b60606123b7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661156e9092919063ffffffff16565b805190915015610767578080602001905160208110156123d657600080fd5b50516107675760405162461bcd60e51b815260040180806020018281038252602a815260200180612681602a913960400191505060405180910390fd5b6060824710156124545760405162461bcd60e51b815260040180806020018281038252602681526020018061263a6026913960400191505060405180910390fd5b61245d856117c0565b6124ae576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106124ed5780518252601f1990920191602091820191016124ce565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461254f576040519150601f19603f3d011682016040523d82523d6000602084013e612554565b606091505b509150915061256482828661256f565b979650505050505050565b6060831561257e575081611580565b82511561258e5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125d85781810151838201526020016125c0565b50505050905090810190601f1680156126055780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212207de5ef72e269b57dbd0012c23e8d728f398a3f28ad0c136779f121b0dc3eea8664736f6c634300060c00330000000000000000000000000575f8738efda7f512e3654f277c77e80c7d272500000000000000000000000053c153a0df7e050bbefbb70ee9632061f12795fb416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c00000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c835361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000000000f2fcd382ee404b105bfc0086ed41f1bd19b8952a000000000000000000000000000000000000000000000000000000000000000f00000000000000000000000014f3930f58aa580684de7216e2a49ceca2176b40
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102265760003560e01c80638456cb591161012a578063bc063e1a116100bd578063e4437bfc1161008c578063f4f45b4611610071578063f4f45b4614610404578063fb6177871461040c578063fbfa77cf1461041457610226565b8063e4437bfc146103d6578063f2fde38b146103de57610226565b8063bc063e1a146103b6578063c2351cdd146103be578063d0e30db0146103c6578063dc7e8d45146103ce57610226565b8063951d6d20116100f9578063951d6d2014610381578063a5d33ed514610389578063b3b420d314610391578063b69359e8146103ae57610226565b80638456cb591461034c578063877562b614610354578063897e38161461035c5780638da5cb5b1461037957610226565b80634641257d116101bd5780635ee167c01161018c578063722713f711610171578063722713f71461031f57806372a7d4651461032757806383f2cdcb1461034457610226565b80635ee167c01461030f578063715018a61461031757610226565b80634641257d146102db5780634700d305146102e357806354518b1a146102eb5780635c975abb146102f357610226565b80633e0dc34e116101f95780633e0dc34e146102a55780633f4ba83a146102c357806343c15124146102cb578063452ed4f1146102d357610226565b8063115880861461022b5780631703acd6146102455780632e1a7d4d1461027e578063355f6c961461029d575b600080fd5b61023361041c565b60408051918252519081900360200190f35b6102626004803603602081101561025b57600080fd5b50356104cd565b604080516001600160a01b039092168252519081900360200190f35b61029b6004803603602081101561029457600080fd5b50356104f4565b005b61026261076d565b6102ad610785565b6040805160ff9092168252519081900360200190f35b61029b610795565b61026261095c565b610262610974565b61029b610983565b61029b610aed565b610233610be1565b6102fb610be7565b604080519115158252519081900360200190f35b610262610bf7565b61029b610c06565b610233610cd1565b6102626004803603602081101561033d57600080fd5b5035610cf1565b610262610cfe565b61029b610d16565b610262610e7e565b6102626004803603602081101561037257600080fd5b5035610e8d565b610262610e9a565b610233610ea9565b610233610eae565b610262600480360360208110156103a757600080fd5b5035610eb3565b610262610ec0565b610233610ed8565b610233610ede565b61029b610f5a565b6102336110ef565b6102626110f5565b61029b600480360360208110156103f457600080fd5b50356001600160a01b031661110d565b61026261122e565b61029b611246565b610262611405565b600354604080517f93f1a40b000000000000000000000000000000000000000000000000000000008152600160a01b90920460ff166004830152306024830152805160009283927390df158ff7c31ad1d81dddb1d8ab9d0ecbceda20926393f1a40b926044808201939291829003018186803b15801561049b57600080fd5b505afa1580156104af573d6000803e3d6000fd5b505050506040513d60408110156104c557600080fd5b505191505090565b600881815481106104da57fe5b6000918252602090912001546001600160a01b0316905081565b6004546001600160a01b0316331461053c576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561058757600080fd5b505afa15801561059b573d6000803e3d6000fd5b505050506040513d60208110156105b157600080fd5b50519050818110156106c2576003547390df158ff7c31ad1d81dddb1d8ab9d0ecbceda209063441a3e7090600160a01b900460ff166105f08585611587565b6040518363ffffffff1660e01b8152600401808360ff16815260200182815260200192505050600060405180830381600087803b15801561063057600080fd5b505af1158015610644573d6000803e3d6000fd5b5050600154604080516370a0823160e01b815230600482015290516001600160a01b0390921693506370a082319250602480820192602092909190829003018186803b15801561069357600080fd5b505afa1580156106a7573d6000803e3d6000fd5b505050506040513d60208110156106bd57600080fd5b505190505b818111156106cd5750805b6106d5610e9a565b6001600160a01b0316326001600160a01b031614806106f757506106f7610be7565b1561071e57600454600154610719916001600160a01b039182169116836115e9565b610769565b600061073761271061073184600a611650565b906116a9565b600454909150610767906001600160a01b03166107548484611587565b6001546001600160a01b031691906115e9565b505b5050565b730575f8738efda7f512e3654f277c77e80c7d272581565b600354600160a01b900460ff1681565b61079d611710565b6001600160a01b03166107ae610e9a565b6001600160a01b031614610809576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610811611714565b60015461083e906001600160a01b03167390df158ff7c31ad1d81dddb1d8ab9d0ecbceda20600019611414565b610873730575f8738efda7f512e3654f277c77e80c7d27257353c153a0df7e050bbefbb70ee9632061f12795fb600019611414565b6108a87321be370d5312f44cb42ce377bc9b8a0cef1a4c837353c153a0df7e050bbefbb70ee9632061f12795fb600019611414565b6002546108d4906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb6000611414565b600254610901906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb600019611414565b60035461092d906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb6000611414565b60035461095a906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb600019611414565b565b7362f4deb9895a95276b03e38abea8b0b315e8c3c181565b6001546001600160a01b031681565b61098b610be7565b156109d0576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6109d9336117c0565b15610a2b576040805162461bcd60e51b815260206004820152600960248201527f21636f6e74726163740000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60035460408051631c57762b60e31b8152600160a01b90920460ff16600483015260006024830181905290517390df158ff7c31ad1d81dddb1d8ab9d0ecbceda209263e2bbb15892604480830193919282900301818387803b158015610a9057600080fd5b505af1158015610aa4573d6000803e3d6000fd5b50505050610ab06117c6565b610ab8611c7e565b610ac0610fef565b60405133907f577a37fdb49a88d66684922c6f913df5239b4f214b2b97c53ef8e3bbb2034cb590600090a2565b610af5611710565b6001600160a01b0316610b06610e9a565b6001600160a01b031614610b61576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610b69610d16565b60035460408051632989754760e11b8152600160a01b90920460ff166004830152517390df158ff7c31ad1d81dddb1d8ab9d0ecbceda2091635312ea8e91602480830192600092919082900301818387803b158015610bc757600080fd5b505af1158015610bdb573d6000803e3d6000fd5b50505050565b61271081565b600054600160a01b900460ff1690565b6002546001600160a01b031681565b610c0e611710565b6001600160a01b0316610c1f610e9a565b6001600160a01b031614610c7a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6000610cec610cde61041c565b610ce6610ede565b9061227f565b905090565b600581815481106104da57fe5b7353c153a0df7e050bbefbb70ee9632061f12795fb81565b610d1e611710565b6001600160a01b0316610d2f610e9a565b6001600160a01b031614610d8a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610d926122d9565b600154610dbe906001600160a01b03167390df158ff7c31ad1d81dddb1d8ab9d0ecbceda206000611414565b610df2730575f8738efda7f512e3654f277c77e80c7d27257353c153a0df7e050bbefbb70ee9632061f12795fb6000611414565b610e267321be370d5312f44cb42ce377bc9b8a0cef1a4c837353c153a0df7e050bbefbb70ee9632061f12795fb6000611414565b600254610e52906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb6000611414565b60035461095a906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb6000611414565b6003546001600160a01b031681565b600681815481106104da57fe5b6000546001600160a01b031690565b607d81565b600a81565b600781815481106104da57fe5b73bc2451aad349b6b43fd05f4f0cc327f8a6bca2d481565b6103e881565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610f2957600080fd5b505afa158015610f3d573d6000803e3d6000fd5b505050506040513d6020811015610f5357600080fd5b5051905090565b610f62610be7565b15610fa7576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6004546001600160a01b03163314610fef576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561103a57600080fd5b505afa15801561104e573d6000803e3d6000fd5b505050506040513d602081101561106457600080fd5b5051905080156110ec5760035460408051631c57762b60e31b8152600160a01b90920460ff16600483015260248201839052517390df158ff7c31ad1d81dddb1d8ab9d0ecbceda209163e2bbb15891604480830192600092919082900301818387803b1580156110d357600080fd5b505af11580156110e7573d6000803e3d6000fd5b505050505b50565b61036b81565b7390df158ff7c31ad1d81dddb1d8ab9d0ecbceda2081565b611115611710565b6001600160a01b0316611126610e9a565b6001600160a01b031614611181576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166111c65760405162461bcd60e51b81526004018080602001828103825260268152602001806126146026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b7321be370d5312f44cb42ce377bc9b8a0cef1a4c8381565b6004546001600160a01b0316331461128e576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b60035460408051632989754760e11b8152600160a01b90920460ff166004830152517390df158ff7c31ad1d81dddb1d8ab9d0ecbceda2091635312ea8e91602480830192600092919082900301818387803b1580156112ec57600080fd5b505af1158015611300573d6000803e3d6000fd5b5050600154604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b15801561135157600080fd5b505afa158015611365573d6000803e3d6000fd5b505050506040513d602081101561137b57600080fd5b5051600154600480546040805163a9059cbb60e01b81526001600160a01b039283169381019390935260248301859052519394509091169163a9059cbb916044808201926020929091908290030181600087803b1580156113db57600080fd5b505af11580156113ef573d6000803e3d6000fd5b505050506040513d602081101561076757600080fd5b6004546001600160a01b031681565b8015806114b35750604080517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561148557600080fd5b505afa158015611499573d6000803e3d6000fd5b505050506040513d60208110156114af57600080fd5b5051155b6114ee5760405162461bcd60e51b81526004018080602001828103825260368152602001806126ab6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b300000000000000000000000000000000000000000000000000000000179052610767908490612362565b606061157d8484600085612413565b90505b9392505050565b6000828211156115de576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b508082035b92915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b179052610767908490612362565b60008261165f575060006115e3565b8282028284828161166c57fe5b04146115805760405162461bcd60e51b81526004018080602001828103825260218152602001806126606021913960400191505060405180910390fd5b60008082116116ff576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161170857fe5b049392505050565b3390565b61171c610be7565b61176d576040805162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6117a3611710565b604080516001600160a01b039092168252519081900360200190a1565b3b151590565b600061186560646107316004730575f8738efda7f512e3654f277c77e80c7d27256001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561183357600080fd5b505afa158015611847573d6000803e3d6000fd5b505050506040513d602081101561185d57600080fd5b505190611650565b90507353c153a0df7e050bbefbb70ee9632061f12795fb6338ed17398260006005306118934261025861227f565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818154815260200191508054801561191257602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116118f4575b50509650505050505050600060405180830381600087803b15801561193657600080fd5b505af115801561194a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561197357600080fd5b810190808051604051939291908464010000000082111561199357600080fd5b9083019060208201858111156119a857600080fd5b82518660208202830111640100000000821117156119c557600080fd5b82525081516020918201928201910280838360005b838110156119f25781810151838201526020016119da565b505050509190910160408181526370a0823160e01b825230600483015251600096507321be370d5312f44cb42ce377bc9b8a0cef1a4c8395506370a08231945060248083019450602093509091829003018186803b158015611a5357600080fd5b505afa158015611a67573d6000803e3d6000fd5b505050506040513d6020811015611a7d57600080fd5b505190506000611a946103e861073184607d611650565b9050611ab57321be370d5312f44cb42ce377bc9b8a0cef1a4c8333836115e9565b6000611ac96103e86107318561036b611650565b90507353c153a0df7e050bbefbb70ee9632061f12795fb6338ed173982600060067362f4deb9895a95276b03e38abea8b0b315e8c3c1611b0b4261025861227f565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b031681526020018381526020018281038252858181548152602001915080548015611b8a57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611b6c575b50509650505050505050600060405180830381600087803b158015611bae57600080fd5b505af1158015611bc2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611beb57600080fd5b8101908080516040519392919084640100000000821115611c0b57600080fd5b908301906020820185811115611c2057600080fd5b8251866020820283011164010000000082111715611c3d57600080fd5b82525081516020918201928201910280838360005b83811015611c6a578181015183820152602001611c52565b505050509050016040525050505050505050565b6000611d186002730575f8738efda7f512e3654f277c77e80c7d27256001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611ce657600080fd5b505afa158015611cfa573d6000803e3d6000fd5b505050506040513d6020811015611d1057600080fd5b5051906116a9565b6002549091506001600160a01b0316730575f8738efda7f512e3654f277c77e80c7d272514611edb577353c153a0df7e050bbefbb70ee9632061f12795fb6338ed1739826000600730611d6d4261025861227f565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b031681526020018381526020018281038252858181548152602001915080548015611dec57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611dce575b50509650505050505050600060405180830381600087803b158015611e1057600080fd5b505af1158015611e24573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611e4d57600080fd5b8101908080516040519392919084640100000000821115611e6d57600080fd5b908301906020820185811115611e8257600080fd5b8251866020820283011164010000000082111715611e9f57600080fd5b82525081516020918201928201910280838360005b83811015611ecc578181015183820152602001611eb4565b50505050905001604052505050505b6003546001600160a01b0316730575f8738efda7f512e3654f277c77e80c7d27251461209b577353c153a0df7e050bbefbb70ee9632061f12795fb6338ed1739826000600830611f2d4261025861227f565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b031681526020018381526020018281038252858181548152602001915080548015611fac57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611f8e575b50509650505050505050600060405180830381600087803b158015611fd057600080fd5b505af1158015611fe4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561200d57600080fd5b810190808051604051939291908464010000000082111561202d57600080fd5b90830190602082018581111561204257600080fd5b825186602082028301116401000000008211171561205f57600080fd5b82525081516020918201928201910280838360005b8381101561208c578181015183820152602001612074565b50505050905001604052505050505b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156120e657600080fd5b505afa1580156120fa573d6000803e3d6000fd5b505050506040513d602081101561211057600080fd5b5051600354604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561216357600080fd5b505afa158015612177573d6000803e3d6000fd5b505050506040513d602081101561218d57600080fd5b50516002546003549192507353c153a0df7e050bbefbb70ee9632061f12795fb9163e8e33700916001600160a01b0390811691168585600180306121d34261025861227f565b6040518963ffffffff1660e01b815260040180896001600160a01b03168152602001886001600160a01b03168152602001878152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200198505050505050505050606060405180830381600087803b15801561225557600080fd5b505af1158015612269573d6000803e3d6000fd5b505050506040513d60608110156110e757600080fd5b600082820183811015611580576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6122e1610be7565b15612326576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117a3611710565b60606123b7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661156e9092919063ffffffff16565b805190915015610767578080602001905160208110156123d657600080fd5b50516107675760405162461bcd60e51b815260040180806020018281038252602a815260200180612681602a913960400191505060405180910390fd5b6060824710156124545760405162461bcd60e51b815260040180806020018281038252602681526020018061263a6026913960400191505060405180910390fd5b61245d856117c0565b6124ae576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106124ed5780518252601f1990920191602091820191016124ce565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461254f576040519150601f19603f3d011682016040523d82523d6000602084013e612554565b606091505b509150915061256482828661256f565b979650505050505050565b6060831561257e575081611580565b82511561258e5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125d85781810151838201526020016125c0565b50505050905090810190601f1680156126055780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212207de5ef72e269b57dbd0012c23e8d728f398a3f28ad0c136779f121b0dc3eea8664736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f2fcd382ee404b105bfc0086ed41f1bd19b8952a000000000000000000000000000000000000000000000000000000000000000f00000000000000000000000014f3930f58aa580684de7216e2a49ceca2176b40
-----Decoded View---------------
Arg [0] : _lpPair (address): 0xF2fCd382Ee404B105bfc0086ED41F1Bd19B8952a
Arg [1] : _poolId (uint8): 15
Arg [2] : _vault (address): 0x14f3930F58aA580684De7216e2A49cecA2176B40
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000f2fcd382ee404b105bfc0086ed41f1bd19b8952a
Arg [1] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [2] : 00000000000000000000000014f3930f58aa580684de7216e2a49ceca2176b40
Deployed Bytecode Sourcemap
43903:10976:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53042:178;;;:::i;:::-;;;;;;;;;;;;;;;;46937:30;;;;;;;;;;;;;;;;-1:-1:-1;46937:30:0;;:::i;:::-;;;;-1:-1:-1;;;;;46937:30:0;;;;;;;;;;;;;;49002:756;;;;;;;;;;;;;;;;-1:-1:-1;49002:756:0;;:::i;:::-;;44596:81;;;:::i;45269:19::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;54386:490;;;:::i;45494:86::-;;;:::i;44773:21::-;;;:::i;50137:280::-;;;:::i;53821:122::-;;;:::i;46368:43::-;;;:::i;37486:86::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;44801:23;;;:::i;2779:148::-;;;:::i;52597:115::-;;;:::i;46794:45::-;;;;;;;;;;;;;;;;-1:-1:-1;46794:45:0;;:::i;45077:89::-;;;:::i;54000:327::-;;;:::i;44831:23::-;;;:::i;46846:47::-;;;;;;;;;;;;;;;;-1:-1:-1;46846:47:0;;:::i;2128:87::-;;;:::i;46180:39::-;;;:::i;46321:40::-;;;:::i;46900:30::-;;;;;;;;;;;;;;;;-1:-1:-1;46900:30:0;;:::i;44684:82::-;;;:::i;46272:40::-;;;:::i;52803:122::-;;;:::i;48512:281::-;;;:::i;46226:39::-;;;:::i;45173:89::-;;;:::i;3082:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3082:244:0;-1:-1:-1;;;;;3082:244:0;;:::i;44507:82::-;;;:::i;53419:281::-;;;:::i;45587:20::-;;;:::i;53042:178::-;53165:6;;53130:57;;;;;;-1:-1:-1;;;53165:6:0;;;;;53130:57;;;;53181:4;53130:57;;;;;;-1:-1:-1;;;;45219:42:0;;53130:34;;:57;;;;;;;;;;;;45219:42;53130:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53130:57:0;;-1:-1:-1;;53042:178:0;:::o;46937:30::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46937:30:0;;-1:-1:-1;46937:30:0;:::o;49002:756::-;49079:5;;-1:-1:-1;;;;;49079:5:0;49065:10;:19;49057:38;;;;;-1:-1:-1;;;49057:38:0;;;;;;;;;;;;-1:-1:-1;;;49057:38:0;;;;;;;;;;;;;;;49133:6;;49126:39;;;-1:-1:-1;;;49126:39:0;;49159:4;49126:39;;;;;;49108:15;;-1:-1:-1;;;;;49133:6:0;;49126:24;;:39;;;;;;;;;;;;;;49133:6;49126:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49126:39:0;;-1:-1:-1;49182:17:0;;;49178:181;;;49254:6;;45219:42;;49219:34;;-1:-1:-1;;;49254:6:0;;;;49262:20;:7;49274;49262:11;:20::i;:::-;49219:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49315:6:0;;49308:39;;;-1:-1:-1;;;49308:39:0;;49341:4;49308:39;;;;;;-1:-1:-1;;;;;49315:6:0;;;;-1:-1:-1;49308:24:0;;-1:-1:-1;49308:39:0;;;;;;;;;;;;;;;49315:6;49308:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49308:39:0;;-1:-1:-1;49178:181:0;49385:7;49375;:17;49371:71;;;-1:-1:-1;49419:7:0;49371:71;49479:7;:5;:7::i;:::-;-1:-1:-1;;;;;49466:20:0;:9;-1:-1:-1;;;;;49466:20:0;;:32;;;;49490:8;:6;:8::i;:::-;49462:289;;;49543:5;;;49522:6;49515:43;;-1:-1:-1;;;;;49522:6:0;;;;49543:5;49550:7;49515:27;:43::i;:::-;49462:289;;;49591:21;49615:47;46406:5;49615:27;:7;46359:2;49615:11;:27::i;:::-;:31;;:47::i;:::-;49705:5;;49591:71;;-1:-1:-1;49677:62:0;;-1:-1:-1;;;;;49705:5:0;49712:26;:7;49591:71;49712:11;:26::i;:::-;49684:6;;-1:-1:-1;;;;;49684:6:0;;49677:62;:27;:62::i;:::-;49462:289;;49002:756;;:::o;44596:81::-;44634:42;44596:81;:::o;45269:19::-;;;-1:-1:-1;;;45269:19:0;;;;;:::o;54386:490::-;2359:12;:10;:12::i;:::-;-1:-1:-1;;;;;2348:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2348:23:0;;2340:68;;;;;-1:-1:-1;;;2340:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54435:10:::1;:8;:10::i;:::-;54473:6;::::0;54466:49:::1;::::0;-1:-1:-1;;;;;54473:6:0::1;45219:42;-1:-1:-1::0;;54466:26:0::1;:49::i;:::-;54526:46;44634:42;45123;-1:-1:-1::0;;54526:23:0::1;:46::i;:::-;54583:47;44546:42;45123;-1:-1:-1::0;;54583:24:0::1;:47::i;:::-;54650:8;::::0;54643:44:::1;::::0;-1:-1:-1;;;;;54650:8:0::1;45123:42;54685:1;54643:28;:44::i;:::-;54705:8;::::0;54698:51:::1;::::0;-1:-1:-1;;;;;54705:8:0::1;45123:42;-1:-1:-1::0;;54698:28:0::1;:51::i;:::-;54769:8;::::0;54762:44:::1;::::0;-1:-1:-1;;;;;54769:8:0::1;45123:42;54804:1;54762:28;:44::i;:::-;54824:8;::::0;54817:51:::1;::::0;-1:-1:-1;;;;;54824:8:0::1;45123:42;-1:-1:-1::0;;54817:28:0::1;:51::i;:::-;54386:490::o:0;45494:86::-;45537:42;45494:86;:::o;44773:21::-;;;-1:-1:-1;;;;;44773:21:0;;:::o;50137:280::-;37812:8;:6;:8::i;:::-;37811:9;37803:38;;;;;-1:-1:-1;;;37803:38:0;;;;;;;;;;;;-1:-1:-1;;;37803:38:0;;;;;;;;;;;;;;;50199:30:::1;50218:10;50199:18;:30::i;:::-;50198:31;50190:53;;;::::0;;-1:-1:-1;;;50190:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;50288:6;::::0;50254:44:::1;::::0;;-1:-1:-1;;;50254:44:0;;-1:-1:-1;;;50288:6:0;;::::1;;;50254:44;::::0;::::1;::::0;-1:-1:-1;50254:44:0;;;;;;;;45219:42:::1;::::0;50254:33:::1;::::0;:44;;;;;-1:-1:-1;;50254:44:0;;;;;-1:-1:-1;45219:42:0;50254:44;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;50309:12;:10;:12::i;:::-;50332:14;:12;:14::i;:::-;50357:10;:8;:10::i;:::-;50385:24;::::0;50398:10:::1;::::0;50385:24:::1;::::0;;;::::1;50137:280::o:0;53821:122::-;2359:12;:10;:12::i;:::-;-1:-1:-1;;;;;2348:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2348:23:0;;2340:68;;;;;-1:-1:-1;;;2340:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53866:7:::1;:5;:7::i;:::-;53928:6;::::0;53884:51:::1;::::0;;-1:-1:-1;;;53884:51:0;;-1:-1:-1;;;53928:6:0;;::::1;;;53884:51;::::0;::::1;::::0;;45219:42:::1;::::0;53884:43:::1;::::0;:51;;;;;-1:-1:-1;;53884:51:0;;;;;;;-1:-1:-1;45219:42:0;53884:51;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;53821:122::o:0;46368:43::-;46406:5;46368:43;:::o;37486:86::-;37533:4;37557:7;-1:-1:-1;;;37557:7:0;;;;;37486:86::o;44801:23::-;;;-1:-1:-1;;;;;44801:23:0;;:::o;2779:148::-;2359:12;:10;:12::i;:::-;-1:-1:-1;;;;;2348:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2348:23:0;;2340:68;;;;;-1:-1:-1;;;2340:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2886:1:::1;2870:6:::0;;2849:40:::1;::::0;-1:-1:-1;;;;;2870:6:0;;::::1;::::0;2849:40:::1;::::0;2886:1;;2849:40:::1;2917:1;2900:19:::0;;-1:-1:-1;;2900:19:0::1;::::0;;2779:148::o;52597:115::-;52639:7;52666:38;52688:15;:13;:15::i;:::-;52666:17;:15;:17::i;:::-;:21;;:38::i;:::-;52659:45;;52597:115;:::o;46794:45::-;;;;;;;;;;45077:89;45123:42;45077:89;:::o;54000:327::-;2359:12;:10;:12::i;:::-;-1:-1:-1;;;;;2348:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2348:23:0;;2340:68;;;;;-1:-1:-1;;;2340:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54045:8:::1;:6;:8::i;:::-;54073:6;::::0;54066:42:::1;::::0;-1:-1:-1;;;;;54073:6:0::1;45219:42;54106:1;54066:26;:42::i;:::-;54119:39;44634:42;45123;54156:1;54119:23;:39::i;:::-;54169:40;44546:42;45123;54207:1;54169:24;:40::i;:::-;54227:8;::::0;54220:44:::1;::::0;-1:-1:-1;;;;;54227:8:0::1;45123:42;54262:1;54220:28;:44::i;:::-;54282:8;::::0;54275:44:::1;::::0;-1:-1:-1;;;;;54282:8:0::1;45123:42;54317:1;54275:28;:44::i;44831:23::-:0;;;-1:-1:-1;;;;;44831:23:0;;:::o;46846:47::-;;;;;;;;;;2128:87;2174:7;2201:6;-1:-1:-1;;;;;2201:6:0;2128:87;:::o;46180:39::-;46216:3;46180:39;:::o;46321:40::-;46359:2;46321:40;:::o;46900:30::-;;;;;;;;;;44684:82;44723:42;44684:82;:::o;46272:40::-;46308:4;46272:40;:::o;52803:122::-;52885:6;;52878:39;;;-1:-1:-1;;;52878:39:0;;52911:4;52878:39;;;;;;52851:7;;-1:-1:-1;;;;;52885:6:0;;52878:24;;:39;;;;;;;;;;;;;;52885:6;52878:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52878:39:0;;-1:-1:-1;52803:122:0;:::o;48512:281::-;37812:8;:6;:8::i;:::-;37811:9;37803:38;;;;;-1:-1:-1;;;37803:38:0;;;;;;;;;;;;-1:-1:-1;;;37803:38:0;;;;;;;;;;;;;;;48585:5:::1;::::0;-1:-1:-1;;;;;48585:5:0::1;48571:10;:19;48563:38;;;::::0;;-1:-1:-1;;;48563:38:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;48563:38:0;;;;;;;;;;;;;::::1;;48647:6;::::0;48640:39:::1;::::0;;-1:-1:-1;;;48640:39:0;;48673:4:::1;48640:39;::::0;::::1;::::0;;;48622:15:::1;::::0;-1:-1:-1;;;;;48647:6:0::1;::::0;48640:24:::1;::::0;:39;;;;;::::1;::::0;;;;;;;;48647:6;48640:39;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;48640:39:0;;-1:-1:-1;48696:11:0;;48692:94:::1;;48758:6;::::0;48724:50:::1;::::0;;-1:-1:-1;;;48724:50:0;;-1:-1:-1;;;48758:6:0;;::::1;;;48724:50;::::0;::::1;::::0;;;;;;;;45219:42:::1;::::0;48724:33:::1;::::0;:50;;;;;-1:-1:-1;;48724:50:0;;;;;;;-1:-1:-1;45219:42:0;48724:50;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;48692:94;37852:1;48512:281::o:0;46226:39::-;46262:3;46226:39;:::o;45173:89::-;45219:42;45173:89;:::o;3082:244::-;2359:12;:10;:12::i;:::-;-1:-1:-1;;;;;2348:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2348:23:0;;2340:68;;;;;-1:-1:-1;;;2340:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3171:22:0;::::1;3163:73;;;;-1:-1:-1::0;;;3163:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3273:6;::::0;;3252:38:::1;::::0;-1:-1:-1;;;;;3252:38:0;;::::1;::::0;3273:6;::::1;::::0;3252:38:::1;::::0;::::1;3301:6;:17:::0;;-1:-1:-1;;3301:17:0::1;-1:-1:-1::0;;;;;3301:17:0;;;::::1;::::0;;;::::1;::::0;;3082:244::o;44507:82::-;44546:42;44507:82;:::o;53419:281::-;53484:5;;-1:-1:-1;;;;;53484:5:0;53470:10;:19;53462:38;;;;;-1:-1:-1;;;53462:38:0;;;;;;;;;;;;-1:-1:-1;;;53462:38:0;;;;;;;;;;;;;;;53565:6;;53521:51;;;-1:-1:-1;;;53521:51:0;;-1:-1:-1;;;53565:6:0;;;;;53521:51;;;;;45219:42;;53521:43;;:51;;;;;-1:-1:-1;;53521:51:0;;;;;;;-1:-1:-1;45219:42:0;53521:51;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53610:6:0;;53603:39;;;-1:-1:-1;;;53603:39:0;;53636:4;53603:39;;;;;;53585:15;;-1:-1:-1;;;;;;53610:6:0;;;;-1:-1:-1;53603:24:0;;:39;;;;;;;;;;;;;;53610:6;53603:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53603:39:0;53660:6;;53677:5;;;53653:39;;;-1:-1:-1;;;53653:39:0;;-1:-1:-1;;;;;53677:5:0;;;53653:39;;;;;;;;;;;;;;53603;;-1:-1:-1;53660:6:0;;;;53653:23;;:39;;;;;53603;;53653;;;;;;;;53660:6;;53653:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45587:20;;;-1:-1:-1;;;;;45587:20:0;;:::o;33987:622::-;34357:10;;;34356:62;;-1:-1:-1;34373:39:0;;;;;;34397:4;34373:39;;;;-1:-1:-1;;;;;34373:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34373:39:0;:44;34356:62;34348:152;;;;-1:-1:-1;;;34348:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34538:62;;;-1:-1:-1;;;;;34538:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34561:22;34538:62;;;34511:90;;34531:5;;34511:19;:90::i;28325:195::-;28428:12;28460:52;28482:6;28490:4;28496:1;28499:12;28460:21;:52::i;:::-;28453:59;;28325:195;;;;;;:::o;9395:158::-;9453:7;9486:1;9481;:6;;9473:49;;;;;-1:-1:-1;;;9473:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9540:5:0;;;9395:158;;;;;:::o;33328:177::-;33438:58;;;-1:-1:-1;;;;;33438:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;33438:58:0;;;33411:86;;33431:5;;33411:19;:86::i;9812:220::-;9870:7;9894:6;9890:20;;-1:-1:-1;9909:1:0;9902:8;;9890:20;9933:5;;;9937:1;9933;:5;:1;9957:5;;;;;:10;9949:56;;;;-1:-1:-1;;;9949:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10510:153;10568:7;10600:1;10596;:5;10588:44;;;;;-1:-1:-1;;;10588:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;10654:1;10650;:5;;;;;;;10510:153;-1:-1:-1;;;10510:153:0:o;667:106::-;755:10;667:106;:::o;38545:120::-;38089:8;:6;:8::i;:::-;38081:41;;;;;-1:-1:-1;;;38081:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;38614:5:::1;38604:15:::0;;-1:-1:-1;;;;38604:15:0::1;::::0;;38635:22:::1;38644:12;:10;:12::i;:::-;38635:22;::::0;;-1:-1:-1;;;;;38635:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;38545:120::o:0;25407:422::-;25774:20;25813:8;;;25407:422::o;50936:632::-;50978:14;50995:52;51043:3;50995:43;51036:1;44634:42;-1:-1:-1;;;;;50995:21:0;;51025:4;50995:36;;;;;;;;;;;;;-1:-1:-1;;;;;50995:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50995:36:0;;:40;:43::i;:52::-;50978:69;-1:-1:-1;45123:42:0;51058:54;50978:69;51121:1;51124:14;51148:4;51155:12;:3;51163;51155:7;:12::i;:::-;51058:110;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51058:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51058:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51058:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51058:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;51058:110:0;;;;;;;;-1:-1:-1;;;51207:37:0;;51238:4;51207:37;;;;;51189:15;;-1:-1:-1;44546:42:0;;-1:-1:-1;51207:22:0;;-1:-1:-1;51207:37:0;;;;;-1:-1:-1;51207:37:0;;-1:-1:-1;51207:37:0;;;;;;;44546:42;51207:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51207:37:0;;-1:-1:-1;51257:15:0;51275:34;46308:4;51275:21;51207:37;46216:3;51275:11;:21::i;:34::-;51257:52;-1:-1:-1;51320:46:0;44546:42;51346:10;51257:52;51320:25;:46::i;:::-;51387:16;51406:35;46308:4;51406:22;:7;46262:3;51406:11;:22::i;:35::-;51387:54;-1:-1:-1;45123:42:0;51452:54;51387;51517:1;51520:15;45537:42;51547:12;:3;51555;51547:7;:12::i;:::-;51452:108;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51452:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51452:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51452:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51452:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50936:632;;;;:::o;51671:718::-;51716:15;51734:43;51775:1;44634:42;-1:-1:-1;;;;;51734:21:0;;51764:4;51734:36;;;;;;;;;;;;;-1:-1:-1;;;;;51734:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51734:36:0;;:40;:43::i;:::-;51794:8;;51716:61;;-1:-1:-1;;;;;;51794:8:0;44634:42;51794:15;51790:158;;45123:42;51826:54;51881:7;51890:1;51893:13;51916:4;51923:12;:3;51931;51923:7;:12::i;:::-;51826:110;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51826:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51826:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51826:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51826:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51790:158;51964:8;;-1:-1:-1;;;;;51964:8:0;44634:42;51964:15;51960:158;;45123:42;51996:54;52051:7;52060:1;52063:13;52086:4;52093:12;:3;52101;52093:7;:12::i;:::-;51996:110;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51996:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51996:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51996:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51996:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51960:158;52154:8;;52147:41;;;-1:-1:-1;;;52147:41:0;;52182:4;52147:41;;;;;;52130:14;;-1:-1:-1;;;;;52154:8:0;;52147:26;;:41;;;;;;;;;;;;;;52154:8;52147:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52147:41:0;52223:8;;52216:41;;;-1:-1:-1;;;52216:41:0;;52251:4;52216:41;;;;;;52147;;-1:-1:-1;52199:14:0;;-1:-1:-1;;;;;52223:8:0;;;;52216:26;;:41;;;;;52147;;52216;;;;;;;;52223:8;52216:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52216:41:0;52311:8;;52321;;52216:41;;-1:-1:-1;45123:42:0;;52268;;-1:-1:-1;;;;;52311:8:0;;;;52321;52331:6;52216:41;52311:8;;52361:4;52368:12;:3;52376;52368:7;:12::i;:::-;52268:113;;;;;;;;;;;;;-1:-1:-1;;;;;52268:113:0;;;;;;-1:-1:-1;;;;;52268:113:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;52268:113:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8933:179;8991:7;9023:5;;;9047:6;;;;9039:46;;;;;-1:-1:-1;;;9039:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;38286:118;37812:8;:6;:8::i;:::-;37811:9;37803:38;;;;;-1:-1:-1;;;37803:38:0;;;;;;;;;;;;-1:-1:-1;;;37803:38:0;;;;;;;;;;;;;;;38346:7:::1;:14:::0;;-1:-1:-1;;;;38346:14:0::1;-1:-1:-1::0;;;38346:14:0::1;::::0;;38376:20:::1;38383:12;:10;:12::i;35633:761::-:0;36057:23;36083:69;36111:4;36083:69;;;;;;;;;;;;;;;;;36091:5;-1:-1:-1;;;;;36083:27:0;;;:69;;;;;:::i;:::-;36167:17;;36057:95;;-1:-1:-1;36167:21:0;36163:224;;36309:10;36298:30;;;;;;;;;;;;;;;-1:-1:-1;36298:30:0;36290:85;;;;-1:-1:-1;;;36290:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29377:530;29504:12;29562:5;29537:21;:30;;29529:81;;;;-1:-1:-1;;;29529:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29629:18;29640:6;29629:10;:18::i;:::-;29621:60;;;;;-1:-1:-1;;;29621:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29755:12;29769:23;29796:6;-1:-1:-1;;;;;29796:11:0;29816:5;29824:4;29796:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;29796:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29754:75;;;;29847:52;29865:7;29874:10;29886:12;29847:17;:52::i;:::-;29840:59;29377:530;-1:-1:-1;;;;;;;29377:530:0:o;31917:742::-;32032:12;32061:7;32057:595;;;-1:-1:-1;32092:10:0;32085:17;;32057:595;32206:17;;:21;32202:439;;32469:10;32463:17;32530:15;32517:10;32513:2;32509:19;32502:44;32417:148;32612:12;32605:20;;-1:-1:-1;;;32605:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://7de5ef72e269b57dbd0012c23e8d728f398a3f28ad0c136779f121b0dc3eea86
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.