Source Code
Overview
GLMR Balance
GLMR Value
$0.00Latest 1 from a total of 1 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Add Whitelisted | 551061 | 1425 days ago | IN | 0 GLMR | 0.0095518 |
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x893F5062...5c2C448d1 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
NarwhalUniRouter
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/**
*Submitted for verification at moonbeam.moonscan.io on 2022-03-07
*/
// File: @openzeppelin/contracts/utils/ReentrancyGuard.sol
pragma solidity ^0.5.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].
*
* _Since v2.5.0:_ this module is now much more gas efficient, given net gas
* metering changes introduced in the Istanbul hardfork.
*/
contract ReentrancyGuard {
bool private _notEntered;
constructor () internal {
// Storing an initial 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 percetange 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.
_notEntered = true;
}
/**
* @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(_notEntered, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_notEntered = false;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_notEntered = true;
}
}
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}
// File: @openzeppelin/contracts/math/SafeMath.sol
pragma solidity ^0.5.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
* - Subtraction cannot overflow.
*
* _Available since v2.4.0._
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*
* _Available since v2.4.0._
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
// Solidity only automatically asserts when dividing by 0
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts with custom message when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*
* _Available since v2.4.0._
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
// File: @openzeppelin/contracts/utils/Address.sol
pragma solidity ^0.5.5;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// According to EIP-1052, 0x0 is the value returned for not-yet created accounts
// and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
// for accounts without code, i.e. `keccak256('')`
bytes32 codehash;
bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
// solhint-disable-next-line no-inline-assembly
assembly { codehash := extcodehash(account) }
return (codehash != accountHash && codehash != 0x0);
}
/**
* @dev Converts an `address` into `address payable`. Note that this is
* simply a type cast: the actual underlying value is not changed.
*
* _Available since v2.4.0._
*/
function toPayable(address account) internal pure returns (address payable) {
return address(uint160(account));
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*
* _Available since v2.4.0._
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-call-value
(bool success, ) = recipient.call.value(amount)("");
require(success, "Address: unable to send value, recipient may have reverted");
}
}
// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol
pragma solidity ^0.5.0;
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using SafeMath for uint256;
using Address for address;
function safeTransfer(IERC20 token, address to, uint256 value) internal {
callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
function safeApprove(IERC20 token, address spender, uint256 value) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
// solhint-disable-next-line max-line-length
require((value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).add(value);
callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves.
// A Solidity high level call has three parts:
// 1. The target address is checked to verify it contains contract code
// 2. The call itself is made, and success asserted
// 3. The return value is decoded, which in turn checks the size of the returned data.
// solhint-disable-next-line max-line-length
require(address(token).isContract(), "SafeERC20: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = address(token).call(data);
require(success, "SafeERC20: low-level call failed");
if (returndata.length > 0) { // Return data is optional
// solhint-disable-next-line max-line-length
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}
// File: @openzeppelin/contracts/GSN/Context.sol
pragma solidity ^0.5.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
contract Context {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
constructor () internal { }
// solhint-disable-previous-line no-empty-blocks
function _msgSender() internal view returns (address payable) {
return msg.sender;
}
function _msgData() internal view returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
// File: @openzeppelin/contracts/access/Roles.sol
pragma solidity ^0.5.0;
/**
* @title Roles
* @dev Library for managing addresses assigned to a Role.
*/
library Roles {
struct Role {
mapping (address => bool) bearer;
}
/**
* @dev Give an account access to this role.
*/
function add(Role storage role, address account) internal {
require(!has(role, account), "Roles: account already has role");
role.bearer[account] = true;
}
/**
* @dev Remove an account's access to this role.
*/
function remove(Role storage role, address account) internal {
require(has(role, account), "Roles: account does not have role");
role.bearer[account] = false;
}
/**
* @dev Check if an account has this role.
* @return bool
*/
function has(Role storage role, address account) internal view returns (bool) {
require(account != address(0), "Roles: account is the zero address");
return role.bearer[account];
}
}
// File: @openzeppelin/contracts/access/roles/WhitelistAdminRole.sol
pragma solidity ^0.5.0;
/**
* @title WhitelistAdminRole
* @dev WhitelistAdmins are responsible for assigning and removing Whitelisted accounts.
*/
contract WhitelistAdminRole is Context {
using Roles for Roles.Role;
event WhitelistAdminAdded(address indexed account);
event WhitelistAdminRemoved(address indexed account);
Roles.Role private _whitelistAdmins;
constructor () internal {
_addWhitelistAdmin(_msgSender());
}
modifier onlyWhitelistAdmin() {
require(isWhitelistAdmin(_msgSender()), "WhitelistAdminRole: caller does not have the WhitelistAdmin role");
_;
}
function isWhitelistAdmin(address account) public view returns (bool) {
return _whitelistAdmins.has(account);
}
function addWhitelistAdmin(address account) public onlyWhitelistAdmin {
_addWhitelistAdmin(account);
}
function renounceWhitelistAdmin() public {
_removeWhitelistAdmin(_msgSender());
}
function _addWhitelistAdmin(address account) internal {
_whitelistAdmins.add(account);
emit WhitelistAdminAdded(account);
}
function _removeWhitelistAdmin(address account) internal {
_whitelistAdmins.remove(account);
emit WhitelistAdminRemoved(account);
}
}
// File: @openzeppelin/contracts/access/roles/WhitelistedRole.sol
pragma solidity ^0.5.0;
/**
* @title WhitelistedRole
* @dev Whitelisted accounts have been approved by a WhitelistAdmin to perform certain actions (e.g. participate in a
* crowdsale). This role is special in that the only accounts that can add it are WhitelistAdmins (who can also remove
* it), and not Whitelisteds themselves.
*/
contract WhitelistedRole is Context, WhitelistAdminRole {
using Roles for Roles.Role;
event WhitelistedAdded(address indexed account);
event WhitelistedRemoved(address indexed account);
Roles.Role private _whitelisteds;
modifier onlyWhitelisted() {
require(isWhitelisted(_msgSender()), "WhitelistedRole: caller does not have the Whitelisted role");
_;
}
function isWhitelisted(address account) public view returns (bool) {
return _whitelisteds.has(account);
}
function addWhitelisted(address account) public onlyWhitelistAdmin {
_addWhitelisted(account);
}
function removeWhitelisted(address account) public onlyWhitelistAdmin {
_removeWhitelisted(account);
}
function renounceWhitelisted() public {
_removeWhitelisted(_msgSender());
}
function _addWhitelisted(address account) internal {
_whitelisteds.add(account);
emit WhitelistedAdded(account);
}
function _removeWhitelisted(address account) internal {
_whitelisteds.remove(account);
emit WhitelistedRemoved(account);
}
}
// File: contracts/interfaces/INarwhalTradingRoute.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.5.17;
/**
* @title Warden Trading Route
* @dev The Warden trading route interface has an standard functions and event
* for other smart contract to implement to join Warden Swap as Market Maker.
*/
interface INarwhalTradingRoute {
/**
* @dev when new trade occure (and success), this event will be boardcast.
* @param _src Source token
* @param _srcAmount amount of source tokens
* @param _dest Destination token
* @return _destAmount: amount of actual destination tokens
*/
event Trade(
IERC20 indexed _src,
uint256 _srcAmount,
IERC20 indexed _dest,
uint256 _destAmount
);
/**
* @notice use token address 0xeee...eee for ether
* @dev makes a trade between src and dest token
* @param _src Source token
* @param _dest Destination token
* @param _srcAmount amount of source tokens
* @return _destAmount: amount of actual destination tokens
*/
function trade(
IERC20 _src,
IERC20 _dest,
uint256 _srcAmount
)
external
payable
returns(uint256 _destAmount);
/**
* @dev provide destinationm token amount for given source amount
* @param _src Source token
* @param _dest Destination token
* @param _srcAmount Amount of source tokens
* @return _destAmount: amount of expected destination tokens
*/
function getDestinationReturnAmount(
IERC20 _src,
IERC20 _dest,
uint256 _srcAmount
)
external
view
returns(uint256 _destAmount);
/**
* @dev provide source token amount for given destination amount
* @param _src Source token
* @param _dest Destination token
* @param _destAmount Amount of destination tokens
* @return _srcAmount: amount of expected source tokens
*/
// function getSourceReturnAmount(
// IERC20 _src,
// IERC20 _dest,
// uint256 _destAmount
// )
// external
// view
// returns(uint256 _srcAmount);
}
// File: contracts/interfaces/IUniswapV2Router.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.5.17;
interface IUniswapV2Router {
function getAmountsOut(
uint amountIn,
address[] calldata path
)
external
view
returns (uint[] memory amounts);
function swapExactTokensForTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
)
external
returns (uint[] memory amounts);
function swapExactETHForTokens(
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
)
external
payable
returns (uint[] memory amounts);
function swapExactTokensForETH(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
)
external
returns (uint[] memory amounts);
function swapETHForExactTokens(
uint amountOut,
address[] calldata path,
address to,
uint deadline
)
external
payable
returns (uint[] memory amounts);
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
)
external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
)
external
payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
)
external;
}
// File: @openzeppelin/contracts/ownership/Ownable.sol
pragma solidity ^0.5.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () internal {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(isOwner(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Returns true if the caller is the current owner.
*/
function isOwner() public view returns (bool) {
return _msgSender() == _owner;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public onlyOwner {
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
*/
function _transferOwnership(address newOwner) internal {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
// File: contracts/routes/NarwhalUniRouter.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.5.17;
interface INarwhal {
function isFeeOnTransferToken(
IERC20 token
)
external
view
returns(bool);
}
contract NarwhalUniRouter is INarwhalTradingRoute, Ownable, WhitelistedRole, ReentrancyGuard {
using SafeMath for uint256;
using SafeERC20 for IERC20;
IUniswapV2Router public routers;
IERC20[] public correspondentTokens;
IERC20 public constant etherERC20 = IERC20(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE);
IERC20 public wETH;
uint256 public constant amountOutMin = 1;
uint256 public constant deadline = 2 ** 256 - 1;
INarwhal public narwhal;
constructor(
address _narwhal,
IUniswapV2Router _routers,
IERC20[] memory _correspondentTokens,
IERC20 _wETH
) public {
narwhal = INarwhal(_narwhal);
routers = _routers;
correspondentTokens = _correspondentTokens;
wETH = _wETH;
}
function updateSwap(
address _swapAddr
)
public
onlyOwner
{
narwhal = INarwhal(_swapAddr);
}
function isFeeOnTransferToken(address _token)
public
view
returns (bool)
{
return narwhal.isFeeOnTransferToken(IERC20(_token));
}
function trade(
IERC20 _src,
IERC20 _dest,
uint256 _srcAmount
)
public
payable
onlyWhitelisted
nonReentrant
returns(uint256 _destAmount)
{
require(_src != _dest, "NarR: Destination token can not be source token");
IERC20 src = _src;
IERC20 dest= _dest;
uint256 srcAmount;
if (_src == etherERC20) {
require(msg.value == _srcAmount, "NarR: Source amount mismatch");
srcAmount = _srcAmount;
} else {
uint256 _beforeSrc = _src.balanceOf(address(this));
_src.safeTransferFrom(msg.sender, address(this), _srcAmount);
uint256 _afterSrc = _src.balanceOf(address(this));
uint256 _curr = _afterSrc.sub(_beforeSrc);
srcAmount = _curr;
}
uint256 pathLength = correspondentTokens.length;
address[] memory path = new address[](pathLength.add(2));
if(_src == etherERC20){
path[0] = address(wETH);
path[path.length.sub(1)] = address(_dest);
}else if(_dest == etherERC20){
path[0] = address(_src);
path[path.length.sub(1)] = address(wETH);
}else{
path[0] = address(_src);
path[path.length.sub(1)] = address(_dest);
}
// Exchange token pairs to each routes
for (uint256 i = 1; i < path.length.sub(1); i++) {
path[i] = address(correspondentTokens[i - 1]);
}
if (src == etherERC20) {
uint256[] memory amounts = routers.swapExactETHForTokens.value(srcAmount)(
amountOutMin,
path,
msg.sender,
deadline
);
srcAmount = amounts[amounts.length - 1];
} else if (dest == etherERC20) {
src.safeApprove(address(routers), srcAmount);
uint256 _beforeSwap = msg.sender.balance;
routers.swapExactTokensForETHSupportingFeeOnTransferTokens(
srcAmount,
amountOutMin,
path,
msg.sender,
deadline
);
uint256 _afterSwap = msg.sender.balance;
srcAmount = _afterSwap.sub(_beforeSwap);
} else {
src.safeApprove(address(routers), srcAmount);
uint256 _beforeSwap = dest.balanceOf(msg.sender);
routers.swapExactTokensForTokensSupportingFeeOnTransferTokens(
srcAmount,
amountOutMin,
path,
msg.sender,
deadline
);
uint256 _afterSwap = dest.balanceOf(msg.sender);
srcAmount = _afterSwap.sub(_beforeSwap);
}
_destAmount = srcAmount;
emit Trade(_src, _srcAmount, _dest, _destAmount);
}
function getDestinationReturnAmount(
IERC20 _src,
IERC20 _dest,
uint256 _srcAmount
)
external
view
returns(uint256 _destAmount)
{
require(_src != _dest, "NarR: Destination token can not be source token");
if (isDuplicatedTokenInRoutes(_src) || isDuplicatedTokenInRoutes(_dest)) {
return 0;
}
uint256 pathLength = correspondentTokens.length;
address[] memory path = new address[](pathLength.add(2));
if(_src == etherERC20){
path[0] = address(wETH);
path[path.length.sub(1)] = address(_dest);
}else if(_dest == etherERC20){
path[0] = address(_src);
path[path.length.sub(1)] = address(wETH);
}else{
path[0] = address(_src);
path[path.length.sub(1)] = address(_dest);
}
// Exchange token pairs to each routes
for (uint256 i = 1; i < path.length.sub(1); i++) {
path[i] = address(correspondentTokens[i - 1]);
}
uint256[] memory amounts = routers.getAmountsOut(_srcAmount, path);
_destAmount = amounts[amounts.length - 1];
}
function isDuplicatedTokenInRoutes(
IERC20 token
)
internal
view
returns (bool)
{
if (token == etherERC20) {
token = wETH;
}
for (uint256 i = 0; i < correspondentTokens.length; i++) {
if(token == correspondentTokens[i]) {
return true;
}
}
return false;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_narwhal","type":"address"},{"internalType":"contract IUniswapV2Router","name":"_routers","type":"address"},{"internalType":"contract IERC20[]","name":"_correspondentTokens","type":"address[]"},{"internalType":"contract IERC20","name":"_wETH","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"_src","type":"address"},{"indexed":false,"internalType":"uint256","name":"_srcAmount","type":"uint256"},{"indexed":true,"internalType":"contract IERC20","name":"_dest","type":"address"},{"indexed":false,"internalType":"uint256","name":"_destAmount","type":"uint256"}],"name":"Trade","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"WhitelistAdminAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"WhitelistAdminRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"WhitelistedAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"WhitelistedRemoved","type":"event"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addWhitelistAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addWhitelisted","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"amountOutMin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"correspondentTokens","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"deadline","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"etherERC20","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"contract IERC20","name":"_src","type":"address"},{"internalType":"contract IERC20","name":"_dest","type":"address"},{"internalType":"uint256","name":"_srcAmount","type":"uint256"}],"name":"getDestinationReturnAmount","outputs":[{"internalType":"uint256","name":"_destAmount","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"isFeeOnTransferToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isWhitelistAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"narwhal","outputs":[{"internalType":"contract INarwhal","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeWhitelisted","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceWhitelistAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceWhitelisted","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"routers","outputs":[{"internalType":"contract IUniswapV2Router","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"_src","type":"address"},{"internalType":"contract IERC20","name":"_dest","type":"address"},{"internalType":"uint256","name":"_srcAmount","type":"uint256"}],"name":"trade","outputs":[{"internalType":"uint256","name":"_destAmount","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_swapAddr","type":"address"}],"name":"updateSwap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"wETH","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]Contract Creation Code
0x60806040523480156200001157600080fd5b50604051620024f2380380620024f2833981810160405260808110156200003757600080fd5b815160208301516040808501805191519395929483019291846401000000008211156200006357600080fd5b9083019060208201858111156200007957600080fd5b82518660208202830111640100000000821117156200009757600080fd5b82525081516020918201928201910280838360005b83811015620000c6578181015183820152602001620000ac565b50505050919091016040525060200151915060009050620000ef6001600160e01b03620001e416565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200015f620001506001600160e01b03620001e416565b6001600160e01b03620001e916565b60038054600680546001600160a01b0319166001600160a01b038881169190911790915560ff19909116600117610100600160a81b031916610100918616919091021790558151620001b990600490602085019062000331565b50600580546001600160a01b0319166001600160a01b039290921691909117905550620003c2915050565b335b90565b620002048160016200023b60201b62001be41790919060201c565b6040516001600160a01b038216907f22380c05984257a1cb900161c713dd71d39e74820f1aea43bd3f1bdd2096129990600090a250565b6200025082826001600160e01b03620002c816565b15620002a3576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60006001600160a01b038216620003115760405162461bcd60e51b8152600401808060200182810382526022815260200180620024d06022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b82805482825590600052602060002090810192821562000389579160200282015b828111156200038957825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000352565b50620003979291506200039b565b5090565b620001e691905b80821115620003975780546001600160a01b0319168155600101620003a2565b6120fe80620003d26000396000f3fe6080604052600436106101355760003560e01c80638da5cb5b116100ab578063bab29b0b1161006f578063bab29b0b146103c8578063bb5f747b146103dd578063d159404814610410578063d6cd947314610443578063f242862114610458578063f2fde38b1461046d57610135565b80638da5cb5b1461032c5780638f32d59b1461034157806394e6fd6014610356578063aeb8fbf914610389578063b1f884271461039e57610135565b80633af32abf116100fd5780633af32abf146102215780634c5a628c146102685780635253baae1461027d578063715018a6146102b35780637362d9c8146102c857806385113156146102fb57610135565b806310154bad1461013a5780631eac74b31461016f578063291d9549146101c457806329dcb0cf146101f75780632c3bfc081461020c575b600080fd5b34801561014657600080fd5b5061016d6004803603602081101561015d57600080fd5b50356001600160a01b03166104a0565b005b34801561017b57600080fd5b506101b26004803603606081101561019257600080fd5b506001600160a01b038135811691602081013590911690604001356104f7565b60408051918252519081900360200190f35b3480156101d057600080fd5b5061016d600480360360208110156101e757600080fd5b50356001600160a01b0316610928565b34801561020357600080fd5b506101b2610977565b34801561021857600080fd5b506101b261097d565b34801561022d57600080fd5b506102546004803603602081101561024457600080fd5b50356001600160a01b0316610982565b604080519115158252519081900360200190f35b34801561027457600080fd5b5061016d61099d565b6101b26004803603606081101561029357600080fd5b506001600160a01b038135811691602081013590911690604001356109af565b3480156102bf57600080fd5b5061016d611402565b3480156102d457600080fd5b5061016d600480360360208110156102eb57600080fd5b50356001600160a01b03166114a5565b34801561030757600080fd5b506103106114f4565b604080516001600160a01b039092168252519081900360200190f35b34801561033857600080fd5b5061031061150c565b34801561034d57600080fd5b5061025461151b565b34801561036257600080fd5b5061016d6004803603602081101561037957600080fd5b50356001600160a01b031661153f565b34801561039557600080fd5b506103106115ba565b3480156103aa57600080fd5b50610310600480360360208110156103c157600080fd5b50356115ce565b3480156103d457600080fd5b506103106115f5565b3480156103e957600080fd5b506102546004803603602081101561040057600080fd5b50356001600160a01b0316611604565b34801561041c57600080fd5b506102546004803603602081101561043357600080fd5b50356001600160a01b0316611617565b34801561044f57600080fd5b5061016d61169a565b34801561046457600080fd5b506103106116aa565b34801561047957600080fd5b5061016d6004803603602081101561049057600080fd5b50356001600160a01b03166116b9565b6104b06104ab61171b565b611604565b6104eb5760405162461bcd60e51b8152600401808060200182810382526040815260200180611ff06040913960400191505060405180910390fd5b6104f48161171f565b50565b6000826001600160a01b0316846001600160a01b0316141561054a5760405162461bcd60e51b815260040180806020018281038252602f815260200180611f58602f913960400191505060405180910390fd5b61055384611767565b80610562575061056283611767565b1561056f57506000610921565b600454606061058582600263ffffffff6117f116565b6040519080825280602002602001820160405280156105ae578160200160208202803883390190505b5090506001600160a01b03861673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156106585760055481516001600160a01b039091169082906000906105f257fe5b60200260200101906001600160a01b031690816001600160a01b03168152505084816106296001845161184b90919063ffffffff16565b8151811061063357fe5b60200260200101906001600160a01b031690816001600160a01b03168152505061072c565b6001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156106bc57858160008151811061068b57fe5b6001600160a01b0392831660209182029290920101526005548251911690829061062990600163ffffffff61184b16565b85816000815181106106ca57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505084816107016001845161184b90919063ffffffff16565b8151811061070b57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250505b60015b815161074290600163ffffffff61184b16565b8110156107a3576004600182038154811061075957fe5b9060005260206000200160009054906101000a90046001600160a01b031682828151811061078357fe5b6001600160a01b039092166020928302919091019091015260010161072f565b506003546040805163d06ca61f60e01b8152600481018781526024820192835284516044830152845160609461010090046001600160a01b03169363d06ca61f938a938893909291606401906020808601910280838360005b838110156108145781810151838201526020016107fc565b50505050905001935050505060006040518083038186803b15801561083857600080fd5b505afa15801561084c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561087557600080fd5b810190808051604051939291908464010000000082111561089557600080fd5b9083019060208201858111156108aa57600080fd5b82518660208202830111640100000000821117156108c757600080fd5b82525081516020918201928201910280838360005b838110156108f45781810151838201526020016108dc565b5050505090500160405250505090508060018251038151811061091357fe5b602002602001015193505050505b9392505050565b6109336104ab61171b565b61096e5760405162461bcd60e51b8152600401808060200182810382526040815260200180611ff06040913960400191505060405180910390fd5b6104f48161188d565b60001981565b600181565b600061099560028363ffffffff6118d516565b90505b919050565b6109ad6109a861171b565b61193c565b565b60006109c16109bc61171b565b610982565b6109fc5760405162461bcd60e51b815260040180806020018281038252603a815260200180612030603a913960400191505060405180910390fd5b60035460ff16610a53576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6003805460ff191690556001600160a01b038481169084161415610aa85760405162461bcd60e51b815260040180806020018281038252602f815260200180611f58602f913960400191505060405180910390fd5b838360006001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610b2c57843414610b25576040805162461bcd60e51b815260206004820152601c60248201527f4e6172523a20536f7572636520616d6f756e74206d69736d6174636800000000604482015290519081900360640190fd5b5083610c4f565b604080516370a0823160e01b815230600482015290516000916001600160a01b038a16916370a0823191602480820192602092909190829003018186803b158015610b7657600080fd5b505afa158015610b8a573d6000803e3d6000fd5b505050506040513d6020811015610ba057600080fd5b50519050610bbf6001600160a01b03891633308963ffffffff61198416565b604080516370a0823160e01b815230600482015290516000916001600160a01b038b16916370a0823191602480820192602092909190829003018186803b158015610c0957600080fd5b505afa158015610c1d573d6000803e3d6000fd5b505050506040513d6020811015610c3357600080fd5b505190506000610c49828463ffffffff61184b16565b93505050505b6004546060610c6582600263ffffffff6117f116565b604051908082528060200260200182016040528015610c8e578160200160208202803883390190505b5090506001600160a01b03891673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610d385760055481516001600160a01b03909116908290600090610cd257fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508781610d096001845161184b90919063ffffffff16565b81518110610d1357fe5b60200260200101906001600160a01b031690816001600160a01b031681525050610e0c565b6001600160a01b03881673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610d9c578881600081518110610d6b57fe5b6001600160a01b03928316602091820292909201015260055482519116908290610d0990600163ffffffff61184b16565b8881600081518110610daa57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508781610de16001845161184b90919063ffffffff16565b81518110610deb57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250505b60015b8151610e2290600163ffffffff61184b16565b811015610e835760046001820381548110610e3957fe5b9060005260206000200160009054906101000a90046001600160a01b0316828281518110610e6357fe5b6001600160a01b0390921660209283029190910190910152600101610e0f565b506001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee141561105d576060600360019054906101000a90046001600160a01b03166001600160a01b0316637ff36ab585600185336000196040518663ffffffff1660e01b81526004018085815260200180602001846001600160a01b03166001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015610f4a578181015183820152602001610f32565b50505050905001955050505050506000604051808303818588803b158015610f7157600080fd5b505af1158015610f85573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f191682016040526020811015610faf57600080fd5b8101908080516040519392919084640100000000821115610fcf57600080fd5b908301906020820185811115610fe457600080fd5b825186602082028301116401000000008211171561100157600080fd5b82525081516020918201928201910280838360005b8381101561102e578181015183820152602001611016565b5050505090500160405250505090508060018251038151811061104d57fe5b6020026020010151935050611392565b6001600160a01b03841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415611199576003546110a7906001600160a01b03878116916101009004168563ffffffff6119e416565b60035460405163791ac94760e01b81526004810185815260016024830181905233606484018190526000196084850181905260a060448601908152875160a4870152875183319761010090046001600160a01b03169663791ac947968c96958b95909490939192909160c4909101906020808801910280838360005b8381101561113b578181015183820152602001611123565b505050509050019650505050505050600060405180830381600087803b15801561116457600080fd5b505af1158015611178573d6000803e3d6000fd5b5050333191506111909050818363ffffffff61184b16565b94505050611392565b6003546111be906001600160a01b03878116916101009004168563ffffffff6119e416565b604080516370a0823160e01b815233600482015290516000916001600160a01b038716916370a0823191602480820192602092909190829003018186803b15801561120857600080fd5b505afa15801561121c573d6000803e3d6000fd5b505050506040513d602081101561123257600080fd5b5051600354604051635c11d79560e01b81526004810187815260016024830181905233606484018190526000196084850181905260a060448601908152895160a487015289519798506101009096046001600160a01b031696635c11d795968c9694958b95909260c4909101906020878101910280838360005b838110156112c45781810151838201526020016112ac565b505050509050019650505050505050600060405180830381600087803b1580156112ed57600080fd5b505af1158015611301573d6000803e3d6000fd5b5050604080516370a0823160e01b81523360048201529051600093506001600160a01b03891692506370a0823191602480820192602092909190829003018186803b15801561134f57600080fd5b505afa158015611363573d6000803e3d6000fd5b505050506040513d602081101561137957600080fd5b5051905061138d818363ffffffff61184b16565b945050505b829550876001600160a01b0316896001600160a01b03167f3c9f9e05a5650785677adb0f72e5645fb18750d08069c5f0c3b4ea72962c2fdb8989604051808381526020018281526020019250505060405180910390a350506003805460ff19166001179055509195945050505050565b61140a61151b565b61145b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6114b06104ab61171b565b6114eb5760405162461bcd60e51b8152600401808060200182810382526040815260200180611ff06040913960400191505060405180910390fd5b6104f481611afc565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b6000546001600160a01b031690565b600080546001600160a01b031661153061171b565b6001600160a01b031614905090565b61154761151b565b611598576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b60035461010090046001600160a01b031681565b600481815481106115db57fe5b6000918252602090912001546001600160a01b0316905081565b6006546001600160a01b031681565b600061099560018363ffffffff6118d516565b60065460408051631a2b280960e31b81526001600160a01b0384811660048301529151600093929092169163d159404891602480820192602092909190829003018186803b15801561166857600080fd5b505afa15801561167c573d6000803e3d6000fd5b505050506040513d602081101561169257600080fd5b505192915050565b6109ad6116a561171b565b61188d565b6005546001600160a01b031681565b6116c161151b565b611712576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6104f481611b44565b3390565b61173060028263ffffffff611be416565b6040516001600160a01b038216907fee1504a83b6d4a361f4c1dc78ab59bfa30d6a3b6612c403e86bb01ef2984295f90600090a250565b60006001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee141561179d576005546001600160a01b031691505b60005b6004548110156117e857600481815481106117b757fe5b6000918252602090912001546001600160a01b03848116911614156117e0576001915050610998565b6001016117a0565b50600092915050565b600082820183811015610921576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061092183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611c65565b61189e60028263ffffffff611cfc16565b6040516001600160a01b038216907f270d9b30cf5b0793bbfd54c9d5b94aeb49462b8148399000265144a8722da6b690600090a250565b60006001600160a01b03821661191c5760405162461bcd60e51b8152600401808060200182810382526022815260200180611fce6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b61194d60018263ffffffff611cfc16565b6040516001600160a01b038216907f0a8eb35e5ca14b3d6f28e4abf2f128dbab231a58b56e89beb5d636115001e16590600090a250565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526119de908590611d63565b50505050565b801580611a6a575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611a3c57600080fd5b505afa158015611a50573d6000803e3d6000fd5b505050506040513d6020811015611a6657600080fd5b5051155b611aa55760405162461bcd60e51b81526004018080602001828103825260368152602001806120946036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611af7908490611d63565b505050565b611b0d60018263ffffffff611be416565b6040516001600160a01b038216907f22380c05984257a1cb900161c713dd71d39e74820f1aea43bd3f1bdd2096129990600090a250565b6001600160a01b038116611b895760405162461bcd60e51b8152600401808060200182810382526026815260200180611f876026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b611bee82826118d5565b15611c40576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60008184841115611cf45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611cb9578181015183820152602001611ca1565b50505050905090810190601f168015611ce65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b611d0682826118d5565b611d415760405162461bcd60e51b8152600401808060200182810382526021815260200180611fad6021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b611d75826001600160a01b0316611f1b565b611dc6576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310611e045780518252601f199092019160209182019101611de5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611e66576040519150601f19603f3d011682016040523d82523d6000602084013e611e6b565b606091505b509150915081611ec2576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156119de57808060200190516020811015611ede57600080fd5b50516119de5760405162461bcd60e51b815260040180806020018281038252602a81526020018061206a602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611f4f57508115155b94935050505056fe4e6172523a2044657374696e6174696f6e20746f6b656e2063616e206e6f7420626520736f7572636520746f6b656e4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c65526f6c65733a206163636f756e7420697320746865207a65726f206164647265737357686974656c69737441646d696e526f6c653a2063616c6c657220646f6573206e6f742068617665207468652057686974656c69737441646d696e20726f6c6557686974656c6973746564526f6c653a2063616c6c657220646f6573206e6f742068617665207468652057686974656c697374656420726f6c655361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a72315820136d18238a0117af443b6478f93717634613569c9d7b57b8aa59949e160fc13064736f6c63430005110032526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373000000000000000000000000467f3c612e47a4e8b053f1ed673cd3952bab388100000000000000000000000009350b691c36c9dc2245e70a0da9a39e874a6f130000000000000000000000000000000000000000000000000000000000000080000000000000000000000000acc15dc74880c9944775448304b263d191c6077f00000000000000000000000000000000000000000000000000000000000000020000000000000000000000006a2d262d56735dba19dd70682b39f6be9a931d9800000000000000000000000081ecac0d6be0550a00ff064a4f9dd2400585fe9c
Deployed Bytecode
0x6080604052600436106101355760003560e01c80638da5cb5b116100ab578063bab29b0b1161006f578063bab29b0b146103c8578063bb5f747b146103dd578063d159404814610410578063d6cd947314610443578063f242862114610458578063f2fde38b1461046d57610135565b80638da5cb5b1461032c5780638f32d59b1461034157806394e6fd6014610356578063aeb8fbf914610389578063b1f884271461039e57610135565b80633af32abf116100fd5780633af32abf146102215780634c5a628c146102685780635253baae1461027d578063715018a6146102b35780637362d9c8146102c857806385113156146102fb57610135565b806310154bad1461013a5780631eac74b31461016f578063291d9549146101c457806329dcb0cf146101f75780632c3bfc081461020c575b600080fd5b34801561014657600080fd5b5061016d6004803603602081101561015d57600080fd5b50356001600160a01b03166104a0565b005b34801561017b57600080fd5b506101b26004803603606081101561019257600080fd5b506001600160a01b038135811691602081013590911690604001356104f7565b60408051918252519081900360200190f35b3480156101d057600080fd5b5061016d600480360360208110156101e757600080fd5b50356001600160a01b0316610928565b34801561020357600080fd5b506101b2610977565b34801561021857600080fd5b506101b261097d565b34801561022d57600080fd5b506102546004803603602081101561024457600080fd5b50356001600160a01b0316610982565b604080519115158252519081900360200190f35b34801561027457600080fd5b5061016d61099d565b6101b26004803603606081101561029357600080fd5b506001600160a01b038135811691602081013590911690604001356109af565b3480156102bf57600080fd5b5061016d611402565b3480156102d457600080fd5b5061016d600480360360208110156102eb57600080fd5b50356001600160a01b03166114a5565b34801561030757600080fd5b506103106114f4565b604080516001600160a01b039092168252519081900360200190f35b34801561033857600080fd5b5061031061150c565b34801561034d57600080fd5b5061025461151b565b34801561036257600080fd5b5061016d6004803603602081101561037957600080fd5b50356001600160a01b031661153f565b34801561039557600080fd5b506103106115ba565b3480156103aa57600080fd5b50610310600480360360208110156103c157600080fd5b50356115ce565b3480156103d457600080fd5b506103106115f5565b3480156103e957600080fd5b506102546004803603602081101561040057600080fd5b50356001600160a01b0316611604565b34801561041c57600080fd5b506102546004803603602081101561043357600080fd5b50356001600160a01b0316611617565b34801561044f57600080fd5b5061016d61169a565b34801561046457600080fd5b506103106116aa565b34801561047957600080fd5b5061016d6004803603602081101561049057600080fd5b50356001600160a01b03166116b9565b6104b06104ab61171b565b611604565b6104eb5760405162461bcd60e51b8152600401808060200182810382526040815260200180611ff06040913960400191505060405180910390fd5b6104f48161171f565b50565b6000826001600160a01b0316846001600160a01b0316141561054a5760405162461bcd60e51b815260040180806020018281038252602f815260200180611f58602f913960400191505060405180910390fd5b61055384611767565b80610562575061056283611767565b1561056f57506000610921565b600454606061058582600263ffffffff6117f116565b6040519080825280602002602001820160405280156105ae578160200160208202803883390190505b5090506001600160a01b03861673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156106585760055481516001600160a01b039091169082906000906105f257fe5b60200260200101906001600160a01b031690816001600160a01b03168152505084816106296001845161184b90919063ffffffff16565b8151811061063357fe5b60200260200101906001600160a01b031690816001600160a01b03168152505061072c565b6001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156106bc57858160008151811061068b57fe5b6001600160a01b0392831660209182029290920101526005548251911690829061062990600163ffffffff61184b16565b85816000815181106106ca57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505084816107016001845161184b90919063ffffffff16565b8151811061070b57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250505b60015b815161074290600163ffffffff61184b16565b8110156107a3576004600182038154811061075957fe5b9060005260206000200160009054906101000a90046001600160a01b031682828151811061078357fe5b6001600160a01b039092166020928302919091019091015260010161072f565b506003546040805163d06ca61f60e01b8152600481018781526024820192835284516044830152845160609461010090046001600160a01b03169363d06ca61f938a938893909291606401906020808601910280838360005b838110156108145781810151838201526020016107fc565b50505050905001935050505060006040518083038186803b15801561083857600080fd5b505afa15801561084c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561087557600080fd5b810190808051604051939291908464010000000082111561089557600080fd5b9083019060208201858111156108aa57600080fd5b82518660208202830111640100000000821117156108c757600080fd5b82525081516020918201928201910280838360005b838110156108f45781810151838201526020016108dc565b5050505090500160405250505090508060018251038151811061091357fe5b602002602001015193505050505b9392505050565b6109336104ab61171b565b61096e5760405162461bcd60e51b8152600401808060200182810382526040815260200180611ff06040913960400191505060405180910390fd5b6104f48161188d565b60001981565b600181565b600061099560028363ffffffff6118d516565b90505b919050565b6109ad6109a861171b565b61193c565b565b60006109c16109bc61171b565b610982565b6109fc5760405162461bcd60e51b815260040180806020018281038252603a815260200180612030603a913960400191505060405180910390fd5b60035460ff16610a53576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6003805460ff191690556001600160a01b038481169084161415610aa85760405162461bcd60e51b815260040180806020018281038252602f815260200180611f58602f913960400191505060405180910390fd5b838360006001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610b2c57843414610b25576040805162461bcd60e51b815260206004820152601c60248201527f4e6172523a20536f7572636520616d6f756e74206d69736d6174636800000000604482015290519081900360640190fd5b5083610c4f565b604080516370a0823160e01b815230600482015290516000916001600160a01b038a16916370a0823191602480820192602092909190829003018186803b158015610b7657600080fd5b505afa158015610b8a573d6000803e3d6000fd5b505050506040513d6020811015610ba057600080fd5b50519050610bbf6001600160a01b03891633308963ffffffff61198416565b604080516370a0823160e01b815230600482015290516000916001600160a01b038b16916370a0823191602480820192602092909190829003018186803b158015610c0957600080fd5b505afa158015610c1d573d6000803e3d6000fd5b505050506040513d6020811015610c3357600080fd5b505190506000610c49828463ffffffff61184b16565b93505050505b6004546060610c6582600263ffffffff6117f116565b604051908082528060200260200182016040528015610c8e578160200160208202803883390190505b5090506001600160a01b03891673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610d385760055481516001600160a01b03909116908290600090610cd257fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508781610d096001845161184b90919063ffffffff16565b81518110610d1357fe5b60200260200101906001600160a01b031690816001600160a01b031681525050610e0c565b6001600160a01b03881673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610d9c578881600081518110610d6b57fe5b6001600160a01b03928316602091820292909201015260055482519116908290610d0990600163ffffffff61184b16565b8881600081518110610daa57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508781610de16001845161184b90919063ffffffff16565b81518110610deb57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250505b60015b8151610e2290600163ffffffff61184b16565b811015610e835760046001820381548110610e3957fe5b9060005260206000200160009054906101000a90046001600160a01b0316828281518110610e6357fe5b6001600160a01b0390921660209283029190910190910152600101610e0f565b506001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee141561105d576060600360019054906101000a90046001600160a01b03166001600160a01b0316637ff36ab585600185336000196040518663ffffffff1660e01b81526004018085815260200180602001846001600160a01b03166001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015610f4a578181015183820152602001610f32565b50505050905001955050505050506000604051808303818588803b158015610f7157600080fd5b505af1158015610f85573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f191682016040526020811015610faf57600080fd5b8101908080516040519392919084640100000000821115610fcf57600080fd5b908301906020820185811115610fe457600080fd5b825186602082028301116401000000008211171561100157600080fd5b82525081516020918201928201910280838360005b8381101561102e578181015183820152602001611016565b5050505090500160405250505090508060018251038151811061104d57fe5b6020026020010151935050611392565b6001600160a01b03841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415611199576003546110a7906001600160a01b03878116916101009004168563ffffffff6119e416565b60035460405163791ac94760e01b81526004810185815260016024830181905233606484018190526000196084850181905260a060448601908152875160a4870152875183319761010090046001600160a01b03169663791ac947968c96958b95909490939192909160c4909101906020808801910280838360005b8381101561113b578181015183820152602001611123565b505050509050019650505050505050600060405180830381600087803b15801561116457600080fd5b505af1158015611178573d6000803e3d6000fd5b5050333191506111909050818363ffffffff61184b16565b94505050611392565b6003546111be906001600160a01b03878116916101009004168563ffffffff6119e416565b604080516370a0823160e01b815233600482015290516000916001600160a01b038716916370a0823191602480820192602092909190829003018186803b15801561120857600080fd5b505afa15801561121c573d6000803e3d6000fd5b505050506040513d602081101561123257600080fd5b5051600354604051635c11d79560e01b81526004810187815260016024830181905233606484018190526000196084850181905260a060448601908152895160a487015289519798506101009096046001600160a01b031696635c11d795968c9694958b95909260c4909101906020878101910280838360005b838110156112c45781810151838201526020016112ac565b505050509050019650505050505050600060405180830381600087803b1580156112ed57600080fd5b505af1158015611301573d6000803e3d6000fd5b5050604080516370a0823160e01b81523360048201529051600093506001600160a01b03891692506370a0823191602480820192602092909190829003018186803b15801561134f57600080fd5b505afa158015611363573d6000803e3d6000fd5b505050506040513d602081101561137957600080fd5b5051905061138d818363ffffffff61184b16565b945050505b829550876001600160a01b0316896001600160a01b03167f3c9f9e05a5650785677adb0f72e5645fb18750d08069c5f0c3b4ea72962c2fdb8989604051808381526020018281526020019250505060405180910390a350506003805460ff19166001179055509195945050505050565b61140a61151b565b61145b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6114b06104ab61171b565b6114eb5760405162461bcd60e51b8152600401808060200182810382526040815260200180611ff06040913960400191505060405180910390fd5b6104f481611afc565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b6000546001600160a01b031690565b600080546001600160a01b031661153061171b565b6001600160a01b031614905090565b61154761151b565b611598576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b60035461010090046001600160a01b031681565b600481815481106115db57fe5b6000918252602090912001546001600160a01b0316905081565b6006546001600160a01b031681565b600061099560018363ffffffff6118d516565b60065460408051631a2b280960e31b81526001600160a01b0384811660048301529151600093929092169163d159404891602480820192602092909190829003018186803b15801561166857600080fd5b505afa15801561167c573d6000803e3d6000fd5b505050506040513d602081101561169257600080fd5b505192915050565b6109ad6116a561171b565b61188d565b6005546001600160a01b031681565b6116c161151b565b611712576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6104f481611b44565b3390565b61173060028263ffffffff611be416565b6040516001600160a01b038216907fee1504a83b6d4a361f4c1dc78ab59bfa30d6a3b6612c403e86bb01ef2984295f90600090a250565b60006001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee141561179d576005546001600160a01b031691505b60005b6004548110156117e857600481815481106117b757fe5b6000918252602090912001546001600160a01b03848116911614156117e0576001915050610998565b6001016117a0565b50600092915050565b600082820183811015610921576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061092183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611c65565b61189e60028263ffffffff611cfc16565b6040516001600160a01b038216907f270d9b30cf5b0793bbfd54c9d5b94aeb49462b8148399000265144a8722da6b690600090a250565b60006001600160a01b03821661191c5760405162461bcd60e51b8152600401808060200182810382526022815260200180611fce6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b61194d60018263ffffffff611cfc16565b6040516001600160a01b038216907f0a8eb35e5ca14b3d6f28e4abf2f128dbab231a58b56e89beb5d636115001e16590600090a250565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526119de908590611d63565b50505050565b801580611a6a575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611a3c57600080fd5b505afa158015611a50573d6000803e3d6000fd5b505050506040513d6020811015611a6657600080fd5b5051155b611aa55760405162461bcd60e51b81526004018080602001828103825260368152602001806120946036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611af7908490611d63565b505050565b611b0d60018263ffffffff611be416565b6040516001600160a01b038216907f22380c05984257a1cb900161c713dd71d39e74820f1aea43bd3f1bdd2096129990600090a250565b6001600160a01b038116611b895760405162461bcd60e51b8152600401808060200182810382526026815260200180611f876026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b611bee82826118d5565b15611c40576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60008184841115611cf45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611cb9578181015183820152602001611ca1565b50505050905090810190601f168015611ce65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b611d0682826118d5565b611d415760405162461bcd60e51b8152600401808060200182810382526021815260200180611fad6021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b611d75826001600160a01b0316611f1b565b611dc6576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310611e045780518252601f199092019160209182019101611de5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611e66576040519150601f19603f3d011682016040523d82523d6000602084013e611e6b565b606091505b509150915081611ec2576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156119de57808060200190516020811015611ede57600080fd5b50516119de5760405162461bcd60e51b815260040180806020018281038252602a81526020018061206a602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611f4f57508115155b94935050505056fe4e6172523a2044657374696e6174696f6e20746f6b656e2063616e206e6f7420626520736f7572636520746f6b656e4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c65526f6c65733a206163636f756e7420697320746865207a65726f206164647265737357686974656c69737441646d696e526f6c653a2063616c6c657220646f6573206e6f742068617665207468652057686974656c69737441646d696e20726f6c6557686974656c6973746564526f6c653a2063616c6c657220646f6573206e6f742068617665207468652057686974656c697374656420726f6c655361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a72315820136d18238a0117af443b6478f93717634613569c9d7b57b8aa59949e160fc13064736f6c63430005110032
Deployed Bytecode Sourcemap
29773:5793:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22302:110;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22302:110:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22302:110:0;-1:-1:-1;;;;;22302:110:0;;:::i;:::-;;33941:1208;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33941:1208:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;33941:1208:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;22420:116;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22420:116:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22420:116:0;-1:-1:-1;;;;;22420:116:0;;:::i;30188:47::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30188:47:0;;;:::i;30141:40::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30141:40:0;;;:::i;22175:119::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22175:119:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22175:119:0;-1:-1:-1;;;;;22175:119:0;;:::i;:::-;;;;;;;;;;;;;;;;;;20922:95;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20922:95:0;;;:::i;30934:2999::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;30934:2999:0;;;;;;;;;;;;;;;;;:::i;28768:140::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28768:140:0;;;:::i;20798:116::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20798:116:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20798:116:0;-1:-1:-1;;;;;20798:116:0;;:::i;30023:86::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30023:86:0;;;:::i;:::-;;;;-1:-1:-1;;;;;30023:86:0;;;;;;;;;;;;;;27957:79;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27957:79:0;;;:::i;28323:94::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28323:94:0;;;:::i;30597:144::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30597:144:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30597:144:0;-1:-1:-1;;;;;30597:144:0;;:::i;29941:31::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29941:31:0;;;:::i;29979:35::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29979:35:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29979:35:0;;:::i;30244:23::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30244:23:0;;;:::i;20665:125::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20665:125:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20665:125:0;-1:-1:-1;;;;;20665:125:0;;:::i;30749:177::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30749:177:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30749:177:0;-1:-1:-1;;;;;30749:177:0;;:::i;22544:89::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22544:89:0;;;:::i;30116:18::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30116:18:0;;;:::i;29063:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29063:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29063:109:0;-1:-1:-1;;;;;29063:109:0;;:::i;22302:110::-;20538:30;20555:12;:10;:12::i;:::-;20538:16;:30::i;:::-;20530:107;;;;-1:-1:-1;;;20530:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22380:24;22396:7;22380:15;:24::i;:::-;22302:110;:::o;33941:1208::-;34107:19;34160:5;-1:-1:-1;;;;;34152:13:0;:4;-1:-1:-1;;;;;34152:13:0;;;34144:73;;;;-1:-1:-1;;;34144:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34232:31;34258:4;34232:25;:31::i;:::-;:67;;;;34267:32;34293:5;34267:25;:32::i;:::-;34228:108;;;-1:-1:-1;34323:1:0;34316:8;;34228:108;34369:19;:26;34406:21;34444:17;34369:26;34459:1;34444:17;:14;:17;:::i;:::-;34430:32;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;34430:32:0;-1:-1:-1;34406:56:0;-1:-1:-1;;;;;;34478:18:0;;30066:42;34478:18;34475:359;;;34528:4;;34510:7;;-1:-1:-1;;;;;34528:4:0;;;;34510;;34528;;34510:7;;;;;;;;;:23;-1:-1:-1;;;;;34510:23:0;;;-1:-1:-1;;;;;34510:23:0;;;;;34581:5;34546:4;34551:18;34567:1;34551:4;:11;:15;;:18;;;;:::i;:::-;34546:24;;;;;;;;;;;;;:41;-1:-1:-1;;;;;34546:41:0;;;-1:-1:-1;;;;;34546:41:0;;;;;34475:359;;;-1:-1:-1;;;;;34607:19:0;;30066:42;34607:19;34604:230;;;34658:4;34640;34645:1;34640:7;;;;;;;;-1:-1:-1;;;;;34640:23:0;;;:7;;;;;;;;;:23;34711:4;;34681:11;;34711:4;;;34676;;34681:18;;34711:4;34681:18;:15;:18;:::i;34604:230::-;34763:4;34745;34750:1;34745:7;;;;;;;;;;;;;:23;-1:-1:-1;;;;;34745:23:0;;;-1:-1:-1;;;;;34745:23:0;;;;;34816:5;34781:4;34786:18;34802:1;34786:4;:11;:15;;:18;;;;:::i;:::-;34781:24;;;;;;;;;;;;;:41;-1:-1:-1;;;;;34781:41:0;;;-1:-1:-1;;;;;34781:41:0;;;;;34604:230;34909:1;34892:119;34916:11;;:18;;34932:1;34916:18;:15;:18;:::i;:::-;34912:1;:22;34892:119;;;34972:19;34996:1;34992;:5;34972:26;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34972:26:0;34954:4;34959:1;34954:7;;;;;;;;-1:-1:-1;;;;;34954:45:0;;;:7;;;;;;;;;;;:45;34936:3;;34892:119;;;-1:-1:-1;35050:7:0;;:39;;;-1:-1:-1;;;35050:39:0;;;;;;;;;;;;;;;;;;;;;;35023:24;;35050:7;;;-1:-1:-1;;;;;35050:7:0;;:21;;:39;;;;;;;;;;;;;;;;;;;-1:-1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;35050:39:0;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35050:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35050:39:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;35050:39:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;35050:39:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;373:25;;-1:-1;35050:39:0;;421:4:-1;412:14;;;;35050:39:0;;;;;412:14:-1;35050:39:0;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;35050:39:0;;;;;;;;;;;35023:66;;35114:7;35139:1;35122:7;:14;:18;35114:27;;;;;;;;;;;;;;35100:41;;33941:1208;;;;;;;;;:::o;22420:116::-;20538:30;20555:12;:10;:12::i;20538:30::-;20530:107;;;;-1:-1:-1;;;20530:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22501:27;22520:7;22501:18;:27::i;30188:47::-;-1:-1:-1;;30188:47:0;:::o;30141:40::-;30180:1;30141:40;:::o;22175:119::-;22236:4;22260:26;:13;22278:7;22260:26;:17;:26;:::i;:::-;22253:33;;22175:119;;;;:::o;20922:95::-;20974:35;20996:12;:10;:12::i;:::-;20974:21;:35::i;:::-;20922:95::o;30934:2999::-;31127:19;22057:27;22071:12;:10;:12::i;:::-;22057:13;:27::i;:::-;22049:98;;;;-1:-1:-1;;;22049:98:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2039:11;;;;2031:55;;;;;-1:-1:-1;;;2031:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;2164:11;:19;;-1:-1:-1;;2164:19:0;;;-1:-1:-1;;;;;31172:13:0;;;;;;;;31164:73;;;;-1:-1:-1;;;31164:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31263:4;31291:5;31250:10;-1:-1:-1;;;;;31341:18:0;;30066:42;31341:18;31337:462;;;31397:10;31384:9;:23;31376:64;;;;;-1:-1:-1;;;31376:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31467:10:0;31337:462;;;31531:29;;;-1:-1:-1;;;31531:29:0;;31554:4;31531:29;;;;;;31510:18;;-1:-1:-1;;;;;31531:14:0;;;;;:29;;;;;;;;;;;;;;;:14;:29;;;5:2:-1;;;;30:1;27;20:12;5:2;31531:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31531:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;31531:29:0;;-1:-1:-1;31575:60:0;-1:-1:-1;;;;;31575:21:0;;31597:10;31617:4;31624:10;31575:60;:21;:60;:::i;:::-;31670:29;;;-1:-1:-1;;;31670:29:0;;31693:4;31670:29;;;;;;31650:17;;-1:-1:-1;;;;;31670:14:0;;;;;:29;;;;;;;;;;;;;;;:14;:29;;;5:2:-1;;;;30:1;27;20:12;5:2;31670:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31670:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;31670:29:0;;-1:-1:-1;31714:13:0;31730:25;31670:29;31744:10;31730:25;:13;:25;:::i;:::-;31714:41;-1:-1:-1;;;;31337:462:0;31832:19;:26;31869:21;31907:17;31832:26;31922:1;31907:17;:14;:17;:::i;:::-;31893:32;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;31893:32:0;-1:-1:-1;31869:56:0;-1:-1:-1;;;;;;31939:18:0;;30066:42;31939:18;31936:359;;;31989:4;;31971:7;;-1:-1:-1;;;;;31989:4:0;;;;31971;;31989;;31971:7;;;;;;;;;:23;-1:-1:-1;;;;;31971:23:0;;;-1:-1:-1;;;;;31971:23:0;;;;;32042:5;32007:4;32012:18;32028:1;32012:4;:11;:15;;:18;;;;:::i;:::-;32007:24;;;;;;;;;;;;;:41;-1:-1:-1;;;;;32007:41:0;;;-1:-1:-1;;;;;32007:41:0;;;;;31936:359;;;-1:-1:-1;;;;;32068:19:0;;30066:42;32068:19;32065:230;;;32119:4;32101;32106:1;32101:7;;;;;;;;-1:-1:-1;;;;;32101:23:0;;;:7;;;;;;;;;:23;32172:4;;32142:11;;32172:4;;;32137;;32142:18;;32172:4;32142:18;:15;:18;:::i;32065:230::-;32224:4;32206;32211:1;32206:7;;;;;;;;;;;;;:23;-1:-1:-1;;;;;32206:23:0;;;-1:-1:-1;;;;;32206:23:0;;;;;32277:5;32242:4;32247:18;32263:1;32247:4;:11;:15;;:18;;;;:::i;:::-;32242:24;;;;;;;;;;;;;:41;-1:-1:-1;;;;;32242:41:0;;;-1:-1:-1;;;;;32242:41:0;;;;;32065:230;32370:1;32353:119;32377:11;;:18;;32393:1;32377:18;:15;:18;:::i;:::-;32373:1;:22;32353:119;;;32433:19;32457:1;32453;:5;32433:26;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32433:26:0;32415:4;32420:1;32415:7;;;;;;;;-1:-1:-1;;;;;32415:45:0;;;:7;;;;;;;;;;;:45;32397:3;;32353:119;;;-1:-1:-1;;;;;;32490:17:0;;30066:42;32490:17;32486:1343;;;32526:24;32553:7;;;;;;;;;-1:-1:-1;;;;;32553:7:0;-1:-1:-1;;;;;32553:29:0;;32589:9;30180:1;32653:4;32678:10;-1:-1:-1;;32553:181:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32553:181:0;-1:-1:-1;;;;;32553:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;32553:181:0;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32553:181:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32553:181:0;;;;;;;39:16:-1;36:1;17:17;2:54;101:4;32553:181:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;32553:181:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;373:25;;-1:-1;32553:181:0;;421:4:-1;412:14;;;;32553:181:0;;;;;412:14:-1;32553:181:0;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;32553:181:0;;;;;;;;;;;32526:208;;32763:7;32788:1;32771:7;:14;:18;32763:27;;;;;;;;;;;;;;32751:39;;32486:1343;;;;-1:-1:-1;;;;;32814:18:0;;30066:42;32814:18;32810:1019;;;32875:7;;32851:44;;-1:-1:-1;;;;;32851:15:0;;;;32875:7;;;;32885:9;32851:44;:15;:44;:::i;:::-;32969:7;;:223;;-1:-1:-1;;;32969:223:0;;;;;;;;:7;:223;;;;;;32934:10;32969:223;;;;;;-1:-1:-1;;32969:223:0;;;;;;;;;;;;;;;;;;;;;32934:18;;;32969:7;;;-1:-1:-1;;;;;32969:7:0;;:58;;33048:9;;32969:7;33111:4;;32934:10;;30223:12;;32969:223;;;;;;;;;;;;;;;;;;32912:19;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;32969:223:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32969:223:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;33230:10:0;:18;;-1:-1:-1;33277:27:0;;-1:-1:-1;33230:18:0;33292:11;33277:27;:14;:27;:::i;:::-;33265:39;;32810:1019;;;;;33367:7;;33343:44;;-1:-1:-1;;;;;33343:15:0;;;;33367:7;;;;33377:9;33343:44;:15;:44;:::i;:::-;33426:26;;;-1:-1:-1;;;33426:26:0;;33441:10;33426:26;;;;;;33404:19;;-1:-1:-1;;;;;33426:14:0;;;;;:26;;;;;;;;;;;;;;;:14;:26;;;5:2:-1;;;;30:1;27;20:12;5:2;33426:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33426:26:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33426:26:0;33469:7;;:226;;-1:-1:-1;;;33469:226:0;;;;;;;;:7;:226;;;;;;33639:10;33469:226;;;;;;-1:-1:-1;;33469:226:0;;;;;;;;;;;;;;;;;;;;;33426:26;;-1:-1:-1;33469:7:0;;;;-1:-1:-1;;;;;33469:7:0;;:61;;:226;;:7;;:226;;;;;;;;;-1:-1:-1;33469:226:0;;;;;;;;-1:-1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;33469:226:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33469:226:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;33733:26:0;;;-1:-1:-1;;;33733:26:0;;33748:10;33733:26;;;;;;33712:18;;-1:-1:-1;;;;;;33733:14:0;;;-1:-1:-1;33733:14:0;;:26;;;;;;;;;;;;;;;:14;:26;;;5:2:-1;;;;30:1;27;20:12;5:2;33733:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33733:26:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33733:26:0;;-1:-1:-1;33788:27:0;33733:26;33803:11;33788:27;:14;:27;:::i;:::-;33776:39;;32810:1019;;;33855:9;33841:23;;33906:5;-1:-1:-1;;;;;33882:43:0;33888:4;-1:-1:-1;;;;;33882:43:0;;33894:10;33913:11;33882:43;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2344:11:0;:18;;-1:-1:-1;;2344:18:0;2358:4;2344:18;;;-1:-1:-1;30934:2999:0;;;-1:-1:-1;;;;;30934:2999:0:o;28768:140::-;28169:9;:7;:9::i;:::-;28161:54;;;;;-1:-1:-1;;;28161:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28867:1;28851:6;;28830:40;;-1:-1:-1;;;;;28851:6:0;;;;28830:40;;28867:1;;28830:40;28898:1;28881:19;;-1:-1:-1;;;;;;28881:19:0;;;28768:140::o;20798:116::-;20538:30;20555:12;:10;:12::i;20538:30::-;20530:107;;;;-1:-1:-1;;;20530:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20879:27;20898:7;20879:18;:27::i;30023:86::-;30066:42;30023:86;:::o;27957:79::-;27995:7;28022:6;-1:-1:-1;;;;;28022:6:0;27957:79;:::o;28323:94::-;28363:4;28403:6;;-1:-1:-1;;;;;28403:6:0;28387:12;:10;:12::i;:::-;-1:-1:-1;;;;;28387:22:0;;28380:29;;28323:94;:::o;30597:144::-;28169:9;:7;:9::i;:::-;28161:54;;;;;-1:-1:-1;;;28161:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30704:7;:29;;-1:-1:-1;;;;;;30704:29:0;-1:-1:-1;;;;;30704:29:0;;;;;;;;;;30597:144::o;29941:31::-;;;;;;-1:-1:-1;;;;;29941:31:0;;:::o;29979:35::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29979:35:0;;-1:-1:-1;29979:35:0;:::o;30244:23::-;;;-1:-1:-1;;;;;30244:23:0;;:::o;20665:125::-;20729:4;20753:29;:16;20774:7;20753:29;:20;:29;:::i;30749:177::-;30874:7;;:44;;;-1:-1:-1;;;30874:44:0;;-1:-1:-1;;;;;30874:44:0;;;;;;;;;30843:4;;30874:7;;;;;:28;;:44;;;;;;;;;;;;;;;:7;:44;;;5:2:-1;;;;30:1;27;20:12;5:2;30874:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30874:44:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30874:44:0;;30749:177;-1:-1:-1;;30749:177:0:o;22544:89::-;22593:32;22612:12;:10;:12::i;:::-;22593:18;:32::i;30116:18::-;;;-1:-1:-1;;;;;30116:18:0;;:::o;29063:109::-;28169:9;:7;:9::i;:::-;28161:54;;;;;-1:-1:-1;;;28161:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29136:28;29155:8;29136:18;:28::i;18519:98::-;18599:10;18519:98;:::o;22641:137::-;22703:26;:13;22721:7;22703:26;:17;:26;:::i;:::-;22745:25;;-1:-1:-1;;;;;22745:25:0;;;;;;;;22641:137;:::o;35157:406::-;35272:4;-1:-1:-1;;;;;35298:19:0;;30066:42;35298:19;35294:64;;;35342:4;;-1:-1:-1;;;;;35342:4:0;;-1:-1:-1;35294:64:0;35373:9;35368:165;35392:19;:26;35388:30;;35368:165;;;35452:19;35472:1;35452:22;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35443:31:0;;;35452:22;;35443:31;35440:82;;;35502:4;35495:11;;;;;35440:82;35420:3;;35368:165;;;-1:-1:-1;35550:5:0;;35157:406;-1:-1:-1;;35157:406:0:o;6170:181::-;6228:7;6260:5;;;6284:6;;;;6276:46;;;;;-1:-1:-1;;;6276:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;6626:136;6684:7;6711:43;6715:1;6718;6711:43;;;;;;;;;;;;;;;;;:3;:43::i;22786:145::-;22851:29;:13;22872:7;22851:29;:20;:29;:::i;:::-;22896:27;;-1:-1:-1;;;;;22896:27:0;;;;;;;;22786:145;:::o;19720:203::-;19792:4;-1:-1:-1;;;;;19817:21:0;;19809:68;;;;-1:-1:-1;;;19809:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19895:20:0;:11;:20;;;;;;;;;;;;;;;19720:203::o;21179:154::-;21247:32;:16;21271:7;21247:32;:23;:32;:::i;:::-;21295:30;;-1:-1:-1;;;;;21295:30:0;;;;;;;;21179:154;:::o;14685:204::-;14812:68;;;-1:-1:-1;;;;;14812:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;14812:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;14786:95:0;;14805:5;;14786:18;:95::i;:::-;14685:204;;;;:::o;14897:621::-;15267:10;;;15266:62;;-1:-1:-1;15283:39:0;;;-1:-1:-1;;;15283:39:0;;15307:4;15283:39;;;;-1:-1:-1;;;;;15283:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;15283:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15283:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15283:39:0;:44;15266:62;15258:152;;;;-1:-1:-1;;;15258:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15447:62;;;-1:-1:-1;;;;;15447:62:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;15447:62:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;15421:89:0;;15440:5;;15421:18;:89::i;:::-;14897:621;;;:::o;21025:146::-;21090:29;:16;21111:7;21090:29;:20;:29;:::i;:::-;21135:28;;-1:-1:-1;;;;;21135:28:0;;;;;;;;21025:146;:::o;29278:229::-;-1:-1:-1;;;;;29352:22:0;;29344:73;;;;-1:-1:-1;;;29344:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29454:6;;;29433:38;;-1:-1:-1;;;;;29433:38:0;;;;29454:6;;;29433:38;;;29482:6;:17;;-1:-1:-1;;;;;;29482:17:0;-1:-1:-1;;;;;29482:17:0;;;;;;;;;;29278:229::o;19184:178::-;19262:18;19266:4;19272:7;19262:3;:18::i;:::-;19261:19;19253:63;;;;;-1:-1:-1;;;19253:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19327:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;19327:27:0;19350:4;19327:27;;;19184:178::o;7099:192::-;7185:7;7221:12;7213:6;;;;7205:29;;;;-1:-1:-1;;;7205:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;7205:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7257:5:0;;;7099:192::o;19442:183::-;19522:18;19526:4;19532:7;19522:3;:18::i;:::-;19514:64;;;;-1:-1:-1;;;19514:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19589:20:0;19612:5;19589:20;;;;;;;;;;;:28;;-1:-1:-1;;19589:28:0;;;19442:183::o;16540:1114::-;17144:27;17152:5;-1:-1:-1;;;;;17144:25:0;;:27::i;:::-;17136:71;;;;;-1:-1:-1;;;17136:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17281:12;17295:23;17330:5;-1:-1:-1;;;;;17322:19:0;17342:4;17322:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;17322:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;17280:67:0;;;;17366:7;17358:52;;;;;-1:-1:-1;;;17358:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17427:17;;:21;17423:224;;17569:10;17558:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17558:30:0;17550:85;;;;-1:-1:-1;;;17550:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11530:619;11590:4;12058:20;;11901:66;12098:23;;;;;;:42;;-1:-1:-1;12125:15:0;;;12098:42;12090:51;11530:619;-1:-1:-1;;;;11530:619:0:o
Swarm Source
bzzr://136d18238a0117af443b6478f93717634613569c9d7b57b8aa59949e160fc130
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in GLMR
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.