Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 343 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Swap | 15433326 | 875 days ago | IN | 0 ETH | 0.00267412 | ||||
Swap | 15433035 | 875 days ago | IN | 0 ETH | 0.00133747 | ||||
Swap | 15430064 | 876 days ago | IN | 0 ETH | 0.00234013 | ||||
Swap | 15429175 | 876 days ago | IN | 0 ETH | 0.00200968 | ||||
Swap | 15428911 | 876 days ago | IN | 0 ETH | 0.00351531 | ||||
Swap | 15382841 | 883 days ago | IN | 0 ETH | 0.00441693 | ||||
Swap | 15295639 | 897 days ago | IN | 0 ETH | 0.00636154 | ||||
Swap | 15252705 | 904 days ago | IN | 0 ETH | 0.00592718 | ||||
Swap | 15209757 | 910 days ago | IN | 0 ETH | 0.00533464 | ||||
Swap | 14779826 | 981 days ago | IN | 0 ETH | 0.02565652 | ||||
Swap | 14772805 | 982 days ago | IN | 0 ETH | 0.01143457 | ||||
Swap | 14371486 | 1045 days ago | IN | 0 ETH | 0.00593828 | ||||
Swap | 14334064 | 1051 days ago | IN | 0 ETH | 0.01447664 | ||||
Swap | 14333644 | 1051 days ago | IN | 0 ETH | 0.00102498 | ||||
Swap | 14326888 | 1052 days ago | IN | 0 ETH | 0.00117872 | ||||
Swap | 13568521 | 1170 days ago | IN | 0 ETH | 0.03212727 | ||||
Swap | 13344573 | 1205 days ago | IN | 0 ETH | 0.042506 | ||||
Swap | 13175073 | 1231 days ago | IN | 0 ETH | 0.05000664 | ||||
Swap | 13022450 | 1255 days ago | IN | 0 ETH | 0.01415571 | ||||
Swap | 12985453 | 1261 days ago | IN | 0 ETH | 0.04332701 | ||||
Swap | 12766728 | 1295 days ago | IN | 0 ETH | 0.01066241 | ||||
Swap | 12766721 | 1295 days ago | IN | 0 ETH | 0.00488399 | ||||
Swap | 12580604 | 1324 days ago | IN | 0 ETH | 0.00964549 | ||||
Swap | 12547937 | 1329 days ago | IN | 0 ETH | 0.00656893 | ||||
Swap | 12514161 | 1334 days ago | IN | 0 ETH | 0.00918143 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
||||
---|---|---|---|---|---|---|---|
15433326 | 875 days ago | 0 ETH | |||||
15433326 | 875 days ago | 0 ETH | |||||
15433326 | 875 days ago | 0 ETH | |||||
15433326 | 875 days ago | 0 ETH | |||||
15433326 | 875 days ago | 0 ETH | |||||
15433326 | 875 days ago | 0 ETH | |||||
15433326 | 875 days ago | 0 ETH | |||||
15433326 | 875 days ago | 0 ETH | |||||
15433326 | 875 days ago | 0 ETH | |||||
15433326 | 875 days ago | 0 ETH | |||||
15433326 | 875 days ago | 0 ETH | |||||
15433326 | 875 days ago | 0 ETH | |||||
15433326 | 875 days ago | 0 ETH | |||||
15433035 | 875 days ago | 0 ETH | |||||
15433035 | 875 days ago | 0 ETH | |||||
15433035 | 875 days ago | 0 ETH | |||||
15433035 | 875 days ago | 0 ETH | |||||
15433035 | 875 days ago | 0 ETH | |||||
15433035 | 875 days ago | 0 ETH | |||||
15433035 | 875 days ago | 0 ETH | |||||
15433035 | 875 days ago | 0 ETH | |||||
15433035 | 875 days ago | 0 ETH | |||||
15433035 | 875 days ago | 0 ETH | |||||
15433035 | 875 days ago | 0 ETH | |||||
15433035 | 875 days ago | 0 ETH |
Loading...
Loading
Contract Name:
AAveTokenSwap
Compiler Version
v0.5.15+commit.6a57276f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-05-08 */ // File: openzeppelin-solidity/contracts/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 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: openzeppelin-solidity/contracts/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: openzeppelin-solidity/contracts/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. * * This test is non-exhaustive, and there may be false-negatives: during the * execution of a contract's constructor, its address will be reported as * not containing 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. */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. // 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 != 0x0 && codehash != accountHash); } /** * @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: openzeppelin-solidity/contracts/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/Interfaces/AAve.sol pragma solidity ^0.5.0; interface AAve_LendingPoolAddressesProvider { function getLendingPool() external view returns (address); function getLendingPoolCore() external view returns (address payable); } interface AAve_LendingPool { function deposit(address _reserve, uint256 _amount, uint16 _referralCode) external payable; } interface AAve_LendingPoolCore { function getReserveATokenAddress(address _reserve) external view returns (address); } interface AAve_aToken { function underlyingAssetAddress() external returns(address); function redeem(uint256 _amount) external; // ERC20 methods function balanceOf(address account) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); } // File: contracts/Interfaces/IBadStaticCallERC20.sol pragma solidity ^0.5.0; /** * @dev Interface to be safe with not so good proxy contracts. */ interface IBadStaticCallERC20 { /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external returns (uint256); /** * @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 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); } // File: openzeppelin-solidity/contracts/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: openzeppelin-solidity/contracts/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 { _owner = _msgSender(); emit OwnershipTransferred(address(0), _owner); } /** * @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/Utils/Destructible.sol pragma solidity >=0.5.0; /** * @title Destructible * @dev Base contract that can be destroyed by owner. All funds in contract will be sent to the owner. */ contract Destructible is Ownable { /** * @dev Transfers the current balance to the owner and terminates the contract. */ function destroy() public onlyOwner { selfdestruct(address(bytes20(owner()))); } function destroyAndSend(address payable _recipient) public onlyOwner { selfdestruct(_recipient); } } // File: contracts/Utils/Pausable.sol pragma solidity >=0.4.24; /** * @title Pausable * @dev Base contract which allows children to implement an emergency stop mechanism. */ contract Pausable is Ownable { event Pause(); event Unpause(); bool public paused = false; /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!paused, "The contract is paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(paused, "The contract is not paused"); _; } /** * @dev called by the owner to pause, triggers stopped state */ function pause() public onlyOwner whenNotPaused { paused = true; emit Pause(); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() public onlyOwner whenPaused { paused = false; emit Unpause(); } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol pragma solidity ^0.5.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20Mintable}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for `sender`'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal { require(account != address(0), "ERC20: burn from the zero address"); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance")); } } // File: contracts/Utils/Withdrawable.sol pragma solidity >=0.4.24; contract Withdrawable is Ownable { using SafeERC20 for ERC20; address constant ETHER = address(0); event LogWithdrawToken( address indexed _from, address indexed _token, uint amount ); /** * @dev Withdraw asset. * @param _tokenAddress Asset to be withdrawed. * @return bool. */ function withdrawToken(address _tokenAddress) public onlyOwner { uint tokenBalance; if (_tokenAddress == ETHER) { address self = address(this); // workaround for a possible solidity bug tokenBalance = self.balance; msg.sender.transfer(tokenBalance); } else { tokenBalance = ERC20(_tokenAddress).balanceOf(address(this)); ERC20(_tokenAddress).safeTransfer(msg.sender, tokenBalance); } emit LogWithdrawToken(msg.sender, _tokenAddress, tokenBalance); } } // File: contracts/Utils/WithFee.sol pragma solidity ^0.5.0; contract WithFee is Ownable { using SafeERC20 for IERC20; using SafeMath for uint; address payable public feeWallet; uint public storedSpread; uint constant spreadDecimals = 6; uint constant spreadUnit = 10 ** spreadDecimals; event LogFee(address token, uint amount); constructor(address payable _wallet, uint _spread) public { require(_wallet != address(0), "_wallet == address(0)"); require(_spread < spreadUnit, "spread >= spreadUnit"); feeWallet = _wallet; storedSpread = _spread; } function setFeeWallet(address payable _wallet) external onlyOwner { require(_wallet != address(0), "_wallet == address(0)"); feeWallet = _wallet; } function setSpread(uint _spread) external onlyOwner { storedSpread = _spread; } function _getFee(uint underlyingTokenTotal) internal view returns(uint) { return underlyingTokenTotal.mul(storedSpread).div(spreadUnit); } function _payFee(address feeToken, uint fee) internal { if (fee > 0) { if (feeToken == address(0)) { feeWallet.transfer(fee); } else { IERC20(feeToken).safeTransfer(feeWallet, fee); } emit LogFee(feeToken, fee); } } } // File: contracts/Interfaces/IErc20Swap.sol pragma solidity >=0.4.0; interface IErc20Swap { function getRate(address src, address dst, uint256 srcAmount) external view returns(uint expectedRate, uint slippageRate); // real rate = returned value / 1e18 function swap(address src, uint srcAmount, address dest, uint maxDestAmount, uint minConversionRate) external payable; event LogTokenSwap( address indexed _userAddress, address indexed _userSentTokenAddress, uint _userSentTokenAmount, address indexed _userReceivedTokenAddress, uint _userReceivedTokenAmount ); } // File: contracts/base/NetworkBasedTokenSwap.sol pragma solidity >=0.5.0; contract NetworkBasedTokenSwap is Withdrawable, Pausable, Destructible, WithFee, IErc20Swap { using SafeMath for uint; using SafeERC20 for IERC20; address constant ETHER = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; mapping (address => mapping (address => uint)) spreadCustom; event UnexpectedIntialBalance(address token, uint amount); constructor( address payable _wallet, uint _spread ) public WithFee(_wallet, _spread) {} function() external payable { // can receive ethers } // spread value >= spreadUnit means no fee function setSpread(address tokenA, address tokenB, uint spread) public onlyOwner { uint value = spread > spreadUnit ? spreadUnit : spread; spreadCustom[tokenA][tokenB] = value; spreadCustom[tokenB][tokenA] = value; } function getSpread(address tokenA, address tokenB) public view returns(uint) { uint value = spreadCustom[tokenA][tokenB]; if (value == 0) return storedSpread; if (value >= spreadUnit) return 0; else return value; } // kyber network style rate function getNetworkRate(address src, address dest, uint256 srcAmount) internal view returns(uint expectedRate, uint slippageRate); function getRate(address src, address dest, uint256 srcAmount) external view returns(uint expectedRate, uint slippageRate) { (uint256 kExpected, uint256 kSplippage) = getNetworkRate(src, dest, srcAmount); uint256 spread = getSpread(src, dest); expectedRate = kExpected.mul(spreadUnit - spread).div(spreadUnit); slippageRate = kSplippage.mul(spreadUnit - spread).div(spreadUnit); } function _freeUnexpectedTokens(address token) private { uint256 unexpectedBalance = token == ETHER ? _myEthBalance().sub(msg.value) : IBadStaticCallERC20(token).balanceOf(address(this)); if (unexpectedBalance > 0) { _transfer(token, address(bytes20(owner())), unexpectedBalance); emit UnexpectedIntialBalance(token, unexpectedBalance); } } function swap(address src, uint srcAmount, address dest, uint maxDestAmount, uint minConversionRate) public payable { require(src != dest, "src == dest"); require(srcAmount > 0, "srcAmount == 0"); // empty unexpected initial balances _freeUnexpectedTokens(src); _freeUnexpectedTokens(dest); if (src == ETHER) { require(msg.value == srcAmount, "msg.value != srcAmount"); } else { require( IBadStaticCallERC20(src).allowance(msg.sender, address(this)) >= srcAmount, "ERC20 allowance < srcAmount" ); // get user's tokens IERC20(src).safeTransferFrom(msg.sender, address(this), srcAmount); } uint256 spread = getSpread(src, dest); // calculate the minConversionRate and maxDestAmount keeping in mind the fee uint256 adaptedMinRate = minConversionRate.mul(spreadUnit).div(spreadUnit - spread); uint256 adaptedMaxDestAmount = maxDestAmount.mul(spreadUnit).div(spreadUnit - spread); uint256 destTradedAmount = doNetworkTrade(src, srcAmount, dest, adaptedMaxDestAmount, adaptedMinRate); uint256 notTraded = _myBalance(src); uint256 srcTradedAmount = srcAmount.sub(notTraded); require(srcTradedAmount > 0, "no traded tokens"); require( _myBalance(dest) >= destTradedAmount, "No enough dest tokens after trade" ); // pay fee and user uint256 toUserAmount = _payFee(dest, destTradedAmount, spread); _transfer(dest, msg.sender, toUserAmount); // returns not traded tokens if any if (notTraded > 0) { _transfer(src, msg.sender, notTraded); } emit LogTokenSwap( msg.sender, src, srcTradedAmount, dest, toUserAmount ); } function doNetworkTrade(address src, uint srcAmount, address dest, uint maxDestAmount, uint minConversionRate) internal returns(uint256); function _payFee(address token, uint destTradedAmount, uint spread) private returns(uint256 toUserAmount) { uint256 fee = destTradedAmount.mul(spread).div(spreadUnit); toUserAmount = destTradedAmount.sub(fee); // pay fee super._payFee(token == ETHER ? address(0) : token, fee); } // workaround for a solidity bug function _myEthBalance() private view returns(uint256) { address self = address(this); return self.balance; } function _myBalance(address token) private returns(uint256) { return token == ETHER ? _myEthBalance() : IBadStaticCallERC20(token).balanceOf(address(this)); } function _transfer(address token, address payable recipient, uint256 amount) private { if (token == ETHER) { recipient.transfer(amount); } else { IERC20(token).safeTransfer(recipient, amount); } } } // File: contracts/Utils/SafeStaticCallERC20.sol pragma solidity ^0.5.0; library SafeStaticCallERC20 { using SafeMath for uint256; using Address for address; function safeApprove(IBadStaticCallERC20 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), "SafeProxyERC20: approve from non-zero to non-zero allowance" ); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @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(IBadStaticCallERC20 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(), "SafeProxyERC20: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(data); require(success, "SafeProxyERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeProxyERC20: ERC20 operation did not succeed"); } } } // File: contracts/Utils/LowLevel.sol pragma solidity ^0.5.0; library LowLevel { function staticCallContractAddr(address target, bytes memory payload) internal view returns (bool success_, address result_) { (bool success, bytes memory result) = address(target).staticcall(payload); if (success && result.length == 32) { return (true, abi.decode(result, (address))); } return (false, address(0)); } function callContractAddr(address target, bytes memory payload) internal returns (bool success_, address result_) { (bool success, bytes memory result) = address(target).call(payload); if (success && result.length == 32) { return (true, abi.decode(result, (address))); } return (false, address(0)); } function staticCallContractUint(address target, bytes memory payload) internal view returns (bool success_, uint result_) { (bool success, bytes memory result) = address(target).staticcall(payload); if (success && result.length == 32) { return (true, abi.decode(result, (uint))); } return (false, 0); } function callContractUint(address target, bytes memory payload) internal returns (bool success_, uint result_) { (bool success, bytes memory result) = address(target).call(payload); if (success && result.length == 32) { return (true, abi.decode(result, (uint))); } return (false, 0); } } // File: contracts/AAveTokenSwap.sol pragma solidity >=0.5.0; contract AAveTokenSwap is NetworkBasedTokenSwap { using SafeMath for uint; using SafeERC20 for IERC20; using SafeStaticCallERC20 for IBadStaticCallERC20; address constant AAVE_ETHER = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; uint constant rateUnit = 10 ** 18; AAve_LendingPoolAddressesProvider public addressesProvider; uint16 public aaveReferralCode; constructor( address _aaveAddressProvider, address payable _wallet, uint16 _aaveReferralCode, uint _spread ) public NetworkBasedTokenSwap(_wallet, _spread) { require(_aaveAddressProvider != address(0), "_aaveAddressProvider == address(0)"); addressesProvider = AAve_LendingPoolAddressesProvider(_aaveAddressProvider); aaveReferralCode = _aaveReferralCode; } function setAAveReferralCode(uint16 _code) public onlyOwner { aaveReferralCode = _code; } function getNetworkRate(address src, address dest, uint256 /*srcAmount*/) internal view returns(uint expectedRate, uint slippageRate) { AAve_LendingPoolCore core = AAve_LendingPoolCore(addressesProvider.getLendingPoolCore()); address aethAddr = core.getReserveATokenAddress(AAVE_ETHER); if ((src == ETHER && dest != aethAddr) || (dest == ETHER && src != aethAddr)) { return (0, 0); } else { //return (rateUnit, rateUnit); // FIXME: should return (0,0) if the pair is not valid } return (rateUnit, rateUnit); } function isWrap(address src, address dest) internal returns(bool) { bytes memory payloadUnwrap = abi.encodeWithSignature("underlyingAssetAddress()"); (bool success, address effectiveDest) = LowLevel.callContractAddr(src, payloadUnwrap); if (success && effectiveDest != address(0)) { require(dest == effectiveDest, "Invalid pair"); return false; } else { bytes memory payloadWrap = abi.encodeWithSignature("getReserveATokenAddress(address)", src); address core = addressesProvider.getLendingPoolCore(); (success, effectiveDest) = LowLevel.callContractAddr(core, payloadWrap); require(success && dest == effectiveDest, "Invalid pair"); return true; } } function doNetworkTrade(address src, uint srcAmount, address dest, uint /*maxDestAmount*/, uint /*minConversionRate*/) internal returns(uint256) { AAve_LendingPool lendingPool = AAve_LendingPool(addressesProvider.getLendingPool()); if (src == ETHER) { AAve_LendingPoolCore core = AAve_LendingPoolCore(addressesProvider.getLendingPoolCore()); address aEthAddr = core.getReserveATokenAddress(AAVE_ETHER); require(dest == aEthAddr, "dest != aETH address"); lendingPool.deposit.value(srcAmount)(AAVE_ETHER, srcAmount, aaveReferralCode); return IERC20(aEthAddr).balanceOf(address(this)); } else if (dest == ETHER) { AAve_LendingPoolCore core = AAve_LendingPoolCore(addressesProvider.getLendingPoolCore()); address aEthAddr = core.getReserveATokenAddress(AAVE_ETHER); require(src == aEthAddr, "src != aETH address"); AAve_aToken(aEthAddr).redeem(srcAmount); return address(this).balance; } else { address core = addressesProvider.getLendingPoolCore(); if (isWrap(src, dest)) { if (IBadStaticCallERC20(src).allowance(address(this), core) > 0) { IBadStaticCallERC20(src).safeApprove(core, 0); } IBadStaticCallERC20(src).safeApprove(core, srcAmount); lendingPool.deposit(src, srcAmount, aaveReferralCode); } else { AAve_aToken(src).redeem(srcAmount); } return IBadStaticCallERC20(dest).balanceOf(address(this)); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_aaveAddressProvider","type":"address"},{"internalType":"address payable","name":"_wallet","type":"address"},{"internalType":"uint16","name":"_aaveReferralCode","type":"uint16"},{"internalType":"uint256","name":"_spread","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_userAddress","type":"address"},{"indexed":true,"internalType":"address","name":"_userSentTokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"_userSentTokenAmount","type":"uint256"},{"indexed":true,"internalType":"address","name":"_userReceivedTokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"_userReceivedTokenAmount","type":"uint256"}],"name":"LogTokenSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogWithdrawToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UnexpectedIntialBalance","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":true,"inputs":[],"name":"aaveReferralCode","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"addressesProvider","outputs":[{"internalType":"contract AAve_LendingPoolAddressesProvider","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"destroy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address payable","name":"_recipient","type":"address"}],"name":"destroyAndSend","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"feeWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dest","type":"address"},{"internalType":"uint256","name":"srcAmount","type":"uint256"}],"name":"getRate","outputs":[{"internalType":"uint256","name":"expectedRate","type":"uint256"},{"internalType":"uint256","name":"slippageRate","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"}],"name":"getSpread","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":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint16","name":"_code","type":"uint16"}],"name":"setAAveReferralCode","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address payable","name":"_wallet","type":"address"}],"name":"setFeeWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"spread","type":"uint256"}],"name":"setSpread","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_spread","type":"uint256"}],"name":"setSpread","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"storedSpread","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"uint256","name":"srcAmount","type":"uint256"},{"internalType":"address","name":"dest","type":"address"},{"internalType":"uint256","name":"maxDestAmount","type":"uint256"},{"internalType":"uint256","name":"minConversionRate","type":"uint256"}],"name":"swap","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"withdrawToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000805460ff60a01b191690553480156200001e57600080fd5b5060405162002b7e38038062002b7e833981810160405260808110156200004457600080fd5b508051602082015160408301516060909301519192909182818181620000726001600160e01b036200021416565b600080546001600160a01b0319166001600160a01b03928316178082556040519216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36001600160a01b03821662000116576040805162461bcd60e51b815260206004820152601560248201527f5f77616c6c6574203d3d20616464726573732830290000000000000000000000604482015290519081900360640190fd5b620f424081106200016e576040805162461bcd60e51b815260206004820152601460248201527f737072656164203e3d20737072656164556e6974000000000000000000000000604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b03938416179055600255861615159150620001d290505760405162461bcd60e51b815260040180806020018281038252602281526020018062002b5c6022913960400191505060405180910390fd5b506004805461ffff909216600160a01b0261ffff60a01b196001600160a01b039095166001600160a01b03199093169290921793909316179091555062000218565b3390565b61293480620002286000396000f3fe60806040526004361061012a5760003560e01c806389476069116100ab578063c72c4d101161006f578063c72c4d10146103a9578063e56c174b146103be578063f25f4b561461041a578063f2fde38b1461042f578063f5074f4114610462578063f97c6f84146104955761012a565b806389476069146102d35780638da5cb5b146103065780638f32d59b1461033757806390d49b9d1461034c578063b66a261c1461037f5761012a565b8063715018a6116100f2578063715018a61461021957806375ead4591461022e57806376a89e3b1461027b57806383197ef0146102a95780638456cb59146102be5761012a565b80630b189c621461012c5780633f4ba83a1461015857806345db50341461016d5780635c975abb146101b05780635e75228f146101d9575b005b34801561013857600080fd5b506101416104aa565b6040805161ffff9092168252519081900360200190f35b34801561016457600080fd5b5061012a6104bb565b34801561017957600080fd5b5061012a6004803603606081101561019057600080fd5b506001600160a01b03813581169160208101359091169060400135610596565b3480156101bc57600080fd5b506101c5610635565b604080519115158252519081900360200190f35b61012a600480360360a08110156101ef57600080fd5b506001600160a01b0381358116916020810135916040820135169060608101359060800135610645565b34801561022557600080fd5b5061012a6109ff565b34801561023a57600080fd5b506102696004803603604081101561025157600080fd5b506001600160a01b0381358116916020013516610a90565b60408051918252519081900360200190f35b34801561028757600080fd5b5061012a6004803603602081101561029e57600080fd5b503561ffff16610ae4565b3480156102b557600080fd5b5061012a610b4d565b3480156102ca57600080fd5b5061012a610ba7565b3480156102df57600080fd5b5061012a600480360360208110156102f657600080fd5b50356001600160a01b0316610c82565b34801561031257600080fd5b5061031b610de4565b604080516001600160a01b039092168252519081900360200190f35b34801561034357600080fd5b506101c5610df3565b34801561035857600080fd5b5061012a6004803603602081101561036f57600080fd5b50356001600160a01b0316610e17565b34801561038b57600080fd5b5061012a600480360360208110156103a257600080fd5b5035610ed3565b3480156103b557600080fd5b5061031b610f1f565b3480156103ca57600080fd5b50610401600480360360608110156103e157600080fd5b506001600160a01b03813581169160208101359091169060400135610f2e565b6040805192835260208301919091528051918290030190f35b34801561042657600080fd5b5061031b610f92565b34801561043b57600080fd5b5061012a6004803603602081101561045257600080fd5b50356001600160a01b0316610fa1565b34801561046e57600080fd5b5061012a6004803603602081101561048557600080fd5b50356001600160a01b0316610ff4565b3480156104a157600080fd5b50610269611047565b600454600160a01b900461ffff1681565b6104c3610df3565b610502576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b600054600160a01b900460ff16610560576040805162461bcd60e51b815260206004820152601a60248201527f54686520636f6e7472616374206973206e6f7420706175736564000000000000604482015290519081900360640190fd5b6000805460ff60a01b191681556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b339190a1565b61059e610df3565b6105dd576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b6000620f424082116105ef57816105f4565b620f42405b6001600160a01b0394851660008181526003602081815260408084209890991683529687528782208490558652868120918152945293909220929092555050565b600054600160a01b900460ff1681565b826001600160a01b0316856001600160a01b0316141561069a576040805162461bcd60e51b815260206004820152600b60248201526a1cdc98c80f4f4819195cdd60aa1b604482015290519081900360640190fd5b600084116106e0576040805162461bcd60e51b815260206004820152600e60248201526d0737263416d6f756e74203d3d20360941b604482015290519081900360640190fd5b6106e98561104d565b6106f28361104d565b6001600160a01b0385166000805160206127e683398151915214156107635783341461075e576040805162461bcd60e51b81526020600482015260166024820152751b5cd9cb9d985b1d5948084f481cdc98d05b5bdd5b9d60521b604482015290519081900360640190fd5b61084e565b60408051636eb1769f60e11b8152336004820152306024820152905185916001600160a01b0388169163dd62ed3e916044808201926020929091908290030181600087803b1580156107b457600080fd5b505af11580156107c8573d6000803e3d6000fd5b505050506040513d60208110156107de57600080fd5b50511015610833576040805162461bcd60e51b815260206004820152601b60248201527f455243323020616c6c6f77616e6365203c20737263416d6f756e740000000000604482015290519081900360640190fd5b61084e6001600160a01b03861633308763ffffffff61116a16565b600061085a8685610a90565b90506000610886620f42408381039061087a90869063ffffffff6111ca16565b9063ffffffff61122316565b905060006108a6620f42408481039061087a90889063ffffffff6111ca16565b905060006108b78989898587611265565b905060006108c48a6119ed565b905060006108d88a8363ffffffff611a8e16565b905060008111610922576040805162461bcd60e51b815260206004820152601060248201526f6e6f2074726164656420746f6b656e7360801b604482015290519081900360640190fd5b8261092c8a6119ed565b10156109695760405162461bcd60e51b81526004018080602001828103825260218152602001806128066021913960400191505060405180910390fd5b60006109768a8589611ad0565b90506109838a3383611b36565b8215610994576109948c3385611b36565b896001600160a01b03168c6001600160a01b0316336001600160a01b03167f3ec01f4da9d8c31a1cdb8e6e7231364ba5ef0850b01daaa44a9f126f920693c68585604051808381526020018281526020019250505060405180910390a4505050505050505050505050565b610a07610df3565b610a46576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001600160a01b03808316600090815260036020908152604080832093851683529290529081205480610ac7575050600254610ade565b620f42408110610adb576000915050610ade565b90505b92915050565b610aec610df3565b610b2b576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b6004805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b610b55610df3565b610b94576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b610b9c610de4565b6001600160a01b0316ff5b610baf610df3565b610bee576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b600054600160a01b900460ff1615610c46576040805162461bcd60e51b8152602060048201526016602482015275151a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1781556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff6259190a1565b610c8a610df3565b610cc9576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b60006001600160a01b038216610d12575060405130803191339083156108fc029084906000818181858888f19350505050158015610d0b573d6000803e3d6000fd5b5050610da0565b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b158015610d5857600080fd5b505afa158015610d6c573d6000803e3d6000fd5b505050506040513d6020811015610d8257600080fd5b50519050610da06001600160a01b038316338363ffffffff611bb016565b6040805182815290516001600160a01b0384169133917f46ae78bc7b198b8b534ca0070d125569ac5f955976841c4343223079f3abf0de9181900360200190a35050565b6000546001600160a01b031690565b600080546001600160a01b0316610e08611c02565b6001600160a01b031614905090565b610e1f610df3565b610e5e576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b6001600160a01b038116610eb1576040805162461bcd60e51b81526020600482015260156024820152745f77616c6c6574203d3d206164647265737328302960581b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b610edb610df3565b610f1a576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b600255565b6004546001600160a01b031681565b600080600080610f3f878787611c06565b915091506000610f4f8888610a90565b9050610f6a620f424061087a8584830363ffffffff6111ca16565b9450610f85620f424061087a8484830363ffffffff6111ca16565b9350505050935093915050565b6001546001600160a01b031681565b610fa9610df3565b610fe8576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b610ff181611db0565b50565b610ffc610df3565b61103b576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b806001600160a01b0316ff5b60025481565b60006001600160a01b0382166000805160206127e6833981519152146110e657604080516370a0823160e01b815230600482015290516001600160a01b038416916370a082319160248083019260209291908290030181600087803b1580156110b557600080fd5b505af11580156110c9573d6000803e3d6000fd5b505050506040513d60208110156110df57600080fd5b50516110fe565b6110fe346110f2611e50565b9063ffffffff611a8e16565b905080156111665761112182611112610de4565b6001600160a01b031683611b36565b604080516001600160a01b03841681526020810183905281517f53189a8ce98afbf89498c735cf6b58ad2708c8a3a12b6f077bd4f3313dced7a9929181900390910190a15b5050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526111c4908590611e55565b50505050565b6000826111d957506000610ade565b828202828482816111e657fe5b0414610adb5760405162461bcd60e51b81526004018080602001828103825260218152602001806127c56021913960400191505060405180910390fd5b6000610adb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061200d565b6004805460408051630261bf8b60e01b8152905160009384936001600160a01b031692630261bf8b9281830192602092829003018186803b1580156112a957600080fd5b505afa1580156112bd573d6000803e3d6000fd5b505050506040513d60208110156112d357600080fd5b505190506001600160a01b0387166000805160206127e6833981519152141561155a576000600460009054906101000a90046001600160a01b03166001600160a01b031663ed6ff7606040518163ffffffff1660e01b815260040160206040518083038186803b15801561134657600080fd5b505afa15801561135a573d6000803e3d6000fd5b505050506040513d602081101561137057600080fd5b505160408051631a59df7760e11b81526000805160206127e6833981519152600482015290519192506000916001600160a01b038416916334b3beee916024808301926020929190829003018186803b1580156113cc57600080fd5b505afa1580156113e0573d6000803e3d6000fd5b505050506040513d60208110156113f657600080fd5b505190506001600160a01b0387811690821614611451576040805162461bcd60e51b81526020600482015260146024820152736465737420213d2061455448206164647265737360601b604482015290519081900360640190fd5b6004805460408051636968703360e11b81526000805160206127e683398151915293810193909352602483018b9052600160a01b90910461ffff166044830152516001600160a01b0385169163d2d0e066918b9160648082019260009290919082900301818588803b1580156114c657600080fd5b505af11580156114da573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516001600160a01b03861694506370a08231935060248083019350602092829003018186803b15801561152357600080fd5b505afa158015611537573d6000803e3d6000fd5b505050506040513d602081101561154d57600080fd5b505193506119e492505050565b6001600160a01b0385166000805160206127e6833981519152141561173c576000600460009054906101000a90046001600160a01b03166001600160a01b031663ed6ff7606040518163ffffffff1660e01b815260040160206040518083038186803b1580156115c957600080fd5b505afa1580156115dd573d6000803e3d6000fd5b505050506040513d60208110156115f357600080fd5b505160408051631a59df7760e11b81526000805160206127e6833981519152600482015290519192506000916001600160a01b038416916334b3beee916024808301926020929190829003018186803b15801561164f57600080fd5b505afa158015611663573d6000803e3d6000fd5b505050506040513d602081101561167957600080fd5b505190506001600160a01b03898116908216146116d3576040805162461bcd60e51b815260206004820152601360248201527273726320213d2061455448206164647265737360681b604482015290519081900360640190fd5b806001600160a01b031663db006a75896040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561171957600080fd5b505af115801561172d573d6000803e3d6000fd5b505050504793505050506119e4565b6000600460009054906101000a90046001600160a01b03166001600160a01b031663ed6ff7606040518163ffffffff1660e01b815260040160206040518083038186803b15801561178c57600080fd5b505afa1580156117a0573d6000803e3d6000fd5b505050506040513d60208110156117b657600080fd5b505190506117c488876120af565b156119075760408051636eb1769f60e11b81523060048201526001600160a01b03838116602483015291516000928b169163dd62ed3e91604480830192602092919082900301818787803b15801561181b57600080fd5b505af115801561182f573d6000803e3d6000fd5b505050506040513d602081101561184557600080fd5b50511115611868576118686001600160a01b03891682600063ffffffff61229016565b6118826001600160a01b038916828963ffffffff61229016565b6004805460408051636968703360e11b81526001600160a01b038c811694820194909452602481018b9052600160a01b90920461ffff166044830152519184169163d2d0e0669160648082019260009290919082900301818387803b1580156118ea57600080fd5b505af11580156118fe573d6000803e3d6000fd5b50505050611966565b876001600160a01b031663db006a75886040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561194d57600080fd5b505af1158015611961573d6000803e3d6000fd5b505050505b604080516370a0823160e01b815230600482015290516001600160a01b038816916370a082319160248083019260209291908290030181600087803b1580156119ae57600080fd5b505af11580156119c2573d6000803e3d6000fd5b505050506040513d60208110156119d857600080fd5b505192506119e4915050565b95945050505050565b60006001600160a01b0382166000805160206127e683398151915214611a8657604080516370a0823160e01b815230600482015290516001600160a01b038416916370a082319160248083019260209291908290030181600087803b158015611a5557600080fd5b505af1158015611a69573d6000803e3d6000fd5b505050506040513d6020811015611a7f57600080fd5b5051610ade565b610ade611e50565b6000610adb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506123a5565b600080611aea620f424061087a868663ffffffff6111ca16565b9050611afc848263ffffffff611a8e16565b9150611b2e6001600160a01b0386166000805160206127e683398151915214611b255785611b28565b60005b826123ff565b509392505050565b6001600160a01b0383166000805160206127e68339815191521415611b91576040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015611b8b573d6000803e3d6000fd5b50611bab565b611bab6001600160a01b038416838363ffffffff611bb016565b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611bab908490611e55565b3390565b6000806000600460009054906101000a90046001600160a01b03166001600160a01b031663ed6ff7606040518163ffffffff1660e01b815260040160206040518083038186803b158015611c5957600080fd5b505afa158015611c6d573d6000803e3d6000fd5b505050506040513d6020811015611c8357600080fd5b505160408051631a59df7760e11b81526000805160206127e6833981519152600482015290519192506000916001600160a01b038416916334b3beee916024808301926020929190829003018186803b158015611cdf57600080fd5b505afa158015611cf3573d6000803e3d6000fd5b505050506040513d6020811015611d0957600080fd5b505190506001600160a01b0387166000805160206127e6833981519152148015611d455750806001600160a01b0316866001600160a01b031614155b80611d8357506001600160a01b0386166000805160206127e6833981519152148015611d835750806001600160a01b0316876001600160a01b031614155b15611d97575060009250829150611da89050565b670de0b6b3a7640000809350935050505b935093915050565b6001600160a01b038116611df55760405162461bcd60e51b815260040180806020018281038252602681526020018061277b6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b303190565b611e67826001600160a01b03166124bb565b611eb8576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310611ef65780518252601f199092019160209182019101611ed7565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611f58576040519150601f19603f3d011682016040523d82523d6000602084013e611f5d565b606091505b509150915081611fb4576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156111c457808060200190516020811015611fd057600080fd5b50516111c45760405162461bcd60e51b815260040180806020018281038252602a8152602001806128d6602a913960400191505060405180910390fd5b600081836120995760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561205e578181015183820152602001612046565b50505050905090810190601f16801561208b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816120a557fe5b0495945050505050565b6040805160048152602481019091526020810180516001600160e01b0316632274683f60e21b17905260009081806120e786846124f7565b9150915081801561210057506001600160a01b03811615155b1561216657806001600160a01b0316856001600160a01b03161461215a576040805162461bcd60e51b815260206004820152600c60248201526b24b73b30b634b2103830b4b960a11b604482015290519081900360640190fd5b60009350505050610ade565b604080516001600160a01b038089166024808401919091528351808403909101815260449092018352602082810180516001600160e01b0316631a59df7760e11b17905260048054855163076b7fbb60e51b815295519495600095919094169363ed6ff7609381840193909291829003018186803b1580156121e757600080fd5b505afa1580156121fb573d6000803e3d6000fd5b505050506040513d602081101561221157600080fd5b5051905061221f81836124f7565b90945092508380156122425750826001600160a01b0316876001600160a01b0316145b612282576040805162461bcd60e51b815260206004820152600c60248201526b24b73b30b634b2103830b4b960a11b604482015290519081900360640190fd5b600195505050505050610ade565b801580612318575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e916044808201926020929091908290030181600087803b1580156122ea57600080fd5b505af11580156122fe573d6000803e3d6000fd5b505050506040513d602081101561231457600080fd5b5051155b6123535760405162461bcd60e51b815260040180806020018281038252603b815260200180612847603b913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611bab9084906125ee565b600081848411156123f75760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561205e578181015183820152602001612046565b505050900390565b8015611166576001600160a01b038216612453576001546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561244d573d6000803e3d6000fd5b50612473565b600154612473906001600160a01b0384811691168363ffffffff611bb016565b604080516001600160a01b03841681526020810183905281517f1cdf74906ad7d5c402e19a20dbe986befe937e6768a0722bdb18918cdba45c4a929181900390910190a15050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906124ef5750808214155b949350505050565b60008060006060856001600160a01b0316856040518082805190602001908083835b602083106125385780518252601f199092019160209182019101612519565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461259a576040519150601f19603f3d011682016040523d82523d6000602084013e61259f565b606091505b50915091508180156125b2575080516020145b156125dd5760018180602001905160208110156125ce57600080fd5b505190945092506125e7915050565b5060009250829150505b9250929050565b612600826001600160a01b03166124bb565b61263b5760405162461bcd60e51b81526004018080602001828103825260248152602001806127a16024913960400191505060405180910390fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106126795780518252601f19909201916020918201910161265a565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146126db576040519150601f19603f3d011682016040523d82523d6000602084013e6126e0565b606091505b5091509150816127215760405162461bcd60e51b81526004018080602001828103825260258152602001806128b16025913960400191505060405180910390fd5b8051156111c45780806020019051602081101561273d57600080fd5b50516111c45760405162461bcd60e51b815260040180806020018281038252602f815260200180612882602f913960400191505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735361666550726f787945524332303a2063616c6c20746f206e6f6e2d636f6e7472616374536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee4e6f20656e6f756768206465737420746f6b656e732061667465722074726164654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666550726f787945524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e63655361666550726f787945524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666550726f787945524332303a206c6f772d6c6576656c2063616c6c206661696c65645361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820169464ac2b4b8c1cc5f8f013a5da21ac52c9ee2de44169153c5d91dbf5bd45cb64736f6c634300050f00325f616176654164647265737350726f7669646572203d3d206164647265737328302900000000000000000000000024a42fd28c976a61df5d00d0599c34c4f90748c80000000000000000000000002a24a7a4beb9e6d0431c9bc1800045b8fc27a966000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8
Deployed Bytecode
0x60806040526004361061012a5760003560e01c806389476069116100ab578063c72c4d101161006f578063c72c4d10146103a9578063e56c174b146103be578063f25f4b561461041a578063f2fde38b1461042f578063f5074f4114610462578063f97c6f84146104955761012a565b806389476069146102d35780638da5cb5b146103065780638f32d59b1461033757806390d49b9d1461034c578063b66a261c1461037f5761012a565b8063715018a6116100f2578063715018a61461021957806375ead4591461022e57806376a89e3b1461027b57806383197ef0146102a95780638456cb59146102be5761012a565b80630b189c621461012c5780633f4ba83a1461015857806345db50341461016d5780635c975abb146101b05780635e75228f146101d9575b005b34801561013857600080fd5b506101416104aa565b6040805161ffff9092168252519081900360200190f35b34801561016457600080fd5b5061012a6104bb565b34801561017957600080fd5b5061012a6004803603606081101561019057600080fd5b506001600160a01b03813581169160208101359091169060400135610596565b3480156101bc57600080fd5b506101c5610635565b604080519115158252519081900360200190f35b61012a600480360360a08110156101ef57600080fd5b506001600160a01b0381358116916020810135916040820135169060608101359060800135610645565b34801561022557600080fd5b5061012a6109ff565b34801561023a57600080fd5b506102696004803603604081101561025157600080fd5b506001600160a01b0381358116916020013516610a90565b60408051918252519081900360200190f35b34801561028757600080fd5b5061012a6004803603602081101561029e57600080fd5b503561ffff16610ae4565b3480156102b557600080fd5b5061012a610b4d565b3480156102ca57600080fd5b5061012a610ba7565b3480156102df57600080fd5b5061012a600480360360208110156102f657600080fd5b50356001600160a01b0316610c82565b34801561031257600080fd5b5061031b610de4565b604080516001600160a01b039092168252519081900360200190f35b34801561034357600080fd5b506101c5610df3565b34801561035857600080fd5b5061012a6004803603602081101561036f57600080fd5b50356001600160a01b0316610e17565b34801561038b57600080fd5b5061012a600480360360208110156103a257600080fd5b5035610ed3565b3480156103b557600080fd5b5061031b610f1f565b3480156103ca57600080fd5b50610401600480360360608110156103e157600080fd5b506001600160a01b03813581169160208101359091169060400135610f2e565b6040805192835260208301919091528051918290030190f35b34801561042657600080fd5b5061031b610f92565b34801561043b57600080fd5b5061012a6004803603602081101561045257600080fd5b50356001600160a01b0316610fa1565b34801561046e57600080fd5b5061012a6004803603602081101561048557600080fd5b50356001600160a01b0316610ff4565b3480156104a157600080fd5b50610269611047565b600454600160a01b900461ffff1681565b6104c3610df3565b610502576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b600054600160a01b900460ff16610560576040805162461bcd60e51b815260206004820152601a60248201527f54686520636f6e7472616374206973206e6f7420706175736564000000000000604482015290519081900360640190fd5b6000805460ff60a01b191681556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b339190a1565b61059e610df3565b6105dd576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b6000620f424082116105ef57816105f4565b620f42405b6001600160a01b0394851660008181526003602081815260408084209890991683529687528782208490558652868120918152945293909220929092555050565b600054600160a01b900460ff1681565b826001600160a01b0316856001600160a01b0316141561069a576040805162461bcd60e51b815260206004820152600b60248201526a1cdc98c80f4f4819195cdd60aa1b604482015290519081900360640190fd5b600084116106e0576040805162461bcd60e51b815260206004820152600e60248201526d0737263416d6f756e74203d3d20360941b604482015290519081900360640190fd5b6106e98561104d565b6106f28361104d565b6001600160a01b0385166000805160206127e683398151915214156107635783341461075e576040805162461bcd60e51b81526020600482015260166024820152751b5cd9cb9d985b1d5948084f481cdc98d05b5bdd5b9d60521b604482015290519081900360640190fd5b61084e565b60408051636eb1769f60e11b8152336004820152306024820152905185916001600160a01b0388169163dd62ed3e916044808201926020929091908290030181600087803b1580156107b457600080fd5b505af11580156107c8573d6000803e3d6000fd5b505050506040513d60208110156107de57600080fd5b50511015610833576040805162461bcd60e51b815260206004820152601b60248201527f455243323020616c6c6f77616e6365203c20737263416d6f756e740000000000604482015290519081900360640190fd5b61084e6001600160a01b03861633308763ffffffff61116a16565b600061085a8685610a90565b90506000610886620f42408381039061087a90869063ffffffff6111ca16565b9063ffffffff61122316565b905060006108a6620f42408481039061087a90889063ffffffff6111ca16565b905060006108b78989898587611265565b905060006108c48a6119ed565b905060006108d88a8363ffffffff611a8e16565b905060008111610922576040805162461bcd60e51b815260206004820152601060248201526f6e6f2074726164656420746f6b656e7360801b604482015290519081900360640190fd5b8261092c8a6119ed565b10156109695760405162461bcd60e51b81526004018080602001828103825260218152602001806128066021913960400191505060405180910390fd5b60006109768a8589611ad0565b90506109838a3383611b36565b8215610994576109948c3385611b36565b896001600160a01b03168c6001600160a01b0316336001600160a01b03167f3ec01f4da9d8c31a1cdb8e6e7231364ba5ef0850b01daaa44a9f126f920693c68585604051808381526020018281526020019250505060405180910390a4505050505050505050505050565b610a07610df3565b610a46576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001600160a01b03808316600090815260036020908152604080832093851683529290529081205480610ac7575050600254610ade565b620f42408110610adb576000915050610ade565b90505b92915050565b610aec610df3565b610b2b576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b6004805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b610b55610df3565b610b94576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b610b9c610de4565b6001600160a01b0316ff5b610baf610df3565b610bee576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b600054600160a01b900460ff1615610c46576040805162461bcd60e51b8152602060048201526016602482015275151a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1781556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff6259190a1565b610c8a610df3565b610cc9576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b60006001600160a01b038216610d12575060405130803191339083156108fc029084906000818181858888f19350505050158015610d0b573d6000803e3d6000fd5b5050610da0565b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b158015610d5857600080fd5b505afa158015610d6c573d6000803e3d6000fd5b505050506040513d6020811015610d8257600080fd5b50519050610da06001600160a01b038316338363ffffffff611bb016565b6040805182815290516001600160a01b0384169133917f46ae78bc7b198b8b534ca0070d125569ac5f955976841c4343223079f3abf0de9181900360200190a35050565b6000546001600160a01b031690565b600080546001600160a01b0316610e08611c02565b6001600160a01b031614905090565b610e1f610df3565b610e5e576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b6001600160a01b038116610eb1576040805162461bcd60e51b81526020600482015260156024820152745f77616c6c6574203d3d206164647265737328302960581b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b610edb610df3565b610f1a576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b600255565b6004546001600160a01b031681565b600080600080610f3f878787611c06565b915091506000610f4f8888610a90565b9050610f6a620f424061087a8584830363ffffffff6111ca16565b9450610f85620f424061087a8484830363ffffffff6111ca16565b9350505050935093915050565b6001546001600160a01b031681565b610fa9610df3565b610fe8576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b610ff181611db0565b50565b610ffc610df3565b61103b576040805162461bcd60e51b81526020600482018190526024820152600080516020612827833981519152604482015290519081900360640190fd5b806001600160a01b0316ff5b60025481565b60006001600160a01b0382166000805160206127e6833981519152146110e657604080516370a0823160e01b815230600482015290516001600160a01b038416916370a082319160248083019260209291908290030181600087803b1580156110b557600080fd5b505af11580156110c9573d6000803e3d6000fd5b505050506040513d60208110156110df57600080fd5b50516110fe565b6110fe346110f2611e50565b9063ffffffff611a8e16565b905080156111665761112182611112610de4565b6001600160a01b031683611b36565b604080516001600160a01b03841681526020810183905281517f53189a8ce98afbf89498c735cf6b58ad2708c8a3a12b6f077bd4f3313dced7a9929181900390910190a15b5050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526111c4908590611e55565b50505050565b6000826111d957506000610ade565b828202828482816111e657fe5b0414610adb5760405162461bcd60e51b81526004018080602001828103825260218152602001806127c56021913960400191505060405180910390fd5b6000610adb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061200d565b6004805460408051630261bf8b60e01b8152905160009384936001600160a01b031692630261bf8b9281830192602092829003018186803b1580156112a957600080fd5b505afa1580156112bd573d6000803e3d6000fd5b505050506040513d60208110156112d357600080fd5b505190506001600160a01b0387166000805160206127e6833981519152141561155a576000600460009054906101000a90046001600160a01b03166001600160a01b031663ed6ff7606040518163ffffffff1660e01b815260040160206040518083038186803b15801561134657600080fd5b505afa15801561135a573d6000803e3d6000fd5b505050506040513d602081101561137057600080fd5b505160408051631a59df7760e11b81526000805160206127e6833981519152600482015290519192506000916001600160a01b038416916334b3beee916024808301926020929190829003018186803b1580156113cc57600080fd5b505afa1580156113e0573d6000803e3d6000fd5b505050506040513d60208110156113f657600080fd5b505190506001600160a01b0387811690821614611451576040805162461bcd60e51b81526020600482015260146024820152736465737420213d2061455448206164647265737360601b604482015290519081900360640190fd5b6004805460408051636968703360e11b81526000805160206127e683398151915293810193909352602483018b9052600160a01b90910461ffff166044830152516001600160a01b0385169163d2d0e066918b9160648082019260009290919082900301818588803b1580156114c657600080fd5b505af11580156114da573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516001600160a01b03861694506370a08231935060248083019350602092829003018186803b15801561152357600080fd5b505afa158015611537573d6000803e3d6000fd5b505050506040513d602081101561154d57600080fd5b505193506119e492505050565b6001600160a01b0385166000805160206127e6833981519152141561173c576000600460009054906101000a90046001600160a01b03166001600160a01b031663ed6ff7606040518163ffffffff1660e01b815260040160206040518083038186803b1580156115c957600080fd5b505afa1580156115dd573d6000803e3d6000fd5b505050506040513d60208110156115f357600080fd5b505160408051631a59df7760e11b81526000805160206127e6833981519152600482015290519192506000916001600160a01b038416916334b3beee916024808301926020929190829003018186803b15801561164f57600080fd5b505afa158015611663573d6000803e3d6000fd5b505050506040513d602081101561167957600080fd5b505190506001600160a01b03898116908216146116d3576040805162461bcd60e51b815260206004820152601360248201527273726320213d2061455448206164647265737360681b604482015290519081900360640190fd5b806001600160a01b031663db006a75896040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561171957600080fd5b505af115801561172d573d6000803e3d6000fd5b505050504793505050506119e4565b6000600460009054906101000a90046001600160a01b03166001600160a01b031663ed6ff7606040518163ffffffff1660e01b815260040160206040518083038186803b15801561178c57600080fd5b505afa1580156117a0573d6000803e3d6000fd5b505050506040513d60208110156117b657600080fd5b505190506117c488876120af565b156119075760408051636eb1769f60e11b81523060048201526001600160a01b03838116602483015291516000928b169163dd62ed3e91604480830192602092919082900301818787803b15801561181b57600080fd5b505af115801561182f573d6000803e3d6000fd5b505050506040513d602081101561184557600080fd5b50511115611868576118686001600160a01b03891682600063ffffffff61229016565b6118826001600160a01b038916828963ffffffff61229016565b6004805460408051636968703360e11b81526001600160a01b038c811694820194909452602481018b9052600160a01b90920461ffff166044830152519184169163d2d0e0669160648082019260009290919082900301818387803b1580156118ea57600080fd5b505af11580156118fe573d6000803e3d6000fd5b50505050611966565b876001600160a01b031663db006a75886040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561194d57600080fd5b505af1158015611961573d6000803e3d6000fd5b505050505b604080516370a0823160e01b815230600482015290516001600160a01b038816916370a082319160248083019260209291908290030181600087803b1580156119ae57600080fd5b505af11580156119c2573d6000803e3d6000fd5b505050506040513d60208110156119d857600080fd5b505192506119e4915050565b95945050505050565b60006001600160a01b0382166000805160206127e683398151915214611a8657604080516370a0823160e01b815230600482015290516001600160a01b038416916370a082319160248083019260209291908290030181600087803b158015611a5557600080fd5b505af1158015611a69573d6000803e3d6000fd5b505050506040513d6020811015611a7f57600080fd5b5051610ade565b610ade611e50565b6000610adb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506123a5565b600080611aea620f424061087a868663ffffffff6111ca16565b9050611afc848263ffffffff611a8e16565b9150611b2e6001600160a01b0386166000805160206127e683398151915214611b255785611b28565b60005b826123ff565b509392505050565b6001600160a01b0383166000805160206127e68339815191521415611b91576040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015611b8b573d6000803e3d6000fd5b50611bab565b611bab6001600160a01b038416838363ffffffff611bb016565b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611bab908490611e55565b3390565b6000806000600460009054906101000a90046001600160a01b03166001600160a01b031663ed6ff7606040518163ffffffff1660e01b815260040160206040518083038186803b158015611c5957600080fd5b505afa158015611c6d573d6000803e3d6000fd5b505050506040513d6020811015611c8357600080fd5b505160408051631a59df7760e11b81526000805160206127e6833981519152600482015290519192506000916001600160a01b038416916334b3beee916024808301926020929190829003018186803b158015611cdf57600080fd5b505afa158015611cf3573d6000803e3d6000fd5b505050506040513d6020811015611d0957600080fd5b505190506001600160a01b0387166000805160206127e6833981519152148015611d455750806001600160a01b0316866001600160a01b031614155b80611d8357506001600160a01b0386166000805160206127e6833981519152148015611d835750806001600160a01b0316876001600160a01b031614155b15611d97575060009250829150611da89050565b670de0b6b3a7640000809350935050505b935093915050565b6001600160a01b038116611df55760405162461bcd60e51b815260040180806020018281038252602681526020018061277b6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b303190565b611e67826001600160a01b03166124bb565b611eb8576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310611ef65780518252601f199092019160209182019101611ed7565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611f58576040519150601f19603f3d011682016040523d82523d6000602084013e611f5d565b606091505b509150915081611fb4576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156111c457808060200190516020811015611fd057600080fd5b50516111c45760405162461bcd60e51b815260040180806020018281038252602a8152602001806128d6602a913960400191505060405180910390fd5b600081836120995760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561205e578181015183820152602001612046565b50505050905090810190601f16801561208b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816120a557fe5b0495945050505050565b6040805160048152602481019091526020810180516001600160e01b0316632274683f60e21b17905260009081806120e786846124f7565b9150915081801561210057506001600160a01b03811615155b1561216657806001600160a01b0316856001600160a01b03161461215a576040805162461bcd60e51b815260206004820152600c60248201526b24b73b30b634b2103830b4b960a11b604482015290519081900360640190fd5b60009350505050610ade565b604080516001600160a01b038089166024808401919091528351808403909101815260449092018352602082810180516001600160e01b0316631a59df7760e11b17905260048054855163076b7fbb60e51b815295519495600095919094169363ed6ff7609381840193909291829003018186803b1580156121e757600080fd5b505afa1580156121fb573d6000803e3d6000fd5b505050506040513d602081101561221157600080fd5b5051905061221f81836124f7565b90945092508380156122425750826001600160a01b0316876001600160a01b0316145b612282576040805162461bcd60e51b815260206004820152600c60248201526b24b73b30b634b2103830b4b960a11b604482015290519081900360640190fd5b600195505050505050610ade565b801580612318575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e916044808201926020929091908290030181600087803b1580156122ea57600080fd5b505af11580156122fe573d6000803e3d6000fd5b505050506040513d602081101561231457600080fd5b5051155b6123535760405162461bcd60e51b815260040180806020018281038252603b815260200180612847603b913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611bab9084906125ee565b600081848411156123f75760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561205e578181015183820152602001612046565b505050900390565b8015611166576001600160a01b038216612453576001546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561244d573d6000803e3d6000fd5b50612473565b600154612473906001600160a01b0384811691168363ffffffff611bb016565b604080516001600160a01b03841681526020810183905281517f1cdf74906ad7d5c402e19a20dbe986befe937e6768a0722bdb18918cdba45c4a929181900390910190a15050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906124ef5750808214155b949350505050565b60008060006060856001600160a01b0316856040518082805190602001908083835b602083106125385780518252601f199092019160209182019101612519565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461259a576040519150601f19603f3d011682016040523d82523d6000602084013e61259f565b606091505b50915091508180156125b2575080516020145b156125dd5760018180602001905160208110156125ce57600080fd5b505190945092506125e7915050565b5060009250829150505b9250929050565b612600826001600160a01b03166124bb565b61263b5760405162461bcd60e51b81526004018080602001828103825260248152602001806127a16024913960400191505060405180910390fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106126795780518252601f19909201916020918201910161265a565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146126db576040519150601f19603f3d011682016040523d82523d6000602084013e6126e0565b606091505b5091509150816127215760405162461bcd60e51b81526004018080602001828103825260258152602001806128b16025913960400191505060405180910390fd5b8051156111c45780806020019051602081101561273d57600080fd5b50516111c45760405162461bcd60e51b815260040180806020018281038252602f815260200180612882602f913960400191505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735361666550726f787945524332303a2063616c6c20746f206e6f6e2d636f6e7472616374536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee4e6f20656e6f756768206465737420746f6b656e732061667465722074726164654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666550726f787945524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e63655361666550726f787945524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666550726f787945524332303a206c6f772d6c6576656c2063616c6c206661696c65645361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820169464ac2b4b8c1cc5f8f013a5da21ac52c9ee2de44169153c5d91dbf5bd45cb64736f6c634300050f0032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000024a42fd28c976a61df5d00d0599c34c4f90748c80000000000000000000000002a24a7a4beb9e6d0431c9bc1800045b8fc27a966000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8
-----Decoded View---------------
Arg [0] : _aaveAddressProvider (address): 0x24a42fD28C976A61Df5D00D0599C34c4f90748c8
Arg [1] : _wallet (address): 0x2a24a7a4BeB9e6d0431c9Bc1800045b8fC27a966
Arg [2] : _aaveReferralCode (uint16): 0
Arg [3] : _spread (uint256): 1000
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000024a42fd28c976a61df5d00d0599c34c4f90748c8
Arg [1] : 0000000000000000000000002a24a7a4beb9e6d0431c9bc1800045b8fc27a966
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 00000000000000000000000000000000000000000000000000000000000003e8
Deployed Bytecode Sourcemap
43075:3751:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43424:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43424:30:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22912:95;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22912:95:0;;;:::i;34893:234::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34893:234:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;34893:234:0;;;;;;;;;;;;;;;;;:::i;22235:26::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22235:26:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;36351:1759;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;36351:1759:0;;;;;;;;;;;;;;;;;;;;;;;;;:::i;20671:140::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20671:140:0;;;:::i;35133:237::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35133:237:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;35133:237:0;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;43873:97;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43873:97:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43873:97:0;;;;:::i;21765:88::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21765:88:0;;;:::i;22732:93::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22732:93:0;;;:::i;31728:512::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31728:512:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;31728:512:0;-1:-1:-1;;;;;31728:512:0;;:::i;19860:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19860:79:0;;;:::i;:::-;;;;-1:-1:-1;;;;;19860:79:0;;;;;;;;;;;;;;20226:94;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20226:94:0;;;:::i;32867:160::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32867:160:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32867:160:0;-1:-1:-1;;;;;32867:160:0;;:::i;33033:87::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33033:87:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33033:87:0;;:::i;43359:58::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43359:58:0;;;:::i;35543:411::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35543:411:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;35543:411:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;32416:32;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32416:32:0;;;:::i;20966:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20966:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20966:109:0;-1:-1:-1;;;;;20966:109:0;;:::i;21859:106::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21859:106:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21859:106:0;-1:-1:-1;;;;;21859:106:0;;:::i;32453:24::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32453:24:0;;;:::i;43424:30::-;;;-1:-1:-1;;;43424:30:0;;;;;:::o;22912:95::-;20072:9;:7;:9::i;:::-;20064:54;;;;;-1:-1:-1;;;20064:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20064:54:0;;;;;;;;;;;;;;;22597:6;;-1:-1:-1;;;22597:6:0;;;;22589:45;;;;;-1:-1:-1;;;22589:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;22975:5;22966:14;;-1:-1:-1;;;;22966:14:0;;;22992:9;;;;22975:5;22992:9;22912:95::o;34893:234::-;20072:9;:7;:9::i;:::-;20064:54;;;;;-1:-1:-1;;;20064:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20064:54:0;;;;;;;;;;;;;;;34981:10;32546:20;34994:19;;:41;;35029:6;34994:41;;;32546:20;34994:41;-1:-1:-1;;;;;35042:20:0;;;;;;;:12;:20;;;;;;;;:28;;;;;;;;;;;;:36;;;35085:20;;;;;:28;;;;;;;;;:36;;;;-1:-1:-1;;34893:234:0:o;22235:26::-;;;-1:-1:-1;;;22235:26:0;;;;;:::o;36351:1759::-;36489:4;-1:-1:-1;;;;;36482:11:0;:3;-1:-1:-1;;;;;36482:11:0;;;36474:35;;;;;-1:-1:-1;;;36474:35:0;;;;;;;;;;;;-1:-1:-1;;;36474:35:0;;;;;;;;;;;;;;;36536:1;36524:9;:13;36516:40;;;;;-1:-1:-1;;;36516:40:0;;;;;;;;;;;;-1:-1:-1;;;36516:40:0;;;;;;;;;;;;;;;36607:26;36629:3;36607:21;:26::i;:::-;36640:27;36662:4;36640:21;:27::i;:::-;-1:-1:-1;;;;;36680:12:0;;-1:-1:-1;;;;;;;;;;;36680:12:0;36676:359;;;36724:9;36711;:22;36703:57;;;;;-1:-1:-1;;;36703:57:0;;;;;;;;;;;;-1:-1:-1;;;36703:57:0;;;;;;;;;;;;;;;36676:359;;;36801:61;;;-1:-1:-1;;;36801:61:0;;36836:10;36801:61;;;;36856:4;36801:61;;;;;;36866:9;;-1:-1:-1;;;;;36801:34:0;;;;;:61;;;;;;;;;;;;;;;-1:-1:-1;36801:34:0;:61;;;5:2:-1;;;;30:1;27;20:12;5:2;36801:61:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36801:61:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36801:61:0;:74;;36783:141;;;;;-1:-1:-1;;;36783:141:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;36961:66;-1:-1:-1;;;;;36961:28:0;;36990:10;37010:4;37017:9;36961:66;:28;:66;:::i;:::-;37043:14;37060:20;37070:3;37075:4;37060:9;:20::i;:::-;37043:37;-1:-1:-1;37171:22:0;37196:58;32546:20;37234:19;;;;37196:33;;:17;;:33;:21;:33;:::i;:::-;:37;:58;:37;:58;:::i;:::-;37171:83;-1:-1:-1;37261:28:0;37292:54;32546:20;37326:19;;;;37292:29;;:13;;:29;:17;:29;:::i;:54::-;37261:85;;37353:24;37380:74;37395:3;37400:9;37411:4;37417:20;37439:14;37380;:74::i;:::-;37353:101;;37463:17;37483:15;37494:3;37483:10;:15::i;:::-;37463:35;-1:-1:-1;37505:23:0;37531:24;:9;37463:35;37531:24;:13;:24;:::i;:::-;37505:50;;37588:1;37570:15;:19;37562:48;;;;;-1:-1:-1;;;37562:48:0;;;;;;;;;;;;-1:-1:-1;;;37562:48:0;;;;;;;;;;;;;;;37653:16;37633;37644:4;37633:10;:16::i;:::-;:36;;37617:103;;;;-1:-1:-1;;;37617:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37752:20;37775:39;37783:4;37789:16;37807:6;37775:7;:39::i;:::-;37752:62;;37821:41;37831:4;37837:10;37849:12;37821:9;:41::i;:::-;37914:13;;37910:73;;37938:37;37948:3;37953:10;37965:9;37938;:37::i;:::-;38072:4;-1:-1:-1;;;;;37996:108:0;38036:3;-1:-1:-1;;;;;37996:108:0;38017:10;-1:-1:-1;;;;;37996:108:0;;38048:15;38085:12;37996:108;;;;;;;;;;;;;;;;;;;;;;;;36351:1759;;;;;;;;;;;;:::o;20671:140::-;20072:9;:7;:9::i;:::-;20064:54;;;;;-1:-1:-1;;;20064:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20064:54:0;;;;;;;;;;;;;;;20770:1;20754:6;;20733:40;;-1:-1:-1;;;;;20754:6:0;;;;20733:40;;20770:1;;20733:40;20801:1;20784:19;;-1:-1:-1;;;;;;20784:19:0;;;20671:140::o;35133:237::-;-1:-1:-1;;;;;35230:20:0;;;35204:4;35230:20;;;:12;:20;;;;;;;;:28;;;;;;;;;;;;35269:10;35265:35;;-1:-1:-1;;35288:12:0;;35281:19;;35265:35;32546:20;35311:19;;35307:57;;35339:1;35332:8;;;;;35307:57;35359:5;-1:-1:-1;35133:237:0;;;;;:::o;43873:97::-;20072:9;:7;:9::i;:::-;20064:54;;;;;-1:-1:-1;;;20064:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20064:54:0;;;;;;;;;;;;;;;43940:16;:24;;;;;;-1:-1:-1;;;43940:24:0;-1:-1:-1;;;;43940:24:0;;;;;;;;;43873:97::o;21765:88::-;20072:9;:7;:9::i;:::-;20064:54;;;;;-1:-1:-1;;;20064:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20064:54:0;;;;;;;;;;;;;;;21837:7;:5;:7::i;:::-;-1:-1:-1;;;;;21821:25:0;21808:39;22732:93;20072:9;:7;:9::i;:::-;20064:54;;;;;-1:-1:-1;;;20064:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20064:54:0;;;;;;;;;;;;;;;22411:6;;-1:-1:-1;;;22411:6:0;;;;22410:7;22402:42;;;;;-1:-1:-1;;;22402:42:0;;;;;;;;;;;;-1:-1:-1;;;22402:42:0;;;;;;;;;;;;;;;22787:6;:13;;-1:-1:-1;;;;22787:13:0;-1:-1:-1;;;22787:13:0;;;22812:7;;;;22787:6;22812:7;22732:93::o;31728:512::-;20072:9;:7;:9::i;:::-;20064:54;;;;;-1:-1:-1;;;20064:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20064:54:0;;;;;;;;;;;;;;;31798:17;-1:-1:-1;;;;;31826:22:0;;31822:344;;-1:-1:-1;31974:33:0;;31882:4;31953:12;;;31974:10;;:33;;;;;31953:12;;31859;31974:33;31859:12;31974:33;31953:12;31974:10;:33;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31974:33:0;31822:344;;;;32045:45;;;-1:-1:-1;;;32045:45:0;;32084:4;32045:45;;;;;;-1:-1:-1;;;;;32045:30:0;;;;;:45;;;;;;;;;;;;;;:30;:45;;;5:2:-1;;;;30:1;27;20:12;5:2;32045:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32045:45:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32045:45:0;;-1:-1:-1;32099:59:0;-1:-1:-1;;;;;32099:33:0;;32133:10;32045:45;32099:59;:33;:59;:::i;:::-;32177:57;;;;;;;;-1:-1:-1;;;;;32177:57:0;;;32194:10;;32177:57;;;;;;;;;20129:1;31728:512;:::o;19860:79::-;19898:7;19925:6;-1:-1:-1;;;;;19925:6:0;19860:79;:::o;20226:94::-;20266:4;20306:6;;-1:-1:-1;;;;;20306:6:0;20290:12;:10;:12::i;:::-;-1:-1:-1;;;;;20290:22:0;;20283:29;;20226:94;:::o;32867:160::-;20072:9;:7;:9::i;:::-;20064:54;;;;;-1:-1:-1;;;20064:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20064:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;32948:21:0;;32940:55;;;;;-1:-1:-1;;;32940:55:0;;;;;;;;;;;;-1:-1:-1;;;32940:55:0;;;;;;;;;;;;;;;33002:9;:19;;-1:-1:-1;;;;;;33002:19:0;-1:-1:-1;;;;;33002:19:0;;;;;;;;;;32867:160::o;33033:87::-;20072:9;:7;:9::i;:::-;20064:54;;;;;-1:-1:-1;;;20064:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20064:54:0;;;;;;;;;;;;;;;33092:12;:22;33033:87::o;43359:58::-;;;-1:-1:-1;;;;;43359:58:0;;:::o;35543:411::-;35633:17;35652;35682;35701:18;35723:36;35738:3;35743:4;35749:9;35723:14;:36::i;:::-;35681:78;;;;35766:14;35783:20;35793:3;35798:4;35783:9;:20::i;:::-;35766:37;-1:-1:-1;35825:50:0;32546:20;35825:34;:9;35839:19;;;35825:34;:13;:34;:::i;:50::-;35810:65;-1:-1:-1;35897:51:0;32546:20;35897:35;:10;35912:19;;;35897:35;:14;:35;:::i;:51::-;35882:66;;35543:411;;;;;;;;;:::o;32416:32::-;;;-1:-1:-1;;;;;32416:32:0;;:::o;20966:109::-;20072:9;:7;:9::i;:::-;20064:54;;;;;-1:-1:-1;;;20064:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20064:54:0;;;;;;;;;;;;;;;21039:28;21058:8;21039:18;:28::i;:::-;20966:109;:::o;21859:106::-;20072:9;:7;:9::i;:::-;20064:54;;;;;-1:-1:-1;;;20064:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20064:54:0;;;;;;;;;;;;;;;21948:10;-1:-1:-1;;;;;21935:24:0;;32453;;;;:::o;35960:385::-;36021:25;-1:-1:-1;;;;;36049:14:0;;-1:-1:-1;;;;;;;;;;;36049:14:0;:115;;36113:51;;;-1:-1:-1;;;36113:51:0;;36158:4;36113:51;;;;;;-1:-1:-1;;;;;36113:36:0;;;;;:51;;;;;;;;;;;;;;-1:-1:-1;36113:36:0;:51;;;5:2:-1;;;;30:1;27;20:12;5:2;36113:51:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36113:51:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36113:51:0;36049:115;;;36073:30;36093:9;36073:15;:13;:15::i;:::-;:19;:30;:19;:30;:::i;:::-;36021:143;-1:-1:-1;36175:21:0;;36171:169;;36207:62;36217:5;36240:7;:5;:7::i;:::-;-1:-1:-1;;;;;36224:25:0;36251:17;36207:9;:62::i;:::-;36283:49;;;-1:-1:-1;;;;;36283:49:0;;;;;;;;;;;;;;;;;;;;;;;36171:169;35960:385;;:::o;12396:204::-;12523:68;;;-1:-1:-1;;;;;12523:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12523:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;12497:95:0;;12516:5;;12497:18;:95::i;:::-;12396:204;;;;:::o;5181:471::-;5239:7;5484:6;5480:47;;-1:-1:-1;5514:1:0;5507:8;;5480:47;5551:5;;;5555:1;5551;:5;:1;5575:5;;;;;:10;5567:56;;;;-1:-1:-1;;;5567:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6120:132;6178:7;6205:39;6209:1;6212;6205:39;;;;;;;;;;;;;;;;;:3;:39::i;45318:1503::-;45526:17;;;:34;;;-1:-1:-1;;;45526:34:0;;;;45459:7;;;;-1:-1:-1;;;;;45526:17:0;;:32;;:34;;;;;;;;;;;:17;:34;;;5:2:-1;;;;30:1;27;20:12;5:2;45526:34:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;45526:34:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;45526:34:0;;-1:-1:-1;;;;;;45572:12:0;;-1:-1:-1;;;;;;;;;;;45572:12:0;45568:1248;;;45595:25;45644:17;;;;;;;;;-1:-1:-1;;;;;45644:17:0;-1:-1:-1;;;;;45644:36:0;;:38;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;45644:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;45644:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;45644:38:0;45711:40;;;-1:-1:-1;;;45711:40:0;;-1:-1:-1;;;;;;;;;;;45711:40:0;;;;;;45644:38;;-1:-1:-1;45692:16:0;;-1:-1:-1;;;;;45711:28:0;;;;;:40;;;;;45644:38;;45711:40;;;;;;;:28;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;45711:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;45711:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;45711:40:0;;-1:-1:-1;;;;;;45768:16:0;;;;;;;45760:49;;;;;-1:-1:-1;;;45760:49:0;;;;;;;;;;;;-1:-1:-1;;;45760:49:0;;;;;;;;;;;;;;;45878:16;;;45818:77;;;-1:-1:-1;;;45818:77:0;;-1:-1:-1;;;;;;;;;;;45818:77:0;;;;;;;;;;;;;-1:-1:-1;;;45878:16:0;;;;;45818:77;;;;;-1:-1:-1;;;;;45818:19:0;;;;;:77;;;;;;;-1:-1:-1;;45818:77:0;;;;;;;;;:19;:77;;;5:2:-1;;;;30:1;27;20:12;5:2;45818:77:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;45911:41:0;;;-1:-1:-1;;;45911:41:0;;45946:4;45911:41;;;;;;-1:-1:-1;;;;;45911:26:0;;;-1:-1:-1;45911:26:0;;-1:-1:-1;45911:41:0;;;;;-1:-1:-1;45911:41:0;;;;;;;:26;:41;;;5:2:-1;;;;30:1;27;20:12;5:2;45911:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;45911:41:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;45911:41:0;;-1:-1:-1;45904:48:0;;-1:-1:-1;;;45904:48:0;45568:1248;-1:-1:-1;;;;;45970:13:0;;-1:-1:-1;;;;;;;;;;;45970:13:0;45966:850;;;45994:25;46043:17;;;;;;;;;-1:-1:-1;;;;;46043:17:0;-1:-1:-1;;;;;46043:36:0;;:38;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46043:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46043:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;46043:38:0;46110:40;;;-1:-1:-1;;;46110:40:0;;-1:-1:-1;;;;;;;;;;;46110:40:0;;;;;;46043:38;;-1:-1:-1;46091:16:0;;-1:-1:-1;;;;;46110:28:0;;;;;:40;;;;;46043:38;;46110:40;;;;;;;:28;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;46110:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46110:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;46110:40:0;;-1:-1:-1;;;;;;46167:15:0;;;;;;;46159:47;;;;;-1:-1:-1;;;46159:47:0;;;;;;;;;;;;-1:-1:-1;;;46159:47:0;;;;;;;;;;;;;;;46227:8;-1:-1:-1;;;;;46215:28:0;;46244:9;46215:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46215:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46215:39:0;;;;46270:21;46263:28;;;;;;;45966:850;46314:12;46329:17;;;;;;;;;-1:-1:-1;;;;;46329:17:0;-1:-1:-1;;;;;46329:36:0;;:38;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46329:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46329:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;46329:38:0;;-1:-1:-1;46380:17:0;46387:3;46392:4;46380:6;:17::i;:::-;46376:367;;;46414:55;;;-1:-1:-1;;;46414:55:0;;46457:4;46414:55;;;;-1:-1:-1;;;;;46414:55:0;;;;;;;;;46472:1;;46414:34;;;;;:55;;;;;;;;;;;;;;46472:1;46414:34;:55;;;5:2:-1;;;;30:1;27;20:12;5:2;46414:55:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46414:55:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;46414:55:0;:59;46410:135;;;46488:45;-1:-1:-1;;;;;46488:36:0;;46525:4;46531:1;46488:45;:36;:45;:::i;:::-;46555:53;-1:-1:-1;;;;;46555:36:0;;46592:4;46598:9;46555:53;:36;:53;:::i;:::-;46655:16;;;46619:53;;;-1:-1:-1;;;46619:53:0;;-1:-1:-1;;;;;46619:53:0;;;;;;;;;;;;;;;;-1:-1:-1;;;46655:16:0;;;;;46619:53;;;;;:19;;;;;;:53;;;;;-1:-1:-1;;46619:53:0;;;;;;;;-1:-1:-1;46619:19:0;:53;;;5:2:-1;;;;30:1;27;20:12;5:2;46619:53:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46619:53:0;;;;46376:367;;;46711:3;-1:-1:-1;;;;;46699:23:0;;46723:9;46699:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46699:34:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46699:34:0;;;;46376:367;46758:50;;;-1:-1:-1;;;46758:50:0;;46802:4;46758:50;;;;;;-1:-1:-1;;;;;46758:35:0;;;;;:50;;;;;;;;;;;;;;-1:-1:-1;46758:35:0;:50;;;5:2:-1;;;;30:1;27;20:12;5:2;46758:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46758:50:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;46758:50:0;;-1:-1:-1;46751:57:0;;-1:-1:-1;;46751:57:0;45318:1503;;;;;;;;:::o;38731:180::-;38782:7;-1:-1:-1;;;;;38805:14:0;;-1:-1:-1;;;;;;;;;;;38805:14:0;:100;;38854:51;;;-1:-1:-1;;;38854:51:0;;38899:4;38854:51;;;;;;-1:-1:-1;;;;;38854:36:0;;;;;:51;;;;;;;;;;;;;;-1:-1:-1;38854:36:0;:51;;;5:2:-1;;;;30:1;27;20:12;5:2;38854:51:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;38854:51:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38854:51:0;38805:100;;;38829:15;:13;:15::i;4265:136::-;4323:7;4350:43;4354:1;4357;4350:43;;;;;;;;;;;;;;;;;:3;:43::i;38259:302::-;38343:20;;38386:44;32546:20;38386:28;:16;38407:6;38386:28;:20;:28;:::i;:44::-;38372:58;-1:-1:-1;38452:25:0;:16;38372:58;38452:25;:20;:25;:::i;:::-;38437:40;-1:-1:-1;38500:55:0;-1:-1:-1;;;;;38514:14:0;;-1:-1:-1;;;;;;;;;;;38514:14:0;:35;;38544:5;38514:35;;;38539:1;38514:35;38551:3;38500:13;:55::i;:::-;38259:302;;;;;;:::o;38917:228::-;-1:-1:-1;;;;;39013:14:0;;-1:-1:-1;;;;;;;;;;;39013:14:0;39009:131;;;39038:26;;-1:-1:-1;;;;;39038:18:0;;;:26;;;;;39057:6;;39038:26;;;;39057:6;39038:18;:26;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;39038:26:0;39009:131;;;39087:45;-1:-1:-1;;;;;39087:26:0;;39114:9;39125:6;39087:45;:26;:45;:::i;:::-;38917:228;;;:::o;12212:176::-;12321:58;;;-1:-1:-1;;;;;12321:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12321:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;12295:85:0;;12314:5;;12295:18;:85::i;18601:98::-;18681:10;18601:98;:::o;43976:579::-;44077:17;44096;44125:25;44174:17;;;;;;;;;-1:-1:-1;;;;;44174:17:0;-1:-1:-1;;;;;44174:36:0;;:38;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44174:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;44174:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44174:38:0;44239:40;;;-1:-1:-1;;;44239:40:0;;-1:-1:-1;;;;;;;;;;;44239:40:0;;;;;;44174:38;;-1:-1:-1;44220:16:0;;-1:-1:-1;;;;;44239:28:0;;;;;:40;;;;;44174:38;;44239:40;;;;;;;:28;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;44239:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;44239:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44239:40:0;;-1:-1:-1;;;;;;44291:12:0;;-1:-1:-1;;;;;;;;;;;44291:12:0;:32;;;;;44315:8;-1:-1:-1;;;;;44307:16:0;:4;-1:-1:-1;;;;;44307:16:0;;;44291:32;44290:81;;;-1:-1:-1;;;;;;44338:13:0;;-1:-1:-1;;;;;;;;;;;44338:13:0;:32;;;;;44362:8;-1:-1:-1;;;;;44355:15:0;:3;-1:-1:-1;;;;;44355:15:0;;;44338:32;44286:230;;;-1:-1:-1;44395:1:0;;-1:-1:-1;44395:1:0;;-1:-1:-1;44387:13:0;;-1:-1:-1;44387:13:0;44286:230;43344:8;;44522:27;;;;;;43976:579;;;;;;;:::o;21181:229::-;-1:-1:-1;;;;;21255:22:0;;21247:73;;;;-1:-1:-1;;;21247:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21357:6;;;21336:38;;-1:-1:-1;;;;;21336:38:0;;;;21357:6;;;21336:38;;;21385:6;:17;;-1:-1:-1;;;;;;21385:17:0;-1:-1:-1;;;;;21385:17:0;;;;;;;;;;21181:229::o;38603:122::-;38688:4;38707:12;38603:122;:::o;14251:1114::-;14855:27;14863:5;-1:-1:-1;;;;;14855:25:0;;:27::i;:::-;14847:71;;;;;-1:-1:-1;;;14847:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14992:12;15006:23;15041:5;-1:-1:-1;;;;;15033:19:0;15053:4;15033: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;;;15033: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;;14991:67:0;;;;15077:7;15069:52;;;;;-1:-1:-1;;;15069:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15138:17;;:21;15134:224;;15280:10;15269:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15269:30:0;15261:85;;;;-1:-1:-1;;;15261:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6782:345;6868:7;6970:12;6963:5;6955:28;;;;-1:-1:-1;;;6955:28: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;6955:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6994:9;7010:1;7006;:5;;;;;;;6782:345;-1:-1:-1;;;;;6782:345:0:o;44561:751::-;44665:51;;;22:32:-1;6:49;;44665:51:0;;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;44621:4:0;;;;44765:45;44791:3;44665:51;44765:25;:45::i;:::-;44725:85;;;;44823:7;:38;;;;-1:-1:-1;;;;;;44834:27:0;;;;44823:38;44819:488;;;44890:13;-1:-1:-1;;;;;44882:21:0;:4;-1:-1:-1;;;;;44882:21:0;;44874:46;;;;;-1:-1:-1;;;44874:46:0;;;;;;;;;;;;-1:-1:-1;;;44874:46:0;;;;;;;;;;;;;;;44938:5;44931:12;;;;;;;44819:488;44997:64;;;-1:-1:-1;;;;;44997:64:0;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;44997:64:0;;;;;;;25:18:-1;;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;45087:17:0;;;:38;;-1:-1:-1;;;45087:38:0;;;;44997:64;;-1:-1:-1;;45087:17:0;;;;;:36;;:38;;;;44997:64;;45087:38;;;;;;:17;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;45087:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;45087:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;45087:38:0;;-1:-1:-1;45163:44:0;45087:38;45195:11;45163:25;:44::i;:::-;45136:71;;-1:-1:-1;45136:71:0;-1:-1:-1;45136:71:0;45226:32;;;;;45245:13;-1:-1:-1;;;;;45237:21:0;:4;-1:-1:-1;;;;;45237:21:0;;45226:32;45218:57;;;;;-1:-1:-1;;;45218:57:0;;;;;;;;;;;;-1:-1:-1;;;45218:57:0;;;;;;;;;;;;;;;45293:4;45286:11;;;;;;;;;39341:639;39724:10;;;39723:62;;-1:-1:-1;39740:39:0;;;-1:-1:-1;;;39740:39:0;;39764:4;39740:39;;;;-1:-1:-1;;;;;39740:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;-1:-1:-1;39740:15:0;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;39740:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;39740:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39740:39:0;:44;39723:62;39715:157;;;;-1:-1:-1;;;39715:157:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39909:62;;;-1:-1:-1;;;;;39909:62:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;39909:62:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;39883:89:0;;39902:5;;39883:18;:89::i;4738:192::-;4824:7;4860:12;4852:6;;;;4844:29;;;;-1:-1:-1;;;4844:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;4844:29:0;-1:-1:-1;;;4896:5:0;;;4738:192::o;33278:274::-;33343:7;;33339:208;;-1:-1:-1;;;;;33365:22:0;;33361:144;;33400:9;;:23;;-1:-1:-1;;;;;33400:9:0;;;;:23;;;;;33419:3;;33400:9;:23;:9;:23;33419:3;33400:9;:23;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33400:23:0;33361:144;;;33480:9;;33450:45;;-1:-1:-1;;;;;33450:29:0;;;;33480:9;33491:3;33450:45;:29;:45;:::i;:::-;33518:21;;;-1:-1:-1;;;;;33518:21:0;;;;;;;;;;;;;;;;;;;;;;;33278:274;;:::o;9042:810::-;9102:4;9761:20;;9604:66;9801:15;;;;;:42;;;9832:11;9820:8;:23;;9801:42;9793:51;9042:810;-1:-1:-1;;;;9042:810:0:o;41971:338::-;42058:13;42073:15;42101:12;42115:19;42146:6;-1:-1:-1;;;;;42138:20:0;42159:7;42138:29;;;;;;;;;;;;;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;;;42138:29: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;;42100:67:0;;;;42178:7;:30;;;;;42189:6;:13;42206:2;42189:19;42178:30;42174:97;;;42227:4;42244:6;42233:29;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42233:29:0;42219:44;;-1:-1:-1;42233:29:0;-1:-1:-1;42219:44:0;;-1:-1:-1;;42219:44:0;42174:97;-1:-1:-1;42285:5:0;;-1:-1:-1;42285:5:0;;-1:-1:-1;;41971:338:0;;;;;;:::o;40371:1142::-;40988:27;40996:5;-1:-1:-1;;;;;40988:25:0;;:27::i;:::-;40980:76;;;;-1:-1:-1;;;40980:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41130:12;41144:23;41179:5;-1:-1:-1;;;;;41171:19:0;41191:4;41171: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;;;41171: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;;41129:67:0;;;;41215:7;41207:57;;;;-1:-1:-1;;;41207:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41281:17;;:21;41277:229;;41423:10;41412:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;41412:30:0;41404:90;;;;-1:-1:-1;;;41404:90:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
bzzr://169464ac2b4b8c1cc5f8f013a5da21ac52c9ee2de44169153c5d91dbf5bd45cb
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.