Source Code
Latest 25 from a total of 3,402 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Harvest | 150756482 | 733 days ago | IN | 0 ETH | 0.00014787 | ||||
| Harvest | 138149659 | 774 days ago | IN | 0 ETH | 0.00009334 | ||||
| Harvest | 128310930 | 805 days ago | IN | 0 ETH | 0.00009254 | ||||
| Harvest | 128255026 | 805 days ago | IN | 0 ETH | 0.00008678 | ||||
| Harvest | 128086221 | 805 days ago | IN | 0 ETH | 0.000091 | ||||
| Harvest | 127777273 | 806 days ago | IN | 0 ETH | 0.00008621 | ||||
| Harvest | 127525547 | 807 days ago | IN | 0 ETH | 0.00008292 | ||||
| Harvest | 127467567 | 807 days ago | IN | 0 ETH | 0.00008334 | ||||
| Harvest | 127213085 | 808 days ago | IN | 0 ETH | 0.00008127 | ||||
| Harvest | 127096307 | 809 days ago | IN | 0 ETH | 0.00010774 | ||||
| Harvest | 126806789 | 809 days ago | IN | 0 ETH | 0.00011239 | ||||
| Harvest | 126181989 | 811 days ago | IN | 0 ETH | 0.00011534 | ||||
| Harvest | 122599313 | 823 days ago | IN | 0 ETH | 0.00009555 | ||||
| Harvest | 122542780 | 823 days ago | IN | 0 ETH | 0.00004432 | ||||
| Harvest | 122486463 | 823 days ago | IN | 0 ETH | 0.00004151 | ||||
| Harvest | 122433279 | 823 days ago | IN | 0 ETH | 0.00004543 | ||||
| Harvest | 122377976 | 823 days ago | IN | 0 ETH | 0.0000527 | ||||
| Harvest | 122271779 | 824 days ago | IN | 0 ETH | 0.00005604 | ||||
| Harvest | 122215340 | 824 days ago | IN | 0 ETH | 0.00004337 | ||||
| Harvest | 122160275 | 824 days ago | IN | 0 ETH | 0.00004361 | ||||
| Harvest | 122107285 | 824 days ago | IN | 0 ETH | 0.00005641 | ||||
| Harvest | 122059132 | 824 days ago | IN | 0 ETH | 0.00007426 | ||||
| Harvest | 122008263 | 825 days ago | IN | 0 ETH | 0.00006416 | ||||
| Harvest | 121952131 | 825 days ago | IN | 0 ETH | 0.00004851 | ||||
| Harvest | 121895716 | 825 days ago | IN | 0 ETH | 0.00004506 |
Latest 25 internal transactions (View All)
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 72057262 | 973 days ago | 0 ETH | ||||
| 72057262 | 973 days ago | 0 ETH | ||||
| 72057262 | 973 days ago | 0 ETH | ||||
| 72057262 | 973 days ago | 0 ETH | ||||
| 72057262 | 973 days ago | 0 ETH | ||||
| 72057262 | 973 days ago | 0 ETH | ||||
| 72057262 | 973 days ago | 0 ETH | ||||
| 72057262 | 973 days ago | 0 ETH | ||||
| 72057262 | 973 days ago | 0 ETH | ||||
| 72057262 | 973 days ago | 0 ETH | ||||
| 72057262 | 973 days ago | 0 ETH | ||||
| 72057262 | 973 days ago | 0 ETH | ||||
| 72057262 | 973 days ago | 0 ETH | ||||
| 72057262 | 973 days ago | 0 ETH | ||||
| 72057262 | 973 days ago | 0 ETH | ||||
| 72057262 | 973 days ago | 0 ETH | ||||
| 72057262 | 973 days ago | 0 ETH | ||||
| 71902323 | 973 days ago | 0 ETH | ||||
| 71902323 | 973 days ago | 0 ETH | ||||
| 71902323 | 973 days ago | 0 ETH | ||||
| 71902323 | 973 days ago | 0 ETH | ||||
| 71902323 | 973 days ago | 0 ETH | ||||
| 71902323 | 973 days ago | 0 ETH | ||||
| 71902323 | 973 days ago | 0 ETH | ||||
| 71902323 | 973 days ago | 0 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
StrategyChefCurveLP
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/**
*Submitted for verification at Arbiscan.io on 2021-10-03
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Context.sol
pragma solidity >=0.6.0 <0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}
// File: @openzeppelin/contracts/math/SafeMath.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b > a) return (false, 0);
return (true, a - b);
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b == 0) return (false, 0);
return (true, a / b);
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b == 0) return (false, 0);
return (true, a % b);
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
require(b <= a, "SafeMath: subtraction overflow");
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) return 0;
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
require(b > 0, "SafeMath: division by zero");
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
require(b > 0, "SafeMath: modulo by zero");
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
return a - b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryDiv}.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
return a % b;
}
}
// File: @openzeppelin/contracts/token/ERC20/ERC20.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin guidelines: functions revert instead
* of returning `false` on failure. This behavior is nonetheless conventional
* and does not conflict with the expectations of ERC20 applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20 {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
uint8 private _decimals;
/**
* @dev Sets the values for {name} and {symbol}, initializes {decimals} with
* a default value of 18.
*
* To select a different value for {decimals}, use {_setupDecimals}.
*
* All three of these values are immutable: they can only be set once during
* construction.
*/
constructor (string memory name_, string memory symbol_) public {
_name = name_;
_symbol = symbol_;
_decimals = 18;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5,05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
* called.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual returns (uint8) {
return _decimals;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* Requirements:
*
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
* `amount`.
*/
function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
_approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
return true;
}
/**
* @dev Moves tokens `amount` from `sender` to `recipient`.
*
* This is internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `sender` cannot be the zero address.
* - `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
*/
function _transfer(address sender, address recipient, uint256 amount) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
_balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
_balances[recipient] = _balances[recipient].add(amount);
emit Transfer(sender, recipient, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `to` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply = _totalSupply.add(amount);
_balances[account] = _balances[account].add(amount);
emit Transfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
_balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
_totalSupply = _totalSupply.sub(amount);
emit Transfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Sets {decimals} to a value other than the default one of 18.
*
* WARNING: This function should only be called from the constructor. Most
* applications that interact with token contracts will not expect
* {decimals} to ever change, and may work incorrectly if it does.
*/
function _setupDecimals(uint8 decimals_) internal virtual {
_decimals = decimals_;
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be to transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}
// File: @openzeppelin/contracts/utils/Address.sol
pragma solidity >=0.6.2 <0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
assembly { size := extcodesize(account) }
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain`call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: value }(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using SafeMath for uint256;
using Address for address;
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(IERC20 token, address spender, uint256 value) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
// solhint-disable-next-line max-line-length
require((value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).add(value);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) { // Return data is optional
// solhint-disable-next-line max-line-length
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}
// File: contracts/BIFI/interfaces/common/IUniswapRouterETH.sol
pragma solidity ^0.6.0;
interface IUniswapRouterETH {
function addLiquidity(
address tokenA,
address tokenB,
uint amountADesired,
uint amountBDesired,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB, uint liquidity);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
function removeLiquidity(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB);
function removeLiquidityETH(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountToken, uint amountETH);
function swapExactTokensForTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
}
// File: contracts/BIFI/interfaces/common/IUniswapV2Pair.sol
pragma solidity ^0.6.0;
interface IUniswapV2Pair {
function factory() external view returns (address);
function token0() external view returns (address);
function token1() external view returns (address);
function burn(address to) external returns (uint amount0, uint amount1);
function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
}
// File: contracts/BIFI/interfaces/common/IMasterChef.sol
pragma solidity ^0.6.0;
interface IMasterChef {
function deposit(uint256 _pid, uint256 _amount) external;
function withdraw(uint256 _pid, uint256 _amount) external;
function enterStaking(uint256 _amount) external;
function leaveStaking(uint256 _amount) external;
function userInfo(uint256 _pid, address _user) external view returns (uint256, uint256);
function emergencyWithdraw(uint256 _pid) external;
}
// File: contracts/BIFI/interfaces/curve/ICurveSwap.sol
pragma solidity ^0.6.0;
interface ICurveSwap2 {
function add_liquidity(uint256[2] memory amounts, uint256 min_mint_amount) external;
}
interface ICurveSwap3 {
function add_liquidity(uint256[3] memory amounts, uint256 min_mint_amount) external;
}
interface ICurveSwap4 {
function add_liquidity(uint256[4] memory amounts, uint256 min_mint_amount) external;
}
interface ICurveSwap5 {
function add_liquidity(uint256[5] memory amounts, uint256 min_mint_amount) external;
}
// File: @openzeppelin/contracts/access/Ownable.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () internal {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
// File: @openzeppelin/contracts/utils/Pausable.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor () internal {
_paused = false;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
require(!paused(), "Pausable: paused");
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
require(paused(), "Pausable: not paused");
_;
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}
// File: contracts/BIFI/strategies/Common/StratManager.sol
pragma solidity ^0.6.12;
contract StratManager is Ownable, Pausable {
/**
* @dev Beefy Contracts:
* {keeper} - Address to manage a few lower risk features of the strat
* {strategist} - Address of the strategy author/deployer where strategist fee will go.
* {vault} - Address of the vault that controls the strategy's funds.
* {unirouter} - Address of exchange to execute swaps.
*/
address public keeper;
address public strategist;
address public unirouter;
address public vault;
address public beefyFeeRecipient;
/**
* @dev Initializes the base strategy.
* @param _keeper address to use as alternative owner.
* @param _strategist address where strategist fees go.
* @param _unirouter router to use for swaps
* @param _vault address of parent vault.
* @param _beefyFeeRecipient address where to send Beefy's fees.
*/
constructor(
address _keeper,
address _strategist,
address _unirouter,
address _vault,
address _beefyFeeRecipient
) public {
keeper = _keeper;
strategist = _strategist;
unirouter = _unirouter;
vault = _vault;
beefyFeeRecipient = _beefyFeeRecipient;
}
// checks that caller is either owner or keeper.
modifier onlyManager() {
require(msg.sender == owner() || msg.sender == keeper, "!manager");
_;
}
/**
* @dev Updates address of the strat keeper.
* @param _keeper new keeper address.
*/
function setKeeper(address _keeper) external onlyManager {
keeper = _keeper;
}
/**
* @dev Updates address where strategist fee earnings will go.
* @param _strategist new strategist address.
*/
function setStrategist(address _strategist) external {
require(msg.sender == strategist, "!strategist");
strategist = _strategist;
}
/**
* @dev Updates router that will be used for swaps.
* @param _unirouter new unirouter address.
*/
function setUnirouter(address _unirouter) external onlyOwner {
unirouter = _unirouter;
}
/**
* @dev Updates parent vault.
* @param _vault new vault address.
*/
function setVault(address _vault) external onlyOwner {
vault = _vault;
}
/**
* @dev Updates beefy fee recipient.
* @param _beefyFeeRecipient new beefy fee recipient address.
*/
function setBeefyFeeRecipient(address _beefyFeeRecipient) external onlyOwner {
beefyFeeRecipient = _beefyFeeRecipient;
}
/**
* @dev Function to synchronize balances before new user deposit.
* Can be overridden in the strategy.
*/
function beforeDeposit() external virtual {}
}
// File: contracts/BIFI/strategies/Common/FeeManager.sol
pragma solidity ^0.6.12;
abstract contract FeeManager is StratManager {
uint constant public STRATEGIST_FEE = 112;
uint constant public MAX_FEE = 1000;
uint constant public MAX_CALL_FEE = 111;
uint constant public WITHDRAWAL_FEE_CAP = 50;
uint constant public WITHDRAWAL_MAX = 10000;
uint public withdrawalFee = 10;
uint public callFee = 111;
uint public beefyFee = MAX_FEE - STRATEGIST_FEE - callFee;
function setCallFee(uint256 _fee) public onlyManager {
require(_fee <= MAX_CALL_FEE, "!cap");
callFee = _fee;
beefyFee = MAX_FEE - STRATEGIST_FEE - callFee;
}
function setWithdrawalFee(uint256 _fee) public onlyManager {
require(_fee <= WITHDRAWAL_FEE_CAP, "!cap");
withdrawalFee = _fee;
}
}
// File: contracts/BIFI/utils/StringUtils.sol
pragma solidity >=0.6.0 <0.8.0;
library StringUtils {
function concat(string memory a, string memory b) internal pure returns (string memory) {
return string(abi.encodePacked(a, b));
}
}
// File: contracts/BIFI/utils/IGasPrice.sol
pragma solidity ^0.6.12;
interface IGasPrice {
function maxGasPrice() external returns (uint);
}
// File: contracts/BIFI/utils/GasThrottler.sol
pragma solidity ^0.6.12;
contract GasThrottler {
bool public shouldGasThrottle = true;
address public gasprice = address(0xA43509661141F254F54D9A326E8Ec851A0b95307);
modifier gasThrottle() {
if (shouldGasThrottle) {
require(tx.gasprice <= IGasPrice(gasprice).maxGasPrice(), "gas is too high!");
}
_;
}
}
// File: contracts/BIFI/strategies/Curve/StrategyChefCurveLP.sol
pragma solidity ^0.6.0;
contract StrategyChefCurveLP is StratManager, FeeManager, GasThrottler {
using SafeERC20 for IERC20;
using SafeMath for uint256;
// Tokens used
address public native;
address public output;
address public want;
address public depositToken;
// Third party contracts
address public chef;
uint256 public poolId;
address public pool;
uint public poolSize;
uint public depositIndex;
bool public harvestOnDeposit;
uint256 public lastHarvest;
string public pendingRewardsFunctionName;
// Routes
address[] public outputToNativeRoute;
address[] public nativeToDepositRoute;
/**
* @dev Event that is fired each time someone harvests the strat.
*/
event StratHarvest(address indexed harvester);
constructor(
address _want,
uint256 _poolId,
address _chef,
address _pool,
uint _poolSize,
uint _depositIndex,
address[] memory _outputToNativeRoute,
address[] memory _nativeToDepositRoute,
address _vault,
address _unirouter,
address _keeper,
address _strategist,
address _beefyFeeRecipient
) StratManager(_keeper, _strategist, _unirouter, _vault, _beefyFeeRecipient) public {
want = _want;
poolId = _poolId;
chef = _chef;
pool = _pool;
poolSize = _poolSize;
depositIndex = _depositIndex;
output = _outputToNativeRoute[0];
native = _outputToNativeRoute[_outputToNativeRoute.length - 1];
outputToNativeRoute = _outputToNativeRoute;
require(_nativeToDepositRoute[0] == native, '_nativeToDepositRoute[0] != native');
depositToken = _nativeToDepositRoute[_nativeToDepositRoute.length - 1];
nativeToDepositRoute = _nativeToDepositRoute;
_giveAllowances();
}
// puts the funds to work
function deposit() public whenNotPaused {
uint256 wantBal = IERC20(want).balanceOf(address(this));
if (wantBal > 0) {
IMasterChef(chef).deposit(poolId, wantBal);
}
}
function withdraw(uint256 _amount) external {
require(msg.sender == vault, "!vault");
uint256 wantBal = IERC20(want).balanceOf(address(this));
if (wantBal < _amount) {
IMasterChef(chef).withdraw(poolId, _amount.sub(wantBal));
wantBal = IERC20(want).balanceOf(address(this));
}
if (wantBal > _amount) {
wantBal = _amount;
}
if (tx.origin == owner() || paused()) {
IERC20(want).safeTransfer(vault, wantBal);
} else {
uint256 withdrawalFeeAmount = wantBal.mul(withdrawalFee).div(WITHDRAWAL_MAX);
IERC20(want).safeTransfer(vault, wantBal.sub(withdrawalFeeAmount));
}
}
function beforeDeposit() external override {
if (harvestOnDeposit) {
require(msg.sender == vault, "!vault");
_harvest(tx.origin);
}
}
function harvest() external virtual gasThrottle {
_harvest(tx.origin);
}
function harvest(address callFeeRecipient) external virtual gasThrottle {
_harvest(callFeeRecipient);
}
function managerHarvest() external onlyManager {
_harvest(tx.origin);
}
// compounds earnings and charges performance fee
function _harvest(address callFeeRecipient) internal whenNotPaused {
IMasterChef(chef).deposit(poolId, 0);
uint256 outputBal = IERC20(output).balanceOf(address(this));
if (outputBal > 0) {
chargeFees(callFeeRecipient);
addLiquidity();
deposit();
lastHarvest = block.timestamp;
emit StratHarvest(msg.sender);
}
}
// performance fees
function chargeFees(address callFeeRecipient) internal {
uint256 toNative = IERC20(output).balanceOf(address(this));
IUniswapRouterETH(unirouter).swapExactTokensForTokens(toNative, 0, outputToNativeRoute, address(this), now);
uint256 nativeBal = IERC20(native).balanceOf(address(this)).mul(45).div(1000);
uint256 callFeeAmount = nativeBal.mul(callFee).div(MAX_FEE);
IERC20(native).safeTransfer(callFeeRecipient, callFeeAmount);
uint256 beefyFeeAmount = nativeBal.mul(beefyFee).div(MAX_FEE);
IERC20(native).safeTransfer(beefyFeeRecipient, beefyFeeAmount);
uint256 strategistFee = nativeBal.mul(STRATEGIST_FEE).div(MAX_FEE);
IERC20(native).safeTransfer(strategist, strategistFee);
}
// Adds liquidity to AMM and gets more LP tokens.
function addLiquidity() internal {
uint256 nativeBal = IERC20(native).balanceOf(address(this));
if (depositToken != native) {
IUniswapRouterETH(unirouter).swapExactTokensForTokens(nativeBal, 0, nativeToDepositRoute, address(this), block.timestamp);
}
uint256 depositBal = IERC20(depositToken).balanceOf(address(this));
if (poolSize == 2) {
uint256[2] memory amounts;
amounts[depositIndex] = depositBal;
ICurveSwap2(pool).add_liquidity(amounts, 0);
} else if (poolSize == 3) {
uint256[3] memory amounts;
amounts[depositIndex] = depositBal;
ICurveSwap3(pool).add_liquidity(amounts, 0);
} else if (poolSize == 4) {
uint256[4] memory amounts;
amounts[depositIndex] = depositBal;
ICurveSwap4(pool).add_liquidity(amounts, 0);
} else if (poolSize == 5) {
uint256[5] memory amounts;
amounts[depositIndex] = depositBal;
ICurveSwap5(pool).add_liquidity(amounts, 0);
}
}
// calculate the total underlaying 'want' held by the strat.
function balanceOf() public view returns (uint256) {
return balanceOfWant().add(balanceOfPool());
}
// it calculates how much 'want' this contract holds.
function balanceOfWant() public view returns (uint256) {
return IERC20(want).balanceOf(address(this));
}
// it calculates how much 'want' the strategy has working in the farm.
function balanceOfPool() public view returns (uint256) {
(uint256 _amount,) = IMasterChef(chef).userInfo(poolId, address(this));
return _amount;
}
function setPendingRewardsFunctionName(string calldata _pendingRewardsFunctionName) external onlyManager {
pendingRewardsFunctionName = _pendingRewardsFunctionName;
}
// returns rewards unharvested
function rewardsAvailable() public view returns (uint256) {
string memory signature = StringUtils.concat(pendingRewardsFunctionName, "(uint256,address)");
bytes memory result = Address.functionStaticCall(
chef,
abi.encodeWithSignature(
signature,
poolId,
address(this)
)
);
return abi.decode(result, (uint256));
}
// native reward amount for calling harvest
function callReward() public view returns (uint256) {
uint256 outputBal = rewardsAvailable();
uint256 nativeOut;
if (outputBal > 0) {
try IUniswapRouterETH(unirouter).getAmountsOut(outputBal, outputToNativeRoute)
returns (uint256[] memory amountOut)
{
nativeOut = amountOut[amountOut.length -1];
}
catch {}
}
return nativeOut.mul(45).div(1000).mul(callFee).div(MAX_FEE);
}
function setShouldGasThrottle(bool _shouldGasThrottle) external onlyManager {
shouldGasThrottle = _shouldGasThrottle;
}
function setHarvestOnDeposit(bool _harvestOnDeposit) external onlyManager {
harvestOnDeposit = _harvestOnDeposit;
if (harvestOnDeposit) {
setWithdrawalFee(0);
} else {
setWithdrawalFee(10);
}
}
// called as part of strat migration. Sends all the available funds back to the vault.
function retireStrat() external {
require(msg.sender == vault, "!vault");
IMasterChef(chef).emergencyWithdraw(poolId);
uint256 wantBal = IERC20(want).balanceOf(address(this));
IERC20(want).transfer(vault, wantBal);
}
// pauses deposits and withdraws all funds from third party systems.
function panic() public onlyManager {
pause();
IMasterChef(chef).emergencyWithdraw(poolId);
}
function pause() public onlyManager {
_pause();
_removeAllowances();
}
function unpause() external onlyManager {
_unpause();
_giveAllowances();
deposit();
}
function _giveAllowances() internal {
IERC20(want).safeApprove(chef, type(uint).max);
IERC20(output).safeApprove(unirouter, type(uint).max);
IERC20(native).safeApprove(unirouter, type(uint).max);
IERC20(depositToken).safeApprove(pool, type(uint).max);
}
function _removeAllowances() internal {
IERC20(want).safeApprove(chef, 0);
IERC20(output).safeApprove(unirouter, 0);
IERC20(native).safeApprove(unirouter, 0);
IERC20(depositToken).safeApprove(pool, 0);
}
function outputToNative() external view returns (address[] memory) {
return outputToNativeRoute;
}
function nativeToDeposit() external view returns (address[] memory) {
return nativeToDepositRoute;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_want","type":"address"},{"internalType":"uint256","name":"_poolId","type":"uint256"},{"internalType":"address","name":"_chef","type":"address"},{"internalType":"address","name":"_pool","type":"address"},{"internalType":"uint256","name":"_poolSize","type":"uint256"},{"internalType":"uint256","name":"_depositIndex","type":"uint256"},{"internalType":"address[]","name":"_outputToNativeRoute","type":"address[]"},{"internalType":"address[]","name":"_nativeToDepositRoute","type":"address[]"},{"internalType":"address","name":"_vault","type":"address"},{"internalType":"address","name":"_unirouter","type":"address"},{"internalType":"address","name":"_keeper","type":"address"},{"internalType":"address","name":"_strategist","type":"address"},{"internalType":"address","name":"_beefyFeeRecipient","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"harvester","type":"address"}],"name":"StratHarvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_CALL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STRATEGIST_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_FEE_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfWant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beefyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beefyFeeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beforeDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"callFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"callReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chef","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gasprice","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"callFeeRecipient","type":"address"}],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvestOnDeposit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keeper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastHarvest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"managerHarvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"native","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nativeToDeposit","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nativeToDepositRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"output","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"outputToNative","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"outputToNativeRoute","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":"pendingRewardsFunctionName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retireStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardsAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beefyFeeRecipient","type":"address"}],"name":"setBeefyFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setCallFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_harvestOnDeposit","type":"bool"}],"name":"setHarvestOnDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_keeper","type":"address"}],"name":"setKeeper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_pendingRewardsFunctionName","type":"string"}],"name":"setPendingRewardsFunctionName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_shouldGasThrottle","type":"bool"}],"name":"setShouldGasThrottle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"setStrategist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_unirouter","type":"address"}],"name":"setUnirouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"name":"setVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setWithdrawalFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shouldGasThrottle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unirouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"want","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]Contract Creation Code
6080604052600a600655606f60075561030960085560098054600160ff1990911617610100600160a81b03191674a43509661141f254f54d9a326e8ec851a0b95307001790553480156200005257600080fd5b50604051620041893803806200418983398181016040526101a08110156200007957600080fd5b815160208301516040808501516060860151608087015160a088015160c08901805195519799969894979396929591948301929184640100000000821115620000c157600080fd5b908301906020820185811115620000d757600080fd5b8251866020820283011164010000000082111715620000f557600080fd5b82525081516020918201928201910280838360005b83811015620001245781810151838201526020016200010a565b50505050905001604052602001805160405193929190846401000000008211156200014e57600080fd5b9083019060208201858111156200016457600080fd5b82518660208202830111640100000000821117156200018257600080fd5b82525081516020918201928201910280838360005b83811015620001b157818101518382015260200162000197565b505050509190910160409081526020830151908301516060840151608085015160a09095015192965090945092915082828587846000620001f16200050e565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060008060146101000a81548160ff02191690831515021790555084600160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555083600260006101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600360006101000a8154816001600160a01b0302191690836001600160a01b0316021790555081600460006101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600560006101000a8154816001600160a01b0302191690836001600160a01b0316021790555050505050508c600c60006101000a8154816001600160a01b0302191690836001600160a01b031602179055508b600f819055508a600e60006101000a8154816001600160a01b0302191690836001600160a01b0316021790555089601060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550886011819055508760128190555086600081518110620003b557fe5b6020026020010151600b60006101000a8154816001600160a01b0302191690836001600160a01b0316021790555086600188510381518110620003f457fe5b602090810291909101810151600a80546001600160a01b0319166001600160a01b0390921691909117905587516200043391601691908a0190620009db565b50600a5486516001600160a01b039091169087906000906200045157fe5b60200260200101516001600160a01b031614620004a05760405162461bcd60e51b8152600401808060200182810382526022815260200180620041076022913960400191505060405180910390fd5b85600187510381518110620004b157fe5b602090810291909101810151600d80546001600160a01b0319166001600160a01b039092169190911790558651620004f09160179190890190620009db565b50620004fb62000512565b5050505050505050505050505062000a66565b3390565b600e54600c546200053f916001600160a01b039182169116600019620005c8602090811b6200209617901c565b600354600b546200056c916001600160a01b039182169116600019620005c8602090811b6200209617901c565b600354600a5462000599916001600160a01b039182169116600019620005c8602090811b6200209617901c565b601054600d54620005c6916001600160a01b039182169116600019620005c8602090811b6200209617901c565b565b80158062000652575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156200062257600080fd5b505afa15801562000637573d6000803e3d6000fd5b505050506040513d60208110156200064e57600080fd5b5051155b6200068f5760405162461bcd60e51b8152600401808060200182810382526036815260200180620041536036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620006e7918591620006ec16565b505050565b606062000748826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620007a860201b620021a9179092919060201c565b805190915015620006e7578080602001905160208110156200076957600080fd5b5051620006e75760405162461bcd60e51b815260040180806020018281038252602a81526020018062004129602a913960400191505060405180910390fd5b6060620007b98484600085620007c3565b90505b9392505050565b606082471015620008065760405162461bcd60e51b8152600401808060200182810382526026815260200180620040e16026913960400191505060405180910390fd5b62000811856200092b565b62000863576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310620008a45780518252601f19909201916020918201910162000883565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462000908576040519150601f19603f3d011682016040523d82523d6000602084013e6200090d565b606091505b5090925090506200092082828662000931565b979650505050505050565b3b151590565b6060831562000942575081620007bc565b825115620009535782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200099f57818101518382015260200162000985565b50505050905090810190601f168015620009cd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b82805482825590600052602060002090810192821562000a33579160200282015b8281111562000a3357825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620009fc565b5062000a4192915062000a45565b5090565b5b8082111562000a415780546001600160a01b031916815560010162000a46565b61366b8062000a766000396000f3fe608060405234801561001057600080fd5b50600436106103a45760003560e01c80637d38ca65116101e9578063c7b9d5301161010f578063e7a7250a116100ad578063fad4675e1161007c578063fad4675e14610815578063fb61778714610834578063fbfa77cf1461083c578063fc167fc614610844576103a4565b8063e7a7250a146107d7578063f1a392da146107df578063f20eaeb8146107e7578063f2fde38b146107ef576103a4565b8063d3102589116100e9578063d310258914610799578063d801d946146107a1578063d92f3d73146107a9578063dfbdc437146107cf576103a4565b8063c7b9d53014610763578063c89039c514610789578063d0e30db014610791576103a4565b806397fd323d11610187578063aced166111610156578063aced16611461072e578063bc063e1a14610736578063be12a9781461073e578063c1a3d44c1461075b576103a4565b806397fd323d146106db5780639f8b5da1146106e3578063a68833e5146106eb578063ac1e502514610711576103a4565b80638bc7e8c4116101c35780638bc7e8c4146106bb5780638da5cb5b146106c35780638e145459146106cb57806390321e1a146106d3576103a4565b80637d38ca65146106a35780638456cb59146106ab5780638912cb8b146106b3576103a4565b80633e0dc34e116102ce57806359e791381161026c578063715018a61161023b578063715018a614610665578063722713f71461066d578063748747e6146106755780637b8989391461069b576103a4565b806359e79138146105ad5780635c975abb1461061b5780636817031b146106375780636ec232d31461065d576103a4565b80634700d305116102a85780634700d3051461058d5780634ec18db91461059557806354518b1a1461059d578063573fef0a146105a5576103a4565b80633e0dc34e146105755780633f4ba83a1461057d5780634641257d14610585576103a4565b80631fc8bc5d11610346578063277e5cfd11610315578063277e5cfd146104cb5780632ad5a53f146105485780632e1a7d4d146105505780633c1deb531461056d576103a4565b80631fc8bc5d146104965780631fe4a6861461049e578063257ae0de146104a657806326465826146104ae576103a4565b806311b0b42d1161038257806311b0b42d1461040a57806313e120b11461042e57806316f0115b146104865780631f1fcd511461048e576103a4565b80630e5c011e146103a95780630e8fbb5a146103d157806311588086146103f0575b600080fd5b6103cf600480360360208110156103bf57600080fd5b50356001600160a01b0316610861565b005b6103cf600480360360208110156103e757600080fd5b5035151561093b565b6103f86109d9565b60408051918252519081900360200190f35b610412610a60565b604080516001600160a01b039092168252519081900360200190f35b610436610a6f565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561047257818101518382015260200161045a565b505050509050019250505060405180910390f35b610412610ad1565b610412610ae0565b610412610aef565b610412610afe565b610412610b0d565b6103cf600480360360208110156104c457600080fd5b5035610b1c565b6104d3610bd6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561050d5781810151838201526020016104f5565b50505050905090810190601f16801561053a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103f8610c64565b6103cf6004803603602081101561056657600080fd5b5035610c69565b610436610ed8565b6103f8610f38565b6103cf610f3e565b6103cf610fc5565b6103cf61109c565b6103f861117b565b6103f8611181565b6103cf611187565b6103cf600480360360208110156105c357600080fd5b810190602081018135600160201b8111156105dd57600080fd5b8201836020820111156105ef57600080fd5b803590602001918460018302840111600160201b8311171561061057600080fd5b5090925090506111da565b610623611253565b604080519115158252519081900360200190f35b6103cf6004803603602081101561064d57600080fd5b50356001600160a01b0316611263565b6104126112e7565b6103cf6112fb565b6103f86113a7565b6103cf6004803603602081101561068b57600080fd5b50356001600160a01b03166113c7565b6103f8611456565b6103f861145c565b6103cf611461565b6106236114de565b6103f86114e7565b6104126114ed565b6104126114fc565b6103f861150b565b6103f8611511565b6106236116dd565b6103cf6004803603602081101561070157600080fd5b50356001600160a01b03166116e6565b6103cf6004803603602081101561072757600080fd5b503561176a565b61041261181b565b6103f861182a565b6104126004803603602081101561075457600080fd5b5035611830565b6103f8611857565b6103cf6004803603602081101561077957600080fd5b50356001600160a01b03166118d3565b610412611942565b6103cf611951565b6103f8611a8f565b6103cf611a95565b6103cf600480360360208110156107bf57600080fd5b50356001600160a01b0316611b02565b6103f8611b86565b6103f8611b8b565b6103f8611d32565b610412611d38565b6103cf6004803603602081101561080557600080fd5b50356001600160a01b0316611d47565b6103cf6004803603602081101561082b57600080fd5b50351515611e49565b6103cf611ec9565b61041261207a565b6104126004803603602081101561085a57600080fd5b5035612089565b60095460ff161561092f57600960019054906101000a90046001600160a01b03166001600160a01b0316633de39c116040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156108bc57600080fd5b505af11580156108d0573d6000803e3d6000fd5b505050506040513d60208110156108e657600080fd5b50513a111561092f576040805162461bcd60e51b815260206004820152601060248201526f67617320697320746f6f20686967682160801b604482015290519081900360640190fd5b610938816121c2565b50565b6109436114ed565b6001600160a01b0316336001600160a01b0316148061096c57506001546001600160a01b031633145b6109a8576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b6013805460ff1916821515179081905560ff16156109cf576109ca600061176a565b610938565b610938600a61176a565b600e54600f54604080516393f1a40b60e01b81526004810192909252306024830152805160009384936001600160a01b03909116926393f1a40b92604480840193829003018186803b158015610a2e57600080fd5b505afa158015610a42573d6000803e3d6000fd5b505050506040513d6040811015610a5857600080fd5b505191505090565b600a546001600160a01b031681565b60606016805480602002602001604051908101604052809291908181526020018280548015610ac757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610aa9575b5050505050905090565b6010546001600160a01b031681565b600c546001600160a01b031681565b600e546001600160a01b031681565b6002546001600160a01b031681565b6003546001600160a01b031681565b610b246114ed565b6001600160a01b0316336001600160a01b03161480610b4d57506001546001600160a01b031633145b610b89576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b606f811115610bc8576040805162461bcd60e51b815260206004808301919091526024820152630216361760e41b604482015290519081900360640190fd5b600781905561037803600855565b6015805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610c5c5780601f10610c3157610100808354040283529160200191610c5c565b820191906000526020600020905b815481529060010190602001808311610c3f57829003601f168201915b505050505081565b606f81565b6004546001600160a01b03163314610cb1576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b600c54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610cfc57600080fd5b505afa158015610d10573d6000803e3d6000fd5b505050506040513d6020811015610d2657600080fd5b5051905081811015610e2357600e54600f546001600160a01b039091169063441a3e7090610d54858561234a565b6040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b158015610d9157600080fd5b505af1158015610da5573d6000803e3d6000fd5b5050600c54604080516370a0823160e01b815230600482015290516001600160a01b0390921693506370a082319250602480820192602092909190829003018186803b158015610df457600080fd5b505afa158015610e08573d6000803e3d6000fd5b505050506040513d6020811015610e1e57600080fd5b505190505b81811115610e2e5750805b610e366114ed565b6001600160a01b0316326001600160a01b03161480610e585750610e58611253565b15610e7f57600454600c54610e7a916001600160a01b039182169116836123ac565b610ed4565b6000610ea2612710610e9c600654856123fe90919063ffffffff16565b90612457565b600454909150610ed2906001600160a01b0316610ebf848461234a565b600c546001600160a01b031691906123ac565b505b5050565b60606017805480602002602001604051908101604052809291908181526020018280548015610ac7576020028201919060005260206000209081546001600160a01b03168152600190910190602001808311610aa9575050505050905090565b600f5481565b610f466114ed565b6001600160a01b0316336001600160a01b03161480610f6f57506001546001600160a01b031633145b610fab576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b610fb36124be565b610fbb612561565b610fc3611951565b565b60095460ff161561109357600960019054906101000a90046001600160a01b03166001600160a01b0316633de39c116040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561102057600080fd5b505af1158015611034573d6000803e3d6000fd5b505050506040513d602081101561104a57600080fd5b50513a1115611093576040805162461bcd60e51b815260206004820152601060248201526f67617320697320746f6f20686967682160801b604482015290519081900360640190fd5b610fc3326121c2565b6110a46114ed565b6001600160a01b0316336001600160a01b031614806110cd57506001546001600160a01b031633145b611109576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b611111611461565b600e54600f5460408051632989754760e11b81526004810192909252516001600160a01b0390921691635312ea8e9160248082019260009290919082900301818387803b15801561116157600080fd5b505af1158015611175573d6000803e3d6000fd5b50505050565b60115481565b61271081565b60135460ff1615610fc3576004546001600160a01b03163314611093576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b6111e26114ed565b6001600160a01b0316336001600160a01b0316148061120b57506001546001600160a01b031633145b611247576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b610ed2601583836133f4565b600054600160a01b900460ff1690565b61126b6125dd565b6001600160a01b031661127c6114ed565b6001600160a01b0316146112c5576040805162461bcd60e51b81526020600482018190526024820152600080516020613592833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b60095461010090046001600160a01b031681565b6113036125dd565b6001600160a01b03166113146114ed565b6001600160a01b03161461135d576040805162461bcd60e51b81526020600482018190526024820152600080516020613592833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60006113c26113b46109d9565b6113bc611857565b906125e1565b905090565b6113cf6114ed565b6001600160a01b0316336001600160a01b031614806113f857506001546001600160a01b031633145b611434576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60125481565b607081565b6114696114ed565b6001600160a01b0316336001600160a01b0316148061149257506001546001600160a01b031633145b6114ce576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b6114d661263b565b610fc36126c4565b60135460ff1681565b60065481565b6000546001600160a01b031690565b6005546001600160a01b031681565b60075481565b60008061151c611b8b565b9050600081156116aa576003546040805163d06ca61f60e01b8152600481018581526024820192835260168054604484018190526001600160a01b039095169463d06ca61f9488949293929091606490910190849080156115a657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611588575b5050935050505060006040518083038186803b1580156115c557600080fd5b505afa92505050801561168557506040513d6000823e601f3d908101601f1916820160405260208110156115f857600080fd5b8101908080516040519392919084600160201b82111561161757600080fd5b90830190602082018581111561162c57600080fd5b82518660208202830111600160201b8211171561164857600080fd5b82525081516020918201928201910280838360005b8381101561167557818101518382015260200161165d565b5050505090500160405250505060015b61168e576116aa565b8060018251038151811061169e57fe5b60200260200101519150505b6116d66103e8610e9c6007546116d06103e8610e9c602d886123fe90919063ffffffff16565b906123fe565b9250505090565b60095460ff1681565b6116ee6125dd565b6001600160a01b03166116ff6114ed565b6001600160a01b031614611748576040805162461bcd60e51b81526020600482018190526024820152600080516020613592833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6117726114ed565b6001600160a01b0316336001600160a01b0316148061179b57506001546001600160a01b031633145b6117d7576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b6032811115611816576040805162461bcd60e51b815260206004808301919091526024820152630216361760e41b604482015290519081900360640190fd5b600655565b6001546001600160a01b031681565b6103e881565b6016818154811061183d57fe5b6000918252602090912001546001600160a01b0316905081565b600c54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156118a257600080fd5b505afa1580156118b6573d6000803e3d6000fd5b505050506040513d60208110156118cc57600080fd5b5051905090565b6002546001600160a01b03163314611920576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600d546001600160a01b031681565b611959611253565b1561199e576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600c54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156119e957600080fd5b505afa1580156119fd573d6000803e3d6000fd5b505050506040513d6020811015611a1357600080fd5b50519050801561093857600e54600f5460408051631c57762b60e31b8152600481019290925260248201849052516001600160a01b039092169163e2bbb1589160448082019260009290919082900301818387803b158015611a7457600080fd5b505af1158015611a88573d6000803e3d6000fd5b5050505050565b60085481565b611a9d6114ed565b6001600160a01b0316336001600160a01b03161480611ac657506001546001600160a01b031633145b611093576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b611b0a6125dd565b6001600160a01b0316611b1b6114ed565b6001600160a01b031614611b64576040805162461bcd60e51b81526020600482018190526024820152600080516020613592833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b603281565b60158054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152600093606093611c4e93830182828015611c1a5780601f10611bef57610100808354040283529160200191611c1a565b820191906000526020600020905b815481529060010190602001808311611bfd57829003601f168201915b5050505050604051806040016040528060118152602001702875696e743235362c616464726573732960781b81525061273c565b600e54600f5460408051602481019290925230604480840191909152815180840390910181526064909201908190528351939450606093611d12936001600160a01b031692918691819060208401908083835b60208310611cc05780518252601f199092019160209182019101611ca1565b51815160209384036101000a600019018019909216911617905260405191909301819003902091850180516001600160e01b03199093166001600160e01b0390931692909217909152506127f7915050565b9050808060200190516020811015611d2957600080fd5b50519250505090565b60145481565b600b546001600160a01b031681565b611d4f6125dd565b6001600160a01b0316611d606114ed565b6001600160a01b031614611da9576040805162461bcd60e51b81526020600482018190526024820152600080516020613592833981519152604482015290519081900360640190fd5b6001600160a01b038116611dee5760405162461bcd60e51b81526004018080602001828103825260268152602001806135006026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b611e516114ed565b6001600160a01b0316336001600160a01b03161480611e7a57506001546001600160a01b031633145b611eb6576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b6009805460ff1916911515919091179055565b6004546001600160a01b03163314611f11576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b600e54600f5460408051632989754760e11b81526004810192909252516001600160a01b0390921691635312ea8e9160248082019260009290919082900301818387803b158015611f6157600080fd5b505af1158015611f75573d6000803e3d6000fd5b5050600c54604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b158015611fc657600080fd5b505afa158015611fda573d6000803e3d6000fd5b505050506040513d6020811015611ff057600080fd5b5051600c54600480546040805163a9059cbb60e01b81526001600160a01b039283169381019390935260248301859052519394509091169163a9059cbb916044808201926020929091908290030181600087803b15801561205057600080fd5b505af1158015612064573d6000803e3d6000fd5b505050506040513d6020811015610ed257600080fd5b6004546001600160a01b031681565b6017818154811061183d57fe5b80158061211c575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156120ee57600080fd5b505afa158015612102573d6000803e3d6000fd5b505050506040513d602081101561211857600080fd5b5051155b6121575760405162461bcd60e51b81526004018080602001828103825260368152602001806136006036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610ed290849061281c565b60606121b884846000856128cd565b90505b9392505050565b6121ca611253565b1561220f576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600e54600f5460408051631c57762b60e31b8152600481019290925260006024830181905290516001600160a01b039093169263e2bbb15892604480820193929182900301818387803b15801561226557600080fd5b505af1158015612279573d6000803e3d6000fd5b5050600b54604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b1580156122ca57600080fd5b505afa1580156122de573d6000803e3d6000fd5b505050506040513d60208110156122f457600080fd5b505190508015610ed45761230782612a29565b61230f612d6a565b612317611951565b4260145560405133907f577a37fdb49a88d66684922c6f913df5239b4f214b2b97c53ef8e3bbb2034cb590600090a25050565b6000828211156123a1576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b508082035b92915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ed290849061281c565b60008261240d575060006123a6565b8282028284828161241a57fe5b04146121bb5760405162461bcd60e51b81526004018080602001828103825260218152602001806135716021913960400191505060405180910390fd5b60008082116124ad576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816124b657fe5b049392505050565b6124c6611253565b61250e576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6125446125dd565b604080516001600160a01b039092168252519081900360200190a1565b600e54600c54612580916001600160a01b039182169116600019612096565b600354600b5461259f916001600160a01b039182169116600019612096565b600354600a546125be916001600160a01b039182169116600019612096565b601054600d54610fc3916001600160a01b039182169116600019612096565b3390565b6000828201838110156121bb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b612643611253565b15612688576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125446125dd565b600e54600c546126e2916001600160a01b0391821691166000612096565b600354600b54612700916001600160a01b0391821691166000612096565b600354600a5461271e916001600160a01b0391821691166000612096565b601054600d54610fc3916001600160a01b0391821691166000612096565b606082826040516020018083805190602001908083835b602083106127725780518252601f199092019160209182019101612753565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106127ba5780518252601f19909201916020918201910161279b565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052905092915050565b60606121bb838360405180606001604052806025815260200161354c60259139613247565b6060612871826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166121a99092919063ffffffff16565b805190915015610ed25780806020019051602081101561289057600080fd5b5051610ed25760405162461bcd60e51b815260040180806020018281038252602a8152602001806135d6602a913960400191505060405180910390fd5b60608247101561290e5760405162461bcd60e51b81526004018080602001828103825260268152602001806135266026913960400191505060405180910390fd5b6129178561334a565b612968576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106129a75780518252601f199092019160209182019101612988565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612a09576040519150601f19603f3d011682016040523d82523d6000602084013e612a0e565b606091505b5091509150612a1e828286613350565b979650505050505050565b600b54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015612a7457600080fd5b505afa158015612a88573d6000803e3d6000fd5b505050506040513d6020811015612a9e57600080fd5b50516003546040516338ed173960e01b8152600481018381526000602483018190523060648401819052426084850181905260a0604486019081526016805460a488018190529899506001600160a01b03909716976338ed1739978a979596909590929160c49091019086908015612b3f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612b21575b50509650505050505050600060405180830381600087803b158015612b6357600080fd5b505af1158015612b77573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612ba057600080fd5b8101908080516040519392919084600160201b821115612bbf57600080fd5b908301906020820185811115612bd457600080fd5b82518660208202830111600160201b82111715612bf057600080fd5b82525081516020918201928201910280838360005b83811015612c1d578181015183820152602001612c05565b50505050919091016040818152600a546370a0823160e01b8352306004840152905160009750612cb996506103e89550610e9c9450602d93506001600160a01b03909116916370a08231916024808301926020929190829003018186803b158015612c8757600080fd5b505afa158015612c9b573d6000803e3d6000fd5b505050506040513d6020811015612cb157600080fd5b5051906123fe565b90506000612cd86103e8610e9c600754856123fe90919063ffffffff16565b600a54909150612cf2906001600160a01b031685836123ac565b6000612d0f6103e8610e9c600854866123fe90919063ffffffff16565b600554600a54919250612d2f916001600160a01b039081169116836123ac565b6000612d426103e8610e9c8660706123fe565b600254600a54919250612d62916001600160a01b039081169116836123ac565b505050505050565b600a54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015612db557600080fd5b505afa158015612dc9573d6000803e3d6000fd5b505050506040513d6020811015612ddf57600080fd5b5051600a54600d549192506001600160a01b03918216911614612f83576003546040516338ed173960e01b8152600481018381526000602483018190523060648401819052426084850181905260a0604486019081526017805460a488018190526001600160a01b03909816976338ed1739978a97929594939160c49091019086908015612e9657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612e78575b50509650505050505050600060405180830381600087803b158015612eba57600080fd5b505af1158015612ece573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612ef757600080fd5b8101908080516040519392919084600160201b821115612f1657600080fd5b908301906020820185811115612f2b57600080fd5b82518660208202830111600160201b82111715612f4757600080fd5b82525081516020918201928201910280838360005b83811015612f74578181015183820152602001612f5c565b50505050905001604052505050505b600d54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015612fce57600080fd5b505afa158015612fe2573d6000803e3d6000fd5b505050506040513d6020811015612ff857600080fd5b5051601154909150600214156130bc57613010613472565b81816012546002811061301f57fe5b602002015260105460408051630b4c7e4d60e01b81526001600160a01b0390921691630b4c7e4d91849160009160049091019081908490808383875b8381101561307357818101518382015260200161305b565b5050505090500182815260200192505050600060405180830381600087803b15801561309e57600080fd5b505af11580156130b2573d6000803e3d6000fd5b5050505050610ed4565b60115460031415613125576130cf613490565b8181601254600381106130de57fe5b6020020152601054604051634515cef360e01b81526001600160a01b0390911690634515cef39083906000906004018083606080838387818101518382015260200161305b565b6011546004141561318d576131386134ae565b81816012546004811061314757fe5b602002015260105460405162a6cbcd60e21b81526001600160a01b039091169063029b2f349083906000906004018083608080838387818101518382015260200161305b565b60115460051415610ed4576131a06134cc565b8181601254600581106131af57fe5b6020020152601054604051638473849960e01b81526001600160a01b03909116906384738499908390600090600401808360a0808383875b838110156131ff5781810151838201526020016131e7565b5050505090500182815260200192505050600060405180830381600087803b15801561322a57600080fd5b505af115801561323e573d6000803e3d6000fd5b50505050505050565b60606132528461334a565b61328d5760405162461bcd60e51b81526004018080602001828103825260248152602001806135b26024913960400191505060405180910390fd5b60006060856001600160a01b0316856040518082805190602001908083835b602083106132cb5780518252601f1990920191602091820191016132ac565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d806000811461332b576040519150601f19603f3d011682016040523d82523d6000602084013e613330565b606091505b5091509150613340828286613350565b9695505050505050565b3b151590565b6060831561335f5750816121bb565b82511561336f5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156133b95781810151838201526020016133a1565b50505050905090810190601f1680156133e65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106134355782800160ff19823516178555613462565b82800160010185558215613462579182015b82811115613462578235825591602001919060010190613447565b5061346e9291506134ea565b5090565b60405180604001604052806002906020820280368337509192915050565b60405180606001604052806003906020820280368337509192915050565b60405180608001604052806004906020820280368337509192915050565b6040518060a001604052806005906020820280368337509192915050565b5b8082111561346e57600081556001016134eb56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a264697066735822122033ce88895ff82305f6fcc57e6a328362c2565285c845b35e01ca38f4e3f0754a64736f6c634300060c0033416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5f6e6174697665546f4465706f736974526f7574655b305d20213d206e61746976655361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000000030df229cefa463e991e29d42db0bae2e122b2ac70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000839de324a1ab773f76a53900d70ac1b913d2b38700000000000000000000000030df229cefa463e991e29d42db0bae2e122b2ac70000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000da2307a45d298e855415675bf388e2bd64351d5b0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b4799750600000000000000000000000010aee6b5594942433e7fc2783598c979b030ef3d000000000000000000000000982f264ce97365864181df65df4931c593a515ad000000000000000000000000abcf33106937ba7f53986f2c339dd7f1953ce13600000000000000000000000000000000000000000000000000000000000000020000000000000000000000003e6648c5a70a150a88bce65f4ad4d506fe15d2af00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1000000000000000000000000000000000000000000000000000000000000000200000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1000000000000000000000000fea7a6a0b346362bf88a9e4a88416b77a57d6c2a
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103a45760003560e01c80637d38ca65116101e9578063c7b9d5301161010f578063e7a7250a116100ad578063fad4675e1161007c578063fad4675e14610815578063fb61778714610834578063fbfa77cf1461083c578063fc167fc614610844576103a4565b8063e7a7250a146107d7578063f1a392da146107df578063f20eaeb8146107e7578063f2fde38b146107ef576103a4565b8063d3102589116100e9578063d310258914610799578063d801d946146107a1578063d92f3d73146107a9578063dfbdc437146107cf576103a4565b8063c7b9d53014610763578063c89039c514610789578063d0e30db014610791576103a4565b806397fd323d11610187578063aced166111610156578063aced16611461072e578063bc063e1a14610736578063be12a9781461073e578063c1a3d44c1461075b576103a4565b806397fd323d146106db5780639f8b5da1146106e3578063a68833e5146106eb578063ac1e502514610711576103a4565b80638bc7e8c4116101c35780638bc7e8c4146106bb5780638da5cb5b146106c35780638e145459146106cb57806390321e1a146106d3576103a4565b80637d38ca65146106a35780638456cb59146106ab5780638912cb8b146106b3576103a4565b80633e0dc34e116102ce57806359e791381161026c578063715018a61161023b578063715018a614610665578063722713f71461066d578063748747e6146106755780637b8989391461069b576103a4565b806359e79138146105ad5780635c975abb1461061b5780636817031b146106375780636ec232d31461065d576103a4565b80634700d305116102a85780634700d3051461058d5780634ec18db91461059557806354518b1a1461059d578063573fef0a146105a5576103a4565b80633e0dc34e146105755780633f4ba83a1461057d5780634641257d14610585576103a4565b80631fc8bc5d11610346578063277e5cfd11610315578063277e5cfd146104cb5780632ad5a53f146105485780632e1a7d4d146105505780633c1deb531461056d576103a4565b80631fc8bc5d146104965780631fe4a6861461049e578063257ae0de146104a657806326465826146104ae576103a4565b806311b0b42d1161038257806311b0b42d1461040a57806313e120b11461042e57806316f0115b146104865780631f1fcd511461048e576103a4565b80630e5c011e146103a95780630e8fbb5a146103d157806311588086146103f0575b600080fd5b6103cf600480360360208110156103bf57600080fd5b50356001600160a01b0316610861565b005b6103cf600480360360208110156103e757600080fd5b5035151561093b565b6103f86109d9565b60408051918252519081900360200190f35b610412610a60565b604080516001600160a01b039092168252519081900360200190f35b610436610a6f565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561047257818101518382015260200161045a565b505050509050019250505060405180910390f35b610412610ad1565b610412610ae0565b610412610aef565b610412610afe565b610412610b0d565b6103cf600480360360208110156104c457600080fd5b5035610b1c565b6104d3610bd6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561050d5781810151838201526020016104f5565b50505050905090810190601f16801561053a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103f8610c64565b6103cf6004803603602081101561056657600080fd5b5035610c69565b610436610ed8565b6103f8610f38565b6103cf610f3e565b6103cf610fc5565b6103cf61109c565b6103f861117b565b6103f8611181565b6103cf611187565b6103cf600480360360208110156105c357600080fd5b810190602081018135600160201b8111156105dd57600080fd5b8201836020820111156105ef57600080fd5b803590602001918460018302840111600160201b8311171561061057600080fd5b5090925090506111da565b610623611253565b604080519115158252519081900360200190f35b6103cf6004803603602081101561064d57600080fd5b50356001600160a01b0316611263565b6104126112e7565b6103cf6112fb565b6103f86113a7565b6103cf6004803603602081101561068b57600080fd5b50356001600160a01b03166113c7565b6103f8611456565b6103f861145c565b6103cf611461565b6106236114de565b6103f86114e7565b6104126114ed565b6104126114fc565b6103f861150b565b6103f8611511565b6106236116dd565b6103cf6004803603602081101561070157600080fd5b50356001600160a01b03166116e6565b6103cf6004803603602081101561072757600080fd5b503561176a565b61041261181b565b6103f861182a565b6104126004803603602081101561075457600080fd5b5035611830565b6103f8611857565b6103cf6004803603602081101561077957600080fd5b50356001600160a01b03166118d3565b610412611942565b6103cf611951565b6103f8611a8f565b6103cf611a95565b6103cf600480360360208110156107bf57600080fd5b50356001600160a01b0316611b02565b6103f8611b86565b6103f8611b8b565b6103f8611d32565b610412611d38565b6103cf6004803603602081101561080557600080fd5b50356001600160a01b0316611d47565b6103cf6004803603602081101561082b57600080fd5b50351515611e49565b6103cf611ec9565b61041261207a565b6104126004803603602081101561085a57600080fd5b5035612089565b60095460ff161561092f57600960019054906101000a90046001600160a01b03166001600160a01b0316633de39c116040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156108bc57600080fd5b505af11580156108d0573d6000803e3d6000fd5b505050506040513d60208110156108e657600080fd5b50513a111561092f576040805162461bcd60e51b815260206004820152601060248201526f67617320697320746f6f20686967682160801b604482015290519081900360640190fd5b610938816121c2565b50565b6109436114ed565b6001600160a01b0316336001600160a01b0316148061096c57506001546001600160a01b031633145b6109a8576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b6013805460ff1916821515179081905560ff16156109cf576109ca600061176a565b610938565b610938600a61176a565b600e54600f54604080516393f1a40b60e01b81526004810192909252306024830152805160009384936001600160a01b03909116926393f1a40b92604480840193829003018186803b158015610a2e57600080fd5b505afa158015610a42573d6000803e3d6000fd5b505050506040513d6040811015610a5857600080fd5b505191505090565b600a546001600160a01b031681565b60606016805480602002602001604051908101604052809291908181526020018280548015610ac757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610aa9575b5050505050905090565b6010546001600160a01b031681565b600c546001600160a01b031681565b600e546001600160a01b031681565b6002546001600160a01b031681565b6003546001600160a01b031681565b610b246114ed565b6001600160a01b0316336001600160a01b03161480610b4d57506001546001600160a01b031633145b610b89576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b606f811115610bc8576040805162461bcd60e51b815260206004808301919091526024820152630216361760e41b604482015290519081900360640190fd5b600781905561037803600855565b6015805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610c5c5780601f10610c3157610100808354040283529160200191610c5c565b820191906000526020600020905b815481529060010190602001808311610c3f57829003601f168201915b505050505081565b606f81565b6004546001600160a01b03163314610cb1576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b600c54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610cfc57600080fd5b505afa158015610d10573d6000803e3d6000fd5b505050506040513d6020811015610d2657600080fd5b5051905081811015610e2357600e54600f546001600160a01b039091169063441a3e7090610d54858561234a565b6040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b158015610d9157600080fd5b505af1158015610da5573d6000803e3d6000fd5b5050600c54604080516370a0823160e01b815230600482015290516001600160a01b0390921693506370a082319250602480820192602092909190829003018186803b158015610df457600080fd5b505afa158015610e08573d6000803e3d6000fd5b505050506040513d6020811015610e1e57600080fd5b505190505b81811115610e2e5750805b610e366114ed565b6001600160a01b0316326001600160a01b03161480610e585750610e58611253565b15610e7f57600454600c54610e7a916001600160a01b039182169116836123ac565b610ed4565b6000610ea2612710610e9c600654856123fe90919063ffffffff16565b90612457565b600454909150610ed2906001600160a01b0316610ebf848461234a565b600c546001600160a01b031691906123ac565b505b5050565b60606017805480602002602001604051908101604052809291908181526020018280548015610ac7576020028201919060005260206000209081546001600160a01b03168152600190910190602001808311610aa9575050505050905090565b600f5481565b610f466114ed565b6001600160a01b0316336001600160a01b03161480610f6f57506001546001600160a01b031633145b610fab576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b610fb36124be565b610fbb612561565b610fc3611951565b565b60095460ff161561109357600960019054906101000a90046001600160a01b03166001600160a01b0316633de39c116040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561102057600080fd5b505af1158015611034573d6000803e3d6000fd5b505050506040513d602081101561104a57600080fd5b50513a1115611093576040805162461bcd60e51b815260206004820152601060248201526f67617320697320746f6f20686967682160801b604482015290519081900360640190fd5b610fc3326121c2565b6110a46114ed565b6001600160a01b0316336001600160a01b031614806110cd57506001546001600160a01b031633145b611109576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b611111611461565b600e54600f5460408051632989754760e11b81526004810192909252516001600160a01b0390921691635312ea8e9160248082019260009290919082900301818387803b15801561116157600080fd5b505af1158015611175573d6000803e3d6000fd5b50505050565b60115481565b61271081565b60135460ff1615610fc3576004546001600160a01b03163314611093576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b6111e26114ed565b6001600160a01b0316336001600160a01b0316148061120b57506001546001600160a01b031633145b611247576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b610ed2601583836133f4565b600054600160a01b900460ff1690565b61126b6125dd565b6001600160a01b031661127c6114ed565b6001600160a01b0316146112c5576040805162461bcd60e51b81526020600482018190526024820152600080516020613592833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b60095461010090046001600160a01b031681565b6113036125dd565b6001600160a01b03166113146114ed565b6001600160a01b03161461135d576040805162461bcd60e51b81526020600482018190526024820152600080516020613592833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60006113c26113b46109d9565b6113bc611857565b906125e1565b905090565b6113cf6114ed565b6001600160a01b0316336001600160a01b031614806113f857506001546001600160a01b031633145b611434576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60125481565b607081565b6114696114ed565b6001600160a01b0316336001600160a01b0316148061149257506001546001600160a01b031633145b6114ce576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b6114d661263b565b610fc36126c4565b60135460ff1681565b60065481565b6000546001600160a01b031690565b6005546001600160a01b031681565b60075481565b60008061151c611b8b565b9050600081156116aa576003546040805163d06ca61f60e01b8152600481018581526024820192835260168054604484018190526001600160a01b039095169463d06ca61f9488949293929091606490910190849080156115a657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611588575b5050935050505060006040518083038186803b1580156115c557600080fd5b505afa92505050801561168557506040513d6000823e601f3d908101601f1916820160405260208110156115f857600080fd5b8101908080516040519392919084600160201b82111561161757600080fd5b90830190602082018581111561162c57600080fd5b82518660208202830111600160201b8211171561164857600080fd5b82525081516020918201928201910280838360005b8381101561167557818101518382015260200161165d565b5050505090500160405250505060015b61168e576116aa565b8060018251038151811061169e57fe5b60200260200101519150505b6116d66103e8610e9c6007546116d06103e8610e9c602d886123fe90919063ffffffff16565b906123fe565b9250505090565b60095460ff1681565b6116ee6125dd565b6001600160a01b03166116ff6114ed565b6001600160a01b031614611748576040805162461bcd60e51b81526020600482018190526024820152600080516020613592833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6117726114ed565b6001600160a01b0316336001600160a01b0316148061179b57506001546001600160a01b031633145b6117d7576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b6032811115611816576040805162461bcd60e51b815260206004808301919091526024820152630216361760e41b604482015290519081900360640190fd5b600655565b6001546001600160a01b031681565b6103e881565b6016818154811061183d57fe5b6000918252602090912001546001600160a01b0316905081565b600c54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156118a257600080fd5b505afa1580156118b6573d6000803e3d6000fd5b505050506040513d60208110156118cc57600080fd5b5051905090565b6002546001600160a01b03163314611920576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600d546001600160a01b031681565b611959611253565b1561199e576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600c54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156119e957600080fd5b505afa1580156119fd573d6000803e3d6000fd5b505050506040513d6020811015611a1357600080fd5b50519050801561093857600e54600f5460408051631c57762b60e31b8152600481019290925260248201849052516001600160a01b039092169163e2bbb1589160448082019260009290919082900301818387803b158015611a7457600080fd5b505af1158015611a88573d6000803e3d6000fd5b5050505050565b60085481565b611a9d6114ed565b6001600160a01b0316336001600160a01b03161480611ac657506001546001600160a01b031633145b611093576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b611b0a6125dd565b6001600160a01b0316611b1b6114ed565b6001600160a01b031614611b64576040805162461bcd60e51b81526020600482018190526024820152600080516020613592833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b603281565b60158054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152600093606093611c4e93830182828015611c1a5780601f10611bef57610100808354040283529160200191611c1a565b820191906000526020600020905b815481529060010190602001808311611bfd57829003601f168201915b5050505050604051806040016040528060118152602001702875696e743235362c616464726573732960781b81525061273c565b600e54600f5460408051602481019290925230604480840191909152815180840390910181526064909201908190528351939450606093611d12936001600160a01b031692918691819060208401908083835b60208310611cc05780518252601f199092019160209182019101611ca1565b51815160209384036101000a600019018019909216911617905260405191909301819003902091850180516001600160e01b03199093166001600160e01b0390931692909217909152506127f7915050565b9050808060200190516020811015611d2957600080fd5b50519250505090565b60145481565b600b546001600160a01b031681565b611d4f6125dd565b6001600160a01b0316611d606114ed565b6001600160a01b031614611da9576040805162461bcd60e51b81526020600482018190526024820152600080516020613592833981519152604482015290519081900360640190fd5b6001600160a01b038116611dee5760405162461bcd60e51b81526004018080602001828103825260268152602001806135006026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b611e516114ed565b6001600160a01b0316336001600160a01b03161480611e7a57506001546001600160a01b031633145b611eb6576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b6009805460ff1916911515919091179055565b6004546001600160a01b03163314611f11576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b600e54600f5460408051632989754760e11b81526004810192909252516001600160a01b0390921691635312ea8e9160248082019260009290919082900301818387803b158015611f6157600080fd5b505af1158015611f75573d6000803e3d6000fd5b5050600c54604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b158015611fc657600080fd5b505afa158015611fda573d6000803e3d6000fd5b505050506040513d6020811015611ff057600080fd5b5051600c54600480546040805163a9059cbb60e01b81526001600160a01b039283169381019390935260248301859052519394509091169163a9059cbb916044808201926020929091908290030181600087803b15801561205057600080fd5b505af1158015612064573d6000803e3d6000fd5b505050506040513d6020811015610ed257600080fd5b6004546001600160a01b031681565b6017818154811061183d57fe5b80158061211c575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156120ee57600080fd5b505afa158015612102573d6000803e3d6000fd5b505050506040513d602081101561211857600080fd5b5051155b6121575760405162461bcd60e51b81526004018080602001828103825260368152602001806136006036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610ed290849061281c565b60606121b884846000856128cd565b90505b9392505050565b6121ca611253565b1561220f576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600e54600f5460408051631c57762b60e31b8152600481019290925260006024830181905290516001600160a01b039093169263e2bbb15892604480820193929182900301818387803b15801561226557600080fd5b505af1158015612279573d6000803e3d6000fd5b5050600b54604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b1580156122ca57600080fd5b505afa1580156122de573d6000803e3d6000fd5b505050506040513d60208110156122f457600080fd5b505190508015610ed45761230782612a29565b61230f612d6a565b612317611951565b4260145560405133907f577a37fdb49a88d66684922c6f913df5239b4f214b2b97c53ef8e3bbb2034cb590600090a25050565b6000828211156123a1576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b508082035b92915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ed290849061281c565b60008261240d575060006123a6565b8282028284828161241a57fe5b04146121bb5760405162461bcd60e51b81526004018080602001828103825260218152602001806135716021913960400191505060405180910390fd5b60008082116124ad576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816124b657fe5b049392505050565b6124c6611253565b61250e576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6125446125dd565b604080516001600160a01b039092168252519081900360200190a1565b600e54600c54612580916001600160a01b039182169116600019612096565b600354600b5461259f916001600160a01b039182169116600019612096565b600354600a546125be916001600160a01b039182169116600019612096565b601054600d54610fc3916001600160a01b039182169116600019612096565b3390565b6000828201838110156121bb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b612643611253565b15612688576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125446125dd565b600e54600c546126e2916001600160a01b0391821691166000612096565b600354600b54612700916001600160a01b0391821691166000612096565b600354600a5461271e916001600160a01b0391821691166000612096565b601054600d54610fc3916001600160a01b0391821691166000612096565b606082826040516020018083805190602001908083835b602083106127725780518252601f199092019160209182019101612753565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106127ba5780518252601f19909201916020918201910161279b565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052905092915050565b60606121bb838360405180606001604052806025815260200161354c60259139613247565b6060612871826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166121a99092919063ffffffff16565b805190915015610ed25780806020019051602081101561289057600080fd5b5051610ed25760405162461bcd60e51b815260040180806020018281038252602a8152602001806135d6602a913960400191505060405180910390fd5b60608247101561290e5760405162461bcd60e51b81526004018080602001828103825260268152602001806135266026913960400191505060405180910390fd5b6129178561334a565b612968576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106129a75780518252601f199092019160209182019101612988565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612a09576040519150601f19603f3d011682016040523d82523d6000602084013e612a0e565b606091505b5091509150612a1e828286613350565b979650505050505050565b600b54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015612a7457600080fd5b505afa158015612a88573d6000803e3d6000fd5b505050506040513d6020811015612a9e57600080fd5b50516003546040516338ed173960e01b8152600481018381526000602483018190523060648401819052426084850181905260a0604486019081526016805460a488018190529899506001600160a01b03909716976338ed1739978a979596909590929160c49091019086908015612b3f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612b21575b50509650505050505050600060405180830381600087803b158015612b6357600080fd5b505af1158015612b77573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612ba057600080fd5b8101908080516040519392919084600160201b821115612bbf57600080fd5b908301906020820185811115612bd457600080fd5b82518660208202830111600160201b82111715612bf057600080fd5b82525081516020918201928201910280838360005b83811015612c1d578181015183820152602001612c05565b50505050919091016040818152600a546370a0823160e01b8352306004840152905160009750612cb996506103e89550610e9c9450602d93506001600160a01b03909116916370a08231916024808301926020929190829003018186803b158015612c8757600080fd5b505afa158015612c9b573d6000803e3d6000fd5b505050506040513d6020811015612cb157600080fd5b5051906123fe565b90506000612cd86103e8610e9c600754856123fe90919063ffffffff16565b600a54909150612cf2906001600160a01b031685836123ac565b6000612d0f6103e8610e9c600854866123fe90919063ffffffff16565b600554600a54919250612d2f916001600160a01b039081169116836123ac565b6000612d426103e8610e9c8660706123fe565b600254600a54919250612d62916001600160a01b039081169116836123ac565b505050505050565b600a54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015612db557600080fd5b505afa158015612dc9573d6000803e3d6000fd5b505050506040513d6020811015612ddf57600080fd5b5051600a54600d549192506001600160a01b03918216911614612f83576003546040516338ed173960e01b8152600481018381526000602483018190523060648401819052426084850181905260a0604486019081526017805460a488018190526001600160a01b03909816976338ed1739978a97929594939160c49091019086908015612e9657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612e78575b50509650505050505050600060405180830381600087803b158015612eba57600080fd5b505af1158015612ece573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612ef757600080fd5b8101908080516040519392919084600160201b821115612f1657600080fd5b908301906020820185811115612f2b57600080fd5b82518660208202830111600160201b82111715612f4757600080fd5b82525081516020918201928201910280838360005b83811015612f74578181015183820152602001612f5c565b50505050905001604052505050505b600d54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015612fce57600080fd5b505afa158015612fe2573d6000803e3d6000fd5b505050506040513d6020811015612ff857600080fd5b5051601154909150600214156130bc57613010613472565b81816012546002811061301f57fe5b602002015260105460408051630b4c7e4d60e01b81526001600160a01b0390921691630b4c7e4d91849160009160049091019081908490808383875b8381101561307357818101518382015260200161305b565b5050505090500182815260200192505050600060405180830381600087803b15801561309e57600080fd5b505af11580156130b2573d6000803e3d6000fd5b5050505050610ed4565b60115460031415613125576130cf613490565b8181601254600381106130de57fe5b6020020152601054604051634515cef360e01b81526001600160a01b0390911690634515cef39083906000906004018083606080838387818101518382015260200161305b565b6011546004141561318d576131386134ae565b81816012546004811061314757fe5b602002015260105460405162a6cbcd60e21b81526001600160a01b039091169063029b2f349083906000906004018083608080838387818101518382015260200161305b565b60115460051415610ed4576131a06134cc565b8181601254600581106131af57fe5b6020020152601054604051638473849960e01b81526001600160a01b03909116906384738499908390600090600401808360a0808383875b838110156131ff5781810151838201526020016131e7565b5050505090500182815260200192505050600060405180830381600087803b15801561322a57600080fd5b505af115801561323e573d6000803e3d6000fd5b50505050505050565b60606132528461334a565b61328d5760405162461bcd60e51b81526004018080602001828103825260248152602001806135b26024913960400191505060405180910390fd5b60006060856001600160a01b0316856040518082805190602001908083835b602083106132cb5780518252601f1990920191602091820191016132ac565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d806000811461332b576040519150601f19603f3d011682016040523d82523d6000602084013e613330565b606091505b5091509150613340828286613350565b9695505050505050565b3b151590565b6060831561335f5750816121bb565b82511561336f5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156133b95781810151838201526020016133a1565b50505050905090810190601f1680156133e65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106134355782800160ff19823516178555613462565b82800160010185558215613462579182015b82811115613462578235825591602001919060010190613447565b5061346e9291506134ea565b5090565b60405180604001604052806002906020820280368337509192915050565b60405180606001604052806003906020820280368337509192915050565b60405180608001604052806004906020820280368337509192915050565b6040518060a001604052806005906020820280368337509192915050565b5b8082111561346e57600081556001016134eb56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a264697066735822122033ce88895ff82305f6fcc57e6a328362c2565285c845b35e01ca38f4e3f0754a64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000030df229cefa463e991e29d42db0bae2e122b2ac70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000839de324a1ab773f76a53900d70ac1b913d2b38700000000000000000000000030df229cefa463e991e29d42db0bae2e122b2ac70000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000da2307a45d298e855415675bf388e2bd64351d5b0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b4799750600000000000000000000000010aee6b5594942433e7fc2783598c979b030ef3d000000000000000000000000982f264ce97365864181df65df4931c593a515ad000000000000000000000000abcf33106937ba7f53986f2c339dd7f1953ce13600000000000000000000000000000000000000000000000000000000000000020000000000000000000000003e6648c5a70a150a88bce65f4ad4d506fe15d2af00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1000000000000000000000000000000000000000000000000000000000000000200000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1000000000000000000000000fea7a6a0b346362bf88a9e4a88416b77a57d6c2a
-----Decoded View---------------
Arg [0] : _want (address): 0x30dF229cefa463e991e29D42DB0bae2e122B2AC7
Arg [1] : _poolId (uint256): 0
Arg [2] : _chef (address): 0x839De324a1ab773F76a53900D70Ac1B913d2B387
Arg [3] : _pool (address): 0x30dF229cefa463e991e29D42DB0bae2e122B2AC7
Arg [4] : _poolSize (uint256): 2
Arg [5] : _depositIndex (uint256): 0
Arg [6] : _outputToNativeRoute (address[]): 0x3E6648C5a70A150A88bCE65F4aD4d506Fe15d2AF,0x82aF49447D8a07e3bd95BD0d56f35241523fBab1
Arg [7] : _nativeToDepositRoute (address[]): 0x82aF49447D8a07e3bd95BD0d56f35241523fBab1,0xFEa7a6a0B346362BF88A9e4A88416B77a57D6c2A
Arg [8] : _vault (address): 0xDa2307A45D298e855415675bF388e2bd64351D5b
Arg [9] : _unirouter (address): 0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506
Arg [10] : _keeper (address): 0x10aee6B5594942433e7Fc2783598c979B030eF3D
Arg [11] : _strategist (address): 0x982F264ce97365864181df65dF4931C593A515ad
Arg [12] : _beefyFeeRecipient (address): 0xabCF33106937Ba7f53986F2c339Dd7F1953CE136
-----Encoded View---------------
19 Constructor Arguments found :
Arg [0] : 00000000000000000000000030df229cefa463e991e29d42db0bae2e122b2ac7
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 000000000000000000000000839de324a1ab773f76a53900d70ac1b913d2b387
Arg [3] : 00000000000000000000000030df229cefa463e991e29d42db0bae2e122b2ac7
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [8] : 000000000000000000000000da2307a45d298e855415675bf388e2bd64351d5b
Arg [9] : 0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b47997506
Arg [10] : 00000000000000000000000010aee6b5594942433e7fc2783598c979b030ef3d
Arg [11] : 000000000000000000000000982f264ce97365864181df65df4931c593a515ad
Arg [12] : 000000000000000000000000abcf33106937ba7f53986f2c339dd7f1953ce136
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [14] : 0000000000000000000000003e6648c5a70a150a88bce65f4ad4d506fe15d2af
Arg [15] : 00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [17] : 00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1
Arg [18] : 000000000000000000000000fea7a6a0b346362bf88a9e4a88416b77a57d6c2a
Deployed Bytecode Sourcemap
46976:9760:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50183:117;;;;;;;;;;;;;;;;-1:-1:-1;50183:117:0;-1:-1:-1;;;;;50183:117:0;;:::i;:::-;;54884:262;;;;;;;;;;;;;;;;-1:-1:-1;54884:262:0;;;;:::i;53319:169::-;;;:::i;:::-;;;;;;;;;;;;;;;;47142:21;;;:::i;:::-;;;;-1:-1:-1;;;;;47142:21:0;;;;;;;;;;;;;;56499:112;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47344:19;;;:::i;47198:::-;;;:::i;47290:::-;;;:::i;42707:25::-;;;:::i;42739:24::-;;;:::i;45635:200::-;;;;;;;;;;;;;;;;-1:-1:-1;45635:200:0;;:::i;47498:40::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45347:39;;;:::i;49155:736::-;;;;;;;;;;;;;;;;-1:-1:-1;49155:736:0;;:::i;56619:114::-;;;:::i;47316:21::-;;;:::i;55816:121::-;;;:::i;50089:86::-;;;:::i;55589:116::-;;;:::i;47370:20::-;;;:::i;45446:43::-;;;:::i;49899:182::-;;;:::i;53496:180::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53496:180:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53496:180:0;;;;;;;;;;-1:-1:-1;53496:180:0;;-1:-1:-1;53496:180:0;-1:-1:-1;53496:180:0;:::i;40995:86::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;44567;;;;;;;;;;;;;;;;-1:-1:-1;44567:86:0;-1:-1:-1;;;;;44567:86:0;;:::i;46584:77::-;;;:::i;39354:148::-;;;:::i;52937:113::-;;;:::i;43839:92::-;;;;;;;;;;;;;;;;-1:-1:-1;43839:92:0;-1:-1:-1;;;;;43839:92:0;;:::i;47397:24::-;;;:::i;45257:41::-;;;:::i;55713:95::-;;;:::i;47430:28::-;;;:::i;45498:30::-;;;:::i;38703:87::-;;;:::i;42797:32::-;;;:::i;45537:25::-;;;:::i;54224:511::-;;;:::i;46539:36::-;;;:::i;44788:134::-;;;;;;;;;;;;;;;;-1:-1:-1;44788:134:0;-1:-1:-1;;;;;44788:134:0;;:::i;45843:154::-;;;;;;;;;;;;;;;;-1:-1:-1;45843:154:0;;:::i;42679:21::-;;;:::i;45305:35::-;;;:::i;47562:36::-;;;;;;;;;;;;;;;;-1:-1:-1;47562:36:0;;:::i;53117:118::-;;;:::i;44076:155::-;;;;;;;;;;;;;;;;-1:-1:-1;44076:155:0;-1:-1:-1;;;;;44076:155:0;;:::i;47224:27::-;;;:::i;48935:212::-;;;:::i;45569:57::-;;;:::i;50308:85::-;;;:::i;44363:102::-;;;;;;;;;;;;;;;;-1:-1:-1;44363:102:0;-1:-1:-1;;;;;44363:102:0;;:::i;45395:44::-;;;:::i;53720:447::-;;;:::i;47465:26::-;;;:::i;47170:21::-;;;:::i;39657:244::-;;;;;;;;;;;;;;;;-1:-1:-1;39657:244:0;-1:-1:-1;;;;;39657:244:0;;:::i;54743:133::-;;;;;;;;;;;;;;;;-1:-1:-1;54743:133:0;;;;:::i;55246:261::-;;;:::i;42770:20::-;;;:::i;47605:37::-;;;;;;;;;;;;;;;;-1:-1:-1;47605:37:0;;:::i;50183:117::-;46708:17;;;;46704:127;;;46775:8;;;;;;;;;-1:-1:-1;;;;;46775:8:0;-1:-1:-1;;;;;46765:31:0;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46765:33:0;46750:11;:48;;46742:77;;;;;-1:-1:-1;;;46742:77:0;;;;;;;;;;;;-1:-1:-1;;;46742:77:0;;;;;;;;;;;;;;;50266:26:::1;50275:16;50266:8;:26::i;:::-;50183:117:::0;:::o;54884:262::-;43656:7;:5;:7::i;:::-;-1:-1:-1;;;;;43642:21:0;:10;-1:-1:-1;;;;;43642:21:0;;:45;;;-1:-1:-1;43681:6:0;;-1:-1:-1;;;;;43681:6:0;43667:10;:20;43642:45;43634:66;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;;;;54969:16:::1;:36:::0;;-1:-1:-1;;54969:36:0::1;::::0;::::1;;;::::0;;;;::::1;55022:16;55018:121;;;55055:19;55072:1;55055:16;:19::i;:::-;55018:121;;;55107:20;55124:2;55107:16;:20::i;53319:169::-:0;53418:4;;53433:6;;53406:49;;;-1:-1:-1;;;53406:49:0;;;;;;;;;53449:4;53406:49;;;;;;53365:7;;;;-1:-1:-1;;;;;53418:4:0;;;;53406:26;;:49;;;;;;;;;;53418:4;53406:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53406:49:0;;-1:-1:-1;;53319:169:0;:::o;47142:21::-;;;-1:-1:-1;;;;;47142:21:0;;:::o;56499:112::-;56548:16;56584:19;56577:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;56577:26:0;;;;;;;;;;;;;;;;;;;;;;;56499:112;:::o;47344:19::-;;;-1:-1:-1;;;;;47344:19:0;;:::o;47198:::-;;;-1:-1:-1;;;;;47198:19:0;;:::o;47290:::-;;;-1:-1:-1;;;;;47290:19:0;;:::o;42707:25::-;;;-1:-1:-1;;;;;42707:25:0;;:::o;42739:24::-;;;-1:-1:-1;;;;;42739:24:0;;:::o;45635:200::-;43656:7;:5;:7::i;:::-;-1:-1:-1;;;;;43642:21:0;:10;-1:-1:-1;;;;;43642:21:0;;:45;;;-1:-1:-1;43681:6:0;;-1:-1:-1;;;;;43681:6:0;43667:10;:20;43642:45;43634:66;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;;;;45383:3:::1;45707:4;:20;;45699:37;;;::::0;;-1:-1:-1;;;45699:37:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;45699:37:0;;;;;;;;;;;;;::::1;;45757:7;:14:::0;;;45793:24;:34:::1;45782:8;:45:::0;45635:200::o;47498:40::-;;;;;;;;;;;;;;;-1:-1:-1;;47498:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;45347:39::-;45383:3;45347:39;:::o;49155:736::-;49232:5;;-1:-1:-1;;;;;49232:5:0;49218:10;:19;49210:38;;;;;-1:-1:-1;;;49210:38:0;;;;;;;;;;;;-1:-1:-1;;;49210:38:0;;;;;;;;;;;;;;;49286:4;;49279:37;;;-1:-1:-1;;;49279:37:0;;49310:4;49279:37;;;;;;49261:15;;-1:-1:-1;;;;;49286:4:0;;49279:22;;:37;;;;;;;;;;;;;;49286:4;49279:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49279:37:0;;-1:-1:-1;49333:17:0;;;49329:168;;;49379:4;;49394:6;;-1:-1:-1;;;;;49379:4:0;;;;49367:26;;49402:20;:7;49414;49402:11;:20::i;:::-;49367:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49455:4:0;;49448:37;;;-1:-1:-1;;;49448:37:0;;49479:4;49448:37;;;;;;-1:-1:-1;;;;;49455:4:0;;;;-1:-1:-1;49448:22:0;;-1:-1:-1;49448:37:0;;;;;;;;;;;;;;;49455:4;49448:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49448:37:0;;-1:-1:-1;49329:168:0;49523:7;49513;:17;49509:67;;;-1:-1:-1;49557:7:0;49509:67;49605:7;:5;:7::i;:::-;-1:-1:-1;;;;;49592:20:0;:9;-1:-1:-1;;;;;49592:20:0;;:32;;;;49616:8;:6;:8::i;:::-;49588:296;;;49667:5;;49648:4;;49641:41;;-1:-1:-1;;;;;49648:4:0;;;;49667:5;49674:7;49641:25;:41::i;:::-;49588:296;;;49715:27;49745:46;45484:5;49745:26;49757:13;;49745:7;:11;;:26;;;;:::i;:::-;:30;;:46::i;:::-;49832:5;;49715:76;;-1:-1:-1;49806:66:0;;-1:-1:-1;;;;;49832:5:0;49839:32;:7;49715:76;49839:11;:32::i;:::-;49813:4;;-1:-1:-1;;;;;49813:4:0;;49806:66;:25;:66::i;:::-;49588:296;;49155:736;;:::o;56619:114::-;56669:16;56705:20;56698:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;56698:27:0;;;;;;;;;;;;;;;;;;;;;;56619:114;:::o;47316:21::-;;;;:::o;55816:121::-;43656:7;:5;:7::i;:::-;-1:-1:-1;;;;;43642:21:0;:10;-1:-1:-1;;;;;43642:21:0;;:45;;;-1:-1:-1;43681:6:0;;-1:-1:-1;;;;;43681:6:0;43667:10;:20;43642:45;43634:66;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;;;;55867:10:::1;:8;:10::i;:::-;55890:17;:15;:17::i;:::-;55920:9;:7;:9::i;:::-;55816:121::o:0;50089:86::-;46708:17;;;;46704:127;;;46775:8;;;;;;;;;-1:-1:-1;;;;;46775:8:0;-1:-1:-1;;;;;46765:31:0;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46765:33:0;46750:11;:48;;46742:77;;;;;-1:-1:-1;;;46742:77:0;;;;;;;;;;;;-1:-1:-1;;;46742:77:0;;;;;;;;;;;;;;;50148:19:::1;50157:9;50148:8;:19::i;55589:116::-:0;43656:7;:5;:7::i;:::-;-1:-1:-1;;;;;43642:21:0;:10;-1:-1:-1;;;;;43642:21:0;;:45;;;-1:-1:-1;43681:6:0;;-1:-1:-1;;;;;43681:6:0;43667:10;:20;43642:45;43634:66;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;;;;55636:7:::1;:5;:7::i;:::-;55666:4;::::0;55690:6:::1;::::0;55654:43:::1;::::0;;-1:-1:-1;;;55654:43:0;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;55666:4:0;;::::1;::::0;55654:35:::1;::::0;:43;;;;;55666:4:::1;::::0;55654:43;;;;;;;;55666:4;;55654:43;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;55589:116::o:0;47370:20::-;;;;:::o;45446:43::-;45484:5;45446:43;:::o;49899:182::-;49957:16;;;;49953:121;;;50012:5;;-1:-1:-1;;;;;50012:5:0;49998:10;:19;49990:38;;;;;-1:-1:-1;;;49990:38:0;;;;;;;;;;;;-1:-1:-1;;;49990:38:0;;;;;;;;;;;;;;53496:180;43656:7;:5;:7::i;:::-;-1:-1:-1;;;;;43642:21:0;:10;-1:-1:-1;;;;;43642:21:0;;:45;;;-1:-1:-1;43681:6:0;;-1:-1:-1;;;;;43681:6:0;43667:10;:20;43642:45;43634:66;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;;;;53612:56:::1;:26;53641:27:::0;;53612:56:::1;:::i;40995:86::-:0;41042:4;41066:7;-1:-1:-1;;;41066:7:0;;;;;40995:86::o;44567:::-;38934:12;:10;:12::i;:::-;-1:-1:-1;;;;;38923:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;38923:23:0;;38915:68;;;;;-1:-1:-1;;;38915:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;38915:68:0;;;;;;;;;;;;;;;44631:5:::1;:14:::0;;-1:-1:-1;;;;;;44631:14:0::1;-1:-1:-1::0;;;;;44631:14:0;;;::::1;::::0;;;::::1;::::0;;44567:86::o;46584:77::-;;;;;;-1:-1:-1;;;;;46584:77:0;;:::o;39354:148::-;38934:12;:10;:12::i;:::-;-1:-1:-1;;;;;38923:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;38923:23:0;;38915:68;;;;;-1:-1:-1;;;38915:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;38915:68:0;;;;;;;;;;;;;;;39461:1:::1;39445:6:::0;;39424:40:::1;::::0;-1:-1:-1;;;;;39445:6:0;;::::1;::::0;39424:40:::1;::::0;39461:1;;39424:40:::1;39492:1;39475:19:::0;;-1:-1:-1;;;;;;39475:19:0::1;::::0;;39354:148::o;52937:113::-;52979:7;53006:36;53026:15;:13;:15::i;:::-;53006;:13;:15::i;:::-;:19;;:36::i;:::-;52999:43;;52937:113;:::o;43839:92::-;43656:7;:5;:7::i;:::-;-1:-1:-1;;;;;43642:21:0;:10;-1:-1:-1;;;;;43642:21:0;;:45;;;-1:-1:-1;43681:6:0;;-1:-1:-1;;;;;43681:6:0;43667:10;:20;43642:45;43634:66;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;;;;43907:6:::1;:16:::0;;-1:-1:-1;;;;;;43907:16:0::1;-1:-1:-1::0;;;;;43907:16:0;;;::::1;::::0;;;::::1;::::0;;43839:92::o;47397:24::-;;;;:::o;45257:41::-;45295:3;45257:41;:::o;55713:95::-;43656:7;:5;:7::i;:::-;-1:-1:-1;;;;;43642:21:0;:10;-1:-1:-1;;;;;43642:21:0;;:45;;;-1:-1:-1;43681:6:0;;-1:-1:-1;;;;;43681:6:0;43667:10;:20;43642:45;43634:66;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;;;;55760:8:::1;:6;:8::i;:::-;55781:19;:17;:19::i;47430:28::-:0;;;;;;:::o;45498:30::-;;;;:::o;38703:87::-;38749:7;38776:6;-1:-1:-1;;;;;38776:6:0;38703:87;:::o;42797:32::-;;;-1:-1:-1;;;;;42797:32:0;;:::o;45537:25::-;;;;:::o;54224:511::-;54267:7;54287:17;54307:18;:16;:18::i;:::-;54287:38;-1:-1:-1;54336:17:0;54368:13;;54364:291;;54420:9;;54402:74;;;-1:-1:-1;;;54402:74:0;;;;;;;;;;;;;;54456:19;54402:74;;;;;;;;-1:-1:-1;;;;;54420:9:0;;;;54402:42;;54445:9;;54456:19;;54402:74;;;;;;;;54456:19;;54402:74;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;54402:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;54402:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;54402:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;54402:74:0;;;;;;;;;;;;-1:-1:-1;54402:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54398:246;;;;;54576:9;54604:1;54586:9;:16;:19;54576:30;;;;;;;;;;;;;;54564:42;;54494:128;54398:246;54674:53;45336:4;54674:40;54706:7;;54674:27;54696:4;54674:17;54688:2;54674:9;:13;;:17;;;;:::i;:27::-;:31;;:40::i;:53::-;54667:60;;;;54224:511;:::o;46539:36::-;;;;;;:::o;44788:134::-;38934:12;:10;:12::i;:::-;-1:-1:-1;;;;;38923:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;38923:23:0;;38915:68;;;;;-1:-1:-1;;;38915:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;38915:68:0;;;;;;;;;;;;;;;44876:17:::1;:38:::0;;-1:-1:-1;;;;;;44876:38:0::1;-1:-1:-1::0;;;;;44876:38:0;;;::::1;::::0;;;::::1;::::0;;44788:134::o;45843:154::-;43656:7;:5;:7::i;:::-;-1:-1:-1;;;;;43642:21:0;:10;-1:-1:-1;;;;;43642:21:0;;:45;;;-1:-1:-1;43681:6:0;;-1:-1:-1;;;;;43681:6:0;43667:10;:20;43642:45;43634:66;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;;;;45437:2:::1;45921:4;:26;;45913:43;;;::::0;;-1:-1:-1;;;45913:43:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;45913:43:0;;;;;;;;;;;;;::::1;;45969:13;:20:::0;45843:154::o;42679:21::-;;;-1:-1:-1;;;;;42679:21:0;;:::o;45305:35::-;45336:4;45305:35;:::o;47562:36::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47562:36:0;;-1:-1:-1;47562:36:0;:::o;53117:118::-;53197:4;;53190:37;;;-1:-1:-1;;;53190:37:0;;53221:4;53190:37;;;;;;53163:7;;-1:-1:-1;;;;;53197:4:0;;53190:22;;:37;;;;;;;;;;;;;;53197:4;53190:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53190:37:0;;-1:-1:-1;53117:118:0;:::o;44076:155::-;44162:10;;-1:-1:-1;;;;;44162:10:0;44148;:24;44140:48;;;;;-1:-1:-1;;;44140:48:0;;;;;;;;;;;;-1:-1:-1;;;44140:48:0;;;;;;;;;;;;;;;44199:10;:24;;-1:-1:-1;;;;;;44199:24:0;-1:-1:-1;;;;;44199:24:0;;;;;;;;;;44076:155::o;47224:27::-;;;-1:-1:-1;;;;;47224:27:0;;:::o;48935:212::-;41321:8;:6;:8::i;:::-;41320:9;41312:38;;;;;-1:-1:-1;;;41312:38:0;;;;;;;;;;;;-1:-1:-1;;;41312:38:0;;;;;;;;;;;;;;;49011:4:::1;::::0;49004:37:::1;::::0;;-1:-1:-1;;;49004:37:0;;49035:4:::1;49004:37;::::0;::::1;::::0;;;48986:15:::1;::::0;-1:-1:-1;;;;;49011:4:0::1;::::0;49004:22:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;49011:4;49004:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;49004:37:0;;-1:-1:-1;49058:11:0;;49054:86:::1;;49098:4;::::0;49112:6:::1;::::0;49086:42:::1;::::0;;-1:-1:-1;;;49086:42:0;;::::1;::::0;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;49098:4:0;;::::1;::::0;49086:25:::1;::::0;:42;;;;;49098:4:::1;::::0;49086:42;;;;;;;;49098:4;;49086:42;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;41361:1;48935:212::o:0;45569:57::-;;;;:::o;50308:85::-;43656:7;:5;:7::i;:::-;-1:-1:-1;;;;;43642:21:0;:10;-1:-1:-1;;;;;43642:21:0;;:45;;;-1:-1:-1;43681:6:0;;-1:-1:-1;;;;;43681:6:0;43667:10;:20;43642:45;43634:66;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;;;44363:102;38934:12;:10;:12::i;:::-;-1:-1:-1;;;;;38923:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;38923:23:0;;38915:68;;;;;-1:-1:-1;;;38915:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;38915:68:0;;;;;;;;;;;;;;;44435:9:::1;:22:::0;;-1:-1:-1;;;;;;44435:22:0::1;-1:-1:-1::0;;;;;44435:22:0;;;::::1;::::0;;;::::1;::::0;;44363:102::o;45395:44::-;45437:2;45395:44;:::o;53720:447::-;53834:26;53815:67;;;;;;;;-1:-1:-1;;53815:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53769:7;;53789:23;;53815:67;;;;53834:26;53815:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53815:67:0;;;:18;:67::i;:::-;53956:4;;54046:6;;53976:123;;;;;;;;;;54079:4;53976:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;53789:93;;-1:-1:-1;53893:19:0;;53915:195;;-1:-1:-1;;;;;53956:4:0;;53976:123;53789:93;;53976:123;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53976:123:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53976:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;53976:123:0;;;-1:-1:-1;;;;;53976:123:0;;;;;;;;;;-1:-1:-1;53915:26:0;;-1:-1:-1;;53915:195:0:i;:::-;53893:217;;54141:6;54130:29;;;;;;;;;;;;;;;-1:-1:-1;54130:29:0;;-1:-1:-1;;;53720:447:0;:::o;47465:26::-;;;;:::o;47170:21::-;;;-1:-1:-1;;;;;47170:21:0;;:::o;39657:244::-;38934:12;:10;:12::i;:::-;-1:-1:-1;;;;;38923:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;38923:23:0;;38915:68;;;;;-1:-1:-1;;;38915:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;38915:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;39746:22:0;::::1;39738:73;;;;-1:-1:-1::0;;;39738:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39848:6;::::0;;39827:38:::1;::::0;-1:-1:-1;;;;;39827:38:0;;::::1;::::0;39848:6;::::1;::::0;39827:38:::1;::::0;::::1;39876:6;:17:::0;;-1:-1:-1;;;;;;39876:17:0::1;-1:-1:-1::0;;;;;39876:17:0;;;::::1;::::0;;;::::1;::::0;;39657:244::o;54743:133::-;43656:7;:5;:7::i;:::-;-1:-1:-1;;;;;43642:21:0;:10;-1:-1:-1;;;;;43642:21:0;;:45;;;-1:-1:-1;43681:6:0;;-1:-1:-1;;;;;43681:6:0;43667:10;:20;43642:45;43634:66;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;-1:-1:-1;;;43634:66:0;;;;;;;;;;;;;;;54830:17:::1;:38:::0;;-1:-1:-1;;54830:38:0::1;::::0;::::1;;::::0;;;::::1;::::0;;54743:133::o;55246:261::-;55311:5;;-1:-1:-1;;;;;55311:5:0;55297:10;:19;55289:38;;;;;-1:-1:-1;;;55289:38:0;;;;;;;;;;;;-1:-1:-1;;;55289:38:0;;;;;;;;;;;;;;;55352:4;;55376:6;;55340:43;;;-1:-1:-1;;;55340:43:0;;;;;;;;;;-1:-1:-1;;;;;55352:4:0;;;;55340:35;;:43;;;;;55352:4;;55340:43;;;;;;;;55352:4;;55340:43;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;55421:4:0;;55414:37;;;-1:-1:-1;;;55414:37:0;;55445:4;55414:37;;;;;;55396:15;;-1:-1:-1;;;;;;55421:4:0;;;;-1:-1:-1;55414:22:0;;:37;;;;;;;;;;;;;;55421:4;55414:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55414:37:0;55469:4;;55484:5;;;55462:37;;;-1:-1:-1;;;55462:37:0;;-1:-1:-1;;;;;55484:5:0;;;55462:37;;;;;;;;;;;;;;55414;;-1:-1:-1;55469:4:0;;;;55462:21;;:37;;;;;55414;;55462;;;;;;;;55469:4;;55462:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42770:20;;;-1:-1:-1;;;;;42770:20:0;;:::o;47605:37::-;;;;;;;;;;31685:622;32055:10;;;32054:62;;-1:-1:-1;32071:39:0;;;-1:-1:-1;;;32071:39:0;;32095:4;32071:39;;;;-1:-1:-1;;;;;32071:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32071:39:0;:44;32054:62;32046:152;;;;-1:-1:-1;;;32046:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32236:62;;;-1:-1:-1;;;;;32236:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32236:62:0;-1:-1:-1;;;32236:62:0;;;32209:90;;32229:5;;32209:19;:90::i;26021:195::-;26124:12;26156:52;26178:6;26186:4;26192:1;26195:12;26156:21;:52::i;:::-;26149:59;;26021:195;;;;;;:::o;50456:419::-;41321:8;:6;:8::i;:::-;41320:9;41312:38;;;;;-1:-1:-1;;;41312:38:0;;;;;;;;;;;;-1:-1:-1;;;41312:38:0;;;;;;;;;;;;;;;50546:4:::1;::::0;50560:6:::1;::::0;50534:36:::1;::::0;;-1:-1:-1;;;50534:36:0;;::::1;::::0;::::1;::::0;;;;50546:4:::1;50534:36:::0;;;;;;;;-1:-1:-1;;;;;50546:4:0;;::::1;::::0;50534:25:::1;::::0;:36;;;;;50546:4;50534:36;;;;;;50546:4;;50534:36;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;50608:6:0::1;::::0;50601:39:::1;::::0;;-1:-1:-1;;;50601:39:0;;50634:4:::1;50601:39;::::0;::::1;::::0;;;50581:17:::1;::::0;-1:-1:-1;;;;;;50608:6:0;;::::1;::::0;-1:-1:-1;50601:24:0::1;::::0;:39;;;;;::::1;::::0;;;;;;;;50608:6;50601:39;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;50601:39:0;;-1:-1:-1;50655:13:0;;50651:217:::1;;50685:28;50696:16;50685:10;:28::i;:::-;50728:14;:12;:14::i;:::-;50757:9;:7;:9::i;:::-;50797:15;50783:11;:29:::0;50832:24:::1;::::0;50845:10:::1;::::0;50832:24:::1;::::0;;;::::1;41361:1;50456:419:::0;:::o;7087:158::-;7145:7;7178:1;7173;:6;;7165:49;;;;;-1:-1:-1;;;7165:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7232:5:0;;;7087:158;;;;;:::o;31026:177::-;31136:58;;;-1:-1:-1;;;;;31136:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31136:58:0;-1:-1:-1;;;31136:58:0;;;31109:86;;31129:5;;31109:19;:86::i;7504:220::-;7562:7;7586:6;7582:20;;-1:-1:-1;7601:1:0;7594:8;;7582:20;7625:5;;;7629:1;7625;:5;:1;7649:5;;;;;:10;7641:56;;;;-1:-1:-1;;;7641:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8202:153;8260:7;8292:1;8288;:5;8280:44;;;;;-1:-1:-1;;;8280:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8346:1;8342;:5;;;;;;;8202:153;-1:-1:-1;;;8202:153:0:o;42054:120::-;41598:8;:6;:8::i;:::-;41590:41;;;;;-1:-1:-1;;;41590:41:0;;;;;;;;;;;;-1:-1:-1;;;41590:41:0;;;;;;;;;;;;;;;42123:5:::1;42113:15:::0;;-1:-1:-1;;;;42113:15:0::1;::::0;;42144:22:::1;42153:12;:10;:12::i;:::-;42144:22;::::0;;-1:-1:-1;;;;;42144:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;42054:120::o:0;55945:294::-;56017:4;;55999;;55992:46;;-1:-1:-1;;;;;55999:4:0;;;;56017;-1:-1:-1;;55992:24:0;:46::i;:::-;56076:9;;56056:6;;56049:53;;-1:-1:-1;;;;;56056:6:0;;;;56076:9;-1:-1:-1;;56049:26:0;:53::i;:::-;56140:9;;56120:6;;56113:53;;-1:-1:-1;;;;;56120:6:0;;;;56140:9;-1:-1:-1;;56113:26:0;:53::i;:::-;56210:4;;56184:12;;56177:54;;-1:-1:-1;;;;;56184:12:0;;;;56210:4;-1:-1:-1;;56177:32:0;:54::i;667:106::-;755:10;667:106;:::o;6625:179::-;6683:7;6715:5;;;6739:6;;;;6731:46;;;;;-1:-1:-1;;;6731:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;41795:118;41321:8;:6;:8::i;:::-;41320:9;41312:38;;;;;-1:-1:-1;;;41312:38:0;;;;;;;;;;;;-1:-1:-1;;;41312:38:0;;;;;;;;;;;;;;;41855:7:::1;:14:::0;;-1:-1:-1;;;;41855:14:0::1;-1:-1:-1::0;;;41855:14:0::1;::::0;;41885:20:::1;41892:12;:10;:12::i;56247:244::-:0;56321:4;;56303;;56296:33;;-1:-1:-1;;;;;56303:4:0;;;;56321;;56296:24;:33::i;:::-;56367:9;;56347:6;;56340:40;;-1:-1:-1;;;;;56347:6:0;;;;56367:9;;56340:26;:40::i;:::-;56418:9;;56398:6;;56391:40;;-1:-1:-1;;;;;56398:6:0;;;;56418:9;;56391:26;:40::i;:::-;56475:4;;56449:12;;56442:41;;-1:-1:-1;;;;;56449:12:0;;;;56475:4;;56442:32;:41::i;46117:144::-;46190:13;46247:1;46250;46230:22;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;46230:22:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;46230:22:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46230:22:0;;;;;;;;;;;;;-1:-1:-1;;46230:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46216:37;;46117:144;;;;:::o;27788:199::-;27874:12;27906:73;27925:6;27933:4;27906:73;;;;;;;;;;;;;;;;;:18;:73::i;33331:761::-;33755:23;33781:69;33809:4;33781:69;;;;;;;;;;;;;;;;;33789:5;-1:-1:-1;;;;;33781:27:0;;;:69;;;;;:::i;:::-;33865:17;;33755:95;;-1:-1:-1;33865:21:0;33861:224;;34007:10;33996:30;;;;;;;;;;;;;;;-1:-1:-1;33996:30:0;33988:85;;;;-1:-1:-1;;;33988:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27073:530;27200:12;27258:5;27233:21;:30;;27225:81;;;;-1:-1:-1;;;27225:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27325:18;27336:6;27325:10;:18::i;:::-;27317:60;;;;;-1:-1:-1;;;27317:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27451:12;27465:23;27492:6;-1:-1:-1;;;;;27492:11:0;27512:5;27520:4;27492:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27492:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27450:75;;;;27543:52;27561:7;27570:10;27582:12;27543:17;:52::i;:::-;27536:59;27073:530;-1:-1:-1;;;;;;;27073:530:0:o;50908:774::-;51000:6;;50993:39;;;-1:-1:-1;;;50993:39:0;;51026:4;50993:39;;;;;;50974:16;;-1:-1:-1;;;;;51000:6:0;;50993:24;;:39;;;;;;;;;;;;;;51000:6;50993:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50993:39:0;51061:9;;51043:107;;-1:-1:-1;;;51043:107:0;;;;;;;;51061:9;51043:107;;;;;;51139:4;51043:107;;;;;;51146:3;51043:107;;;;;;;;;;;;;51110:19;51043:107;;;;;;;;50993:39;;-1:-1:-1;;;;;;51061:9:0;;;;51043:53;;50993:39;;51061:9;;51110:19;;51043:107;;;;;;;;51110:19;;51043:107;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51043:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51043:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;51043:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;51043:107:0;;;;;;;;;;;;-1:-1:-1;51043:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;51043:107:0;;;;;;;;51190:6;;-1:-1:-1;;;51183:39:0;;51216:4;51183:39;;;;;;51163:17;;-1:-1:-1;51183:57:0;;-1:-1:-1;51235:4:0;;-1:-1:-1;51183:47:0;;-1:-1:-1;51227:2:0;;-1:-1:-1;;;;;;51190:6:0;;;;51183:24;;:39;;;;;;;;;;;;;;51190:6;51183:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51183:39:0;;:43;:47::i;:57::-;51163:77;;51253:21;51277:35;45336:4;51277:22;51291:7;;51277:9;:13;;:22;;;;:::i;:35::-;51330:6;;51253:59;;-1:-1:-1;51323:60:0;;-1:-1:-1;;;;;51330:6:0;51351:16;51253:59;51323:27;:60::i;:::-;51396:22;51421:36;45336:4;51421:23;51435:8;;51421:9;:13;;:23;;;;:::i;:36::-;51496:17;;51475:6;;51396:61;;-1:-1:-1;51468:62:0;;-1:-1:-1;;;;;51475:6:0;;;;51496:17;51396:61;51468:27;:62::i;:::-;51543:21;51567:42;45336:4;51567:29;:9;45295:3;51567:13;:29::i;:42::-;51648:10;;51627:6;;51543:66;;-1:-1:-1;51620:54:0;;-1:-1:-1;;;;;51627:6:0;;;;51648:10;51543:66;51620:27;:54::i;:::-;50908:774;;;;;;:::o;51745:1118::-;51816:6;;51809:39;;;-1:-1:-1;;;51809:39:0;;51842:4;51809:39;;;;;;51789:17;;-1:-1:-1;;;;;51816:6:0;;51809:24;;:39;;;;;;;;;;;;;;51816:6;51809:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51809:39:0;51879:6;;51863:12;;51809:39;;-1:-1:-1;;;;;;51863:12:0;;;51879:6;;51863:22;51859:176;;51920:9;;51902:121;;-1:-1:-1;;;51902:121:0;;;;;;;;51920:9;51902:121;;;;;;52000:4;51902:121;;;;;;52007:15;51902:121;;;;;;;;;;;;;51970:20;51902:121;;;;;;;;-1:-1:-1;;;;;51920:9:0;;;;51902:53;;51956:9;;51970:20;;52000:4;52007:15;51902:121;;;;;;51970:20;;51902:121;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51902:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51902:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;51902:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;51902:121:0;;;;;;;;;;;;-1:-1:-1;51902:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51859:176;52075:12;;52068:45;;;-1:-1:-1;;;52068:45:0;;52107:4;52068:45;;;;;;52047:18;;-1:-1:-1;;;;;52075:12:0;;52068:30;;:45;;;;;;;;;;;;;;52075:12;52068:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52068:45:0;52130:8;;52068:45;;-1:-1:-1;52142:1:0;52130:13;52126:730;;;52160:25;;:::i;:::-;52224:10;52200:7;52208:12;;52200:21;;;;;;;;;;:34;52261:4;;52249:43;;;-1:-1:-1;;;52249:43:0;;-1:-1:-1;;;;;52261:4:0;;;;52249:31;;52281:7;;52261:4;;52249:43;;;;;;;52281:7;;52249:43;;52281:7;52261:4;52249:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52126:730;;;;52314:8;;52326:1;52314:13;52310:546;;;52344:25;;:::i;:::-;52408:10;52384:7;52392:12;;52384:21;;;;;;;;;;:34;52445:4;;52433:43;;-1:-1:-1;;;52433:43:0;;-1:-1:-1;;;;;52445:4:0;;;;52433:31;;52465:7;;52445:4;;52433:43;;;52465:7;52433:43;;;52465:7;52445:4;52433:43;;;;;;;;;;;;52310:546;52498:8;;52510:1;52498:13;52494:362;;;52528:25;;:::i;:::-;52592:10;52568:7;52576:12;;52568:21;;;;;;;;;;:34;52629:4;;52617:43;;-1:-1:-1;;;52617:43:0;;-1:-1:-1;;;;;52629:4:0;;;;52617:31;;52649:7;;52629:4;;52617:43;;;52649:7;52617:43;;;52649:7;52629:4;52617:43;;;;;;;;;;;;52494:362;52682:8;;52694:1;52682:13;52678:178;;;52712:25;;:::i;:::-;52776:10;52752:7;52760:12;;52752:21;;;;;;;;;;:34;52813:4;;52801:43;;-1:-1:-1;;;52801:43:0;;-1:-1:-1;;;;;52813:4:0;;;;52801:31;;52833:7;;52813:4;;52801:43;;;52833:7;52801:43;;;52833:7;52813:4;52801:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52678:178;51745:1118;;:::o;28179:422::-;28293:12;28326:18;28337:6;28326:10;:18::i;:::-;28318:67;;;;-1:-1:-1;;;28318:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28459:12;28473:23;28500:6;-1:-1:-1;;;;;28500:17:0;28518:4;28500:23;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;28500:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28458:65;;;;28541:52;28559:7;28568:10;28580:12;28541:17;:52::i;:::-;28534:59;28179:422;-1:-1:-1;;;;;;28179:422:0:o;23103:::-;23470:20;23509:8;;;23103:422::o;29613:742::-;29728:12;29757:7;29753:595;;;-1:-1:-1;29788:10:0;29781:17;;29753:595;29902:17;;:21;29898:439;;30165:10;30159:17;30226:15;30213:10;30209:2;30205:19;30198:44;30113:148;30308:12;30301:20;;-1:-1:-1;;;30301:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;
Swarm Source
ipfs://33ce88895ff82305f6fcc57e6a328362c2565285c845b35e01ca38f4e3f0754a
Loading...
Loading
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
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.