Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 15 from a total of 15 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 11720820 | 1410 days ago | IN | 0 ETH | 0.00797479 | ||||
Withdraw | 11468420 | 1449 days ago | IN | 0 ETH | 0.00916711 | ||||
Swap | 11388296 | 1461 days ago | IN | 0 ETH | 0.00216685 | ||||
Swap | 11382071 | 1462 days ago | IN | 0 ETH | 0.00497101 | ||||
Swap | 11379351 | 1463 days ago | IN | 0 ETH | 0.00522594 | ||||
Swap | 11375419 | 1463 days ago | IN | 0 ETH | 0.00238353 | ||||
Swap | 11369403 | 1464 days ago | IN | 0 ETH | 0.00280416 | ||||
Swap | 11362442 | 1465 days ago | IN | 0 ETH | 0.00382422 | ||||
Swap | 11348611 | 1467 days ago | IN | 0 ETH | 0.00170799 | ||||
Swap | 11344329 | 1468 days ago | IN | 0 ETH | 0.00179721 | ||||
Swap | 11340895 | 1469 days ago | IN | 0 ETH | 0.00294437 | ||||
Swap | 11328639 | 1470 days ago | IN | 0 ETH | 0.00841407 | ||||
Transfer | 11298452 | 1475 days ago | IN | 0 ETH | 0.00170309 | ||||
Swap | 11225307 | 1486 days ago | IN | 0.05 ETH | 0.00294736 | ||||
Deposit | 11223390 | 1487 days ago | IN | 3.6 ETH | 0.00793416 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
11720820 | 1410 days ago | 0.27268566 ETH | ||||
11705566 | 1413 days ago | 0.0664521 ETH | ||||
11627361 | 1425 days ago | 0.07373142 ETH | ||||
11618554 | 1426 days ago | 0.06307425 ETH | ||||
11561654 | 1435 days ago | 0.0732431 ETH | ||||
11516259 | 1442 days ago | 0.07472849 ETH | ||||
11468420 | 1449 days ago | 1.49323142 ETH | ||||
11445137 | 1453 days ago | 0.32251353 ETH | ||||
11438415 | 1454 days ago | 0.24087126 ETH | ||||
11398650 | 1460 days ago | 0.11930316 ETH | ||||
11388296 | 1461 days ago | 0.08800425 ETH | ||||
11386193 | 1462 days ago | 0.09134 ETH | ||||
11382071 | 1462 days ago | 0.08779887 ETH | ||||
11379747 | 1463 days ago | 0.0839 ETH | ||||
11379351 | 1463 days ago | 0.0880767 ETH | ||||
11375419 | 1463 days ago | 0.08025305 ETH | ||||
11373269 | 1464 days ago | 0.10742739 ETH | ||||
11371909 | 1464 days ago | 0.14173491 ETH | ||||
11371857 | 1464 days ago | 0.34870141 ETH | ||||
11369403 | 1464 days ago | 0.08536209 ETH | ||||
11362442 | 1465 days ago | 0.08971233 ETH | ||||
11355641 | 1466 days ago | 0.0921 ETH | ||||
11354660 | 1466 days ago | 0.21083901 ETH | ||||
11354080 | 1467 days ago | 0.13912504 ETH | ||||
11353712 | 1467 days ago | 0.14422691 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x61Bb2Fda...fdB125fd3 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Mooniswap
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-08-10 */ /* MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNXK0OxdoollccccclodkOKNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWX0kdlc;'.. .,:loxkk0KXNWWMMMMMMMMMMMMMMMMMMMMMMMMMM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'. .;oOXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN0xl;. .':oOXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXOdl;'. ..,cokKNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNKOxoc;,... ..';:ldk0XWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWWXK0Okxdollcccc:::cccclloddkO0KXNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM ███╗ ███╗ ██████╗ ██████╗ ███╗ ██╗██╗███████╗██╗ ██╗ █████╗ ██████╗ ███████╗██╗ ██╗ ██████╗██╗ ██╗ █████╗ ███╗ ██╗ ██████╗ ███████╗ ████╗ ████║██╔═══██╗██╔═══██╗████╗ ██║██║██╔════╝██║ ██║██╔══██╗██╔══██╗██╔════╝╚██╗██╔╝██╔════╝██║ ██║██╔══██╗████╗ ██║██╔════╝ ██╔════╝ ██╔████╔██║██║ ██║██║ ██║██╔██╗ ██║██║███████╗██║ █╗ ██║███████║██████╔╝█████╗ ╚███╔╝ ██║ ███████║███████║██╔██╗ ██║██║ ███╗█████╗ ██║╚██╔╝██║██║ ██║██║ ██║██║╚██╗██║██║╚════██║██║███╗██║██╔══██║██╔═══╝ ██╔══╝ ██╔██╗ ██║ ██╔══██║██╔══██║██║╚██╗██║██║ ██║██╔══╝ ██║ ╚═╝ ██║╚██████╔╝╚██████╔╝██║ ╚████║██║███████║╚███╔███╔╝██║ ██║██║██╗ ███████╗██╔╝ ██╗╚██████╗██║ ██║██║ ██║██║ ╚████║╚██████╔╝███████╗ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝╚══════╝ ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝ ██████╗ ██╗ ██╗ ██╗██╗███╗ ██╗ ██████╗██╗ ██╗ ██╔══██╗╚██╗ ██╔╝ ███║██║████╗ ██║██╔════╝██║ ██║ ██████╔╝ ╚████╔╝ ╚██║██║██╔██╗ ██║██║ ███████║ ██╔══██╗ ╚██╔╝ ██║██║██║╚██╗██║██║ ██╔══██║ ██████╔╝ ██║ ██║██║██║ ╚████║╚██████╗██║ ██║ ╚═════╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝ ╚═════╝╚═╝ ╚═╝ */ // File: @openzeppelin/contracts/GSN/Context.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.6.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin/contracts/utils/ReentrancyGuard.sol pragma solidity ^0.6.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/math/Math.sol pragma solidity ^0.6.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.6.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. */ 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. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { 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. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.6.2; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity ^0.6.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This 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 virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity ^0.6.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: contracts/libraries/UniERC20.sol pragma solidity ^0.6.0; library UniERC20 { using SafeMath for uint256; using SafeERC20 for IERC20; function isETH(IERC20 token) internal pure returns(bool) { return (address(token) == address(0)); } function uniBalanceOf(IERC20 token, address account) internal view returns (uint256) { if (isETH(token)) { return account.balance; } else { return token.balanceOf(account); } } function uniTransfer(IERC20 token, address payable to, uint256 amount) internal { if (amount > 0) { if (isETH(token)) { to.transfer(amount); } else { token.safeTransfer(to, amount); } } } function uniTransferFromSenderToThis(IERC20 token, uint256 amount) internal { if (amount > 0) { if (isETH(token)) { require(msg.value >= amount, "UniERC20: not enough value"); if (msg.value > amount) { // Return remainder if exist msg.sender.transfer(msg.value.sub(amount)); } } else { token.safeTransferFrom(msg.sender, address(this), amount); } } } function uniSymbol(IERC20 token) internal view returns(string memory) { if (isETH(token)) { return "ETH"; } (bool success, bytes memory data) = address(token).staticcall{ gas: 20000 }( abi.encodeWithSignature("symbol()") ); if (!success) { (success, data) = address(token).staticcall{ gas: 20000 }( abi.encodeWithSignature("SYMBOL()") ); } if (success && data.length >= 96) { (uint256 offset, uint256 len) = abi.decode(data, (uint256, uint256)); if (offset == 0x20 && len > 0 && len <= 256) { return string(abi.decode(data, (bytes))); } } if (success && data.length == 32) { uint len = 0; while (len < data.length && data[len] >= 0x20 && data[len] <= 0x7E) { len++; } if (len > 0) { bytes memory result = new bytes(len); for (uint i = 0; i < len; i++) { result[i] = data[i]; } return string(result); } } return _toHex(address(token)); } function _toHex(address account) private pure returns(string memory) { return _toHex(abi.encodePacked(account)); } function _toHex(bytes memory data) private pure returns(string memory) { bytes memory str = new bytes(2 + data.length * 2); str[0] = "0"; str[1] = "x"; uint j = 2; for (uint i = 0; i < data.length; i++) { uint a = uint8(data[i]) >> 4; uint b = uint8(data[i]) & 0x0f; str[j++] = byte(uint8(a + 48 + (a/10)*39)); str[j++] = byte(uint8(b + 48 + (b/10)*39)); } return string(str); } } // File: contracts/libraries/Sqrt.sol pragma solidity ^0.6.0; library Sqrt { // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method) function sqrt(uint256 y) internal pure returns (uint256) { if (y > 3) { uint256 z = y; uint256 x = y / 2 + 1; while (x < z) { z = x; x = (y / x + x) / 2; } return z; } else if (y != 0) { return 1; } else { return 0; } } } // File: contracts/Mooniswap.sol pragma solidity ^0.6.0; interface IFactory { function fee() external view returns(uint256); } library VirtualBalance { using SafeMath for uint256; struct Data { uint216 balance; uint40 time; } uint256 public constant DECAY_PERIOD = 5 minutes; function set(VirtualBalance.Data storage self, uint256 balance) internal { self.balance = uint216(balance); self.time = uint40(block.timestamp); } function update(VirtualBalance.Data storage self, uint256 realBalance) internal { set(self, current(self, realBalance)); } function scale(VirtualBalance.Data storage self, uint256 realBalance, uint256 num, uint256 denom) internal { set(self, current(self, realBalance).mul(num).add(denom.sub(1)).div(denom)); } function current(VirtualBalance.Data memory self, uint256 realBalance) internal view returns(uint256) { uint256 timePassed = Math.min(DECAY_PERIOD, block.timestamp.sub(self.time)); uint256 timeRemain = DECAY_PERIOD.sub(timePassed); return uint256(self.balance).mul(timeRemain).add( realBalance.mul(timePassed) ).div(DECAY_PERIOD); } } contract Mooniswap is ERC20, ReentrancyGuard, Ownable { using Sqrt for uint256; using SafeMath for uint256; using UniERC20 for IERC20; using VirtualBalance for VirtualBalance.Data; struct Balances { uint256 src; uint256 dst; } struct SwapVolumes { uint128 confirmed; uint128 result; } event Deposited( address indexed account, uint256 amount ); event Withdrawn( address indexed account, uint256 amount ); event Swapped( address indexed account, address indexed src, address indexed dst, uint256 amount, uint256 result, uint256 srcBalance, uint256 dstBalance, uint256 totalSupply, address referral ); uint256 public constant REFERRAL_SHARE = 20; // 1/share = 5% of LPs revenue uint256 public constant BASE_SUPPLY = 1000; // Total supply on first deposit uint256 public constant FEE_DENOMINATOR = 1e18; IFactory public factory; IERC20[] public tokens; mapping(IERC20 => bool) public isToken; mapping(IERC20 => SwapVolumes) public volumes; mapping(IERC20 => VirtualBalance.Data) public virtualBalancesForAddition; mapping(IERC20 => VirtualBalance.Data) public virtualBalancesForRemoval; constructor(IERC20[] memory assets, string memory name, string memory symbol) public ERC20(name, symbol) { require(bytes(name).length > 0, "Mooniswap: name is empty"); require(bytes(symbol).length > 0, "Mooniswap: symbol is empty"); require(assets.length == 2, "Mooniswap: only 2 tokens allowed"); factory = IFactory(msg.sender); tokens = assets; for (uint i = 0; i < assets.length; i++) { require(!isToken[assets[i]], "Mooniswap: duplicate tokens"); isToken[assets[i]] = true; } } function fee() public view returns(uint256) { return factory.fee(); } function getTokens() external view returns(IERC20[] memory) { return tokens; } function decayPeriod() external pure returns(uint256) { return VirtualBalance.DECAY_PERIOD; } function getBalanceForAddition(IERC20 token) public view returns(uint256) { uint256 balance = token.uniBalanceOf(address(this)); return Math.max(virtualBalancesForAddition[token].current(balance), balance); } function getBalanceForRemoval(IERC20 token) public view returns(uint256) { uint256 balance = token.uniBalanceOf(address(this)); return Math.min(virtualBalancesForRemoval[token].current(balance), balance); } function getReturn(IERC20 src, IERC20 dst, uint256 amount) external view returns(uint256) { return _getReturn(src, dst, amount, getBalanceForAddition(src), getBalanceForRemoval(dst)); } function deposit(uint256[] calldata amounts, uint256[] calldata minAmounts) external payable nonReentrant returns(uint256 fairSupply) { IERC20[] memory _tokens = tokens; require(amounts.length == _tokens.length, "Mooniswap: wrong amounts length"); require(msg.value == (_tokens[0].isETH() ? amounts[0] : (_tokens[1].isETH() ? amounts[1] : 0)), "Mooniswap: wrong value usage"); uint256[] memory realBalances = new uint256[](amounts.length); for (uint i = 0; i < realBalances.length; i++) { realBalances[i] = _tokens[i].uniBalanceOf(address(this)).sub(_tokens[i].isETH() ? msg.value : 0); } uint256 totalSupply = totalSupply(); if (totalSupply == 0) { fairSupply = BASE_SUPPLY.mul(99); _mint(address(this), BASE_SUPPLY); // Donate up to 1% // Use the greatest token amount but not less than 99k for the initial supply for (uint i = 0; i < amounts.length; i++) { fairSupply = Math.max(fairSupply, amounts[i]); } } else { // Pre-compute fair supply fairSupply = type(uint256).max; for (uint i = 0; i < amounts.length; i++) { fairSupply = Math.min(fairSupply, totalSupply.mul(amounts[i]).div(realBalances[i])); } } uint256 fairSupplyCached = fairSupply; for (uint i = 0; i < amounts.length; i++) { require(amounts[i] > 0, "Mooniswap: amount is zero"); uint256 amount = (totalSupply == 0) ? amounts[i] : realBalances[i].mul(fairSupplyCached).add(totalSupply - 1).div(totalSupply); require(amount >= minAmounts[i], "Mooniswap: minAmount not reached"); _tokens[i].uniTransferFromSenderToThis(amount); if (totalSupply > 0) { uint256 confirmed = _tokens[i].uniBalanceOf(address(this)).sub(realBalances[i]); fairSupply = Math.min(fairSupply, totalSupply.mul(confirmed).div(realBalances[i])); } } if (totalSupply > 0) { for (uint i = 0; i < amounts.length; i++) { virtualBalancesForRemoval[_tokens[i]].scale(realBalances[i], totalSupply.add(fairSupply), totalSupply); virtualBalancesForAddition[_tokens[i]].scale(realBalances[i], totalSupply.add(fairSupply), totalSupply); } } require(fairSupply > 0, "Mooniswap: result is not enough"); _mint(msg.sender, fairSupply); emit Deposited(msg.sender, fairSupply); } function withdraw(uint256 amount, uint256[] memory minReturns) external nonReentrant { uint256 totalSupply = totalSupply(); _burn(msg.sender, amount); for (uint i = 0; i < tokens.length; i++) { IERC20 token = tokens[i]; uint256 preBalance = token.uniBalanceOf(address(this)); uint256 value = preBalance.mul(amount).div(totalSupply); token.uniTransfer(msg.sender, value); require(i >= minReturns.length || value >= minReturns[i], "Mooniswap: result is not enough"); virtualBalancesForAddition[token].scale(preBalance, totalSupply.sub(amount), totalSupply); virtualBalancesForRemoval[token].scale(preBalance, totalSupply.sub(amount), totalSupply); } emit Withdrawn(msg.sender, amount); } function swap(IERC20 src, IERC20 dst, uint256 amount, uint256 minReturn, address referral) external payable nonReentrant returns(uint256 result) { require(msg.value == (src.isETH() ? amount : 0), "Mooniswap: wrong value usage"); Balances memory balances = Balances({ src: src.uniBalanceOf(address(this)).sub(src.isETH() ? msg.value : 0), dst: dst.uniBalanceOf(address(this)) }); // catch possible airdrops and external balance changes for deflationary tokens uint256 srcAdditionBalance = Math.max(virtualBalancesForAddition[src].current(balances.src), balances.src); uint256 dstRemovalBalance = Math.min(virtualBalancesForRemoval[dst].current(balances.dst), balances.dst); src.uniTransferFromSenderToThis(amount); uint256 confirmed = src.uniBalanceOf(address(this)).sub(balances.src); result = _getReturn(src, dst, confirmed, srcAdditionBalance, dstRemovalBalance); require(result > 0 && result >= minReturn, "Mooniswap: return is not enough"); dst.uniTransfer(msg.sender, result); // Update virtual balances to the same direction only at imbalanced state if (srcAdditionBalance != balances.src) { virtualBalancesForAddition[src].set(srcAdditionBalance.add(confirmed)); } if (dstRemovalBalance != balances.dst) { virtualBalancesForRemoval[dst].set(dstRemovalBalance.sub(result)); } // Update virtual balances to the opposite direction virtualBalancesForRemoval[src].update(balances.src); virtualBalancesForAddition[dst].update(balances.dst); if (referral != address(0)) { uint256 invariantRatio = uint256(1e36); invariantRatio = invariantRatio.mul(balances.src.add(confirmed)).div(balances.src); invariantRatio = invariantRatio.mul(balances.dst.sub(result)).div(balances.dst); if (invariantRatio > 1e36) { // calculate share only if invariant increased uint256 referralShare = invariantRatio.sqrt().sub(1e18).mul(totalSupply()).div(1e18).div(REFERRAL_SHARE); if (referralShare > 0) { _mint(referral, referralShare); } } } emit Swapped(msg.sender, address(src), address(dst), confirmed, result, balances.src, balances.dst, totalSupply(), referral); // Overflow of uint128 is desired volumes[src].confirmed += uint128(confirmed); volumes[src].result += uint128(result); } function rescueFunds(IERC20 token, uint256 amount) external nonReentrant onlyOwner { uint256[] memory balances = new uint256[](tokens.length); for (uint i = 0; i < balances.length; i++) { balances[i] = tokens[i].uniBalanceOf(address(this)); } token.uniTransfer(msg.sender, amount); for (uint i = 0; i < balances.length; i++) { require(tokens[i].uniBalanceOf(address(this)) >= balances[i], "Mooniswap: access denied"); } require(balanceOf(address(this)) >= BASE_SUPPLY, "Mooniswap: access denied"); } function _getReturn(IERC20 src, IERC20 dst, uint256 amount, uint256 srcBalance, uint256 dstBalance) internal view returns(uint256) { if (isToken[src] && isToken[dst] && src != dst && amount > 0) { uint256 taxedAmount = amount.sub(amount.mul(fee()).div(FEE_DENOMINATOR)); return taxedAmount.mul(dstBalance).div(srcBalance.add(taxedAmount)); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20[]","name":"assets","type":"address[]"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"result","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"srcBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"dstBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"},{"indexed":false,"internalType":"address","name":"referral","type":"address"}],"name":"Swapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"BASE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEE_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REFERRAL_SHARE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decayPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256[]","name":"minAmounts","type":"uint256[]"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"fairSupply","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract IFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"getBalanceForAddition","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"getBalanceForRemoval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"src","type":"address"},{"internalType":"contract IERC20","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getReturn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokens","outputs":[{"internalType":"contract IERC20[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"isToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"src","type":"address"},{"internalType":"contract IERC20","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"address","name":"referral","type":"address"}],"name":"swap","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"virtualBalancesForAddition","outputs":[{"internalType":"uint216","name":"balance","type":"uint216"},{"internalType":"uint40","name":"time","type":"uint40"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"virtualBalancesForRemoval","outputs":[{"internalType":"uint216","name":"balance","type":"uint216"},{"internalType":"uint40","name":"time","type":"uint40"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"volumes","outputs":[{"internalType":"uint128","name":"confirmed","type":"uint128"},{"internalType":"uint128","name":"result","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256[]","name":"minReturns","type":"uint256[]"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c80638da5cb5b1161010d578063c45a0155116100a0578063dd62ed3e1161006f578063dd62ed3e14610860578063ddca3f431461089b578063e7ff42c9146108b0578063f223885a146108e3578063f2fde38b146109a5576101ee565b8063c45a0155146107bf578063d5bcb9b5146107d4578063d73792a914610818578063d7d3aab51461082d576101ee565b8063aa6ca808116100dc578063aa6ca808146106ce578063b1ec4c4014610733578063b21b5a2114610795578063baf13a0a146107aa576101ee565b80638da5cb5b1461063257806395d89b4114610647578063a457c2d71461065c578063a9059cbb14610695576101ee565b806348d67e1b116101855780636edc2c09116101545780636edc2c091461057e57806370a08231146105b1578063715018a6146105e457806378e3214f146105f9576101ee565b806348d67e1b1461040e5780634f64b2be146104235780635915d806146104695780635ed9156d14610522576101ee565b80631e1401f8116101c15780631e1401f81461032457806323b872dd14610367578063313ce567146103aa57806339509351146103d5576101ee565b806306fdde03146101f3578063095ea7b31461027d57806318160ddd146102ca57806319f37361146102f1575b600080fd5b3480156101ff57600080fd5b506102086109d8565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024257818101518382015260200161022a565b50505050905090810190601f16801561026f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561028957600080fd5b506102b6600480360360408110156102a057600080fd5b506001600160a01b038135169060200135610a6e565b604080519115158252519081900360200190f35b3480156102d657600080fd5b506102df610a8c565b60408051918252519081900360200190f35b3480156102fd57600080fd5b506102b66004803603602081101561031457600080fd5b50356001600160a01b0316610a92565b34801561033057600080fd5b506102df6004803603606081101561034757600080fd5b506001600160a01b03813581169160208101359091169060400135610aa7565b34801561037357600080fd5b506102b66004803603606081101561038a57600080fd5b506001600160a01b03813581169160208101359091169060400135610ace565b3480156103b657600080fd5b506103bf610b55565b6040805160ff9092168252519081900360200190f35b3480156103e157600080fd5b506102b6600480360360408110156103f857600080fd5b506001600160a01b038135169060200135610b5e565b34801561041a57600080fd5b506102df610bac565b34801561042f57600080fd5b5061044d6004803603602081101561044657600080fd5b5035610bb2565b604080516001600160a01b039092168252519081900360200190f35b34801561047557600080fd5b506105206004803603604081101561048c57600080fd5b813591908101906040810160208201356401000000008111156104ae57600080fd5b8201836020820111156104c057600080fd5b803590602001918460208302840111640100000000831117156104e257600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610bd9945050505050565b005b34801561052e57600080fd5b506105556004803603602081101561054557600080fd5b50356001600160a01b0316610dc0565b604080516001600160d81b03909316835264ffffffffff90911660208301528051918290030190f35b34801561058a57600080fd5b50610555600480360360208110156105a157600080fd5b50356001600160a01b0316610deb565b3480156105bd57600080fd5b506102df600480360360208110156105d457600080fd5b50356001600160a01b0316610e16565b3480156105f057600080fd5b50610520610e35565b34801561060557600080fd5b506105206004803603604081101561061c57600080fd5b506001600160a01b038135169060200135610ee9565b34801561063e57600080fd5b5061044d61113f565b34801561065357600080fd5b5061020861114e565b34801561066857600080fd5b506102b66004803603604081101561067f57600080fd5b506001600160a01b0381351690602001356111af565b3480156106a157600080fd5b506102b6600480360360408110156106b857600080fd5b506001600160a01b038135169060200135611217565b3480156106da57600080fd5b506106e361122b565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561071f578181015183820152602001610707565b505050509050019250505060405180910390f35b34801561073f57600080fd5b506107666004803603602081101561075657600080fd5b50356001600160a01b031661128c565b60405180836001600160801b03168152602001826001600160801b031681526020019250505060405180910390f35b3480156107a157600080fd5b506102df6112b2565b3480156107b657600080fd5b506102df6112b7565b3480156107cb57600080fd5b5061044d6112bd565b6102df600480360360a08110156107ea57600080fd5b506001600160a01b0381358116916020810135821691604082013591606081013591608090910135166112cc565b34801561082457600080fd5b506102df6117d5565b34801561083957600080fd5b506102df6004803603602081101561085057600080fd5b50356001600160a01b03166117e1565b34801561086c57600080fd5b506102df6004803603604081101561088357600080fd5b506001600160a01b0381358116916020013516611858565b3480156108a757600080fd5b506102df611883565b3480156108bc57600080fd5b506102df600480360360208110156108d357600080fd5b50356001600160a01b03166118f9565b6102df600480360360408110156108f957600080fd5b81019060208101813564010000000081111561091457600080fd5b82018360208201111561092657600080fd5b8035906020019184602083028401116401000000008311171561094857600080fd5b91939092909160208101903564010000000081111561096657600080fd5b82018360208201111561097857600080fd5b8035906020019184602083028401116401000000008311171561099a57600080fd5b509092509050611969565b3480156109b157600080fd5b50610520600480360360208110156109c857600080fd5b50356001600160a01b0316611ff7565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a645780601f10610a3957610100808354040283529160200191610a64565b820191906000526020600020905b815481529060010190602001808311610a4757829003601f168201915b5050505050905090565b6000610a82610a7b612102565b8484612106565b5060015b92915050565b60025490565b600a6020526000908152604090205460ff1681565b6000610ac6848484610ab8886117e1565b610ac1886118f9565b6121f2565b949350505050565b6000610adb8484846122b1565b610b4b84610ae7612102565b610b4685604051806060016040528060288152602001612fc5602891396001600160a01b038a16600090815260016020526040812090610b25612102565b6001600160a01b03168152602081019190915260400160002054919061240c565b612106565b5060019392505050565b60055460ff1690565b6000610a82610b6b612102565b84610b468560016000610b7c612102565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906124a3565b61012c90565b60098181548110610bbf57fe5b6000918252602090912001546001600160a01b0316905081565b60026006541415610c1f576040805162461bcd60e51b815260206004820152601f6024820152600080516020612ef4833981519152604482015290519081900360640190fd5b60026006556000610c2e610a8c565b9050610c3a33846124fd565b60005b600954811015610d7f57600060098281548110610c5657fe5b60009182526020822001546001600160a01b03169150610c7682306125f9565b90506000610c8e85610c88848a61269a565b906126f3565b9050610ca46001600160a01b0384163383612735565b855184101580610cc75750858481518110610cbb57fe5b60200260200101518110155b610d18576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a20726573756c74206973206e6f7420656e6f75676800604482015290519081900360640190fd5b610d4682610d26878a61279e565b6001600160a01b0386166000908152600c602052604090209190886127e0565b610d7482610d54878a61279e565b6001600160a01b0386166000908152600d602052604090209190886127e0565b505050600101610c3d565b5060408051848152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050600160065550565b600d602052600090815260409020546001600160d81b03811690600160d81b900464ffffffffff1682565b600c602052600090815260409020546001600160d81b03811690600160d81b900464ffffffffff1682565b6001600160a01b0381166000908152602081905260409020545b919050565b610e3d612102565b6007546001600160a01b03908116911614610e9f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b60026006541415610f2f576040805162461bcd60e51b815260206004820152601f6024820152600080516020612ef4833981519152604482015290519081900360640190fd5b6002600655610f3c612102565b6007546001600160a01b03908116911614610f9e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60095460609067ffffffffffffffff81118015610fba57600080fd5b50604051908082528060200260200182016040528015610fe4578160200160208202803683370190505b50905060005b815181101561103e5761101f306009838154811061100457fe5b6000918252602090912001546001600160a01b0316906125f9565b82828151811061102b57fe5b6020908102919091010152600101610fea565b506110536001600160a01b0384163384612735565b60005b81518110156110da5781818151811061106b57fe5b6020026020010151611084306009848154811061100457fe5b10156110d2576040805162461bcd60e51b8152602060048201526018602482015277135bdbdb9a5cddd85c0e881858d8d95cdcc819195b9a595960421b604482015290519081900360640190fd5b600101611056565b506103e86110e730610e16565b1015611135576040805162461bcd60e51b8152602060048201526018602482015277135bdbdb9a5cddd85c0e881858d8d95cdcc819195b9a595960421b604482015290519081900360640190fd5b5050600160065550565b6007546001600160a01b031690565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a645780601f10610a3957610100808354040283529160200191610a64565b6000610a826111bc612102565b84610b468560405180606001604052806025815260200161308160259139600160006111e6612102565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061240c565b6000610a82611224612102565b84846122b1565b60606009805480602002602001604051908101604052809291908181526020018280548015610a6457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611265575050505050905090565b600b602052600090815260409020546001600160801b0380821691600160801b90041682565b601481565b6103e881565b6008546001600160a01b031681565b600060026006541415611314576040805162461bcd60e51b815260206004820152601f6024820152600080516020612ef4833981519152604482015290519081900360640190fd5b600260065561132b6001600160a01b03871661283c565b611336576000611338565b835b341461138b576040805162461bcd60e51b815260206004820152601c60248201527f4d6f6f6e69737761703a2077726f6e672076616c756520757361676500000000604482015290519081900360640190fd5b611393612eb6565b60405180604001604052806113d96113b38a6001600160a01b031661283c565b6113be5760006113c0565b345b6113d36001600160a01b038c16306125f9565b9061279e565b81526020016113f16001600160a01b038916306125f9565b905280516001600160a01b0389166000908152600c602090815260408083208151808301909252546001600160d81b0381168252600160d81b900464ffffffffff1691810191909152929350916114539161144c9190612849565b83516128aa565b6020838101516001600160a01b038a166000908152600d835260408082208151808301909252546001600160d81b0381168252600160d81b900464ffffffffff16938101939093529293506114b5916114ab91612849565b84602001516128c1565b90506114ca6001600160a01b038a16886128d0565b82516000906114e6906113d36001600160a01b038d16306125f9565b90506114f58a8a8386866121f2565b94506000851180156115075750868510155b611558576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a2072657475726e206973206e6f7420656e6f75676800604482015290519081900360640190fd5b61156c6001600160a01b038a163387612735565b8351831461159f5761159f61158184836124a3565b6001600160a01b038c166000908152600c6020526040902090612997565b836020015182146115d5576115d56115b7838761279e565b6001600160a01b038b166000908152600d6020526040902090612997565b83516001600160a01b038b166000908152600d602052604090206115f8916129c3565b6020808501516001600160a01b038b166000908152600c9092526040909120611620916129c3565b6001600160a01b038616156116db5783516ec097ce7bc90715b34b9f10000000009061165a90610c8861165382866124a3565b849061269a565b602086015190915061167390610c88611653828a61279e565b90506ec097ce7bc90715b34b9f10000000008111156116d95760006116c56014610c88670de0b6b3a7640000610c886116aa610a8c565b6116bf670de0b6b3a76400006113d38a6129fe565b9061269a565b905080156116d7576116d78882612a58565b505b505b886001600160a01b03168a6001600160a01b0316336001600160a01b03167f86c49b5d8577da08444947f1427d23ef191cfabf2c0788f93324d79e926a9302848989600001518a6020015161172e610a8c565b60408051958652602086019490945284840192909252606084015260808301526001600160a01b038c1660a0830152519081900360c00190a46001600160a01b039099166000908152600b602052604090208054600160801b6001600160801b03808316909c018c166fffffffffffffffffffffffffffffffff19909216919091178181048c1687018c169091029a16999099179098555050600160065595945050505050565b670de0b6b3a764000081565b6000806117f76001600160a01b038416306125f9565b6001600160a01b0384166000908152600c60209081526040918290208251808401909352546001600160d81b0381168352600160d81b900464ffffffffff16908201529091506118519061184b9083612849565b826128aa565b9392505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6008546040805163ddca3f4360e01b815290516000926001600160a01b03169163ddca3f43916004808301926020929190829003018186803b1580156118c857600080fd5b505afa1580156118dc573d6000803e3d6000fd5b505050506040513d60208110156118f257600080fd5b5051905090565b60008061190f6001600160a01b038416306125f9565b6001600160a01b0384166000908152600d60209081526040918290208251808401909352546001600160d81b0381168352600160d81b900464ffffffffff1690820152909150611851906119639083612849565b826128c1565b6000600260065414156119b1576040805162461bcd60e51b815260206004820152601f6024820152600080516020612ef4833981519152604482015290519081900360640190fd5b6002600655600980546040805160208084028201810190925282815260609390929091830182828015611a0d57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116119ef575b5050505050905080518686905014611a6c576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a2077726f6e6720616d6f756e7473206c656e67746800604482015290519081900360640190fd5b611a9281600081518110611a7c57fe5b60200260200101516001600160a01b031661283c565b611acb57611aa681600181518110611a7c57fe5b611ab1576000611ac6565b85856001818110611abe57fe5b905060200201355b611ae0565b85856000818110611ad857fe5b905060200201355b3414611b33576040805162461bcd60e51b815260206004820152601c60248201527f4d6f6f6e69737761703a2077726f6e672076616c756520757361676500000000604482015290519081900360640190fd5b60608567ffffffffffffffff81118015611b4c57600080fd5b50604051908082528060200260200182016040528015611b76578160200160208202803683370190505b50905060005b8151811015611bf257611bd3611b97848381518110611a7c57fe5b611ba2576000611ba4565b345b6113d330868581518110611bb457fe5b60200260200101516001600160a01b03166125f990919063ffffffff16565b828281518110611bdf57fe5b6020908102919091010152600101611b7c565b506000611bfd610a8c565b905080611c5657611c116103e8606361269a565b9350611c1f306103e8612a58565b60005b87811015611c5057611c46858a8a84818110611c3a57fe5b905060200201356128aa565b9450600101611c22565b50611cb7565b600019935060005b87811015611cb557611cab85611ca6858481518110611c7957fe5b6020026020010151610c888d8d87818110611c9057fe5b905060200201358761269a90919063ffffffff16565b6128c1565b9450600101611c5e565b505b8360005b88811015611e865760008a8a83818110611cd157fe5b9050602002013511611d2a576040805162461bcd60e51b815260206004820152601960248201527f4d6f6f6e69737761703a20616d6f756e74206973207a65726f00000000000000604482015290519081900360640190fd5b60008315611d6e57611d6984610c8860018703611d63878a8881518110611d4d57fe5b602002602001015161269a90919063ffffffff16565b906124a3565b611d82565b8a8a83818110611d7a57fe5b905060200201355b9050888883818110611d9057fe5b90506020020135811015611deb576040805162461bcd60e51b815260206004820181905260248201527f4d6f6f6e69737761703a206d696e416d6f756e74206e6f742072656163686564604482015290519081900360640190fd5b611e1a81878481518110611dfb57fe5b60200260200101516001600160a01b03166128d090919063ffffffff16565b8315611e7d576000611e49868481518110611e3157fe5b60200260200101516113d3308a8781518110611bb457fe5b9050611e7988611ca6888681518110611e5e57fe5b6020026020010151610c88858a61269a90919063ffffffff16565b9750505b50600101611cbb565b508115611f505760005b88811015611f4e57611f0b848281518110611ea757fe5b6020026020010151611ec288866124a390919063ffffffff16565b85600d60008a8781518110611ed357fe5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206127e0909392919063ffffffff16565b611f46848281518110611f1a57fe5b6020026020010151611f3588866124a390919063ffffffff16565b85600c60008a8781518110611ed357fe5b600101611e90565b505b60008511611fa5576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a20726573756c74206973206e6f7420656e6f75676800604482015290519081900360640190fd5b611faf3386612a58565b60408051868152905133917f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4919081900360200190a250506001600655509095945050505050565b611fff612102565b6007546001600160a01b03908116911614612061576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166120a65760405162461bcd60e51b8152600401808060200182810382526026815260200180612f366026913960400191505060405180910390fd5b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b03831661214b5760405162461bcd60e51b81526004018080602001828103825260248152602001806130336024913960400191505060405180910390fd5b6001600160a01b0382166121905760405162461bcd60e51b8152600401808060200182810382526022815260200180612f5c6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0385166000908152600a602052604081205460ff16801561223257506001600160a01b0385166000908152600a602052604090205460ff165b80156122505750846001600160a01b0316866001600160a01b031614155b801561225c5750600084115b156122a857600061228b612284670de0b6b3a7640000610c8861227d611883565b899061269a565b869061279e565b90506122a461229a85836124a3565b610c88838661269a565b9150505b95945050505050565b6001600160a01b0383166122f65760405162461bcd60e51b815260040180806020018281038252602581526020018061300e6025913960400191505060405180910390fd5b6001600160a01b03821661233b5760405162461bcd60e51b8152600401808060200182810382526023815260200180612ed16023913960400191505060405180910390fd5b612346838383612799565b61238381604051806060016040528060268152602001612f7e602691396001600160a01b038616600090815260208190526040902054919061240c565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546123b290826124a3565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561249b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612460578181015183820152602001612448565b50505050905090810190601f16801561248d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015611851576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0382166125425760405162461bcd60e51b8152600401808060200182810382526021815260200180612fed6021913960400191505060405180910390fd5b61254e82600083612799565b61258b81604051806060016040528060228152602001612f14602291396001600160a01b038516600090815260208190526040902054919061240c565b6001600160a01b0383166000908152602081905260409020556002546125b1908261279e565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006126048361283c565b1561261a57506001600160a01b03811631610a86565b826001600160a01b03166370a08231836040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561266757600080fd5b505afa15801561267b573d6000803e3d6000fd5b505050506040513d602081101561269157600080fd5b50519050610a86565b6000826126a957506000610a86565b828202828482816126b657fe5b04146118515760405162461bcd60e51b8152600401808060200182810382526021815260200180612fa46021913960400191505060405180910390fd5b600061185183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612b48565b8015612799576127448361283c565b15612785576040516001600160a01b0383169082156108fc029083906000818181858888f1935050505015801561277f573d6000803e3d6000fd5b50612799565b6127996001600160a01b0384168383612bad565b505050565b600061185183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061240c565b6128368461283183610c886127f682600161279e565b604080518082019091528a546001600160d81b0381168252600160d81b900464ffffffffff166020820152611d639089906116bf908c612849565b612997565b50505050565b6001600160a01b03161590565b60008061287061012c611ca6866020015164ffffffffff164261279e90919063ffffffff16565b9050600061288061012c8361279e565b90506122a861012c610c88612895878661269a565b8851611d63906001600160d81b03168661269a565b6000818310156128ba5781611851565b5090919050565b60008183106128ba5781611851565b8015612993576128df8261283c565b1561297e5780341015612939576040805162461bcd60e51b815260206004820152601a60248201527f556e6945524332303a206e6f7420656e6f7567682076616c7565000000000000604482015290519081900360640190fd5b8034111561297957336108fc61294f348461279e565b6040518115909202916000818181858888f19350505050158015612977573d6000803e3d6000fd5b505b612993565b6129936001600160a01b038316333084612bff565b5050565b81546001600160d81b0319166001600160d81b039182161716600160d81b4264ffffffffff1602179055565b6040805180820190915282546001600160d81b0381168252600160d81b900464ffffffffff1660208201526129939083906128319084612849565b60006003821115612a425781600160028204015b81811015612a3a57809150600281828681612a2957fe5b040181612a3257fe5b049050612a12565b509050610e30565b8115612a5057506001610e30565b506000610e30565b6001600160a01b038216612ab3576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b612abf60008383612799565b600254612acc90826124a3565b6002556001600160a01b038216600090815260208190526040902054612af290826124a3565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008183612b975760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612460578181015183820152602001612448565b506000838581612ba357fe5b0495945050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612799908490612c55565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526128369085905b6060612caa826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612d069092919063ffffffff16565b80519091501561279957808060200190516020811015612cc957600080fd5b50516127995760405162461bcd60e51b815260040180806020018281038252602a815260200180613057602a913960400191505060405180910390fd5b6060610ac684846000856060612d1b85612e7d565b612d6c576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612dab5780518252601f199092019160209182019101612d8c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612e0d576040519150601f19603f3d011682016040523d82523d6000602084013e612e12565b606091505b50915091508115612e26579150610ac69050565b805115612e365780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612460578181015183820152602001612448565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610ac6575050151592915050565b60405180604001604052806000815260200160008152509056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735265656e7472616e637947756172643a207265656e7472616e742063616c6c0045524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122081ac53a2dbede77e2893adaeea30c4e4c1e3146db4ef0b719d2fe07b0cb25ffc64736f6c634300060c0033
Deployed Bytecode Sourcemap
56334:10069:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38654:83;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40760:169;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;40760:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;39729:100;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;57452:38;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57452:38:0;-1:-1:-1;;;;;57452:38:0;;:::i;59075:199::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;59075:199:0;;;;;;;;;;;;;;;;;:::i;41403:321::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;41403:321:0;;;;;;;;;;;;;;;;;:::i;39581:83::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42133:218;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;42133:218:0;;;;;;;;:::i;58484:107::-;;;;;;;;;;;;;:::i;57423:22::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57423:22:0;;:::i;:::-;;;;-1:-1:-1;;;;;57423:22:0;;;;;;;;;;;;;;61932:834;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61932:834:0;;-1:-1:-1;61932:834:0;;-1:-1:-1;;;;;61932:834:0:i;:::-;;57628:71;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57628:71:0;-1:-1:-1;;;;;57628:71:0;;:::i;:::-;;;;-1:-1:-1;;;;;57628:71:0;;;;;;;;;;;;;;;;;;;;;;57549:72;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57549:72:0;-1:-1:-1;;;;;57549:72:0;;:::i;39892:119::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39892:119:0;-1:-1:-1;;;;;39892:119:0;;:::i;17947:148::-;;;;;;;;;;;;;:::i;65403:597::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;65403:597:0;;;;;;;;:::i;17305:79::-;;;;;;;;;;;;;:::i;38856:87::-;;;;;;;;;;;;;:::i;42854:269::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;42854:269:0;;;;;;;;:::i;40224:175::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;40224:175:0;;;;;;;;:::i;58384:92::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57497:45;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57497:45:0;-1:-1:-1;;;;;57497:45:0;;:::i;:::-;;;;;-1:-1:-1;;;;;57497:45:0;;;;;;-1:-1:-1;;;;;57497:45:0;;;;;;;;;;;;;;;;57174:43;;;;;;;;;;;;;:::i;57255:42::-;;;;;;;;;;;;;:::i;57393:23::-;;;;;;;;;;;;;:::i;62774:2621::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;62774:2621:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;57338:46::-;;;;;;;;;;;;;:::i;58599:231::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58599:231:0;-1:-1:-1;;;;;58599:231:0;;:::i;40462:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;40462:151:0;;;;;;;;;;:::i;58293:83::-;;;;;;;;;;;;;:::i;58838:229::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58838:229:0;-1:-1:-1;;;;;58838:229:0;;:::i;59282:2642::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59282:2642:0;;-1:-1:-1;59282:2642:0;-1:-1:-1;59282:2642:0;:::i;18250:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18250:244:0;-1:-1:-1;;;;;18250:244:0;;:::i;38654:83::-;38724:5;38717:12;;;;;;;;-1:-1:-1;;38717:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38691:13;;38717:12;;38724:5;;38717:12;;38724:5;38717:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38654:83;:::o;40760:169::-;40843:4;40860:39;40869:12;:10;:12::i;:::-;40883:7;40892:6;40860:8;:39::i;:::-;-1:-1:-1;40917:4:0;40760:169;;;;;:::o;39729:100::-;39809:12;;39729:100;:::o;57452:38::-;;;;;;;;;;;;;;;:::o;59075:199::-;59156:7;59183:83;59194:3;59199;59204:6;59212:26;59234:3;59212:21;:26::i;:::-;59240:25;59261:3;59240:20;:25::i;:::-;59183:10;:83::i;:::-;59176:90;59075:199;-1:-1:-1;;;;59075:199:0:o;41403:321::-;41509:4;41526:36;41536:6;41544:9;41555:6;41526:9;:36::i;:::-;41573:121;41582:6;41590:12;:10;:12::i;:::-;41604:89;41642:6;41604:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41604:19:0;;;;;;:11;:19;;;;;;41624:12;:10;:12::i;:::-;-1:-1:-1;;;;;41604:33:0;;;;;;;;;;;;-1:-1:-1;41604:33:0;;;:89;:37;:89::i;:::-;41573:8;:121::i;:::-;-1:-1:-1;41712:4:0;41403:321;;;;;:::o;39581:83::-;39647:9;;;;39581:83;:::o;42133:218::-;42221:4;42238:83;42247:12;:10;:12::i;:::-;42261:7;42270:50;42309:10;42270:11;:25;42282:12;:10;:12::i;:::-;-1:-1:-1;;;;;42270:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;42270:25:0;;;:34;;;;;;;;;;;:38;:50::i;58484:107::-;55391:9;58484:107;:::o;57423:22::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;57423:22:0;;-1:-1:-1;57423:22:0;:::o;61932:834::-;20234:1;20840:7;;:19;;20832:63;;;;;-1:-1:-1;;;20832:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20832:63:0;;;;;;;;;;;;;;;20234:1;20973:7;:18;62028:19:::1;62050:13;:11;:13::i;:::-;62028:35;;62074:25;62080:10;62092:6;62074:5;:25::i;:::-;62117:6;62112:600;62133:6;:13:::0;62129:17;::::1;62112:600;;;62168:12;62183:6;62190:1;62183:9;;;;;;;;;::::0;;;::::1;::::0;;::::1;::::0;-1:-1:-1;;;;;62183:9:0::1;::::0;-1:-1:-1;62230:33:0::1;62183:9:::0;62257:4:::1;62230:18;:33::i;:::-;62209:54:::0;-1:-1:-1;62278:13:0::1;62294:39;62321:11:::0;62294:22:::1;62209:54:::0;62309:6;62294:14:::1;:22::i;:::-;:26:::0;::::1;:39::i;:::-;62278:55:::0;-1:-1:-1;62348:36:0::1;-1:-1:-1::0;;;;;62348:17:0;::::1;62366:10;62278:55:::0;62348:17:::1;:36::i;:::-;62412:10;:17;62407:1;:22;;:48;;;;62442:10;62453:1;62442:13;;;;;;;;;;;;;;62433:5;:22;;62407:48;62399:92;;;::::0;;-1:-1:-1;;;62399:92:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;62508:89;62548:10:::0;62560:23:::1;:11:::0;62576:6;62560:15:::1;:23::i;:::-;-1:-1:-1::0;;;;;62508:33:0;::::1;;::::0;;;:26:::1;:33;::::0;;;;;:89;62585:11;62508:39:::1;:89::i;:::-;62612:88;62651:10:::0;62663:23:::1;:11:::0;62679:6;62663:15:::1;:23::i;:::-;-1:-1:-1::0;;;;;62612:32:0;::::1;;::::0;;;:25:::1;:32;::::0;;;;;:88;62688:11;62612:38:::1;:88::i;:::-;-1:-1:-1::0;;;62148:3:0::1;;62112:600;;;-1:-1:-1::0;62729:29:0::1;::::0;;;;;;;62739:10:::1;::::0;62729:29:::1;::::0;;;;;::::1;::::0;;::::1;-1:-1:-1::0;;20190:1:0;21152:7;:22;-1:-1:-1;61932:834:0:o;57628:71::-;;;;;;;;;;;;-1:-1:-1;;;;;57628:71:0;;;-1:-1:-1;;;57628:71:0;;;;;:::o;57549:72::-;;;;;;;;;;;;-1:-1:-1;;;;;57549:72:0;;;-1:-1:-1;;;57549:72:0;;;;;:::o;39892:119::-;-1:-1:-1;;;;;39985:18:0;;39958:7;39985:18;;;;;;;;;;;39892:119;;;;:::o;17947:148::-;17527:12;:10;:12::i;:::-;17517:6;;-1:-1:-1;;;;;17517:6:0;;;:22;;;17509:67;;;;;-1:-1:-1;;;17509:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18038:6:::1;::::0;18017:40:::1;::::0;18054:1:::1;::::0;-1:-1:-1;;;;;18038:6:0::1;::::0;18017:40:::1;::::0;18054:1;;18017:40:::1;18068:6;:19:::0;;-1:-1:-1;;;;;;18068:19:0::1;::::0;;17947:148::o;65403:597::-;20234:1;20840:7;;:19;;20832:63;;;;;-1:-1:-1;;;20832:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20832:63:0;;;;;;;;;;;;;;;20234:1;20973:7;:18;17527:12:::1;:10;:12::i;:::-;17517:6;::::0;-1:-1:-1;;;;;17517:6:0;;::::1;:22:::0;::::1;;17509:67;;;::::0;;-1:-1:-1;;;17509:67:0;;::::1;;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;65539:6:::2;:13:::0;65497:25:::2;::::0;65525:28:::2;::::0;::::2;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;65525:28:0::2;;65497:56;;65569:6;65564:121;65585:8;:15;65581:1;:19;65564:121;;;65636:37;65667:4;65636:6;65643:1;65636:9;;;;;;;;;::::0;;;::::2;::::0;;;::::2;::::0;-1:-1:-1;;;;;65636:9:0::2;::::0;:22:::2;:37::i;:::-;65622:8;65631:1;65622:11;;;;;;;;;::::0;;::::2;::::0;;;;;:51;65602:3:::2;;65564:121;;;-1:-1:-1::0;65697:37:0::2;-1:-1:-1::0;;;;;65697:17:0;::::2;65715:10;65727:6:::0;65697:17:::2;:37::i;:::-;65752:6;65747:159;65768:8;:15;65764:1;:19;65747:159;;;65854:8;65863:1;65854:11;;;;;;;;;;;;;;65813:37;65844:4;65813:6;65820:1;65813:9;;;;;;;:37;:52;;65805:89;;;::::0;;-1:-1:-1;;;65805:89:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;65805:89:0;;;;;;;;;;;;;::::2;;65785:3;;65747:159;;;;57293:4;65924:24;65942:4;65924:9;:24::i;:::-;:39;;65916:76;;;::::0;;-1:-1:-1;;;65916:76:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;65916:76:0;;;;;;;;;;;;;::::2;;-1:-1:-1::0;;20190:1:0;21152:7;:22;-1:-1:-1;65403:597:0:o;17305:79::-;17370:6;;-1:-1:-1;;;;;17370:6:0;17305:79;:::o;38856:87::-;38928:7;38921:14;;;;;;;;-1:-1:-1;;38921:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38895:13;;38921:14;;38928:7;;38921:14;;38928:7;38921:14;;;;;;;;;;;;;;;;;;;;;;;;42854:269;42947:4;42964:129;42973:12;:10;:12::i;:::-;42987:7;42996:96;43035:15;42996:96;;;;;;;;;;;;;;;;;:11;:25;43008:12;:10;:12::i;:::-;-1:-1:-1;;;;;42996:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;42996:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;40224:175::-;40310:4;40327:42;40337:12;:10;:12::i;:::-;40351:9;40362:6;40327:9;:42::i;58384:92::-;58427:15;58462:6;58455:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;58455:13:0;;;;;;;;;;;;;;;;;;;;;;58384:92;:::o;57497:45::-;;;;;;;;;;;;-1:-1:-1;;;;;57497:45:0;;;;-1:-1:-1;;;57497:45:0;;;;:::o;57174:43::-;57215:2;57174:43;:::o;57255:42::-;57293:4;57255:42;:::o;57393:23::-;;;-1:-1:-1;;;;;57393:23:0;;:::o;62774:2621::-;62903:14;20234:1;20840:7;;:19;;20832:63;;;;;-1:-1:-1;;;20832:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20832:63:0;;;;;;;;;;;;;;;20234:1;20973:7;:18;62952:11:::1;-1:-1:-1::0;;;;;62952:9:0;::::1;;:11::i;:::-;:24;;62975:1;62952:24;;;62966:6;62952:24;62938:9;:39;62930:80;;;::::0;;-1:-1:-1;;;62930:80:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;63023:24;;:::i;:::-;63050:156;;;;;;;;63079:64;63115:11;:3;-1:-1:-1::0;;;;;63115:9:0::1;;:11::i;:::-;:27;;63141:1;63115:27;;;63129:9;63115:27;63079:31;-1:-1:-1::0;;;;;63079:16:0;::::1;63104:4;63079:16;:31::i;:::-;:35:::0;::::1;:64::i;:::-;63050:156:::0;;::::1;;63163:31;-1:-1:-1::0;;;;;63163:16:0;::::1;63188:4;63163:16;:31::i;:::-;63050:156:::0;;63386:12;;-1:-1:-1;;;;;63346:31:0;::::1;63308:26;63346:31:::0;;;:26:::1;:31;::::0;;;;;;;:39;;;;::::1;::::0;;;;-1:-1:-1;;;;;63346:39:0;::::1;::::0;;-1:-1:-1;;;63346:39:0;::::1;;;::::0;;::::1;::::0;;;;63386:12;;-1:-1:-1;63308:26:0;63337:77:::1;::::0;63346:53:::1;::::0;:39;::::1;:53::i;:::-;63401:12:::0;;63337:8:::1;:77::i;:::-;63501:12;::::0;;::::1;::::0;-1:-1:-1;;;;;63462:30:0;::::1;63425:25;63462:30:::0;;;:25:::1;:30:::0;;;;;;:38;;;;::::1;::::0;;;;-1:-1:-1;;;;;63462:38:0;::::1;::::0;;-1:-1:-1;;;63462:38:0;::::1;;;::::0;;::::1;::::0;;;;63308:106;;-1:-1:-1;63453:76:0::1;::::0;63462:52:::1;::::0;:38:::1;:52::i;:::-;63516:8;:12;;;63453:8;:76::i;:::-;63425:104:::0;-1:-1:-1;63542:39:0::1;-1:-1:-1::0;;;;;63542:31:0;::::1;63574:6:::0;63542:31:::1;:39::i;:::-;63648:12:::0;;63592:17:::1;::::0;63612:49:::1;::::0;:31:::1;-1:-1:-1::0;;;;;63612:16:0;::::1;63637:4;63612:16;:31::i;:49::-;63592:69;;63681:70;63692:3;63697;63702:9;63713:18;63733:17;63681:10;:70::i;:::-;63672:79;;63779:1;63770:6;:10;:33;;;;;63794:9;63784:6;:19;;63770:33;63762:77;;;::::0;;-1:-1:-1;;;63762:77:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;63850:35;-1:-1:-1::0;;;;;63850:15:0;::::1;63866:10;63878:6:::0;63850:15:::1;:35::i;:::-;64007:12:::0;;63985:34;::::1;63981:137;;64036:70;64072:33;:18:::0;64095:9;64072:22:::1;:33::i;:::-;-1:-1:-1::0;;;;;64036:31:0;::::1;;::::0;;;:26:::1;:31;::::0;;;;;:35:::1;:70::i;:::-;64153:8;:12;;;64132:17;:33;64128:131;;64182:65;64217:29;:17:::0;64239:6;64217:21:::1;:29::i;:::-;-1:-1:-1::0;;;;;64182:30:0;::::1;;::::0;;;:25:::1;:30;::::0;;;;;:34:::1;:65::i;:::-;64371:12:::0;;-1:-1:-1;;;;;64333:30:0;::::1;64371:12;64333:30:::0;;;:25:::1;:30;::::0;;;;:51:::1;::::0;:37:::1;:51::i;:::-;64434:12;::::0;;::::1;::::0;-1:-1:-1;;;;;64395:31:0;::::1;;::::0;;;:26:::1;:31:::0;;;;;;;:52:::1;::::0;:38:::1;:52::i;:::-;-1:-1:-1::0;;;;;64464:22:0;::::1;::::0;64460:642:::1;;64625:12:::0;;64536:4:::1;::::0;64573:65:::1;::::0;:47:::1;64592:27;64625:12:::0;64609:9;64592:16:::1;:27::i;:::-;64573:14:::0;;:18:::1;:47::i;:65::-;64719:12;::::0;::::1;::::0;64556:82;;-1:-1:-1;64670:62:0::1;::::0;:44:::1;64689:24;64719:12:::0;64706:6;64689:16:::1;:24::i;64670:62::-;64653:79;;64768:4;64751:14;:21;64747:344;;;64857:21;64881:80;57215:2;64881:60;64936:4;64881:50;64917:13;:11;:13::i;:::-;64881:31;64907:4;64881:21;:14;:19;:21::i;:31::-;:35:::0;::::1;:50::i;:80::-;64857:104:::0;-1:-1:-1;64984:17:0;;64980:96:::1;;65026:30;65032:8;65042:13;65026:5;:30::i;:::-;64747:344;;64460:642;;65161:3;-1:-1:-1::0;;;;;65119:119:0::1;65147:3;-1:-1:-1::0;;;;;65119:119:0::1;65127:10;-1:-1:-1::0;;;;;65119:119:0::1;;65167:9;65178:6;65186:8;:12;;;65200:8;:12;;;65214:13;:11;:13::i;:::-;65119:119;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;65119:119:0;::::1;::::0;;;;;;;;;;;;::::1;-1:-1:-1::0;;;;;65294:12:0;;::::1;;::::0;;;:7:::1;:12;::::0;;;;:44;;-1:-1:-1;;;;;;;;65294:44:0;;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;65294:44:0;;::::1;::::0;;;::::1;65349:38:::0;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;;65294:44:0;21152:7;:22;65380:6;62774:2621;-1:-1:-1;;;;;62774:2621:0:o;57338:46::-;57380:4;57338:46;:::o;58599:231::-;58664:7;;58702:33;-1:-1:-1;;;;;58702:18:0;;58729:4;58702:18;:33::i;:::-;-1:-1:-1;;;;;58762:33:0;;;;;;:26;:33;;;;;;;;;:41;;;;;;;;;-1:-1:-1;;;;;58762:41:0;;;;-1:-1:-1;;;58762:41:0;;;;;;;;58684:51;;-1:-1:-1;58753:69:0;;58762:50;;58684:51;58762:41;:50::i;:::-;58814:7;58753:8;:69::i;:::-;58746:76;58599:231;-1:-1:-1;;;58599:231:0:o;40462:151::-;-1:-1:-1;;;;;40578:18:0;;;40551:7;40578:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;40462:151::o;58293:83::-;58355:7;;:13;;;-1:-1:-1;;;58355:13:0;;;;58328:7;;-1:-1:-1;;;;;58355:7:0;;:11;;:13;;;;;;;;;;;;;;:7;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58355:13:0;;-1:-1:-1;58293:83:0;:::o;58838:229::-;58902:7;;58940:33;-1:-1:-1;;;;;58940:18:0;;58967:4;58940:18;:33::i;:::-;-1:-1:-1;;;;;59000:32:0;;;;;;:25;:32;;;;;;;;;:40;;;;;;;;;-1:-1:-1;;;;;59000:40:0;;;;-1:-1:-1;;;59000:40:0;;;;;;;;58922:51;;-1:-1:-1;58991:68:0;;59000:49;;58922:51;59000:40;:49::i;:::-;59051:7;58991:8;:68::i;59282:2642::-;59396:18;20234:1;20840:7;;:19;;20832:63;;;;;-1:-1:-1;;;20832:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20832:63:0;;;;;;;;;;;;;;;20234:1;20973:7;:18;59453:6:::1;59427:32:::0;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;;;:23:::1;::::0;:32;;59453:6;;59427:32;::::1;59453:6:::0;59427:32;;::::1;;;;;;;;;;;;;;;;::::0;;-1:-1:-1;;;;;59427:32:0::1;::::0;;;;;::::1;::::0;::::1;;::::0;;::::1;;;;;;;;;;;59496:7;:14;59478:7;;:14;;:32;59470:76;;;::::0;;-1:-1:-1;;;59470:76:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;59579:18;:7;59587:1;59579:10;;;;;;;;;;;;;;-1:-1:-1::0;;;;;59579:16:0::1;;:18::i;:::-;:71;;59614:18;:7;59622:1;59614:10;;;;;;;:18;:35;;59648:1;59614:35;;;59635:7;;59643:1;59635:10;;;;;;;;;;;;;59614:35;59579:71;;;59600:7;;59608:1;59600:10;;;;;;;;;;;;;59579:71;59565:9;:86;59557:127;;;::::0;;-1:-1:-1;;;59557:127:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;59697:29;59743:7:::0;59729:29:::1;::::0;::::1;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;59729:29:0::1;;59697:61;;59774:6;59769:170;59790:12;:19;59786:1;:23;59769:170;;;59849:78;59892:18;:7;59900:1;59892:10;;;;;;;:18;:34;;59925:1;59892:34;;;59913:9;59892:34;59849:38;59881:4;59849:7;59857:1;59849:10;;;;;;;;;;;;;;-1:-1:-1::0;;;;;59849:23:0::1;;;:38;;;;:::i;:78::-;59831:12;59844:1;59831:15;;;;;;;;;::::0;;::::1;::::0;;;;;:96;59811:3:::1;;59769:170;;;;59951:19;59973:13;:11;:13::i;:::-;59951:35:::0;-1:-1:-1;60001:16:0;59997:663:::1;;60047:19;57293:4;60063:2;60047:15;:19::i;:::-;60034:32;;60081:33;60095:4;57293;60081:5;:33::i;:::-;60246:6;60241:122;60258:18:::0;;::::1;60241:122;;;60315:32;60324:10;60336:7;;60344:1;60336:10;;;;;;;;;;;;;60315:8;:32::i;:::-;60302:45:::0;-1:-1:-1;60278:3:0::1;;60241:122;;;;59997:663;;;-1:-1:-1::0;;60444:30:0::1;;60494:6;60489:160;60506:18:::0;;::::1;60489:160;;;60563:70;60572:10;60584:48;60616:12;60629:1;60616:15;;;;;;;;;;;;;;60584:27;60600:7;;60608:1;60600:10;;;;;;;;;;;;;60584:11;:15;;:27;;;;:::i;:48::-;60563:8;:70::i;:::-;60550:83:::0;-1:-1:-1;60526:3:0::1;;60489:160;;;;59997:663;60699:10:::0;60672:24:::1;60720:675;60737:18:::0;;::::1;60720:675;;;60798:1;60785:7;;60793:1;60785:10;;;;;;;;;;;;;:14;60777:52;;;::::0;;-1:-1:-1;;;60777:52:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;60844:14;60862:16:::0;;60861:126:::1;;60912:75;60975:11;60912:58;60968:1;60954:11;:15;60912:37;60932:16;60912:12;60925:1;60912:15;;;;;;;;;;;;;;:19;;:37;;;;:::i;:::-;:41:::0;::::1;:58::i;:75::-;60861:126;;;60882:7;;60890:1;60882:10;;;;;;;;;;;;;60861:126;60844:143;;61020:10;;61031:1;61020:13;;;;;;;;;;;;;61010:6;:23;;61002:68;;;::::0;;-1:-1:-1;;;61002:68:0;;::::1;;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;61087:46;61126:6;61087:7;61095:1;61087:10;;;;;;;;;;;;;;-1:-1:-1::0;;;;;61087:38:0::1;;;:46;;;;:::i;:::-;61152:15:::0;;61148:236:::1;;61188:17;61208:59;61251:12;61264:1;61251:15;;;;;;;;;;;;;;61208:38;61240:4;61208:7;61216:1;61208:10;;;;;;;:59;61188:79;;61299:69;61308:10;61320:47;61351:12;61364:1;61351:15;;;;;;;;;;;;;;61320:26;61336:9;61320:11;:15;;:26;;;;:::i;61299:69::-;61286:82;;61148:236;;-1:-1:-1::0;60757:3:0::1;;60720:675;;;-1:-1:-1::0;61411:15:0;;61407:348:::1;;61448:6;61443:301;61460:18:::0;;::::1;61443:301;;;61504:102;61548:12;61561:1;61548:15;;;;;;;;;;;;;;61565:27;61581:10;61565:11;:15;;:27;;;;:::i;:::-;61594:11;61504:25;:37;61530:7;61538:1;61530:10;;;;;;;;;;;;;;-1:-1:-1::0;;;;;61504:37:0::1;-1:-1:-1::0;;;;;61504:37:0::1;;;;;;;;;;;;:43;;:102;;;;;;:::i;:::-;61625:103;61670:12;61683:1;61670:15;;;;;;;;;;;;;;61687:27;61703:10;61687:11;:15;;:27;;;;:::i;:::-;61716:11;61625:26;:38;61652:7;61660:1;61652:10;;;;;;;61625:103;61480:3;;61443:301;;;;61407:348;61788:1;61775:10;:14;61767:58;;;::::0;;-1:-1:-1;;;61767:58:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;61836:29;61842:10;61854;61836:5;:29::i;:::-;61883:33;::::0;;;;;;;61893:10:::1;::::0;61883:33:::1;::::0;;;;;::::1;::::0;;::::1;-1:-1:-1::0;;20190:1:0;21152:7;:22;-1:-1:-1;59282:2642:0;;;-1:-1:-1;;;;;59282:2642:0:o;18250:244::-;17527:12;:10;:12::i;:::-;17517:6;;-1:-1:-1;;;;;17517:6:0;;;:22;;;17509:67;;;;;-1:-1:-1;;;17509:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18339:22:0;::::1;18331:73;;;;-1:-1:-1::0;;;18331:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18441:6;::::0;18420:38:::1;::::0;-1:-1:-1;;;;;18420:38:0;;::::1;::::0;18441:6:::1;::::0;18420:38:::1;::::0;18441:6:::1;::::0;18420:38:::1;18469:6;:17:::0;;-1:-1:-1;;;;;;18469:17:0::1;-1:-1:-1::0;;;;;18469:17:0;;;::::1;::::0;;;::::1;::::0;;18250:244::o;15859:106::-;15947:10;15859:106;:::o;46001:346::-;-1:-1:-1;;;;;46103:19:0;;46095:68;;;;-1:-1:-1;;;46095:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46182:21:0;;46174:68;;;;-1:-1:-1;;;46174:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46255:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;46307:32;;;;;;;;;;;;;;;;;46001:346;;;:::o;66008:392::-;-1:-1:-1;;;;;66154:12:0;;66130:7;66154:12;;;:7;:12;;;;;;;;:28;;;;-1:-1:-1;;;;;;66170:12:0;;;;;;:7;:12;;;;;;;;66154:28;:42;;;;;66193:3;-1:-1:-1;;;;;66186:10:0;:3;-1:-1:-1;;;;;66186:10:0;;;66154:42;:56;;;;;66209:1;66200:6;:10;66154:56;66150:243;;;66227:19;66249:50;66260:38;57380:4;66260:17;66271:5;:3;:5::i;:::-;66260:6;;:10;:17::i;:38::-;66249:6;;:10;:50::i;:::-;66227:72;-1:-1:-1;66321:60:0;66353:27;:10;66227:72;66353:14;:27::i;:::-;66321;:11;66337:10;66321:15;:27::i;:60::-;66314:67;;;66150:243;66008:392;;;;;;;:::o;43613:539::-;-1:-1:-1;;;;;43719:20:0;;43711:70;;;;-1:-1:-1;;;43711:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43800:23:0;;43792:71;;;;-1:-1:-1;;;43792:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43876:47;43897:6;43905:9;43916:6;43876:20;:47::i;:::-;43956:71;43978:6;43956:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43956:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;43936:17:0;;;:9;:17;;;;;;;;;;;:91;;;;44061:20;;;;;;;:32;;44086:6;44061:24;:32::i;:::-;-1:-1:-1;;;;;44038:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;44109:35;;;;;;;44038:20;;44109:35;;;;;;;;;;;;;43613:539;;;:::o;23866:192::-;23952:7;23988:12;23980:6;;;;23972:29;;;;-1:-1:-1;;;23972:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;24024:5:0;;;23866:192::o;22963:181::-;23021:7;23053:5;;;23077:6;;;;23069:46;;;;;-1:-1:-1;;;23069:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;45143:418;-1:-1:-1;;;;;45227:21:0;;45219:67;;;;-1:-1:-1;;;45219:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45299:49;45320:7;45337:1;45341:6;45299:20;:49::i;:::-;45382:68;45405:6;45382:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45382:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;45361:18:0;;:9;:18;;;;;;;;;;:89;45476:12;;:24;;45493:6;45476:16;:24::i;:::-;45461:12;:39;45516:37;;;;;;;;45542:1;;-1:-1:-1;;;;;45516:37:0;;;;;;;;;;;;45143:418;;:::o;51495:234::-;51571:7;51595:12;51601:5;51595;:12::i;:::-;51591:131;;;-1:-1:-1;;;;;;51631:15:0;;;51624:22;;51591:131;51686:5;-1:-1:-1;;;;;51686:15:0;;51702:7;51686:24;;;;;;;;;;;;;-1:-1:-1;;;;;51686:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51686:24:0;;-1:-1:-1;51679:31:0;;24317:471;24375:7;24620:6;24616:47;;-1:-1:-1;24650:1:0;24643:8;;24616:47;24687:5;;;24691:1;24687;:5;:1;24711:5;;;;;:10;24703:56;;;;-1:-1:-1;;;24703:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25264:132;25322:7;25349:39;25353:1;25356;25349:39;;;;;;;;;;;;;;;;;:3;:39::i;51737:283::-;51832:10;;51828:185;;51863:12;51869:5;51863;:12::i;:::-;51859:143;;;51896:19;;-1:-1:-1;;;;;51896:11:0;;;:19;;;;;51908:6;;51896:19;;;;51908:6;51896:11;:19;;;;;;;;;;;;;;;;;;;;;51859:143;;;51956:30;-1:-1:-1;;;;;51956:18:0;;51975:2;51979:6;51956:18;:30::i;:::-;51737:283;;;:::o;23427:136::-;23485:7;23512:43;23516:1;23519;23512:43;;;;;;;;;;;;;;;;;:3;:43::i;55730:201::-;55848:75;55852:4;55858:64;55916:5;55858:53;55898:12;55916:5;55908:1;55898:9;:12::i;:::-;55858:26;;;;;;;;;;;-1:-1:-1;;;;;55858:26:0;;;;-1:-1:-1;;;55858:26:0;;;;;;;;:35;;55889:3;;55858:26;;55872:11;55858:7;:26::i;:64::-;55848:3;:75::i;:::-;55730:201;;;;:::o;51374:113::-;-1:-1:-1;;;;;51450:28:0;;;51374:113::o;55939:386::-;56032:7;56052:18;56073:54;55391:9;56096:30;56116:4;:9;;;56096:30;;:15;:19;;:30;;;;:::i;56073:54::-;56052:75;-1:-1:-1;56138:18:0;56159:28;55391:9;56052:75;56159:16;:28::i;:::-;56138:49;-1:-1:-1;56205:112:0;55391:9;56205:94;56261:27;:11;56277:10;56261:15;:27::i;:::-;56213:12;;56205:37;;-1:-1:-1;;;;;56205:21:0;56231:10;56205:25;:37::i;21432:107::-;21490:7;21522:1;21517;:6;;:14;;21530:1;21517:14;;;-1:-1:-1;21526:1:0;;21432:107;-1:-1:-1;21432:107:0:o;21615:106::-;21673:7;21704:1;21700;:5;:13;;21712:1;21700:13;;52028:522;52119:10;;52115:428;;52150:12;52156:5;52150;:12::i;:::-;52146:386;;;52204:6;52191:9;:19;;52183:58;;;;;-1:-1:-1;;;52183:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;52276:6;52264:9;:18;52260:159;;;52357:10;:42;52377:21;:9;52391:6;52377:13;:21::i;:::-;52357:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52260:159;52146:386;;;52459:57;-1:-1:-1;;;;;52459:22:0;;52482:10;52502:4;52509:6;52459:22;:57::i;:::-;52028:522;;:::o;55409:169::-;55493:31;;-1:-1:-1;;;;;;55493:31:0;-1:-1:-1;;;;;55493:31:0;;;;55535:35;-1:-1:-1;;;55554:15:0;55535:35;;;;;;55409:169::o;55586:136::-;55687:26;;;;;;;;;;;-1:-1:-1;;;;;55687:26:0;;;;-1:-1:-1;;;55687:26:0;;;;;;;;55677:37;;55687:26;;;;55701:11;55687:7;:26::i;54657:385::-;54705:7;54733:1;54729;:5;54725:310;;;54763:1;54799;54795;54791:5;;:9;54815:92;54826:1;54822;:5;54815:92;;;54852:1;54848:5;;54890:1;54885;54881;54877;:5;;;;;;:9;54876:15;;;;;;54872:19;;54815:92;;;-1:-1:-1;54928:1:0;-1:-1:-1;54921:8:0;;54725:310;54951:6;;54947:88;;-1:-1:-1;54981:1:0;54974:8;;54947:88;-1:-1:-1;55022:1:0;55015:8;;44433:378;-1:-1:-1;;;;;44517:21:0;;44509:65;;;;;-1:-1:-1;;;44509:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;44587:49;44616:1;44620:7;44629:6;44587:20;:49::i;:::-;44664:12;;:24;;44681:6;44664:16;:24::i;:::-;44649:12;:39;-1:-1:-1;;;;;44720:18:0;;:9;:18;;;;;;;;;;;:30;;44743:6;44720:22;:30::i;:::-;-1:-1:-1;;;;;44699:18:0;;:9;:18;;;;;;;;;;;:51;;;;44766:37;;;;;;;44699:18;;:9;;44766:37;;;;;;;;;;44433:378;;:::o;25892:278::-;25978:7;26013:12;26006:5;25998:28;;;;-1:-1:-1;;;25998:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26037:9;26053:1;26049;:5;;;;;;;25892:278;-1:-1:-1;;;;;25892:278:0:o;48127:177::-;48237:58;;;-1:-1:-1;;;;;48237:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48237:58:0;-1:-1:-1;;;48237:58:0;;;48210:86;;48230:5;;48210:19;:86::i;48312:205::-;48440:68;;;-1:-1:-1;;;;;48440:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48440:68:0;-1:-1:-1;;;48440:68:0;;;48413:96;;48433:5;;50432:761;50856:23;50882:69;50910:4;50882:69;;;;;;;;;;;;;;;;;50890:5;-1:-1:-1;;;;;50882:27:0;;;:69;;;;;:::i;:::-;50966:17;;50856:95;;-1:-1:-1;50966:21:0;50962:224;;51108:10;51097:30;;;;;;;;;;;;;;;-1:-1:-1;51097:30:0;51089:85;;;;-1:-1:-1;;;51089:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34103:196;34206:12;34238:53;34261:6;34269:4;34275:1;34278:12;35610;35643:18;35654:6;35643:10;:18::i;:::-;35635:60;;;;;-1:-1:-1;;;35635:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;35769:12;35783:23;35810:6;-1:-1:-1;;;;;35810:11:0;35830:8;35841:4;35810:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;35810:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35768:78;;;;35861:7;35857:595;;;35892:10;-1:-1:-1;35885:17:0;;-1:-1:-1;35885:17:0;35857:595;36006:17;;:21;36002:439;;36269:10;36263:17;36330:15;36317:10;36313:2;36309:19;36302:44;36217:148;36405:20;;-1:-1:-1;;;36405:20:0;;;;;;;;;;;;;;;;;36412:12;;36405:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30988:619;31048:4;31516:20;;31359:66;31556:23;;;;;;:42;;-1:-1:-1;;31583:15:0;;;31548:51;-1:-1:-1;;30988:619:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://81ac53a2dbede77e2893adaeea30c4e4c1e3146db4ef0b719d2fe07b0cb25ffc
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,885.52 | 0.00002753 | $0.106988 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.