Source Code
Latest 25 from a total of 771 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer Ownersh... | 12857965 | 1686 days ago | IN | 0 ETH | 0.00100635 | ||||
| Toggle Contract ... | 12697020 | 1711 days ago | IN | 0 ETH | 0.00061108 | ||||
| Zap Out | 12696872 | 1711 days ago | IN | 0 ETH | 0.01100947 | ||||
| Zap Out | 12696331 | 1711 days ago | IN | 0 ETH | 0.00287417 | ||||
| Zap Out | 12695846 | 1711 days ago | IN | 0 ETH | 0.00470578 | ||||
| Zap Out | 12695757 | 1711 days ago | IN | 0 ETH | 0.00265251 | ||||
| Zap Out | 12695498 | 1711 days ago | IN | 0 ETH | 0.00242614 | ||||
| Zap Out | 12695486 | 1711 days ago | IN | 0 ETH | 0.00387051 | ||||
| Zap Out | 12695463 | 1711 days ago | IN | 0 ETH | 0.00471796 | ||||
| Zap Out | 12695337 | 1711 days ago | IN | 0 ETH | 0.00142438 | ||||
| Zap Out | 12695117 | 1711 days ago | IN | 0 ETH | 0.0034164 | ||||
| Zap Out | 12694718 | 1711 days ago | IN | 0 ETH | 0.00321269 | ||||
| Zap Out | 12694626 | 1711 days ago | IN | 0 ETH | 0.00610723 | ||||
| Zap Out | 12694559 | 1711 days ago | IN | 0 ETH | 0.00551148 | ||||
| Zap Out | 12694437 | 1711 days ago | IN | 0 ETH | 0.0013835 | ||||
| Zap Out | 12693984 | 1711 days ago | IN | 0 ETH | 0.01640986 | ||||
| Zap Out | 12693954 | 1711 days ago | IN | 0 ETH | 0.00311534 | ||||
| Zap Out | 12693788 | 1711 days ago | IN | 0 ETH | 0.00302578 | ||||
| Zap Out | 12693580 | 1712 days ago | IN | 0 ETH | 0.00240331 | ||||
| Zap Out | 12693566 | 1712 days ago | IN | 0 ETH | 0.00844108 | ||||
| Zap Out | 12693487 | 1712 days ago | IN | 0 ETH | 0.0018374 | ||||
| Zap Out | 12693327 | 1712 days ago | IN | 0 ETH | 0.01366885 | ||||
| Zap Out | 12693118 | 1712 days ago | IN | 0 ETH | 0.00742597 | ||||
| Zap Out | 12693059 | 1712 days ago | IN | 0 ETH | 0.00188466 | ||||
| Zap Out | 12692768 | 1712 days ago | IN | 0 ETH | 0.00225944 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 12696904 | 1711 days ago | 34.66961675 ETH | ||||
| - | 12696904 | 1711 days ago | 34.66961675 ETH | ||||
| - | 12696901 | 1711 days ago | 4.17824454 ETH | ||||
| - | 12696901 | 1711 days ago | 4.17824454 ETH | ||||
| - | 12696900 | 1711 days ago | 0.059463 ETH | ||||
| - | 12696900 | 1711 days ago | 0.059463 ETH | ||||
| - | 12696872 | 1711 days ago | 0.0527657 ETH | ||||
| - | 12696872 | 1711 days ago | 0.0527657 ETH | ||||
| - | 12696690 | 1711 days ago | 65.15268609 ETH | ||||
| - | 12696690 | 1711 days ago | 65.15268609 ETH | ||||
| - | 12696331 | 1711 days ago | 0.38380139 ETH | ||||
| - | 12696331 | 1711 days ago | 0.38380139 ETH | ||||
| - | 12695927 | 1711 days ago | 2.46962395 ETH | ||||
| - | 12695927 | 1711 days ago | 2.46962395 ETH | ||||
| - | 12695846 | 1711 days ago | 0.01000122 ETH | ||||
| - | 12695846 | 1711 days ago | 0.01000122 ETH | ||||
| - | 12695757 | 1711 days ago | 0.00256176 ETH | ||||
| - | 12695757 | 1711 days ago | 0.00256176 ETH | ||||
| - | 12695671 | 1711 days ago | 33.69185665 ETH | ||||
| - | 12695671 | 1711 days ago | 33.69185665 ETH | ||||
| - | 12695607 | 1711 days ago | 11.26760436 ETH | ||||
| - | 12695607 | 1711 days ago | 11.26760436 ETH | ||||
| - | 12695486 | 1711 days ago | 0.61393749 ETH | ||||
| - | 12695486 | 1711 days ago | 0.61393749 ETH | ||||
| - | 12695273 | 1711 days ago | 50.80171076 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Curve_ZapOut_General_V4_1
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2021-05-25
*/
// ███████╗░█████╗░██████╗░██████╗░███████╗██████╗░░░░███████╗██╗
// ╚════██║██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔══██╗░░░██╔════╝██║
// ░░███╔═╝███████║██████╔╝██████╔╝█████╗░░██████╔╝░░░█████╗░░██║
// ██╔══╝░░██╔══██║██╔═══╝░██╔═══╝░██╔══╝░░██╔══██╗░░░██╔══╝░░██║
// ███████╗██║░░██║██║░░░░░██║░░░░░███████╗██║░░██║██╗██║░░░░░██║
// ╚══════╝╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░╚══════╝╚═╝░░╚═╝╚═╝╚═╝░░░░░╚═╝
// Copyright (C) 2021 zapper
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
///@author Zapper
///@notice This contract removes liquidity from Curve pools
// SPDX-License-Identifier: GPL-2.0
// File contracts/oz/GSN/Context.sol
pragma solidity ^0.5.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.
*/
contract Context {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
constructor() internal {}
// solhint-disable-previous-line no-empty-blocks
function _msgSender() internal view returns (address payable) {
return msg.sender;
}
function _msgData() internal view returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
// File contracts/oz/ownership/Ownable.sol
pragma solidity ^0.5.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.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
contract Ownable is Context {
address private _owner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() internal {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(isOwner(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Returns true if the caller is the current owner.
*/
function isOwner() public view returns (bool) {
return _msgSender() == _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 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 onlyOwner {
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
*/
function _transferOwnership(address newOwner) internal {
require(
newOwner != address(0),
"Ownable: new owner is the zero address"
);
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
// File contracts/oz/token/ERC20/IERC20.sol
pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/
interface IERC20 {
function decimals() external view returns (uint8);
/**
* @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 contracts/oz/math/SafeMath.sol
pragma solidity ^0.5.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
* - Subtraction cannot overflow.
*
* _Available since v2.4.0._
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*
* _Available since v2.4.0._
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
// Solidity only automatically asserts when dividing by 0
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts with custom message when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*
* _Available since v2.4.0._
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
// File contracts/oz/utils/Address.sol
pragma solidity ^0.5.5;
/**
* @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) {
// According to EIP-1052, 0x0 is the value returned for not-yet created accounts
// and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
// for accounts without code, i.e. `keccak256('')`
bytes32 codehash;
bytes32 accountHash =
0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
// solhint-disable-next-line no-inline-assembly
assembly {
codehash := extcodehash(account)
}
return (codehash != accountHash && codehash != 0x0);
}
/**
* @dev Converts an `address` into `address payable`. Note that this is
* simply a type cast: the actual underlying value is not changed.
*
* _Available since v2.4.0._
*/
function toPayable(address account)
internal
pure
returns (address payable)
{
return address(uint160(account));
}
/**
* @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].
*
* _Available since v2.4.0._
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(
address(this).balance >= amount,
"Address: insufficient balance"
);
// solhint-disable-next-line avoid-call-value
(bool success, ) = recipient.call.value(amount)("");
require(
success,
"Address: unable to send value, recipient may have reverted"
);
}
}
// File contracts/oz/token/ERC20/SafeERC20.sol
pragma solidity ^0.5.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 ERC20;` 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)
);
}
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.
// A Solidity high level call has three parts:
// 1. The target address is checked to verify it contains contract code
// 2. The call itself is made, and success asserted
// 3. The return value is decoded, which in turn checks the size of the returned data.
// solhint-disable-next-line max-line-length
require(address(token).isContract(), "SafeERC20: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = address(token).call(data);
require(success, "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/_base/ZapBaseV1.sol
pragma solidity ^0.5.7;
contract ZapBaseV1 is Ownable {
using SafeMath for uint256;
using SafeERC20 for IERC20;
bool public stopped = false;
// if true, goodwill is not deducted
mapping(address => bool) public feeWhitelist;
uint256 public goodwill;
// % share of goodwill (0-100 %)
uint256 affiliateSplit;
// restrict affiliates
mapping(address => bool) public affiliates;
// affiliate => token => amount
mapping(address => mapping(address => uint256)) public affiliateBalance;
// token => amount
mapping(address => uint256) public totalAffiliateBalance;
address internal constant ETHAddress =
0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
constructor(uint256 _goodwill, uint256 _affiliateSplit) public {
goodwill = _goodwill;
affiliateSplit = _affiliateSplit;
}
// circuit breaker modifiers
modifier stopInEmergency {
if (stopped) {
revert("Temporarily Paused");
} else {
_;
}
}
function _getBalance(address token)
internal
view
returns (uint256 balance)
{
if (token == address(0)) {
balance = address(this).balance;
} else {
balance = IERC20(token).balanceOf(address(this));
}
}
function _approveToken(address token, address spender) internal {
IERC20 _token = IERC20(token);
if (_token.allowance(address(this), spender) > 0) return;
else {
_token.safeApprove(spender, uint256(-1));
}
}
function _approveToken(
address token,
address spender,
uint256 amount
) internal {
IERC20 _token = IERC20(token);
_token.safeApprove(spender, 0);
_token.safeApprove(spender, amount);
}
// - to Pause the contract
function toggleContractActive() public onlyOwner {
stopped = !stopped;
}
function set_feeWhitelist(address zapAddress, bool status)
external
onlyOwner
{
feeWhitelist[zapAddress] = status;
}
function set_new_goodwill(uint256 _new_goodwill) public onlyOwner {
require(
_new_goodwill >= 0 && _new_goodwill <= 100,
"GoodWill Value not allowed"
);
goodwill = _new_goodwill;
}
function set_new_affiliateSplit(uint256 _new_affiliateSplit)
external
onlyOwner
{
require(
_new_affiliateSplit <= 100,
"Affiliate Split Value not allowed"
);
affiliateSplit = _new_affiliateSplit;
}
function set_affiliate(address _affiliate, bool _status)
external
onlyOwner
{
affiliates[_affiliate] = _status;
}
///@notice Withdraw goodwill share, retaining affilliate share
function withdrawTokens(address[] calldata tokens) external onlyOwner {
for (uint256 i = 0; i < tokens.length; i++) {
uint256 qty;
if (tokens[i] == ETHAddress) {
qty = address(this).balance.sub(
totalAffiliateBalance[tokens[i]]
);
Address.sendValue(Address.toPayable(owner()), qty);
} else {
qty = IERC20(tokens[i]).balanceOf(address(this)).sub(
totalAffiliateBalance[tokens[i]]
);
IERC20(tokens[i]).safeTransfer(owner(), qty);
}
}
}
///@notice Withdraw affilliate share, retaining goodwill share
function affilliateWithdraw(address[] calldata tokens) external {
uint256 tokenBal;
for (uint256 i = 0; i < tokens.length; i++) {
tokenBal = affiliateBalance[msg.sender][tokens[i]];
affiliateBalance[msg.sender][tokens[i]] = 0;
totalAffiliateBalance[tokens[i]] = totalAffiliateBalance[tokens[i]]
.sub(tokenBal);
if (tokens[i] == ETHAddress) {
Address.sendValue(msg.sender, tokenBal);
} else {
IERC20(tokens[i]).safeTransfer(msg.sender, tokenBal);
}
}
}
function() external payable {
require(msg.sender != tx.origin, "Do not send ETH directly");
}
}
// File contracts/_base/ZapOutBaseV2.sol
pragma solidity ^0.5.7;
contract ZapOutBaseV2_1 is ZapBaseV1 {
/**
@dev Transfer tokens from msg.sender to this contract
@param token The ERC20 token to transfer to this contract
@param shouldSellEntireBalance If True transfers entrire allowable amount from another contract
@return Quantity of tokens transferred to this contract
*/
function _pullTokens(
address token,
uint256 amount,
bool shouldSellEntireBalance
) internal returns (uint256) {
if (shouldSellEntireBalance) {
require(
Address.isContract(msg.sender),
"ERR: shouldSellEntireBalance is true for EOA"
);
IERC20 _token = IERC20(token);
uint256 allowance = _token.allowance(msg.sender, address(this));
_token.safeTransferFrom(msg.sender, address(this), allowance);
return allowance;
} else {
IERC20(token).safeTransferFrom(msg.sender, address(this), amount);
return amount;
}
}
function _subtractGoodwill(
address token,
uint256 amount,
address affiliate,
bool enableGoodwill
) internal returns (uint256 totalGoodwillPortion) {
bool whitelisted = feeWhitelist[msg.sender];
if (enableGoodwill && !whitelisted && goodwill > 0) {
totalGoodwillPortion = SafeMath.div(
SafeMath.mul(amount, goodwill),
10000
);
if (affiliates[affiliate]) {
if (token == address(0)) {
token = ETHAddress;
}
uint256 affiliatePortion =
totalGoodwillPortion.mul(affiliateSplit).div(100);
affiliateBalance[affiliate][token] = affiliateBalance[
affiliate
][token]
.add(affiliatePortion);
totalAffiliateBalance[token] = totalAffiliateBalance[token].add(
affiliatePortion
);
}
}
}
}
// File contracts/Curve/Curve_Registry_V2.sol
// ███████╗░█████╗░██████╗░██████╗░███████╗██████╗░░░░███████╗██╗
// ╚════██║██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔══██╗░░░██╔════╝██║
// ░░███╔═╝███████║██████╔╝██████╔╝█████╗░░██████╔╝░░░█████╗░░██║
// ██╔══╝░░██╔══██║██╔═══╝░██╔═══╝░██╔══╝░░██╔══██╗░░░██╔══╝░░██║
// ███████╗██║░░██║██║░░░░░██║░░░░░███████╗██║░░██║██╗██║░░░░░██║
// ╚══════╝╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░╚══════╝╚═╝░░╚═╝╚═╝╚═╝░░░░░╚═╝
// Copyright (C) 2020 zapper
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
///@author Zapper
///@notice Registry for Curve Pools with Utility functions.
pragma solidity ^0.5.7;
interface ICurveAddressProvider {
function get_registry() external view returns (address);
function get_address(uint256 _id) external view returns (address);
}
interface ICurveRegistry {
function get_pool_from_lp_token(address lpToken)
external
view
returns (address);
function get_lp_token(address swapAddress) external view returns (address);
function get_n_coins(address _pool)
external
view
returns (uint256[2] memory);
function get_coins(address _pool) external view returns (address[8] memory);
function get_underlying_coins(address _pool)
external
view
returns (address[8] memory);
}
interface ICurveFactoryRegistry {
function get_n_coins(address _pool)
external
view
returns (uint256, uint256);
function get_coins(address _pool) external view returns (address[2] memory);
function get_underlying_coins(address _pool)
external
view
returns (address[8] memory);
}
contract Curve_Registry_V2 is Ownable {
using SafeMath for uint256;
using SafeERC20 for IERC20;
ICurveAddressProvider private constant CurveAddressProvider =
ICurveAddressProvider(0x0000000022D53366457F9d5E68Ec105046FC4383);
ICurveRegistry public CurveRegistry;
ICurveFactoryRegistry public FactoryRegistry;
address private constant wbtcToken =
0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599;
address private constant sbtcCrvToken =
0x075b1bb99792c9E1041bA13afEf80C91a1e70fB3;
address internal constant ETHAddress =
0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
mapping(address => bool) public shouldAddUnderlying;
mapping(address => address) private depositAddresses;
constructor() public {
CurveRegistry = ICurveRegistry(CurveAddressProvider.get_registry());
FactoryRegistry = ICurveFactoryRegistry(
CurveAddressProvider.get_address(3)
);
}
function isCurvePool(address swapAddress) public view returns (bool) {
if (CurveRegistry.get_lp_token(swapAddress) != address(0)) {
return true;
}
return false;
}
function isFactoryPool(address swapAddress) public view returns (bool) {
if (FactoryRegistry.get_coins(swapAddress)[0] != address(0)) {
return true;
}
return false;
}
/**
@notice This function is used to get the curve pool deposit address
@notice The deposit address is used for pools with wrapped (c, y) tokens
@param swapAddress Curve swap address for the pool
@return curve pool deposit address or the swap address not mapped
*/
function getDepositAddress(address swapAddress)
external
view
returns (address depositAddress)
{
depositAddress = depositAddresses[swapAddress];
if (depositAddress == address(0)) return swapAddress;
}
/**
@notice This function is used to get the curve pool swap address
@notice The token and swap address is the same for metapool factory pools
@param swapAddress Curve swap address for the pool
@return curve pool swap address or address(0) if pool doesnt exist
*/
function getSwapAddress(address tokenAddress)
external
view
returns (address swapAddress)
{
swapAddress = CurveRegistry.get_pool_from_lp_token(tokenAddress);
if (swapAddress != address(0)) {
return swapAddress;
}
if (isFactoryPool(swapAddress)) {
return tokenAddress;
}
return address(0);
}
/**
@notice This function is used to check the curve pool token address
@notice The token and swap address is the same for metapool factory pools
@param swapAddress Curve swap address for the pool
@return curve pool token address or address(0) if pool doesnt exist
*/
function getTokenAddress(address swapAddress)
external
view
returns (address tokenAddress)
{
tokenAddress = CurveRegistry.get_lp_token(swapAddress);
if (tokenAddress != address(0)) {
return tokenAddress;
}
if (isFactoryPool(swapAddress)) {
return swapAddress;
}
return address(0);
}
/**
@notice Checks the number of non-underlying tokens in a pool
@param swapAddress Curve swap address for the pool
@return number of underlying tokens in the pool
*/
function getNumTokens(address swapAddress) public view returns (uint256) {
if (isCurvePool(swapAddress)) {
return CurveRegistry.get_n_coins(swapAddress)[0];
} else {
(uint256 numTokens, ) = FactoryRegistry.get_n_coins(swapAddress);
return numTokens;
}
}
/**
@notice This function is used to check if the curve pool is a metapool
@notice all factory pools are metapools
@param swapAddress Curve swap address for the pool
@return true if the pool is a metapool, false otherwise
*/
function isMetaPool(address swapAddress) public view returns (bool) {
if (isCurvePool(swapAddress)) {
uint256[2] memory poolTokenCounts =
CurveRegistry.get_n_coins(swapAddress);
if (poolTokenCounts[0] == poolTokenCounts[1]) return false;
else return true;
}
if (isFactoryPool(swapAddress)) return true;
}
/**
@notice This function returns an array of underlying pool token addresses
@param swapAddress Curve swap address for the pool
@return returns 4 element array containing the addresses of the pool tokens (0 address if pool contains < 4 tokens)
*/
function getPoolTokens(address swapAddress)
public
view
returns (address[4] memory poolTokens)
{
if (isMetaPool(swapAddress)) {
if (isFactoryPool(swapAddress)) {
address[2] memory poolUnderlyingCoins =
FactoryRegistry.get_coins(swapAddress);
for (uint256 i = 0; i < 2; i++) {
poolTokens[i] = poolUnderlyingCoins[i];
}
} else {
address[8] memory poolUnderlyingCoins =
CurveRegistry.get_coins(swapAddress);
for (uint256 i = 0; i < 2; i++) {
poolTokens[i] = poolUnderlyingCoins[i];
}
}
return poolTokens;
} else {
address[8] memory poolUnderlyingCoins;
if (isBtcPool(swapAddress) && !isMetaPool(swapAddress)) {
poolUnderlyingCoins = CurveRegistry.get_coins(swapAddress);
} else {
poolUnderlyingCoins = CurveRegistry.get_underlying_coins(
swapAddress
);
}
for (uint256 i = 0; i < 4; i++) {
poolTokens[i] = poolUnderlyingCoins[i];
}
}
}
/**
@notice This function checks if the curve pool contains WBTC
@param swapAddress Curve swap address for the pool
@return true if the pool contains WBTC, false otherwise
*/
function isBtcPool(address swapAddress) public view returns (bool) {
address[8] memory poolTokens = CurveRegistry.get_coins(swapAddress);
for (uint256 i = 0; i < 4; i++) {
if (poolTokens[i] == wbtcToken || poolTokens[i] == sbtcCrvToken)
return true;
}
return false;
}
/**
@notice This function checks if the curve pool contains ETH
@param swapAddress Curve swap address for the pool
@return true if the pool contains ETH, false otherwise
*/
function isEthPool(address swapAddress) external view returns (bool) {
address[8] memory poolTokens = CurveRegistry.get_coins(swapAddress);
for (uint256 i = 0; i < 4; i++) {
if (poolTokens[i] == ETHAddress) {
return true;
}
}
return false;
}
/**
@notice This function is used to check if the pool contains the token
@param swapAddress Curve swap address for the pool
@param tokenContractAddress contract address of the token
@return true if the pool contains the token, false otherwise
@return index of the token in the pool, 0 if pool does not contain the token
*/
function isUnderlyingToken(
address swapAddress,
address tokenContractAddress
) external view returns (bool, uint256) {
address[4] memory poolTokens = getPoolTokens(swapAddress);
for (uint256 i = 0; i < 4; i++) {
if (poolTokens[i] == address(0)) return (false, 0);
if (poolTokens[i] == tokenContractAddress) return (true, i);
}
}
/**
@notice Updates to the latest curve registry from the address provider
*/
function update_curve_registry() external onlyOwner {
address new_address = CurveAddressProvider.get_registry();
require(address(CurveRegistry) != new_address, "Already updated");
CurveRegistry = ICurveRegistry(new_address);
}
/**
@notice Updates to the latest curve registry from the address provider
*/
function update_factory_registry() external onlyOwner {
address new_address = CurveAddressProvider.get_address(3);
require(address(FactoryRegistry) != new_address, "Already updated");
FactoryRegistry = ICurveFactoryRegistry(new_address);
}
/**
@notice Add new pools which use the _use_underlying bool
@param swapAddresses Curve swap addresses for the pool
@param addUnderlying True if underlying tokens are always added
*/
function updateShouldAddUnderlying(
address[] calldata swapAddresses,
bool[] calldata addUnderlying
) external onlyOwner {
require(
swapAddresses.length == addUnderlying.length,
"Mismatched arrays"
);
for (uint256 i = 0; i < swapAddresses.length; i++) {
shouldAddUnderlying[swapAddresses[i]] = addUnderlying[i];
}
}
/**
@notice Add new pools which use uamounts for add_liquidity
@param swapAddresses Curve swap addresses to map from
@param _depositAddresses Curve deposit addresses to map to
*/
function updateDepositAddresses(
address[] calldata swapAddresses,
address[] calldata _depositAddresses
) external onlyOwner {
require(
swapAddresses.length == _depositAddresses.length,
"Mismatched arrays"
);
for (uint256 i = 0; i < swapAddresses.length; i++) {
depositAddresses[swapAddresses[i]] = _depositAddresses[i];
}
}
/**
//@notice Add new pools which use the _use_underlying bool
*/
function withdrawTokens(address[] calldata tokens) external onlyOwner {
for (uint256 i = 0; i < tokens.length; i++) {
uint256 qty;
if (tokens[i] == ETHAddress) {
qty = address(this).balance;
Address.sendValue(Address.toPayable(owner()), qty);
} else {
qty = IERC20(tokens[i]).balanceOf(address(this));
IERC20(tokens[i]).safeTransfer(owner(), qty);
}
}
}
}
// File contracts/Curve/Curve_ZapOut_General_V4_1.sol
pragma solidity ^0.5.7;
interface ICurveSwap {
function remove_liquidity_one_coin(
uint256 _token_amount,
int128 i,
uint256 min_amount
) external;
function remove_liquidity_one_coin(
uint256 _token_amount,
int128 i,
uint256 min_amount,
bool removeUnderlying
) external;
function calc_withdraw_one_coin(uint256 tokenAmount, int128 index)
external
view
returns (uint256);
}
interface IWETH {
function withdraw(uint256 wad) external;
}
contract Curve_ZapOut_General_V4_1 is ZapOutBaseV2_1 {
using SafeMath for uint256;
using SafeERC20 for IERC20;
address private constant wethTokenAddress =
address(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);
Curve_Registry_V2 public curveReg;
mapping(address => bool) public approvedTargets;
constructor(
Curve_Registry_V2 _curveRegistry,
uint256 _goodwill,
uint256 _affiliateSplit
) public ZapBaseV1(_goodwill, _affiliateSplit) {
approvedTargets[0xDef1C0ded9bec7F1a1670819833240f027b25EfF] = true;
curveReg = _curveRegistry;
}
event zapOut(
address sender,
address pool,
address token,
uint256 tokensRec
);
/**
@notice This method removes the liquidity from curve pools to ETH/ERC tokens
@param swapAddress indicates Curve swap address for the pool
@param incomingCrv indicates the amount of lp tokens to remove
@param intermediateToken specifies in which token to exit the curve pool
@param toToken indicates the ETH/ERC token to which tokens to convert
@param minToTokens indicates the minimum amount of toTokens to receive
@param _swapTarget Excecution target for the first swap
@param _swapCallData DEX quote data
@param affiliate Affiliate address to share fees
@param shouldSellEntireBalance True if incomingCrv is determined at execution time (i.e. contract is caller)
@return ToTokensBought- indicates the amount of toTokens received
*/
function ZapOut(
address swapAddress,
uint256 incomingCrv,
address intermediateToken,
address toToken,
uint256 minToTokens,
address _swapTarget,
bytes calldata _swapCallData,
address affiliate,
bool shouldSellEntireBalance
) external stopInEmergency returns (uint256 ToTokensBought) {
address poolTokenAddress = curveReg.getTokenAddress(swapAddress);
// get lp tokens
incomingCrv = _pullTokens(
poolTokenAddress,
incomingCrv,
shouldSellEntireBalance
);
if (intermediateToken == address(0)) {
intermediateToken = ETHAddress;
}
// perform zapOut
ToTokensBought = _zapOut(
swapAddress,
incomingCrv,
intermediateToken,
toToken,
_swapTarget,
_swapCallData
);
require(ToTokensBought >= minToTokens, "High Slippage");
uint256 totalGoodwillPortion;
// Transfer tokens
if (toToken == address(0)) {
totalGoodwillPortion = _subtractGoodwill(
ETHAddress,
ToTokensBought,
affiliate,
true
);
Address.sendValue(
msg.sender,
ToTokensBought.sub(totalGoodwillPortion)
);
} else {
totalGoodwillPortion = _subtractGoodwill(
toToken,
ToTokensBought,
affiliate,
true
);
IERC20(toToken).safeTransfer(
msg.sender,
ToTokensBought.sub(totalGoodwillPortion)
);
}
emit zapOut(msg.sender, swapAddress, toToken, ToTokensBought);
return ToTokensBought.sub(totalGoodwillPortion);
}
function _zapOut(
address swapAddress,
uint256 incomingCrv,
address intermediateToken,
address toToken,
address _swapTarget,
bytes memory _swapCallData
) internal returns (uint256 ToTokensBought) {
(bool isUnderlying, uint256 underlyingIndex) =
curveReg.isUnderlyingToken(swapAddress, intermediateToken);
// not metapool
if (isUnderlying) {
uint256 intermediateBought =
_exitCurve(
swapAddress,
incomingCrv,
underlyingIndex,
intermediateToken
);
if (intermediateToken == ETHAddress) intermediateToken = address(0);
ToTokensBought = _fillQuote(
intermediateToken,
toToken,
intermediateBought,
_swapTarget,
_swapCallData
);
} else {
// from metapool
address[4] memory poolTokens = curveReg.getPoolTokens(swapAddress);
address intermediateSwapAddress;
uint8 i;
for (; i < 4; i++) {
if (curveReg.getSwapAddress(poolTokens[i]) != address(0)) {
intermediateSwapAddress = curveReg.getSwapAddress(
poolTokens[i]
);
break;
}
}
// _exitCurve to intermediateSwapAddress Token
uint256 intermediateCrvBought =
_exitMetaCurve(swapAddress, incomingCrv, i, poolTokens[i]);
// _performZapOut: fromPool = intermediateSwapAddress
ToTokensBought = _zapOut(
intermediateSwapAddress,
intermediateCrvBought,
intermediateToken,
toToken,
_swapTarget,
_swapCallData
);
}
}
/**
@notice This method removes the liquidity from meta curve pools
@param swapAddress indicates the curve pool address from which liquidity to be removed.
@param incomingCrv indicates the amount of liquidity to be removed from the pool
@param index indicates the index of underlying token of the pool in which liquidity will be removed.
@return tokensReceived- indicates the amount of reserve tokens received
*/
function _exitMetaCurve(
address swapAddress,
uint256 incomingCrv,
uint256 index,
address exitTokenAddress
) internal returns (uint256 tokensReceived) {
require(incomingCrv > 0, "Insufficient lp tokens");
address tokenAddress = curveReg.getTokenAddress(swapAddress);
_approveToken(tokenAddress, swapAddress);
uint256 iniTokenBal = IERC20(exitTokenAddress).balanceOf(address(this));
ICurveSwap(swapAddress).remove_liquidity_one_coin(
incomingCrv,
int128(index),
0
);
tokensReceived = (IERC20(exitTokenAddress).balanceOf(address(this)))
.sub(iniTokenBal);
require(tokensReceived > 0, "Could not receive reserve tokens");
}
/**
@notice This method removes the liquidity from given curve pool
@param swapAddress indicates the curve pool address from which liquidity to be removed.
@param incomingCrv indicates the amount of liquidity to be removed from the pool
@param index indicates the index of underlying token of the pool in which liquidity will be removed.
@return tokensReceived- indicates the amount of reserve tokens received
*/
function _exitCurve(
address swapAddress,
uint256 incomingCrv,
uint256 index,
address exitTokenAddress
) internal returns (uint256 tokensReceived) {
require(incomingCrv > 0, "Insufficient lp tokens");
address depositAddress = curveReg.getDepositAddress(swapAddress);
address tokenAddress = curveReg.getTokenAddress(swapAddress);
_approveToken(tokenAddress, depositAddress);
address balanceToken =
exitTokenAddress == ETHAddress ? address(0) : exitTokenAddress;
uint256 iniTokenBal = _getBalance(balanceToken);
if (curveReg.shouldAddUnderlying(swapAddress)) {
// aave
ICurveSwap(depositAddress).remove_liquidity_one_coin(
incomingCrv,
int128(index),
0,
true
);
} else {
ICurveSwap(depositAddress).remove_liquidity_one_coin(
incomingCrv,
int128(index),
0
);
}
tokensReceived = _getBalance(balanceToken).sub(iniTokenBal);
require(tokensReceived > 0, "Could not receive reserve tokens");
}
/**
@notice This method swaps the fromToken to toToken using the 0x swap
@param _fromTokenAddress indicates the ETH/ERC20 token
@param _toTokenAddress indicates the ETH/ERC20 token
@param _amount indicates the amount of from tokens to swap
@param _swapTarget Excecution target for the first swap
@param _swapCallData DEX quote data
*/
function _fillQuote(
address _fromTokenAddress,
address _toTokenAddress,
uint256 _amount,
address _swapTarget,
bytes memory _swapCallData
) internal returns (uint256 amountBought) {
if (_fromTokenAddress == _toTokenAddress) return _amount;
if (_swapTarget == wethTokenAddress) {
IWETH(wethTokenAddress).withdraw(_amount);
return _amount;
}
uint256 valueToSend;
if (_fromTokenAddress == ETHAddress || _fromTokenAddress == address(0))
valueToSend = _amount;
else _approveToken(_fromTokenAddress, _swapTarget);
uint256 iniBal = _getBalance(_toTokenAddress);
require(approvedTargets[_swapTarget], "Target not Authorized");
(bool success, ) = _swapTarget.call.value(valueToSend)(_swapCallData);
require(success, "Error Swapping Tokens");
uint256 finalBal = _getBalance(_toTokenAddress);
amountBought = finalBal.sub(iniBal);
require(amountBought > 0, "Swapped To Invalid Intermediate");
}
/**
@notice Utility function to determine the quantity and address of a token being removed
@param swapAddress indicates the curve pool address from which liquidity to be removed
@param tokenAddress token to be removed
@param liquidity Quantity of LP tokens to remove.
@return amount Quantity of token removed
*/
function removeLiquidityReturn(
address swapAddress,
address tokenAddress,
uint256 liquidity
) external view returns (uint256 amount) {
if (tokenAddress == address(0)) tokenAddress = ETHAddress;
(bool underlying, uint256 index) =
curveReg.isUnderlyingToken(swapAddress, tokenAddress);
if (underlying) {
return
ICurveSwap(curveReg.getDepositAddress(swapAddress))
.calc_withdraw_one_coin(liquidity, int128(index));
} else {
address[4] memory poolTokens = curveReg.getPoolTokens(swapAddress);
address intermediateSwapAddress;
for (uint256 i = 0; i < 4; i++) {
intermediateSwapAddress = curveReg.getSwapAddress(
poolTokens[i]
);
if (intermediateSwapAddress != address(0)) break;
}
uint256 metaTokensRec =
ICurveSwap(swapAddress).calc_withdraw_one_coin(liquidity, 1);
(, index) = curveReg.isUnderlyingToken(
intermediateSwapAddress,
tokenAddress
);
return
ICurveSwap(intermediateSwapAddress).calc_withdraw_one_coin(
metaTokensRec,
int128(index)
);
}
}
function updateCurveRegistry(Curve_Registry_V2 newCurveRegistry)
external
onlyOwner
{
require(newCurveRegistry != curveReg, "Already using this Registry");
curveReg = newCurveRegistry;
}
function setApprovedTargets(
address[] calldata targets,
bool[] calldata isApproved
) external onlyOwner {
require(targets.length == isApproved.length, "Invalid Input length");
for (uint256 i = 0; i < targets.length; i++) {
approvedTargets[targets[i]] = isApproved[i];
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract Curve_Registry_V2","name":"_curveRegistry","type":"address"},{"internalType":"uint256","name":"_goodwill","type":"uint256"},{"internalType":"uint256","name":"_affiliateSplit","type":"uint256"}],"payable":false,"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":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"pool","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokensRec","type":"uint256"}],"name":"zapOut","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":false,"inputs":[{"internalType":"address","name":"swapAddress","type":"address"},{"internalType":"uint256","name":"incomingCrv","type":"uint256"},{"internalType":"address","name":"intermediateToken","type":"address"},{"internalType":"address","name":"toToken","type":"address"},{"internalType":"uint256","name":"minToTokens","type":"uint256"},{"internalType":"address","name":"_swapTarget","type":"address"},{"internalType":"bytes","name":"_swapCallData","type":"bytes"},{"internalType":"address","name":"affiliate","type":"address"},{"internalType":"bool","name":"shouldSellEntireBalance","type":"bool"}],"name":"ZapOut","outputs":[{"internalType":"uint256","name":"ToTokensBought","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"affiliateBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"affiliates","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"affilliateWithdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"approvedTargets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"curveReg","outputs":[{"internalType":"contract Curve_Registry_V2","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"feeWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"goodwill","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"swapAddress","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"}],"name":"removeLiquidityReturn","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"bool[]","name":"isApproved","type":"bool[]"}],"name":"setApprovedTargets","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_affiliate","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"set_affiliate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"zapAddress","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"set_feeWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_new_affiliateSplit","type":"uint256"}],"name":"set_new_affiliateSplit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_new_goodwill","type":"uint256"}],"name":"set_new_goodwill","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"stopped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"toggleContractActive","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalAffiliateBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract Curve_Registry_V2","name":"newCurveRegistry","type":"address"}],"name":"updateCurveRegistry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"withdrawTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040526000805460ff60a01b191690553480156200001e57600080fd5b50604051620032ac380380620032ac833981810160405260608110156200004457600080fd5b5080516020820151604090920151909190818160006200006c6001600160e01b036200013216565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600291909155600355505073def1c0ded9bec7f1a1670819833240f027b25eff60005260086020527f7aa0b0d2bc12a96893b4425a8ec467207b2288f9c2c8ef3a8d1b6f01ec352239805460ff19166001179055600780546001600160a01b03929092166001600160a01b031990921691909117905562000136565b3390565b61316680620001466000396000f3fe6080604052600436106101405760003560e01c8063715018a6116100b6578063d408f6571161006f578063d408f65714610590578063d8f6eb5b146105c3578063dee5b7e014610685578063e5953382146106c8578063f2fde38b146106fb578063fbec27bf1461072e57610140565b8063715018a61461043e57806375f12b21146104535780638da5cb5b146104685780638f32d59b1461047d5780639735a634146104925780639779d1a61461055d57610140565b8063374b09f811610108578063374b09f8146102d15780633ff428c7146103025780634f51e2941461033d578063550bfa56146103845780635de0398e146103ae5780635ecb16cd146103c357610140565b806301e980d4146101975780630dc9de85146101c15780631385d24c1461023c5780631781261f1461025157806318b135e31461029e575b33321415610195576040805162461bcd60e51b815260206004820152601860248201527f446f206e6f742073656e6420455448206469726563746c790000000000000000604482015290519081900360640190fd5b005b3480156101a357600080fd5b50610195600480360360208110156101ba57600080fd5b5035610769565b3480156101cd57600080fd5b50610195600480360360208110156101e457600080fd5b810190602081018135600160201b8111156101fe57600080fd5b82018360208201111561021057600080fd5b803590602001918460208302840111600160201b8311171561023157600080fd5b5090925090506107f5565b34801561024857600080fd5b506101956109d5565b34801561025d57600080fd5b5061028c6004803603604081101561027457600080fd5b506001600160a01b0381358116916020013516610a3d565b60408051918252519081900360200190f35b3480156102aa57600080fd5b5061028c600480360360208110156102c157600080fd5b50356001600160a01b0316610a5a565b3480156102dd57600080fd5b506102e6610a6c565b604080516001600160a01b039092168252519081900360200190f35b34801561030e57600080fd5b506101956004803603604081101561032557600080fd5b506001600160a01b0381351690602001351515610a7b565b34801561034957600080fd5b506103706004803603602081101561036057600080fd5b50356001600160a01b0316610aed565b604080519115158252519081900360200190f35b34801561039057600080fd5b50610195600480360360208110156103a757600080fd5b5035610b02565b3480156103ba57600080fd5b5061028c610ba4565b3480156103cf57600080fd5b50610195600480360360208110156103e657600080fd5b810190602081018135600160201b81111561040057600080fd5b82018360208201111561041257600080fd5b803590602001918460208302840111600160201b8311171561043357600080fd5b509092509050610baa565b34801561044a57600080fd5b50610195610dad565b34801561045f57600080fd5b50610370610e3e565b34801561047457600080fd5b506102e6610e4e565b34801561048957600080fd5b50610370610e5d565b34801561049e57600080fd5b50610195600480360360408110156104b557600080fd5b810190602081018135600160201b8111156104cf57600080fd5b8201836020820111156104e157600080fd5b803590602001918460208302840111600160201b8311171561050257600080fd5b919390929091602081019035600160201b81111561051f57600080fd5b82018360208201111561053157600080fd5b803590602001918460208302840111600160201b8311171561055257600080fd5b509092509050610e81565b34801561056957600080fd5b506103706004803603602081101561058057600080fd5b50356001600160a01b0316610f83565b34801561059c57600080fd5b50610370600480360360208110156105b357600080fd5b50356001600160a01b0316610f98565b3480156105cf57600080fd5b5061028c60048036036101208110156105e757600080fd5b6001600160a01b0382358116926020810135926040820135831692606083013581169260808101359260a08201359092169181019060e0810160c0820135600160201b81111561063657600080fd5b82018360208201111561064857600080fd5b803590602001918460018302840111600160201b8311171561066957600080fd5b91935091506001600160a01b0381351690602001351515610fad565b34801561069157600080fd5b5061028c600480360360608110156106a857600080fd5b506001600160a01b03813581169160208101359091169060400135611270565b3480156106d457600080fd5b50610195600480360360208110156106eb57600080fd5b50356001600160a01b0316611714565b34801561070757600080fd5b506101956004803603602081101561071e57600080fd5b50356001600160a01b03166117e0565b34801561073a57600080fd5b506101956004803603604081101561075157600080fd5b506001600160a01b0381351690602001351515611833565b610771610e5d565b6107b0576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b60648111156107f05760405162461bcd60e51b81526004018080602001828103825260218152602001806130656021913960400191505060405180910390fd5b600355565b6000805b828110156109cf573360009081526005602052604081209085858481811061081d57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020549150600060056000336001600160a01b03166001600160a01b03168152602001908152602001600020600086868581811061088557fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b031681526020019081526020016000208190555061090c82600660008787868181106108cd57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020546118a590919063ffffffff16565b6006600086868581811061091c57fe5b602090810292909201356001600160a01b03168352508101919091526040016000205573eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee84848381811061096057fe5b905060200201356001600160a01b03166001600160a01b0316141561098e5761098933836118f0565b6109c7565b6109c7338386868581811061099f57fe5b905060200201356001600160a01b03166001600160a01b03166119d59092919063ffffffff16565b6001016107f9565b50505050565b6109dd610e5d565b610a1c576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b6000805460ff60a01b198116600160a01b9182900460ff1615909102179055565b600560209081526000928352604080842090915290825290205481565b60066020526000908152604090205481565b6007546001600160a01b031681565b610a83610e5d565b610ac2576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600460205260409020805460ff1916911515919091179055565b60046020526000908152604090205460ff1681565b610b0a610e5d565b610b49576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b6064811115610b9f576040805162461bcd60e51b815260206004820152601a60248201527f476f6f6457696c6c2056616c7565206e6f7420616c6c6f776564000000000000604482015290519081900360640190fd5b600255565b60025481565b610bb2610e5d565b610bf1576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b60005b81811015610da857600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee848484818110610c1f57fe5b905060200201356001600160a01b03166001600160a01b03161415610cb157610c9160066000868686818110610c5157fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002054476118a590919063ffffffff16565b9050610cac610ca6610ca1610e4e565b611a27565b826118f0565b610d9f565b610d8560066000868686818110610cc457fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002054858585818110610d0157fe5b604080516370a0823160e01b81523060048201529051602092830294909401356001600160a01b0316936370a08231935060248083019392829003018186803b158015610d4d57600080fd5b505afa158015610d61573d6000803e3d6000fd5b505050506040513d6020811015610d7757600080fd5b50519063ffffffff6118a516565b9050610d9f610d92610e4e565b8286868681811061099f57fe5b50600101610bf4565b505050565b610db5610e5d565b610df4576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600054600160a01b900460ff1681565b6000546001600160a01b031690565b600080546001600160a01b0316610e72611a2e565b6001600160a01b031614905090565b610e89610e5d565b610ec8576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b828114610f13576040805162461bcd60e51b8152602060048201526014602482015273092dcecc2d8d2c84092dce0eae840d8cadccee8d60631b604482015290519081900360640190fd5b60005b83811015610f7c57828282818110610f2a57fe5b90506020020135151560086000878785818110610f4357fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff1916911515919091179055600101610f16565b5050505050565b60086020526000908152604090205460ff1681565b60016020526000908152604090205460ff1681565b60008054600160a01b900460ff1615611002576040805162461bcd60e51b815260206004820152601260248201527115195b5c1bdc985c9a5b1e4814185d5cd95960721b604482015290519081900360640190fd5b6007546040805163b8d7b66960e01b81526001600160a01b038e811660048301529151600093929092169163b8d7b66991602480820192602092909190829003018186803b15801561105357600080fd5b505afa158015611067573d6000803e3d6000fd5b505050506040513d602081101561107d57600080fd5b5051905061108c818c85611a32565b9a506001600160a01b038a166110b45773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee99505b6110f88c8c8c8c8b8b8b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b4392505050565b91508782101561113f576040805162461bcd60e51b815260206004820152600d60248201526c4869676820536c69707061676560981b604482015290519081900360640190fd5b60006001600160a01b038a166111905761117073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee84876001611e5b565b905061118b33611186858463ffffffff6118a516565b6118f0565b6111ca565b61119d8a84876001611e5b565b90506111ca336111b3858463ffffffff6118a516565b6001600160a01b038d16919063ffffffff6119d516565b7ff2d3e32195f8631c70e1d996c9bd5d4a3369d0580786dcd662bf13139310355d338e8c8660405180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b0316815260200182815260200194505050505060405180910390a161125f838263ffffffff6118a516565b9d9c50505050505050505050505050565b60006001600160a01b0383166112985773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee92505b600754604080516301e09fa360e41b81526001600160a01b038781166004830152868116602483015282516000948594921692631e09fa30926044808301939192829003018186803b1580156112ed57600080fd5b505afa158015611301573d6000803e3d6000fd5b505050506040513d604081101561131757600080fd5b5080516020909101519092509050811561142f576007546040805163d83a7f6760e01b81526001600160a01b0389811660048301529151919092169163d83a7f67916024808301926020929190829003018186803b15801561137857600080fd5b505afa15801561138c573d6000803e3d6000fd5b505050506040513d60208110156113a257600080fd5b50516040805163cc2b27d760e01b815260048101879052600f84810b900b602482015290516001600160a01b039092169163cc2b27d791604480820192602092909190829003018186803b1580156113f957600080fd5b505afa15801561140d573d6000803e3d6000fd5b505050506040513d602081101561142357600080fd5b5051925061170d915050565b611437612fc5565b6007546040805163ca4f280360e01b81526001600160a01b038a811660048301529151919092169163ca4f2803916024808301926080929190829003018186803b15801561148457600080fd5b505afa158015611498573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525060808110156114bd57600080fd5b5090506000805b600481101561157f576007546001600160a01b031663bbff1a668483600481106114ea57fe5b60200201516040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561153557600080fd5b505afa158015611549573d6000803e3d6000fd5b505050506040513d602081101561155f57600080fd5b505191506001600160a01b038216156115775761157f565b6001016114c4565b506000886001600160a01b031663cc2b27d78860016040518363ffffffff1660e01b81526004018083815260200182600f0b81526020019250505060206040518083038186803b1580156115d257600080fd5b505afa1580156115e6573d6000803e3d6000fd5b505050506040513d60208110156115fc57600080fd5b5051600754604080516301e09fa360e41b81526001600160a01b0386811660048301528c81166024830152825194955090921692631e09fa30926044808201939291829003018186803b15801561165257600080fd5b505afa158015611666573d6000803e3d6000fd5b505050506040513d604081101561167c57600080fd5b506020908101516040805163cc2b27d760e01b815260048101859052600f83810b900b602482015290519196506001600160a01b0385169263cc2b27d792604480840193829003018186803b1580156116d457600080fd5b505afa1580156116e8573d6000803e3d6000fd5b505050506040513d60208110156116fe57600080fd5b5051955061170d945050505050565b9392505050565b61171c610e5d565b61175b576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b6007546001600160a01b03828116911614156117be576040805162461bcd60e51b815260206004820152601b60248201527f416c7265616479207573696e6720746869732052656769737472790000000000604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6117e8610e5d565b611827576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b61183081611fb5565b50565b61183b610e5d565b61187a576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b60006118e783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612055565b90505b92915050565b80471015611945576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b6040516000906001600160a01b0384169083908381818185875af1925050503d8060008114611990576040519150601f19603f3d011682016040523d82523d6000602084013e611995565b606091505b5050905080610da85760405162461bcd60e51b815260040180806020018281038252603a81526020018061300a603a913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610da89084906120ec565b805b919050565b3390565b60008115611b2157611a43336122a4565b611a7e5760405162461bcd60e51b815260040180806020018281038252602c8152602001806130a6602c913960400191505060405180910390fd5b60408051636eb1769f60e11b8152336004820152306024820152905185916000916001600160a01b0384169163dd62ed3e916044808301926020929190829003018186803b158015611acf57600080fd5b505afa158015611ae3573d6000803e3d6000fd5b505050506040513d6020811015611af957600080fd5b50519050611b186001600160a01b03831633308463ffffffff6122e016565b915061170d9050565b611b3c6001600160a01b03851633308663ffffffff6122e016565b508161170d565b600754604080516301e09fa360e41b81526001600160a01b03898116600483015287811660248301528251600094859485949390911692631e09fa309260448083019392829003018186803b158015611b9b57600080fd5b505afa158015611baf573d6000803e3d6000fd5b505050506040513d6040811015611bc557600080fd5b50805160209091015190925090508115611c28576000611be78a8a848b61233a565b90506001600160a01b03881673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415611c1357600097505b611c2088888389896126b8565b935050611e4f565b611c30612fc5565b6007546040805163ca4f280360e01b81526001600160a01b038d811660048301529151919092169163ca4f2803916024808301926080929190829003018186803b158015611c7d57600080fd5b505afa158015611c91573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506080811015611cb657600080fd5b5090506000805b60048160ff161015611e17576007546000906001600160a01b031663bbff1a668560ff851660048110611cec57fe5b60200201516040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015611d3757600080fd5b505afa158015611d4b573d6000803e3d6000fd5b505050506040513d6020811015611d6157600080fd5b50516001600160a01b031614611e0f576007546001600160a01b031663bbff1a668460ff841660048110611d9157fe5b60200201516040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015611ddc57600080fd5b505afa158015611df0573d6000803e3d6000fd5b505050506040513d6020811015611e0657600080fd5b50519150611e17565b600101611cbd565b6000611e388d8d60ff8516878160048110611e2e57fe5b60200201516129ab565b9050611e4883828d8d8d8d611b43565b9650505050505b50509695505050505050565b3360009081526001602052604081205460ff16828015611e79575080155b8015611e8757506000600254115b15611fac57611ea3611e9b86600254612c1c565b612710612c75565b6001600160a01b03851660009081526004602052604090205490925060ff1615611fac576001600160a01b038616611eed5773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee95505b6000611f156064611f0960035486612c1c90919063ffffffff16565b9063ffffffff612c7516565b6001600160a01b038087166000908152600560209081526040808320938c1683529290522054909150611f4e908263ffffffff612cb716565b6001600160a01b038087166000908152600560209081526040808320938c168352928152828220939093556006909252902054611f91908263ffffffff612cb716565b6001600160a01b038816600090815260066020526040902055505b50949350505050565b6001600160a01b038116611ffa5760405162461bcd60e51b8152600401808060200182810382526026815260200180612fe46026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156120e45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156120a9578181015183820152602001612091565b50505050905090810190601f1680156120d65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6120fe826001600160a01b03166122a4565b61214f576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b6020831061218d5780518252601f19909201916020918201910161216e565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146121ef576040519150601f19603f3d011682016040523d82523d6000602084013e6121f4565b606091505b50915091508161224b576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156109cf5780806020019051602081101561226757600080fd5b50516109cf5760405162461bcd60e51b815260040180806020018281038252602a8152602001806130d2602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906122d857508115155b949350505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526109cf9085906120ec565b6000808411612389576040805162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e74206c7020746f6b656e7360501b604482015290519081900360640190fd5b6007546040805163d83a7f6760e01b81526001600160a01b0388811660048301529151600093929092169163d83a7f6791602480820192602092909190829003018186803b1580156123da57600080fd5b505afa1580156123ee573d6000803e3d6000fd5b505050506040513d602081101561240457600080fd5b50516007546040805163b8d7b66960e01b81526001600160a01b038a811660048301529151939450600093919092169163b8d7b669916024808301926020929190829003018186803b15801561245957600080fd5b505afa15801561246d573d6000803e3d6000fd5b505050506040513d602081101561248357600080fd5b505190506124918183612d11565b60006001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146124bd57846124c0565b60005b905060006124cd82612dbe565b60075460408051630a6954a960e21b81526001600160a01b038d8116600483015291519394509116916329a552a491602480820192602092909190829003018186803b15801561251c57600080fd5b505afa158015612530573d6000803e3d6000fd5b505050506040513d602081101561254657600080fd5b5051156125ca576040805163517a55a360e01b8152600481018a9052600f89810b900b60248201526000604482018190526001606483015291516001600160a01b0387169263517a55a3926084808201939182900301818387803b1580156125ad57600080fd5b505af11580156125c1573d6000803e3d6000fd5b5050505061263c565b60408051630d2680e960e11b8152600481018a9052600f89810b900b602482015260006044820181905291516001600160a01b03871692631a4d01d2926064808201939182900301818387803b15801561262357600080fd5b505af1158015612637573d6000803e3d6000fd5b505050505b6126558161264984612dbe565b9063ffffffff6118a516565b9450600085116126ac576040805162461bcd60e51b815260206004820181905260248201527f436f756c64206e6f742072656365697665207265736572766520746f6b656e73604482015290519081900360640190fd5b50505050949350505050565b6000846001600160a01b0316866001600160a01b031614156126db5750826129a2565b6001600160a01b03831673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2141561277a5773c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316632e1a7d4d856040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561275a57600080fd5b505af115801561276e573d6000803e3d6000fd5b505050508390506129a2565b60006001600160a01b03871673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14806127ae57506001600160a01b038716155b156127ba5750836127c4565b6127c48785612d11565b60006127cf87612dbe565b6001600160a01b03861660009081526008602052604090205490915060ff16612837576040805162461bcd60e51b815260206004820152601560248201527415185c99d95d081b9bdd08105d5d1a1bdc9a5e9959605a1b604482015290519081900360640190fd5b6000856001600160a01b031683866040518082805190602001908083835b602083106128745780518252601f199092019160209182019101612855565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146128d6576040519150601f19603f3d011682016040523d82523d6000602084013e6128db565b606091505b5050905080612929576040805162461bcd60e51b81526020600482015260156024820152744572726f72205377617070696e6720546f6b656e7360581b604482015290519081900360640190fd5b600061293489612dbe565b9050612946818463ffffffff6118a516565b94506000851161299d576040805162461bcd60e51b815260206004820152601f60248201527f5377617070656420546f20496e76616c696420496e7465726d65646961746500604482015290519081900360640190fd5b505050505b95945050505050565b60008084116129fa576040805162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e74206c7020746f6b656e7360501b604482015290519081900360640190fd5b6007546040805163b8d7b66960e01b81526001600160a01b0388811660048301529151600093929092169163b8d7b66991602480820192602092909190829003018186803b158015612a4b57600080fd5b505afa158015612a5f573d6000803e3d6000fd5b505050506040513d6020811015612a7557600080fd5b50519050612a838187612d11565b604080516370a0823160e01b815230600482015290516000916001600160a01b038616916370a0823191602480820192602092909190829003018186803b158015612acd57600080fd5b505afa158015612ae1573d6000803e3d6000fd5b505050506040513d6020811015612af757600080fd5b505160408051630d2680e960e11b815260048101899052600f88810b900b602482015260006044820181905291519293506001600160a01b038a1692631a4d01d29260648084019391929182900301818387803b158015612b5757600080fd5b505af1158015612b6b573d6000803e3d6000fd5b5050604080516370a0823160e01b81523060048201529051612bbb93508492506001600160a01b038816916370a08231916024808301926020929190829003018186803b158015610d4d57600080fd5b925060008311612c12576040805162461bcd60e51b815260206004820181905260248201527f436f756c64206e6f742072656365697665207265736572766520746f6b656e73604482015290519081900360640190fd5b5050949350505050565b600082612c2b575060006118ea565b82820282848281612c3857fe5b04146118e75760405162461bcd60e51b81526004018080602001828103825260218152602001806130446021913960400191505060405180910390fd5b60006118e783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612e4d565b6000828201838110156118e7576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60408051636eb1769f60e11b81523060048201526001600160a01b038381166024830152915184926000929084169163dd62ed3e91604480820192602092909190829003018186803b158015612d6657600080fd5b505afa158015612d7a573d6000803e3d6000fd5b505050506040513d6020811015612d9057600080fd5b50511115612d9e5750612dba565b610da86001600160a01b0382168360001963ffffffff612eb216565b5050565b60006001600160a01b038216612dd5575047611a29565b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b158015612e1b57600080fd5b505afa158015612e2f573d6000803e3d6000fd5b505050506040513d6020811015612e4557600080fd5b505192915050565b60008183612e9c5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156120a9578181015183820152602001612091565b506000838581612ea857fe5b0495945050505050565b801580612f38575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015612f0a57600080fd5b505afa158015612f1e573d6000803e3d6000fd5b505050506040513d6020811015612f3457600080fd5b5051155b612f735760405162461bcd60e51b81526004018080602001828103825260368152602001806130fc6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610da89084906120ec565b6040518060800160405280600490602082028038833950919291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416666696c696174652053706c69742056616c7565206e6f7420616c6c6f7765644f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552523a2073686f756c6453656c6c456e7469726542616c616e6365206973207472756520666f7220454f415361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a72315820473cf54f4e969b2e4c3456b69ffb99bc2b71ae3c4b3d99c73b6ebcf5edd0345764736f6c634300051100320000000000000000000000008aee0a8a05a319bfca41ff2e95c48f3f8638321100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101405760003560e01c8063715018a6116100b6578063d408f6571161006f578063d408f65714610590578063d8f6eb5b146105c3578063dee5b7e014610685578063e5953382146106c8578063f2fde38b146106fb578063fbec27bf1461072e57610140565b8063715018a61461043e57806375f12b21146104535780638da5cb5b146104685780638f32d59b1461047d5780639735a634146104925780639779d1a61461055d57610140565b8063374b09f811610108578063374b09f8146102d15780633ff428c7146103025780634f51e2941461033d578063550bfa56146103845780635de0398e146103ae5780635ecb16cd146103c357610140565b806301e980d4146101975780630dc9de85146101c15780631385d24c1461023c5780631781261f1461025157806318b135e31461029e575b33321415610195576040805162461bcd60e51b815260206004820152601860248201527f446f206e6f742073656e6420455448206469726563746c790000000000000000604482015290519081900360640190fd5b005b3480156101a357600080fd5b50610195600480360360208110156101ba57600080fd5b5035610769565b3480156101cd57600080fd5b50610195600480360360208110156101e457600080fd5b810190602081018135600160201b8111156101fe57600080fd5b82018360208201111561021057600080fd5b803590602001918460208302840111600160201b8311171561023157600080fd5b5090925090506107f5565b34801561024857600080fd5b506101956109d5565b34801561025d57600080fd5b5061028c6004803603604081101561027457600080fd5b506001600160a01b0381358116916020013516610a3d565b60408051918252519081900360200190f35b3480156102aa57600080fd5b5061028c600480360360208110156102c157600080fd5b50356001600160a01b0316610a5a565b3480156102dd57600080fd5b506102e6610a6c565b604080516001600160a01b039092168252519081900360200190f35b34801561030e57600080fd5b506101956004803603604081101561032557600080fd5b506001600160a01b0381351690602001351515610a7b565b34801561034957600080fd5b506103706004803603602081101561036057600080fd5b50356001600160a01b0316610aed565b604080519115158252519081900360200190f35b34801561039057600080fd5b50610195600480360360208110156103a757600080fd5b5035610b02565b3480156103ba57600080fd5b5061028c610ba4565b3480156103cf57600080fd5b50610195600480360360208110156103e657600080fd5b810190602081018135600160201b81111561040057600080fd5b82018360208201111561041257600080fd5b803590602001918460208302840111600160201b8311171561043357600080fd5b509092509050610baa565b34801561044a57600080fd5b50610195610dad565b34801561045f57600080fd5b50610370610e3e565b34801561047457600080fd5b506102e6610e4e565b34801561048957600080fd5b50610370610e5d565b34801561049e57600080fd5b50610195600480360360408110156104b557600080fd5b810190602081018135600160201b8111156104cf57600080fd5b8201836020820111156104e157600080fd5b803590602001918460208302840111600160201b8311171561050257600080fd5b919390929091602081019035600160201b81111561051f57600080fd5b82018360208201111561053157600080fd5b803590602001918460208302840111600160201b8311171561055257600080fd5b509092509050610e81565b34801561056957600080fd5b506103706004803603602081101561058057600080fd5b50356001600160a01b0316610f83565b34801561059c57600080fd5b50610370600480360360208110156105b357600080fd5b50356001600160a01b0316610f98565b3480156105cf57600080fd5b5061028c60048036036101208110156105e757600080fd5b6001600160a01b0382358116926020810135926040820135831692606083013581169260808101359260a08201359092169181019060e0810160c0820135600160201b81111561063657600080fd5b82018360208201111561064857600080fd5b803590602001918460018302840111600160201b8311171561066957600080fd5b91935091506001600160a01b0381351690602001351515610fad565b34801561069157600080fd5b5061028c600480360360608110156106a857600080fd5b506001600160a01b03813581169160208101359091169060400135611270565b3480156106d457600080fd5b50610195600480360360208110156106eb57600080fd5b50356001600160a01b0316611714565b34801561070757600080fd5b506101956004803603602081101561071e57600080fd5b50356001600160a01b03166117e0565b34801561073a57600080fd5b506101956004803603604081101561075157600080fd5b506001600160a01b0381351690602001351515611833565b610771610e5d565b6107b0576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b60648111156107f05760405162461bcd60e51b81526004018080602001828103825260218152602001806130656021913960400191505060405180910390fd5b600355565b6000805b828110156109cf573360009081526005602052604081209085858481811061081d57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020549150600060056000336001600160a01b03166001600160a01b03168152602001908152602001600020600086868581811061088557fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b031681526020019081526020016000208190555061090c82600660008787868181106108cd57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020546118a590919063ffffffff16565b6006600086868581811061091c57fe5b602090810292909201356001600160a01b03168352508101919091526040016000205573eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee84848381811061096057fe5b905060200201356001600160a01b03166001600160a01b0316141561098e5761098933836118f0565b6109c7565b6109c7338386868581811061099f57fe5b905060200201356001600160a01b03166001600160a01b03166119d59092919063ffffffff16565b6001016107f9565b50505050565b6109dd610e5d565b610a1c576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b6000805460ff60a01b198116600160a01b9182900460ff1615909102179055565b600560209081526000928352604080842090915290825290205481565b60066020526000908152604090205481565b6007546001600160a01b031681565b610a83610e5d565b610ac2576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600460205260409020805460ff1916911515919091179055565b60046020526000908152604090205460ff1681565b610b0a610e5d565b610b49576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b6064811115610b9f576040805162461bcd60e51b815260206004820152601a60248201527f476f6f6457696c6c2056616c7565206e6f7420616c6c6f776564000000000000604482015290519081900360640190fd5b600255565b60025481565b610bb2610e5d565b610bf1576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b60005b81811015610da857600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee848484818110610c1f57fe5b905060200201356001600160a01b03166001600160a01b03161415610cb157610c9160066000868686818110610c5157fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002054476118a590919063ffffffff16565b9050610cac610ca6610ca1610e4e565b611a27565b826118f0565b610d9f565b610d8560066000868686818110610cc457fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002054858585818110610d0157fe5b604080516370a0823160e01b81523060048201529051602092830294909401356001600160a01b0316936370a08231935060248083019392829003018186803b158015610d4d57600080fd5b505afa158015610d61573d6000803e3d6000fd5b505050506040513d6020811015610d7757600080fd5b50519063ffffffff6118a516565b9050610d9f610d92610e4e565b8286868681811061099f57fe5b50600101610bf4565b505050565b610db5610e5d565b610df4576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600054600160a01b900460ff1681565b6000546001600160a01b031690565b600080546001600160a01b0316610e72611a2e565b6001600160a01b031614905090565b610e89610e5d565b610ec8576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b828114610f13576040805162461bcd60e51b8152602060048201526014602482015273092dcecc2d8d2c84092dce0eae840d8cadccee8d60631b604482015290519081900360640190fd5b60005b83811015610f7c57828282818110610f2a57fe5b90506020020135151560086000878785818110610f4357fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff1916911515919091179055600101610f16565b5050505050565b60086020526000908152604090205460ff1681565b60016020526000908152604090205460ff1681565b60008054600160a01b900460ff1615611002576040805162461bcd60e51b815260206004820152601260248201527115195b5c1bdc985c9a5b1e4814185d5cd95960721b604482015290519081900360640190fd5b6007546040805163b8d7b66960e01b81526001600160a01b038e811660048301529151600093929092169163b8d7b66991602480820192602092909190829003018186803b15801561105357600080fd5b505afa158015611067573d6000803e3d6000fd5b505050506040513d602081101561107d57600080fd5b5051905061108c818c85611a32565b9a506001600160a01b038a166110b45773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee99505b6110f88c8c8c8c8b8b8b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b4392505050565b91508782101561113f576040805162461bcd60e51b815260206004820152600d60248201526c4869676820536c69707061676560981b604482015290519081900360640190fd5b60006001600160a01b038a166111905761117073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee84876001611e5b565b905061118b33611186858463ffffffff6118a516565b6118f0565b6111ca565b61119d8a84876001611e5b565b90506111ca336111b3858463ffffffff6118a516565b6001600160a01b038d16919063ffffffff6119d516565b7ff2d3e32195f8631c70e1d996c9bd5d4a3369d0580786dcd662bf13139310355d338e8c8660405180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b0316815260200182815260200194505050505060405180910390a161125f838263ffffffff6118a516565b9d9c50505050505050505050505050565b60006001600160a01b0383166112985773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee92505b600754604080516301e09fa360e41b81526001600160a01b038781166004830152868116602483015282516000948594921692631e09fa30926044808301939192829003018186803b1580156112ed57600080fd5b505afa158015611301573d6000803e3d6000fd5b505050506040513d604081101561131757600080fd5b5080516020909101519092509050811561142f576007546040805163d83a7f6760e01b81526001600160a01b0389811660048301529151919092169163d83a7f67916024808301926020929190829003018186803b15801561137857600080fd5b505afa15801561138c573d6000803e3d6000fd5b505050506040513d60208110156113a257600080fd5b50516040805163cc2b27d760e01b815260048101879052600f84810b900b602482015290516001600160a01b039092169163cc2b27d791604480820192602092909190829003018186803b1580156113f957600080fd5b505afa15801561140d573d6000803e3d6000fd5b505050506040513d602081101561142357600080fd5b5051925061170d915050565b611437612fc5565b6007546040805163ca4f280360e01b81526001600160a01b038a811660048301529151919092169163ca4f2803916024808301926080929190829003018186803b15801561148457600080fd5b505afa158015611498573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525060808110156114bd57600080fd5b5090506000805b600481101561157f576007546001600160a01b031663bbff1a668483600481106114ea57fe5b60200201516040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561153557600080fd5b505afa158015611549573d6000803e3d6000fd5b505050506040513d602081101561155f57600080fd5b505191506001600160a01b038216156115775761157f565b6001016114c4565b506000886001600160a01b031663cc2b27d78860016040518363ffffffff1660e01b81526004018083815260200182600f0b81526020019250505060206040518083038186803b1580156115d257600080fd5b505afa1580156115e6573d6000803e3d6000fd5b505050506040513d60208110156115fc57600080fd5b5051600754604080516301e09fa360e41b81526001600160a01b0386811660048301528c81166024830152825194955090921692631e09fa30926044808201939291829003018186803b15801561165257600080fd5b505afa158015611666573d6000803e3d6000fd5b505050506040513d604081101561167c57600080fd5b506020908101516040805163cc2b27d760e01b815260048101859052600f83810b900b602482015290519196506001600160a01b0385169263cc2b27d792604480840193829003018186803b1580156116d457600080fd5b505afa1580156116e8573d6000803e3d6000fd5b505050506040513d60208110156116fe57600080fd5b5051955061170d945050505050565b9392505050565b61171c610e5d565b61175b576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b6007546001600160a01b03828116911614156117be576040805162461bcd60e51b815260206004820152601b60248201527f416c7265616479207573696e6720746869732052656769737472790000000000604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6117e8610e5d565b611827576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b61183081611fb5565b50565b61183b610e5d565b61187a576040805162461bcd60e51b81526020600482018190526024820152600080516020613086833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b60006118e783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612055565b90505b92915050565b80471015611945576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b6040516000906001600160a01b0384169083908381818185875af1925050503d8060008114611990576040519150601f19603f3d011682016040523d82523d6000602084013e611995565b606091505b5050905080610da85760405162461bcd60e51b815260040180806020018281038252603a81526020018061300a603a913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610da89084906120ec565b805b919050565b3390565b60008115611b2157611a43336122a4565b611a7e5760405162461bcd60e51b815260040180806020018281038252602c8152602001806130a6602c913960400191505060405180910390fd5b60408051636eb1769f60e11b8152336004820152306024820152905185916000916001600160a01b0384169163dd62ed3e916044808301926020929190829003018186803b158015611acf57600080fd5b505afa158015611ae3573d6000803e3d6000fd5b505050506040513d6020811015611af957600080fd5b50519050611b186001600160a01b03831633308463ffffffff6122e016565b915061170d9050565b611b3c6001600160a01b03851633308663ffffffff6122e016565b508161170d565b600754604080516301e09fa360e41b81526001600160a01b03898116600483015287811660248301528251600094859485949390911692631e09fa309260448083019392829003018186803b158015611b9b57600080fd5b505afa158015611baf573d6000803e3d6000fd5b505050506040513d6040811015611bc557600080fd5b50805160209091015190925090508115611c28576000611be78a8a848b61233a565b90506001600160a01b03881673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415611c1357600097505b611c2088888389896126b8565b935050611e4f565b611c30612fc5565b6007546040805163ca4f280360e01b81526001600160a01b038d811660048301529151919092169163ca4f2803916024808301926080929190829003018186803b158015611c7d57600080fd5b505afa158015611c91573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506080811015611cb657600080fd5b5090506000805b60048160ff161015611e17576007546000906001600160a01b031663bbff1a668560ff851660048110611cec57fe5b60200201516040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015611d3757600080fd5b505afa158015611d4b573d6000803e3d6000fd5b505050506040513d6020811015611d6157600080fd5b50516001600160a01b031614611e0f576007546001600160a01b031663bbff1a668460ff841660048110611d9157fe5b60200201516040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015611ddc57600080fd5b505afa158015611df0573d6000803e3d6000fd5b505050506040513d6020811015611e0657600080fd5b50519150611e17565b600101611cbd565b6000611e388d8d60ff8516878160048110611e2e57fe5b60200201516129ab565b9050611e4883828d8d8d8d611b43565b9650505050505b50509695505050505050565b3360009081526001602052604081205460ff16828015611e79575080155b8015611e8757506000600254115b15611fac57611ea3611e9b86600254612c1c565b612710612c75565b6001600160a01b03851660009081526004602052604090205490925060ff1615611fac576001600160a01b038616611eed5773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee95505b6000611f156064611f0960035486612c1c90919063ffffffff16565b9063ffffffff612c7516565b6001600160a01b038087166000908152600560209081526040808320938c1683529290522054909150611f4e908263ffffffff612cb716565b6001600160a01b038087166000908152600560209081526040808320938c168352928152828220939093556006909252902054611f91908263ffffffff612cb716565b6001600160a01b038816600090815260066020526040902055505b50949350505050565b6001600160a01b038116611ffa5760405162461bcd60e51b8152600401808060200182810382526026815260200180612fe46026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156120e45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156120a9578181015183820152602001612091565b50505050905090810190601f1680156120d65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6120fe826001600160a01b03166122a4565b61214f576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b6020831061218d5780518252601f19909201916020918201910161216e565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146121ef576040519150601f19603f3d011682016040523d82523d6000602084013e6121f4565b606091505b50915091508161224b576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156109cf5780806020019051602081101561226757600080fd5b50516109cf5760405162461bcd60e51b815260040180806020018281038252602a8152602001806130d2602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906122d857508115155b949350505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526109cf9085906120ec565b6000808411612389576040805162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e74206c7020746f6b656e7360501b604482015290519081900360640190fd5b6007546040805163d83a7f6760e01b81526001600160a01b0388811660048301529151600093929092169163d83a7f6791602480820192602092909190829003018186803b1580156123da57600080fd5b505afa1580156123ee573d6000803e3d6000fd5b505050506040513d602081101561240457600080fd5b50516007546040805163b8d7b66960e01b81526001600160a01b038a811660048301529151939450600093919092169163b8d7b669916024808301926020929190829003018186803b15801561245957600080fd5b505afa15801561246d573d6000803e3d6000fd5b505050506040513d602081101561248357600080fd5b505190506124918183612d11565b60006001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146124bd57846124c0565b60005b905060006124cd82612dbe565b60075460408051630a6954a960e21b81526001600160a01b038d8116600483015291519394509116916329a552a491602480820192602092909190829003018186803b15801561251c57600080fd5b505afa158015612530573d6000803e3d6000fd5b505050506040513d602081101561254657600080fd5b5051156125ca576040805163517a55a360e01b8152600481018a9052600f89810b900b60248201526000604482018190526001606483015291516001600160a01b0387169263517a55a3926084808201939182900301818387803b1580156125ad57600080fd5b505af11580156125c1573d6000803e3d6000fd5b5050505061263c565b60408051630d2680e960e11b8152600481018a9052600f89810b900b602482015260006044820181905291516001600160a01b03871692631a4d01d2926064808201939182900301818387803b15801561262357600080fd5b505af1158015612637573d6000803e3d6000fd5b505050505b6126558161264984612dbe565b9063ffffffff6118a516565b9450600085116126ac576040805162461bcd60e51b815260206004820181905260248201527f436f756c64206e6f742072656365697665207265736572766520746f6b656e73604482015290519081900360640190fd5b50505050949350505050565b6000846001600160a01b0316866001600160a01b031614156126db5750826129a2565b6001600160a01b03831673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2141561277a5773c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316632e1a7d4d856040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561275a57600080fd5b505af115801561276e573d6000803e3d6000fd5b505050508390506129a2565b60006001600160a01b03871673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14806127ae57506001600160a01b038716155b156127ba5750836127c4565b6127c48785612d11565b60006127cf87612dbe565b6001600160a01b03861660009081526008602052604090205490915060ff16612837576040805162461bcd60e51b815260206004820152601560248201527415185c99d95d081b9bdd08105d5d1a1bdc9a5e9959605a1b604482015290519081900360640190fd5b6000856001600160a01b031683866040518082805190602001908083835b602083106128745780518252601f199092019160209182019101612855565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146128d6576040519150601f19603f3d011682016040523d82523d6000602084013e6128db565b606091505b5050905080612929576040805162461bcd60e51b81526020600482015260156024820152744572726f72205377617070696e6720546f6b656e7360581b604482015290519081900360640190fd5b600061293489612dbe565b9050612946818463ffffffff6118a516565b94506000851161299d576040805162461bcd60e51b815260206004820152601f60248201527f5377617070656420546f20496e76616c696420496e7465726d65646961746500604482015290519081900360640190fd5b505050505b95945050505050565b60008084116129fa576040805162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e74206c7020746f6b656e7360501b604482015290519081900360640190fd5b6007546040805163b8d7b66960e01b81526001600160a01b0388811660048301529151600093929092169163b8d7b66991602480820192602092909190829003018186803b158015612a4b57600080fd5b505afa158015612a5f573d6000803e3d6000fd5b505050506040513d6020811015612a7557600080fd5b50519050612a838187612d11565b604080516370a0823160e01b815230600482015290516000916001600160a01b038616916370a0823191602480820192602092909190829003018186803b158015612acd57600080fd5b505afa158015612ae1573d6000803e3d6000fd5b505050506040513d6020811015612af757600080fd5b505160408051630d2680e960e11b815260048101899052600f88810b900b602482015260006044820181905291519293506001600160a01b038a1692631a4d01d29260648084019391929182900301818387803b158015612b5757600080fd5b505af1158015612b6b573d6000803e3d6000fd5b5050604080516370a0823160e01b81523060048201529051612bbb93508492506001600160a01b038816916370a08231916024808301926020929190829003018186803b158015610d4d57600080fd5b925060008311612c12576040805162461bcd60e51b815260206004820181905260248201527f436f756c64206e6f742072656365697665207265736572766520746f6b656e73604482015290519081900360640190fd5b5050949350505050565b600082612c2b575060006118ea565b82820282848281612c3857fe5b04146118e75760405162461bcd60e51b81526004018080602001828103825260218152602001806130446021913960400191505060405180910390fd5b60006118e783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612e4d565b6000828201838110156118e7576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60408051636eb1769f60e11b81523060048201526001600160a01b038381166024830152915184926000929084169163dd62ed3e91604480820192602092909190829003018186803b158015612d6657600080fd5b505afa158015612d7a573d6000803e3d6000fd5b505050506040513d6020811015612d9057600080fd5b50511115612d9e5750612dba565b610da86001600160a01b0382168360001963ffffffff612eb216565b5050565b60006001600160a01b038216612dd5575047611a29565b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b158015612e1b57600080fd5b505afa158015612e2f573d6000803e3d6000fd5b505050506040513d6020811015612e4557600080fd5b505192915050565b60008183612e9c5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156120a9578181015183820152602001612091565b506000838581612ea857fe5b0495945050505050565b801580612f38575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015612f0a57600080fd5b505afa158015612f1e573d6000803e3d6000fd5b505050506040513d6020811015612f3457600080fd5b5051155b612f735760405162461bcd60e51b81526004018080602001828103825260368152602001806130fc6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610da89084906120ec565b6040518060800160405280600490602082028038833950919291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416666696c696174652053706c69742056616c7565206e6f7420616c6c6f7765644f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552523a2073686f756c6453656c6c456e7469726542616c616e6365206973207472756520666f7220454f415361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a72315820473cf54f4e969b2e4c3456b69ffb99bc2b71ae3c4b3d99c73b6ebcf5edd0345764736f6c63430005110032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000008aee0a8a05a319bfca41ff2e95c48f3f8638321100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _curveRegistry (address): 0x8AEE0a8A05A319BfCa41fF2E95C48f3F86383211
Arg [1] : _goodwill (uint256): 0
Arg [2] : _affiliateSplit (uint256): 0
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000008aee0a8a05a319bfca41ff2e95c48f3f86383211
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
42705:12321:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26252:10;26266:9;26252:23;;26244:60;;;;;-1:-1:-1;;;26244:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;42705:12321;24341:278;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24341:278:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24341:278:0;;:::i;25583:614::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25583:614:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;25583:614:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;25583:614:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;25583:614:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;25583:614:0;;-1:-1:-1;25583:614:0;-1:-1:-1;25583:614:0;:::i;23840:86::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23840:86:0;;;:::i;22378:71::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22378:71:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;22378:71:0;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;22480:56;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22480:56:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22480:56:0;-1:-1:-1;;;;;22480:56:0;;:::i;42946:33::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42946:33:0;;;:::i;:::-;;;;-1:-1:-1;;;;;42946:33:0;;;;;;;;;;;;;;24627:150;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24627:150:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24627:150:0;;;;;;;;;;:::i;22292:42::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22292:42:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22292:42:0;-1:-1:-1;;;;;22292:42:0;;:::i;:::-;;;;;;;;;;;;;;;;;;24095:238;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24095:238:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24095:238:0;;:::i;22167:23::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22167:23:0;;;:::i;24853:654::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24853:654:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24853:654:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;24853:654:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;24853:654:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;24853:654:0;;-1:-1:-1;24853:654:0;-1:-1:-1;24853:654:0;:::i;4790:140::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4790:140:0;;;:::i;22036:27::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22036:27:0;;;:::i;3979:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3979:79:0;;;:::i;4345:94::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4345:94:0;;;:::i;54681:342::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54681:342:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;54681:342:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;54681:342:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;54681:342:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;54681:342:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;54681:342:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;54681:342:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;54681:342:0;;-1:-1:-1;54681:342:0;-1:-1:-1;54681:342:0;:::i;42988:47::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42988:47:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42988:47:0;-1:-1:-1;;;;;42988:47:0;;:::i;22114:44::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22114:44:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22114:44:0;-1:-1:-1;;;;;22114:44:0;;:::i;44274:1947::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44274:1947:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;44274:1947:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;44274:1947:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;44274:1947:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;44274:1947:0;;-1:-1:-1;44274:1947:0;-1:-1:-1;;;;;;44274:1947:0;;;;;;;;;;:::i;53034:1399::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;53034:1399:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;53034:1399:0;;;;;;;;;;;;;;;;;:::i;54441:232::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54441:232:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;54441:232:0;-1:-1:-1;;;;;54441:232:0;;:::i;5085:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5085:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5085:109:0;-1:-1:-1;;;;;5085:109:0;;:::i;23934:153::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23934:153:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;23934:153:0;;;;;;;;;;:::i;24341:278::-;4191:9;:7;:9::i;:::-;4183:54;;;;;-1:-1:-1;;;4183:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4183:54:0;;;;;;;;;;;;;;;24500:3;24477:19;:26;;24455:109;;;;-1:-1:-1;;;24455:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24575:14;:36;24341:278::o;25583:614::-;25658:16;;25685:505;25705:17;;;25685:505;;;25772:10;25755:28;;;;:16;:28;;;;;;25784:6;;25791:1;25784:9;;;;;;;;;;;;;-1:-1:-1;;;;;25784:9:0;-1:-1:-1;;;;;25755:39:0;-1:-1:-1;;;;;25755:39:0;;;;;;;;;;;;;25744:50;;25851:1;25809:16;:28;25826:10;-1:-1:-1;;;;;25809:28:0;-1:-1:-1;;;;;25809:28:0;;;;;;;;;;;;:39;25838:6;;25845:1;25838:9;;;;;;;;;;;;;-1:-1:-1;;;;;25838:9:0;-1:-1:-1;;;;;25809:39:0;-1:-1:-1;;;;;25809:39:0;;;;;;;;;;;;:43;;;;25902:64;25957:8;25902:21;:32;25924:6;;25931:1;25924:9;;;;;;;;;;;;;-1:-1:-1;;;;;25924:9:0;-1:-1:-1;;;;;25902:32:0;-1:-1:-1;;;;;25902:32:0;;;;;;;;;;;;;:54;;:64;;;;:::i;:::-;25867:21;:32;25889:6;;25896:1;25889:9;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25889:9:0;25867:32;;-1:-1:-1;25867:32:0;;;;;;;;-1:-1:-1;25867:32:0;:99;22593:42;25987:6;;25994:1;25987:9;;;;;;;;;;;;;-1:-1:-1;;;;;25987:9:0;-1:-1:-1;;;;;25987:23:0;;25983:196;;;26031:39;26049:10;26061:8;26031:17;:39::i;:::-;25983:196;;;26111:52;26142:10;26154:8;26118:6;;26125:1;26118:9;;;;;;;;;;;;;-1:-1:-1;;;;;26118:9:0;-1:-1:-1;;;;;26111:30:0;;;:52;;;;;:::i;:::-;25724:3;;25685:505;;;;25583:614;;;:::o;23840:86::-;4191:9;:7;:9::i;:::-;4183:54;;;;;-1:-1:-1;;;4183:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4183:54:0;;;;;;;;;;;;;;;23911:7;;;-1:-1:-1;;;;23900:18:0;;-1:-1:-1;;;23911:7:0;;;;;;23910:8;23900:18;;;;;;23840:86::o;22378:71::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;22480:56::-;;;;;;;;;;;;;:::o;42946:33::-;;;-1:-1:-1;;;;;42946:33:0;;:::o;24627:150::-;4191:9;:7;:9::i;:::-;4183:54;;;;;-1:-1:-1;;;4183:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4183:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;24737:22:0;;;;;;;;:10;:22;;;;;:32;;-1:-1:-1;;24737:32:0;;;;;;;;;;24627:150::o;22292:42::-;;;;;;;;;;;;;;;:::o;24095:238::-;4191:9;:7;:9::i;:::-;4183:54;;;;;-1:-1:-1;;;4183:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4183:54:0;;;;;;;;;;;;;;;24233:3;24216:13;:20;;24172:118;;;;;-1:-1:-1;;;24172:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;24301:8;:24;24095:238::o;22167:23::-;;;;:::o;24853:654::-;4191:9;:7;:9::i;:::-;4183:54;;;;;-1:-1:-1;;;4183:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4183:54:0;;;;;;;;;;;;;;;24939:9;24934:566;24954:17;;;24934:566;;;24993:11;22593:42;25025:6;;25032:1;25025:9;;;;;;;;;;;;;-1:-1:-1;;;;;25025:9:0;-1:-1:-1;;;;;25025:23:0;;25021:468;;;25075:99;25123:21;:32;25145:6;;25152:1;25145:9;;;;;;;;;;;;;-1:-1:-1;;;;;25145:9:0;-1:-1:-1;;;;;25123:32:0;-1:-1:-1;;;;;25123:32:0;;;;;;;;;;;;;25075:21;:25;;:99;;;;:::i;:::-;25069:105;;25193:50;25211:26;25229:7;:5;:7::i;:::-;25211:17;:26::i;:::-;25239:3;25193:17;:50::i;:::-;25021:468;;;25290:120;25359:21;:32;25381:6;;25388:1;25381:9;;;;;;;;;;;;;-1:-1:-1;;;;;25381:9:0;-1:-1:-1;;;;;25359:32:0;-1:-1:-1;;;;;25359:32:0;;;;;;;;;;;;;25297:6;;25304:1;25297:9;;;;;;;25290:42;;;-1:-1:-1;;;25290:42:0;;25326:4;25290:42;;;;;;25297:9;;;;;;;;;-1:-1:-1;;;;;25297:9:0;;25290:27;;-1:-1:-1;25290:42:0;;;;;25297:9;25290:42;;;;;25297:9;25290:42;;;5:2:-1;;;;30:1;27;20:12;5:2;25290:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25290:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25290:42:0;;:120;:46;:120;:::i;:::-;25284:126;;25429:44;25460:7;:5;:7::i;:::-;25469:3;25436:6;;25443:1;25436:9;;;;;;25429:44;-1:-1:-1;24973:3:0;;24934:566;;;;24853:654;;:::o;4790:140::-;4191:9;:7;:9::i;:::-;4183:54;;;;;-1:-1:-1;;;4183:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4183:54:0;;;;;;;;;;;;;;;4889:1;4873:6;;4852:40;;-1:-1:-1;;;;;4873:6:0;;;;4852:40;;4889:1;;4852:40;4920:1;4903:19;;-1:-1:-1;;;;;;4903:19:0;;;4790:140::o;22036:27::-;;;-1:-1:-1;;;22036:27:0;;;;;:::o;3979:79::-;4017:7;4044:6;-1:-1:-1;;;;;4044:6:0;3979:79;:::o;4345:94::-;4385:4;4425:6;;-1:-1:-1;;;;;4425:6:0;4409:12;:10;:12::i;:::-;-1:-1:-1;;;;;4409:22:0;;4402:29;;4345:94;:::o;54681:342::-;4191:9;:7;:9::i;:::-;4183:54;;;;;-1:-1:-1;;;4183:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4183:54:0;;;;;;;;;;;;;;;54828:35;;;54820:68;;;;;-1:-1:-1;;;54820:68:0;;;;;;;;;;;;-1:-1:-1;;;54820:68:0;;;;;;;;;;;;;;;54906:9;54901:115;54921:18;;;54901:115;;;54991:10;;55002:1;54991:13;;;;;;;;;;;;;;;54961:15;:27;54977:7;;54985:1;54977:10;;;;;;;;;;;;;;;;-1:-1:-1;;;;;54977:10:0;54961:27;;-1:-1:-1;54961:27:0;;;;;;;;-1:-1:-1;54961:27:0;:43;;-1:-1:-1;;54961:43:0;;;;;;;;;;-1:-1:-1;54941:3:0;54901:115;;;;54681:342;;;;:::o;42988:47::-;;;;;;;;;;;;;;;:::o;22114:44::-;;;;;;;;;;;;;;;:::o;44274:1947::-;44619:22;22871:7;;-1:-1:-1;;;22871:7:0;;;;22867:102;;;22895:28;;;-1:-1:-1;;;22895:28:0;;;;;;;;;;;;-1:-1:-1;;;22895:28:0;;;;;;;;;;;;;;22867:102;44681:8;;:37;;;-1:-1:-1;;;44681:37:0;;-1:-1:-1;;;;;44681:37:0;;;;;;;;;44654:24;;44681:8;;;;;:24;;:37;;;;;;;;;;;;;;;:8;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;44681:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;44681:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44681:37:0;;-1:-1:-1;44771:117:0;44681:37;44828:11;44854:23;44771:11;:117::i;:::-;44757:131;-1:-1:-1;;;;;;44905:31:0;;44901:94;;22593:42;44953:30;;44901:94;45051:178;45073:11;45099;45125:17;45157:7;45179:11;45205:13;;45051:178;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;45051:7:0;;-1:-1:-1;;;45051:178:0:i;:::-;45034:195;;45266:11;45248:14;:29;;45240:55;;;;;-1:-1:-1;;;45240:55:0;;;;;;;;;;;;-1:-1:-1;;;45240:55:0;;;;;;;;;;;;;;;45308:28;-1:-1:-1;;;;;45381:21:0;;45377:703;;45442:145;22593:42;45507:14;45540:9;45568:4;45442:17;:145::i;:::-;45419:168;-1:-1:-1;45602:120:0;45638:10;45667:40;:14;45419:168;45667:40;:18;:40;:::i;:::-;45602:17;:120::i;:::-;45377:703;;;45778:142;45814:7;45840:14;45873:9;45901:4;45778:17;:142::i;:::-;45755:165;-1:-1:-1;45937:131:0;45984:10;46013:40;:14;45755:165;46013:40;:18;:40;:::i;:::-;-1:-1:-1;;;;;45937:28:0;;;:131;;:28;:131;:::i;:::-;46097:56;46104:10;46116:11;46129:7;46138:14;46097:56;;;;-1:-1:-1;;;;;46097:56:0;-1:-1:-1;;;;;46097:56:0;;;;;;-1:-1:-1;;;;;46097:56:0;-1:-1:-1;;;;;46097:56:0;;;;;;-1:-1:-1;;;;;46097:56:0;-1:-1:-1;;;;;46097:56:0;;;;;;;;;;;;;;;;;;;;;;;46173:40;:14;46192:20;46173:40;:18;:40;:::i;:::-;46166:47;44274:1947;-1:-1:-1;;;;;;;;;;;;;44274:1947:0:o;53034:1399::-;53184:14;-1:-1:-1;;;;;53215:26:0;;53211:57;;22593:42;53243:25;;53211:57;53327:8;;:53;;;-1:-1:-1;;;53327:53:0;;-1:-1:-1;;;;;53327:53:0;;;;;;;;;;;;;;;;53280:15;;;;53327:8;;;:26;;:53;;;;;;;;;;;;:8;:53;;;5:2:-1;;;;30:1;27;20:12;5:2;53327:53:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;53327:53:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53327:53:0;;;;;;;;;-1:-1:-1;53327:53:0;-1:-1:-1;53391:1035:0;;;;53457:8;;:39;;;-1:-1:-1;;;53457:39:0;;-1:-1:-1;;;;;53457:39:0;;;;;;;;;:8;;;;;:26;;:39;;;;;;;;;;;;;;:8;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;53457:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;53457:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53457:39:0;53446:122;;;-1:-1:-1;;;53446:122:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53446:96:0;;;;;;:122;;;;;53457:39;;53446:122;;;;;;;;:96;:122;;;5:2:-1;;;;30:1;27;20:12;5:2;53446:122:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;53446:122:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53446:122:0;;-1:-1:-1;53422:146:0;;-1:-1:-1;;53422:146:0;53391:1035;53601:28;;:::i;:::-;53632:8;;:35;;;-1:-1:-1;;;53632:35:0;;-1:-1:-1;;;;;53632:35:0;;;;;;;;;:8;;;;;:22;;:35;;;;;;;;;;;;;;:8;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;53632:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;53632:35:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;13:3;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;53632:35:0;-1:-1:-1;53682:31:0;;53728:238;53752:1;53748;:5;53728:238;;;53805:8;;-1:-1:-1;;;;;53805:8:0;:23;53851:10;53862:1;53851:13;;;;;;;;;;;53805:78;;;;;;;;;;;;;-1:-1:-1;;;;;53805:78:0;-1:-1:-1;;;;;53805:78:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;53805:78:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;53805:78:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53805:78:0;;-1:-1:-1;;;;;;53906:37:0;;;53902:48;;53945:5;;53902:48;53755:3;;53728:238;;;;53980:21;54032:11;-1:-1:-1;;;;;54021:46:0;;54068:9;54079:1;54021:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54021:60:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;54021:60:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;54021:60:0;54110:8;;:114;;;-1:-1:-1;;;54110:114:0;;-1:-1:-1;;;;;54110:114:0;;;;;;;;;;;;;;;;54021:60;;-1:-1:-1;54110:8:0;;;;:26;;:114;;;;;;;;;;;;:8;:114;;;5:2:-1;;;;30:1;27;20:12;5:2;54110:114:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;54110:114:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;54110:114:0;;;;;;54265:149;;-1:-1:-1;;;54265:149:0;;;;;;;;;;;;;;;;;;;;54110:114;;-1:-1:-1;;;;;;54265:58:0;;;;;:149;;;;;;;;;;:58;:149;;;5:2:-1;;;;30:1;27;20:12;5:2;54265:149:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;54265:149:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;54265:149:0;;-1:-1:-1;54241:173:0;;-1:-1:-1;;;;;54241:173:0;53034:1399;;;;;;:::o;54441:232::-;4191:9;:7;:9::i;:::-;4183:54;;;;;-1:-1:-1;;;4183:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4183:54:0;;;;;;;;;;;;;;;54587:8;;-1:-1:-1;;;;;54567:28:0;;;54587:8;;54567:28;;54559:68;;;;;-1:-1:-1;;;54559:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;54638:8;:27;;-1:-1:-1;;;;;;54638:27:0;-1:-1:-1;;;;;54638:27:0;;;;;;;;;;54441:232::o;5085:109::-;4191:9;:7;:9::i;:::-;4183:54;;;;;-1:-1:-1;;;4183:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4183:54:0;;;;;;;;;;;;;;;5158:28;5177:8;5158:18;:28::i;:::-;5085:109;:::o;23934:153::-;4191:9;:7;:9::i;:::-;4183:54;;;;;-1:-1:-1;;;4183:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4183:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;24046:24:0;;;;;;;;:12;:24;;;;;:33;;-1:-1:-1;;24046:33:0;;;;;;;;;;23934:153::o;9969:136::-;10027:7;10054:43;10058:1;10061;10054:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;10047:50;;9969:136;;;;;:::o;16971:445::-;17100:6;17075:21;:31;;17053:110;;;;;-1:-1:-1;;;17053:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17250:32;;17232:12;;-1:-1:-1;;;;;17250:14:0;;;17271:6;;17232:12;17250:32;17232:12;17250:32;17271:6;17250:14;:32;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;17231:51:0;;;17315:7;17293:115;;;;-1:-1:-1;;;17293:115:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18058:247;18228:58;;;-1:-1:-1;;;;;18228:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;18228:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;18175:122:0;;18208:5;;18175:18;:122::i;15835:159::-;15977:7;15835:159;;;;:::o;2673:98::-;2753:10;2673:98;:::o;26736:714::-;26870:7;26894:23;26890:553;;;26960:30;26979:10;26960:18;:30::i;:::-;26934:136;;;;-1:-1:-1;;;26934:136:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27151:43;;;-1:-1:-1;;;27151:43:0;;27168:10;27151:43;;;;27188:4;27151:43;;;;;;27110:5;;27087:13;;-1:-1:-1;;;;;27151:16:0;;;;;:43;;;;;;;;;;;;;;:16;:43;;;5:2:-1;;;;30:1;27;20:12;5:2;27151:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27151:43:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27151:43:0;;-1:-1:-1;27209:61:0;-1:-1:-1;;;;;27209:23:0;;27233:10;27253:4;27151:43;27209:61;:23;:61;:::i;:::-;27294:9;-1:-1:-1;27287:16:0;;-1:-1:-1;27287:16:0;26890:553;27336:65;-1:-1:-1;;;;;27336:30:0;;27367:10;27387:4;27394:6;27336:65;:30;:65;:::i;:::-;-1:-1:-1;27425:6:0;27418:13;;46229:2013;46555:8;;:58;;;-1:-1:-1;;;46555:58:0;;-1:-1:-1;;;;;46555:58:0;;;;;;;;;;;;;;;;46460:22;;;;;;46555:8;;;;;:26;;:58;;;;;;;;;;;:8;:58;;;5:2:-1;;;;30:1;27;20:12;5:2;46555:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46555:58:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;46555:58:0;;;;;;;;;-1:-1:-1;46555:58:0;-1:-1:-1;46651:1584:0;;;;46684:26;46730:175;46763:11;46797;46831:15;46869:17;46730:10;:175::i;:::-;46684:221;-1:-1:-1;;;;;;46926:31:0;;22593:42;46926:31;46922:67;;;46987:1;46959:30;;46922:67;47023:186;47052:17;47088:7;47114:18;47151:11;47181:13;47023:10;:186::i;:::-;47006:203;;46651:1584;;;;47272:28;;:::i;:::-;47303:8;;:35;;;-1:-1:-1;;;47303:35:0;;-1:-1:-1;;;;;47303:35:0;;;;;;;;;:8;;;;;:22;;:35;;;;;;;;;;;;;;:8;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;47303:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;47303:35:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;13:3;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;47303:35:0;-1:-1:-1;47353:31:0;;47421:294;47432:1;47428;:5;;;47421:294;;;47463:8;;47513:1;;-1:-1:-1;;;;;47463:8:0;:23;47487:10;:13;;;;;;;;;;;;;;47463:38;;;;;;;;;;;;;-1:-1:-1;;;;;47463:38:0;-1:-1:-1;;;;;47463:38:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;47463:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;47463:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47463:38:0;-1:-1:-1;;;;;47463:52:0;;47459:241;;47566:8;;-1:-1:-1;;;;;47566:8:0;:23;47616:10;:13;;;;;;;;;;;;;;47566:86;;;;;;;;;;;;;-1:-1:-1;;;;;47566:86:0;-1:-1:-1;;;;;47566:86:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;47566:86:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;47566:86:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47566:86:0;;-1:-1:-1;47675:5:0;;47459:241;47435:3;;47421:294;;;47789:29;47838:58;47853:11;47866;47838:58;;;47882:10;47838:58;47882:13;;;;;;;;;;;47838:14;:58::i;:::-;47789:107;;47995:228;48021:23;48063:21;48103:17;48139:7;48165:11;48195:13;47995:7;:228::i;:::-;47978:245;;46651:1584;;;;;46229:2013;;;;;;;;;;:::o;27458:1058::-;27690:10;27617:28;27677:24;;;:12;:24;;;;;;;;27716:14;:30;;;;;27735:11;27734:12;27716:30;:46;;;;;27761:1;27750:8;;:12;27716:46;27712:797;;;27802:100;27833:30;27846:6;27854:8;;27833:12;:30::i;:::-;27882:5;27802:12;:100::i;:::-;-1:-1:-1;;;;;27923:21:0;;;;;;:10;:21;;;;;;27779:123;;-1:-1:-1;27923:21:0;;27919:579;;;-1:-1:-1;;;;;27969:19:0;;27965:86;;22593:42;28013:18;;27965:86;28071:24;28119:49;28164:3;28119:40;28144:14;;28119:20;:24;;:40;;;;:::i;:::-;:44;:49;:44;:49;:::i;:::-;-1:-1:-1;;;;;28224:67:0;;;;;;;:16;:67;;;;;;;;:74;;;;;;;;;;28071:97;;-1:-1:-1;28224:118:0;;28071:97;28224:118;:100;:118;:::i;:::-;-1:-1:-1;;;;;28187:27:0;;;;;;;:16;:27;;;;;;;;:34;;;;;;;;;;;:155;;;;28392:21;:28;;;;;;:90;;28447:16;28392:90;:32;:90;:::i;:::-;-1:-1:-1;;;;;28361:28:0;;;;;;:21;:28;;;;;:121;-1:-1:-1;27919:579:0;27458:1058;;;;;;;:::o;5300:266::-;-1:-1:-1;;;;;5388:22:0;;5366:110;;;;-1:-1:-1;;;5366:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5513:6;;;5492:38;;-1:-1:-1;;;;;5492:38:0;;;;5513:6;;;5492:38;;;5541:6;:17;;-1:-1:-1;;;;;;5541:17:0;-1:-1:-1;;;;;5541:17:0;;;;;;;;;;5300:266::o;10442:226::-;10562:7;10598:12;10590:6;;;;10582:29;;;;-1:-1:-1;;;10582:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;10582:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;10634:5:0;;;10442:226::o;20682:1176::-;21286:27;21294:5;-1:-1:-1;;;;;21286:25:0;;:27::i;:::-;21278:71;;;;;-1:-1:-1;;;21278:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21423:12;21437:23;21472:5;-1:-1:-1;;;;;21464:19:0;21484:4;21464:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;21464:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;21422:67:0;;;;21508:7;21500:52;;;;;-1:-1:-1;;;21500:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21569:17;;:21;21565:286;;21742:10;21731:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21731:30:0;21705:134;;;;-1:-1:-1;;;21705:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14962:656;15022:4;15518:20;;15348:66;15567:23;;;;;;:42;;-1:-1:-1;15594:15:0;;;15567:42;15559:51;14962:656;-1:-1:-1;;;;14962:656:0:o;18313:284::-;18510:68;;;-1:-1:-1;;;;;18510:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;18510:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;18457:132:0;;18490:5;;18457:18;:132::i;49954:1241::-;50118:22;50175:1;50161:11;:15;50153:50;;;;;-1:-1:-1;;;50153:50:0;;;;;;;;;;;;-1:-1:-1;;;50153:50:0;;;;;;;;;;;;;;;50241:8;;:39;;;-1:-1:-1;;;50241:39:0;;-1:-1:-1;;;;;50241:39:0;;;;;;;;;50216:22;;50241:8;;;;;:26;;:39;;;;;;;;;;;;;;;:8;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;50241:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;50241:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50241:39:0;50316:8;;:37;;;-1:-1:-1;;;50316:37:0;;-1:-1:-1;;;;;50316:37:0;;;;;;;;;50241:39;;-1:-1:-1;50293:20:0;;50316:8;;;;;:24;;:37;;;;;50241:39;;50316:37;;;;;;;:8;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;50316:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;50316:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50316:37:0;;-1:-1:-1;50364:43:0;50316:37;50392:14;50364:13;:43::i;:::-;50420:20;-1:-1:-1;;;;;50456:30:0;;22593:42;50456:30;:62;;50502:16;50456:62;;;50497:1;50456:62;50420:98;;50531:19;50553:25;50565:12;50553:11;:25::i;:::-;50595:8;;:41;;;-1:-1:-1;;;50595:41:0;;-1:-1:-1;;;;;50595:41:0;;;;;;;;;50531:47;;-1:-1:-1;50595:8:0;;;:28;;:41;;;;;;;;;;;;;;;:8;:41;;;5:2:-1;;;;30:1;27;20:12;5:2;50595:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;50595:41:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50595:41:0;50591:449;;;50674:172;;;-1:-1:-1;;;50674:172:0;;;;;;;;;;;;;;;;;;50807:1;50674:172;;;;;;50827:4;50674:172;;;;;;-1:-1:-1;;;;;50674:52:0;;;;;:172;;;;;;;;;;;50807:1;50674:52;:172;;;5:2:-1;;;;30:1;27;20:12;5:2;50674:172:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;50674:172:0;;;;50591:449;;;50879:149;;;-1:-1:-1;;;50879:149:0;;;;;;;;;;;;;;;;;;51012:1;50879:149;;;;;;;;-1:-1:-1;;;;;50879:52:0;;;;;:149;;;;;;;;;;;51012:1;50879:52;:149;;;5:2:-1;;;;30:1;27;20:12;5:2;50879:149:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;50879:149:0;;;;50591:449;51069:42;51099:11;51069:25;51081:12;51069:11;:25::i;:::-;:29;:42;:29;:42;:::i;:::-;51052:59;;51149:1;51132:14;:18;51124:63;;;;;-1:-1:-1;;;51124:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49954:1241;;;;;;;;;;:::o;51578:1099::-;51786:20;51844:15;-1:-1:-1;;;;;51823:36:0;:17;-1:-1:-1;;;;;51823:36:0;;51819:56;;;-1:-1:-1;51868:7:0;51861:14;;51819:56;-1:-1:-1;;;;;51890:31:0;;42894:42;51890:31;51886:134;;;42894:42;-1:-1:-1;;;;;51938:32:0;;51971:7;51938:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51938:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;51938:41:0;;;;52001:7;51994:14;;;;51886:134;52030:19;-1:-1:-1;;;;;52064:31:0;;22593:42;52064:31;;:66;;-1:-1:-1;;;;;;52099:31:0;;;52064:66;52060:167;;;-1:-1:-1;52159:7:0;52060:167;;;52182:45;52196:17;52215:11;52182:13;:45::i;:::-;52240:14;52257:28;52269:15;52257:11;:28::i;:::-;-1:-1:-1;;;;;52304:28:0;;;;;;:15;:28;;;;;;52240:45;;-1:-1:-1;52304:28:0;;52296:62;;;;;-1:-1:-1;;;52296:62:0;;;;;;;;;;;;-1:-1:-1;;;52296:62:0;;;;;;;;;;;;;;;52370:12;52388:11;-1:-1:-1;;;;;52388:16:0;52411:11;52424:13;52388:50;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;52388:50:0;;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;52369:69:0;;;52457:7;52449:41;;;;;-1:-1:-1;;;52449:41:0;;;;;;;;;;;;-1:-1:-1;;;52449:41:0;;;;;;;;;;;;;;;52501:16;52520:28;52532:15;52520:11;:28::i;:::-;52501:47;-1:-1:-1;52576:20:0;52501:47;52589:6;52576:20;:12;:20;:::i;:::-;52561:35;;52632:1;52617:12;:16;52609:60;;;;;-1:-1:-1;;;52609:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;51578:1099;;;;;;;;;;;;:::o;48700:796::-;48868:22;48925:1;48911:11;:15;48903:50;;;;;-1:-1:-1;;;48903:50:0;;;;;;;;;;;;-1:-1:-1;;;48903:50:0;;;;;;;;;;;;;;;48989:8;;:37;;;-1:-1:-1;;;48989:37:0;;-1:-1:-1;;;;;48989:37:0;;;;;;;;;48966:20;;48989:8;;;;;:24;;:37;;;;;;;;;;;;;;;:8;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;48989:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;48989:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;48989:37:0;;-1:-1:-1;49037:40:0;48989:37;49065:11;49037:13;:40::i;:::-;49112:49;;;-1:-1:-1;;;49112:49:0;;49155:4;49112:49;;;;;;49090:19;;-1:-1:-1;;;;;49112:34:0;;;;;:49;;;;;;;;;;;;;;;:34;:49;;;5:2:-1;;;;30:1;27;20:12;5:2;49112:49:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;49112:49:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49112:49:0;49172:130;;;-1:-1:-1;;;49172:130:0;;;;;;;;;;;;;;;;;;49290:1;49172:130;;;;;;;;49112:49;;-1:-1:-1;;;;;;49172:49:0;;;;;:130;;;;;49290:1;;49172:130;;;;;;49290:1;49172:49;:130;;;5:2:-1;;;;30:1;27;20:12;5:2;49172:130:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;49331:49:0;;;-1:-1:-1;;;49331:49:0;;49374:4;49331:49;;;;;;49330:82;;-1:-1:-1;49400:11:0;;-1:-1:-1;;;;;;49331:34:0;;;;;:49;;;;;;;;;;;;;;:34;:49;;;5:2:-1;;;;30:1;27;20:12;49330:82:0;49313:99;;49450:1;49433:14;:18;49425:63;;;;;-1:-1:-1;;;49425:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48700:796;;;;;;;;:::o;10919:471::-;10977:7;11222:6;11218:47;;-1:-1:-1;11252:1:0;11245:8;;11218:47;11289:5;;;11293:1;11289;:5;:1;11313:5;;;;;:10;11305:56;;;;-1:-1:-1;;;11305:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11858:132;11916:7;11943:39;11947:1;11950;11943:39;;;;;;;;;;;;;;;;;:3;:39::i;9513:181::-;9571:7;9603:5;;;9627:6;;;;9619:46;;;;;-1:-1:-1;;;9619:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;23282:261;23401:40;;;-1:-1:-1;;;23401:40:0;;23426:4;23401:40;;;;-1:-1:-1;;;;;23401:40:0;;;;;;;;;23380:5;;23357:13;;23401:16;;;;;;:40;;;;;;;;;;;;;;;:16;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;23401:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23401:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23401:40:0;:44;23397:139;;;23447:7;;;23397:139;23484:40;-1:-1:-1;;;;;23484:18:0;;23503:7;-1:-1:-1;;23484:40:0;:18;:40;:::i;23282:261::-;;;:::o;22984:290::-;23070:15;-1:-1:-1;;;;;23107:19:0;;23103:164;;-1:-1:-1;23153:21:0;23103:164;;;23217:38;;;-1:-1:-1;;;23217:38:0;;23249:4;23217:38;;;;;;-1:-1:-1;;;;;23217:23:0;;;;;:38;;;;;;;;;;;;;;:23;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;23217:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23217:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23217:38:0;;22984:290;-1:-1:-1;;22984:290:0:o;12520:379::-;12640:7;12742:12;12735:5;12727:28;;;;-1:-1:-1;;;12727:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;12727:28:0;;12766:9;12782:1;12778;:5;;;;;;;12520:379;-1:-1:-1;;;;;12520:379:0:o;18605:706::-;19023:10;;;19022:62;;-1:-1:-1;19039:39:0;;;-1:-1:-1;;;19039:39:0;;19063:4;19039:39;;;;-1:-1:-1;;;;;19039:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;19039:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19039:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19039:39:0;:44;19022:62;19000:166;;;;-1:-1:-1;;;19000:166:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19230:62;;;-1:-1:-1;;;;;19230:62:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;19230:62:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;19177:126:0;;19210:5;;19177:18;:126::i;42705:12321::-;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;-1:-1;42705:12321:0;;;-1:-1:-1;;42705:12321:0:o
Swarm Source
bzzr://473cf54f4e969b2e4c3456b69ffb99bc2b71ae3c4b3d99c73b6ebcf5edd03457
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 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.