Source Code
Latest 25 from a total of 8,751 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 17785393 | 939 days ago | IN | 0.00206352 ETH | 0.00102703 | ||||
| Swap ETH For Tok... | 11792759 | 1842 days ago | IN | 0.22 ETH | 0.02357927 | ||||
| Swap Tokens For ... | 11792668 | 1842 days ago | IN | 0 ETH | 0.03758458 | ||||
| Swap ETH For Tok... | 11792663 | 1842 days ago | IN | 0.55518706 ETH | 0.0355575 | ||||
| Swap ETH For Tok... | 11792579 | 1842 days ago | IN | 1 ETH | 0.04696114 | ||||
| Swap Tokens For ... | 11792507 | 1842 days ago | IN | 0 ETH | 0.18350376 | ||||
| Swap ETH For Tok... | 11792503 | 1842 days ago | IN | 0.62320827 ETH | 0.08793486 | ||||
| Swap Tokens For ... | 11792453 | 1842 days ago | IN | 0 ETH | 0.0452595 | ||||
| Swap Tokens For ... | 11792428 | 1842 days ago | IN | 0 ETH | 0.05628097 | ||||
| Swap ETH For Tok... | 11792414 | 1842 days ago | IN | 0.9975243 ETH | 0.03971232 | ||||
| Swap Tokens For ... | 11792413 | 1842 days ago | IN | 0 ETH | 0.08529185 | ||||
| Swap Tokens For ... | 11792376 | 1842 days ago | IN | 0 ETH | 0.0434962 | ||||
| Swap Tokens For ... | 11792356 | 1842 days ago | IN | 0 ETH | 0.0426147 | ||||
| Swap ETH For Tok... | 11792310 | 1842 days ago | IN | 0.42830483 ETH | 0.04420467 | ||||
| Swap ETH For Tok... | 11792187 | 1842 days ago | IN | 0.29170287 ETH | 0.02163972 | ||||
| Swap Tokens For ... | 11792054 | 1842 days ago | IN | 0 ETH | 0.02672991 | ||||
| Swap ETH For Tok... | 11792013 | 1842 days ago | IN | 6.04050764 ETH | 0.04118528 | ||||
| Swap ETH For Tok... | 11791964 | 1842 days ago | IN | 0.22879437 ETH | 0.04541537 | ||||
| Swap ETH For Tok... | 11791962 | 1842 days ago | IN | 1.80542434 ETH | 0.04128926 | ||||
| Swap Tokens For ... | 11791861 | 1842 days ago | IN | 0 ETH | 0.05094463 | ||||
| Swap ETH For Tok... | 11791844 | 1842 days ago | IN | 1.20875866 ETH | 0.04561588 | ||||
| Swap ETH For Tok... | 11791840 | 1842 days ago | IN | 0.02104642 ETH | 0.04872575 | ||||
| Swap Tokens For ... | 11791722 | 1842 days ago | IN | 0 ETH | 0.03303686 | ||||
| Swap ETH For Tok... | 11791625 | 1842 days ago | IN | 0.09096201 ETH | 0.03119994 | ||||
| Swap Tokens For ... | 11791442 | 1842 days ago | IN | 0 ETH | 0.02429782 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 11792759 | 1842 days ago | 0.2189 ETH | ||||
| - | 11792759 | 1842 days ago | 0.0011 ETH | ||||
| - | 11792668 | 1842 days ago | 0.16835306 ETH | ||||
| - | 11792668 | 1842 days ago | 0.16835306 ETH | ||||
| - | 11792663 | 1842 days ago | 0.55241113 ETH | ||||
| - | 11792663 | 1842 days ago | 0.00277593 ETH | ||||
| - | 11792579 | 1842 days ago | 0.995 ETH | ||||
| - | 11792579 | 1842 days ago | 0.005 ETH | ||||
| - | 11792503 | 1842 days ago | 0.62009223 ETH | ||||
| - | 11792503 | 1842 days ago | 0.00311604 ETH | ||||
| - | 11792453 | 1842 days ago | 4.60373136 ETH | ||||
| - | 11792453 | 1842 days ago | 4.60373136 ETH | ||||
| - | 11792428 | 1842 days ago | 0.0738448 ETH | ||||
| - | 11792428 | 1842 days ago | 0.0738448 ETH | ||||
| - | 11792414 | 1842 days ago | 0.99253668 ETH | ||||
| - | 11792414 | 1842 days ago | 0.00498762 ETH | ||||
| - | 11792413 | 1842 days ago | 0.92102278 ETH | ||||
| - | 11792413 | 1842 days ago | 0.92102278 ETH | ||||
| - | 11792376 | 1842 days ago | 0.40097926 ETH | ||||
| - | 11792376 | 1842 days ago | 0.40097926 ETH | ||||
| - | 11792356 | 1842 days ago | 0.20115494 ETH | ||||
| - | 11792356 | 1842 days ago | 0.20115494 ETH | ||||
| - | 11792310 | 1842 days ago | 0.4261633 ETH | ||||
| - | 11792310 | 1842 days ago | 0.00214152 ETH | ||||
| - | 11792187 | 1842 days ago | 0.29024436 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
SwapProxy
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GNU-3.0
pragma solidity =0.6.12;
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC20/SafeERC20.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/ReentrancyGuard.sol';
import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol';
/**
@title Coinbase Wallet Swap Proxy
This contract is meant to be stateless and not meant to custody funds.
Any funds sent directly to this contract may not be recoverable.
*/
contract SwapProxy is ReentrancyGuard, Ownable {
using SafeERC20 for IERC20;
using SafeMath for uint256;
// ETH Indicator
address private constant ETH_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
// WETH address
address private immutable _WETH;
// Fee collection beneficiary
address payable private _beneficiary;
// Uniswap V2 router
IUniswapV2Router02 private immutable _uniswapV2Router;
// Event fired after a successful swap
event TokensTraded(
address indexed sender,
address indexed from,
address indexed to,
uint256 fromAmount,
uint256 toAmount,
uint256 fee
);
// Event fired after updating beneficiary address
event BeneficiaryUpdate(address indexed beneficiary);
constructor(address uniswapV2Router, address payable beneficiary, address WETH) public {
_uniswapV2Router = IUniswapV2Router02(uniswapV2Router);
_beneficiary = beneficiary;
_WETH = WETH;
}
/// @dev Execute swap operation from ETH to ERC20
/// @param toERC20 Destination ERC20 contract address
/// @param minAmount Minimum amount of ERC20 tokens to receive in base units
/// @param fee Fee collected and sent to the beneficiary, deducted from msg.value
function swapETHForTokens(
IERC20 toERC20,
uint256 minAmount,
uint256 fee
) external payable nonReentrant() {
require(msg.value > fee, "fee cannot exceed msg.value");
require(msg.sender != _beneficiary, "msg.sender can't be beneficiary");
address contractAddress = address(this);
uint256 beneficiaryBalance = _beneficiary.balance;
// Send Coinbase fee
_sendETH(_beneficiary, fee);
require(
_beneficiary.balance >= beneficiaryBalance.add(fee),
"beneficiary didn't receive fees"
);
// Execute the swap through Uniswap
uint256 fromAmount = msg.value.sub(fee);
address[] memory path = new address[](2);
path[0] = _WETH;
path[1] = address(toERC20);
uint256[] memory amounts = _uniswapV2Router.swapExactETHForTokens{ value: fromAmount }(
minAmount,
path,
contractAddress,
block.timestamp
);
uint256 toAmount = amounts[1];
// Send swapped ERC20s back to user
_sendERC20(toERC20, msg.sender, toAmount);
emit TokensTraded(msg.sender, ETH_ADDRESS, address(toERC20), fromAmount, toAmount, fee);
}
/// @dev Execute swap operation from ERC20 to ETH
/// @param fromERC20 Source ERC20 contract address or ETH indicator
/// @param fromAmount Amount of ERC20 tokens to sell in base units
/// @param minAmount Minimum amount of ETH to receive in base units
/// @param fee Fee collected and sent to the beneficiary, deducted from fromAmount
function swapTokensForETH(
IERC20 fromERC20,
uint256 fromAmount,
uint256 minAmount,
uint256 fee
) external payable nonReentrant() {
require(fromAmount > fee, "fee cannot exceed fromAmount");
require(msg.sender != _beneficiary, "msg.sender can't be beneficiary");
address contractAddress = address(this);
uint256 beneficiaryBalance = fromERC20.balanceOf(_beneficiary);
uint256 fromAmountMinusFee = fromAmount.sub(fee);
// Pull the funds into the smart contract
fromERC20.safeTransferFrom(msg.sender, contractAddress, fromAmountMinusFee);
// Send Coinbase fee
if (fee > 0) {
fromERC20.safeTransferFrom(msg.sender, _beneficiary, fee);
}
require(
fromERC20.balanceOf(_beneficiary) >= beneficiaryBalance.add(fee),
"beneficiary didn't receive fees"
);
// Execute the swap through Uniswap
address[] memory path = new address[](2);
path[0] = address(fromERC20);
path[1] = address(_WETH);
uint256[] memory amounts = _uniswapV2Router.swapExactTokensForETH(
fromAmountMinusFee,
minAmount,
path,
contractAddress,
block.timestamp
);
uint256 toAmount = amounts[1];
// Send swapped ETH back to user
_sendETH(msg.sender, toAmount);
emit TokensTraded(
msg.sender,
address(fromERC20),
ETH_ADDRESS,
fromAmountMinusFee,
toAmount,
fee
);
}
/// @dev Execute swap operation from ERC20 to ERC20
/// @param fromERC20 Source ERC20 contract address or ETH indicator
/// @param toERC20 Destination ERC20 contract address or ETH indicator
/// @param fromAmount Amount of ERC20 tokens to sell in base units
/// @param minAmount Minimum amount of ERC20 tokens to receive in base units
/// @param fee Fee collected and sent to the beneficiary, deducted from fromAmount
function swapTokensForTokens(
IERC20 fromERC20,
IERC20 toERC20,
uint256 fromAmount,
uint256 minAmount,
uint256 fee
) external payable nonReentrant() {
require(fromAmount > fee, "fee cannot exceed fromAmount");
require(msg.sender != _beneficiary, "msg.sender can't be beneficiary");
address contractAddress = address(this);
uint256 beneficiaryBalance = fromERC20.balanceOf(_beneficiary);
uint256 fromAmountMinusFee = fromAmount.sub(fee);
// Pull the funds into the smart contract
fromERC20.safeTransferFrom(msg.sender, contractAddress, fromAmountMinusFee);
// Send Coinbase fee
if (fee > 0) {
fromERC20.safeTransferFrom(msg.sender, _beneficiary, fee);
}
require(
fromERC20.balanceOf(_beneficiary) >= beneficiaryBalance.add(fee),
"beneficiary didn't receive fees"
);
// Execute the swap through Uniswap
address[] memory path = new address[](2);
path[0] = address(fromERC20);
path[1] = address(toERC20);
_uniswapV2Router.swapExactTokensForTokens(
fromAmountMinusFee,
minAmount,
path,
contractAddress,
block.timestamp
);
uint256 toAmount = toERC20.balanceOf(contractAddress);
// Send swapped ERC20s back to user
_sendERC20(toERC20, msg.sender, toAmount);
emit TokensTraded(
msg.sender,
address(fromERC20),
address(toERC20),
fromAmountMinusFee,
toAmount,
fee
);
}
/// @dev Grant ERC20 approval to the Uniswap V2 Router
/// @param tokens List of tokens to approve
function approve(IERC20[] calldata tokens) external onlyOwner {
for (uint i = 0; i < tokens.length; i++) {
IERC20 token = tokens[i];
if (address(token) != ETH_ADDRESS) {
// Approve for the max uint256 amount
token.safeApprove(address(_uniswapV2Router), 2**256 - 1);
}
}
}
function getUniswapV2Router() public view returns(IUniswapV2Router02) {
return _uniswapV2Router;
}
function getBeneficiary() public view returns(address) {
return _beneficiary;
}
/// @dev Updates fee collection beneficiary
/// @param beneficiary Address collecting all the fees
function setBeneficiary(address payable beneficiary) external onlyOwner {
require(beneficiary != address(0));
_beneficiary = beneficiary;
emit BeneficiaryUpdate(beneficiary);
}
// Needed to receive ETH
receive() external payable {}
function _sendETH(address payable toAddress, uint256 amount) private {
if (amount > 0) {
(bool success,) = toAddress.call{ value: amount }("");
require(success, "Unable to send ETH");
}
}
function _sendERC20(IERC20 token, address payable toAddress, uint256 amount) private {
if (amount > 0) {
token.safeTransfer(toAddress, amount);
}
}
}// 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;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
import "../GSN/Context.sol";
/**
* @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;
}
}// SPDX-License-Identifier: MIT
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;
}
}// SPDX-License-Identifier: MIT
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);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
import "./IERC20.sol";
import "../../math/SafeMath.sol";
import "../../utils/Address.sol";
/**
* @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");
}
}
}// SPDX-License-Identifier: MIT
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) {
// This method relies in extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
assembly { size := extcodesize(account) }
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain`call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
return _functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
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);
}
}
}
}// SPDX-License-Identifier: MIT
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;
}
}pragma solidity >=0.6.2;
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint amountADesired,
uint amountBDesired,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB, uint liquidity);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
function removeLiquidity(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB);
function removeLiquidityETH(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountToken, uint amountETH);
function removeLiquidityWithPermit(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountA, uint amountB);
function removeLiquidityETHWithPermit(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountToken, uint amountETH);
function swapExactTokensForTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapTokensForExactTokens(
uint amountOut,
uint amountInMax,
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 swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
external
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 quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}pragma solidity >=0.6.2;
import './IUniswapV2Router01.sol';
interface IUniswapV2Router02 is IUniswapV2Router01 {
function removeLiquidityETHSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountETH);
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountETH);
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;
}{
"remappings": [],
"optimizer": {
"enabled": true,
"runs": 5000000
},
"evmVersion": "istanbul",
"libraries": {
"": {}
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"uniswapV2Router","type":"address"},{"internalType":"address payable","name":"beneficiary","type":"address"},{"internalType":"address","name":"WETH","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"}],"name":"BeneficiaryUpdate","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":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"fromAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"TokensTraded","type":"event"},{"inputs":[{"internalType":"contract IERC20[]","name":"tokens","type":"address[]"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getBeneficiary","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"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":"address payable","name":"beneficiary","type":"address"}],"name":"setBeneficiary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"toERC20","type":"address"},{"internalType":"uint256","name":"minAmount","type":"uint256"},{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"swapETHForTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"fromERC20","type":"address"},{"internalType":"uint256","name":"fromAmount","type":"uint256"},{"internalType":"uint256","name":"minAmount","type":"uint256"},{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"swapTokensForETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"fromERC20","type":"address"},{"internalType":"contract IERC20","name":"toERC20","type":"address"},{"internalType":"uint256","name":"fromAmount","type":"uint256"},{"internalType":"uint256","name":"minAmount","type":"uint256"},{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"swapTokensForTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60c060405234801561001057600080fd5b506040516125b83803806125b88339818101604052606081101561003357600080fd5b5080516020820151604090920151600160009081559192916100536100e2565b600180546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350606092831b6001600160601b031990811660a052600280546001600160a01b0319166001600160a01b03949094169390931790925590911b166080526100e6565b3390565b60805160601c60a05160601c61249061012860003980610311528061063c5280610c1052806110b8528061197e52508061058a528061191452506124906000f3fe6080604052600436106100b45760003560e01c806377a1736b11610069578063d2b778ca1161004e578063d2b778ca1461023b578063f2fde38b1461028a578063fde28bb1146102ca576100bb565b806377a1736b146101a95780638da5cb5b14610226576100bb565b80631c31f7101161009a5780631c31f7101461013f578063565a2e2c1461017f578063715018a614610194576100bb565b806271c175146100c057806306a7bea7146100fe576100bb565b366100bb57005b600080fd5b3480156100cc57600080fd5b506100d561030f565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61013d6004803603606081101561011457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060208101359060400135610333565b005b34801561014b57600080fd5b5061013d6004803603602081101561016257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166108a8565b34801561018b57600080fd5b506100d56109c8565b3480156101a057600080fd5b5061013d6109e4565b3480156101b557600080fd5b5061013d600480360360208110156101cc57600080fd5b8101906020810181356401000000008111156101e757600080fd5b8201836020820111156101f957600080fd5b8035906020019184602083028401116401000000008311171561021b57600080fd5b509092509050610ae4565b34801561023257600080fd5b506100d5610c63565b61013d600480360360a081101561025157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060800135610c7f565b34801561029657600080fd5b5061013d600480360360208110156102ad57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611398565b61013d600480360360808110156102e057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060208101359060408101359060600135611523565b7f000000000000000000000000000000000000000000000000000000000000000090565b600260005414156103a557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260005534811061041857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f6665652063616e6e6f7420657863656564206d73672e76616c75650000000000604482015290519081900360640190fd5b60025473ffffffffffffffffffffffffffffffffffffffff1633141561049f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f6d73672e73656e6465722063616e27742062652062656e656669636961727900604482015290519081900360640190fd5b600254309073ffffffffffffffffffffffffffffffffffffffff168031906104c79084611bf1565b6104d18184611cc8565b60025473ffffffffffffffffffffffffffffffffffffffff1631101561055857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f62656e6566696369617279206469646e27742072656365697665206665657300604482015290519081900360640190fd5b60006105643485611d43565b6040805160028082526060808301845293945090916020830190803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106105b657fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505086816001815181106105fe57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060607f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637ff36ab584898589426040518663ffffffff1660e01b815260040180858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156106f25781810151838201526020016106da565b50505050905001955050505050506000604051808303818588803b15801561071957600080fd5b505af115801561072d573d6000803e3d6000fd5b50505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052602081101561077557600080fd5b810190808051604051939291908464010000000082111561079557600080fd5b9083019060208201858111156107aa57600080fd5b82518660208202830111640100000000821117156107c757600080fd5b82525081516020918201928201910280838360005b838110156107f45781810151838201526020016107dc565b50505050905001604052505050905060008160018151811061081257fe5b60200260200101519050610827893383611d85565b6040805185815260208101839052808201899052905173ffffffffffffffffffffffffffffffffffffffff8b169173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9133917f10def950bd4ed27b0018e95ee7a16325dfc926bb40968d5ca118c4888e6b98e0919081900360600190a45050600160005550505050505050565b6108b0611dac565b60015473ffffffffffffffffffffffffffffffffffffffff90811691161461093957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811661095957600080fd5b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517fe356863d8c81d46ff30d41a6332e1d04d2fb6c0f043fa6554e3d1e1deae95a8a90600090a250565b60025473ffffffffffffffffffffffffffffffffffffffff1690565b6109ec611dac565b60015473ffffffffffffffffffffffffffffffffffffffff908116911614610a7557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60015460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610aec611dac565b60015473ffffffffffffffffffffffffffffffffffffffff908116911614610b7557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60005b81811015610c5e576000838383818110610b8e57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff16905073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c5557610c5573ffffffffffffffffffffffffffffffffffffffff82167f00000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611db0565b50600101610b78565b505050565b60015473ffffffffffffffffffffffffffffffffffffffff1690565b60026000541415610cf157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600055808311610d6457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6665652063616e6e6f74206578636565642066726f6d416d6f756e7400000000604482015290519081900360640190fd5b60025473ffffffffffffffffffffffffffffffffffffffff16331415610deb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f6d73672e73656e6465722063616e27742062652062656e656669636961727900604482015290519081900360640190fd5b600254604080517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290513092600092908916916370a0823191602480820192602092909190829003018186803b158015610e6357600080fd5b505afa158015610e77573d6000803e3d6000fd5b505050506040513d6020811015610e8d57600080fd5b505190506000610e9d8685611d43565b9050610ec173ffffffffffffffffffffffffffffffffffffffff8916338584611f3e565b8315610ef057600254610ef09073ffffffffffffffffffffffffffffffffffffffff8a81169133911687611f3e565b610efa8285611cc8565b600254604080517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff92831660048201529051918b16916370a0823191602480820192602092909190829003018186803b158015610f6d57600080fd5b505afa158015610f81573d6000803e3d6000fd5b505050506040513d6020811015610f9757600080fd5b5051101561100657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f62656e6566696369617279206469646e27742072656365697665206665657300604482015290519081900360640190fd5b6040805160028082526060808301845292602083019080368337019050509050888160008151811061103457fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050878160018151811061107c57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166338ed173983888488426040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b8381101561117457818101518382015260200161115c565b505050509050019650505050505050600060405180830381600087803b15801561119d57600080fd5b505af11580156111b1573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405260208110156111f857600080fd5b810190808051604051939291908464010000000082111561121857600080fd5b90830190602082018581111561122d57600080fd5b825186602082028301116401000000008211171561124a57600080fd5b82525081516020918201928201910280838360005b8381101561127757818101518382015260200161125f565b505050509050016040525050505060008873ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156112ee57600080fd5b505afa158015611302573d6000803e3d6000fd5b505050506040513d602081101561131857600080fd5b50519050611327893383611d85565b6040805184815260208101839052808201889052905173ffffffffffffffffffffffffffffffffffffffff808c1692908d169133917f10def950bd4ed27b0018e95ee7a16325dfc926bb40968d5ca118c4888e6b98e0919081900360600190a4505060016000555050505050505050565b6113a0611dac565b60015473ffffffffffffffffffffffffffffffffffffffff90811691161461142957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116611495576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806123d56026913960400191505060405180910390fd5b60015460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6002600054141561159557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260005580831161160857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6665652063616e6e6f74206578636565642066726f6d416d6f756e7400000000604482015290519081900360640190fd5b60025473ffffffffffffffffffffffffffffffffffffffff1633141561168f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f6d73672e73656e6465722063616e27742062652062656e656669636961727900604482015290519081900360640190fd5b600254604080517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290513092600092908816916370a0823191602480820192602092909190829003018186803b15801561170757600080fd5b505afa15801561171b573d6000803e3d6000fd5b505050506040513d602081101561173157600080fd5b5051905060006117418685611d43565b905061176573ffffffffffffffffffffffffffffffffffffffff8816338584611f3e565b8315611794576002546117949073ffffffffffffffffffffffffffffffffffffffff8981169133911687611f3e565b61179e8285611cc8565b600254604080517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff92831660048201529051918a16916370a0823191602480820192602092909190829003018186803b15801561181157600080fd5b505afa158015611825573d6000803e3d6000fd5b505050506040513d602081101561183b57600080fd5b505110156118aa57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f62656e6566696369617279206469646e27742072656365697665206665657300604482015290519081900360640190fd5b604080516002808252606080830184529260208301908036833701905050905087816000815181106118d857fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061194057fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060607f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166318cbafe584898589426040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015611a3a578181015183820152602001611a22565b505050509050019650505050505050600060405180830381600087803b158015611a6357600080fd5b505af1158015611a77573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526020811015611abe57600080fd5b8101908080516040519392919084640100000000821115611ade57600080fd5b908301906020820185811115611af357600080fd5b8251866020820283011164010000000082111715611b1057600080fd5b82525081516020918201928201910280838360005b83811015611b3d578181015183820152602001611b25565b505050509050016040525050509050600081600181518110611b5b57fe5b60200260200101519050611b6f3382611bf1565b6040805185815260208101839052808201899052905173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9173ffffffffffffffffffffffffffffffffffffffff8d169133917f10def950bd4ed27b0018e95ee7a16325dfc926bb40968d5ca118c4888e6b98e0919081900360600190a4505060016000555050505050505050565b8015611cc45760405160009073ffffffffffffffffffffffffffffffffffffffff84169083908381818185875af1925050503d8060008114611c4f576040519150601f19603f3d011682016040523d82523d6000602084013e611c54565b606091505b5050905080610c5e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f556e61626c6520746f2073656e64204554480000000000000000000000000000604482015290519081900360640190fd5b5050565b600082820183811015611d3c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000611d3c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611fd9565b8015610c5e57610c5e73ffffffffffffffffffffffffffffffffffffffff8416838361208a565b3390565b801580611e5c5750604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611e2e57600080fd5b505afa158015611e42573d6000803e3d6000fd5b505050506040513d6020811015611e5857600080fd5b5051155b611eb1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806124256036913960400191505060405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b300000000000000000000000000000000000000000000000000000000179052610c5e908490612113565b6040805173ffffffffffffffffffffffffffffffffffffffff80861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052611fd3908590612113565b50505050565b60008184841115612082576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561204757818101518382015260200161202f565b50505050905090810190601f1680156120745780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610c5e9084905b6060612175826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166121eb9092919063ffffffff16565b805190915015610c5e5780806020019051602081101561219457600080fd5b5051610c5e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806123fb602a913960400191505060405180910390fd5b60606121fa8484600085612202565b949350505050565b606061220d856123ce565b61227857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106122e257805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016122a5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612344576040519150601f19603f3d011682016040523d82523d6000602084013e612349565b606091505b5091509150811561235d5791506121fa9050565b80511561236d5780518082602001fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181815286516024840152865187939192839260440191908501908083836000831561204757818101518382015260200161202f565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220a789f61b4bb18e6e85f3c76fb67ddf3af0f8eb8408f4027d5899aea8fa90e1fc64736f6c634300060c00330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000a329601eaf4189b800eb94a57cea365c4a4be56e000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Deployed Bytecode
0x6080604052600436106100b45760003560e01c806377a1736b11610069578063d2b778ca1161004e578063d2b778ca1461023b578063f2fde38b1461028a578063fde28bb1146102ca576100bb565b806377a1736b146101a95780638da5cb5b14610226576100bb565b80631c31f7101161009a5780631c31f7101461013f578063565a2e2c1461017f578063715018a614610194576100bb565b806271c175146100c057806306a7bea7146100fe576100bb565b366100bb57005b600080fd5b3480156100cc57600080fd5b506100d561030f565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61013d6004803603606081101561011457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060208101359060400135610333565b005b34801561014b57600080fd5b5061013d6004803603602081101561016257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166108a8565b34801561018b57600080fd5b506100d56109c8565b3480156101a057600080fd5b5061013d6109e4565b3480156101b557600080fd5b5061013d600480360360208110156101cc57600080fd5b8101906020810181356401000000008111156101e757600080fd5b8201836020820111156101f957600080fd5b8035906020019184602083028401116401000000008311171561021b57600080fd5b509092509050610ae4565b34801561023257600080fd5b506100d5610c63565b61013d600480360360a081101561025157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060800135610c7f565b34801561029657600080fd5b5061013d600480360360208110156102ad57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611398565b61013d600480360360808110156102e057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060208101359060408101359060600135611523565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d90565b600260005414156103a557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260005534811061041857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f6665652063616e6e6f7420657863656564206d73672e76616c75650000000000604482015290519081900360640190fd5b60025473ffffffffffffffffffffffffffffffffffffffff1633141561049f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f6d73672e73656e6465722063616e27742062652062656e656669636961727900604482015290519081900360640190fd5b600254309073ffffffffffffffffffffffffffffffffffffffff168031906104c79084611bf1565b6104d18184611cc8565b60025473ffffffffffffffffffffffffffffffffffffffff1631101561055857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f62656e6566696369617279206469646e27742072656365697665206665657300604482015290519081900360640190fd5b60006105643485611d43565b6040805160028082526060808301845293945090916020830190803683370190505090507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816000815181106105b657fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505086816001815181106105fe57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060607f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff16637ff36ab584898589426040518663ffffffff1660e01b815260040180858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156106f25781810151838201526020016106da565b50505050905001955050505050506000604051808303818588803b15801561071957600080fd5b505af115801561072d573d6000803e3d6000fd5b50505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052602081101561077557600080fd5b810190808051604051939291908464010000000082111561079557600080fd5b9083019060208201858111156107aa57600080fd5b82518660208202830111640100000000821117156107c757600080fd5b82525081516020918201928201910280838360005b838110156107f45781810151838201526020016107dc565b50505050905001604052505050905060008160018151811061081257fe5b60200260200101519050610827893383611d85565b6040805185815260208101839052808201899052905173ffffffffffffffffffffffffffffffffffffffff8b169173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9133917f10def950bd4ed27b0018e95ee7a16325dfc926bb40968d5ca118c4888e6b98e0919081900360600190a45050600160005550505050505050565b6108b0611dac565b60015473ffffffffffffffffffffffffffffffffffffffff90811691161461093957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811661095957600080fd5b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517fe356863d8c81d46ff30d41a6332e1d04d2fb6c0f043fa6554e3d1e1deae95a8a90600090a250565b60025473ffffffffffffffffffffffffffffffffffffffff1690565b6109ec611dac565b60015473ffffffffffffffffffffffffffffffffffffffff908116911614610a7557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60015460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610aec611dac565b60015473ffffffffffffffffffffffffffffffffffffffff908116911614610b7557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60005b81811015610c5e576000838383818110610b8e57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff16905073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c5557610c5573ffffffffffffffffffffffffffffffffffffffff82167f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611db0565b50600101610b78565b505050565b60015473ffffffffffffffffffffffffffffffffffffffff1690565b60026000541415610cf157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600055808311610d6457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6665652063616e6e6f74206578636565642066726f6d416d6f756e7400000000604482015290519081900360640190fd5b60025473ffffffffffffffffffffffffffffffffffffffff16331415610deb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f6d73672e73656e6465722063616e27742062652062656e656669636961727900604482015290519081900360640190fd5b600254604080517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290513092600092908916916370a0823191602480820192602092909190829003018186803b158015610e6357600080fd5b505afa158015610e77573d6000803e3d6000fd5b505050506040513d6020811015610e8d57600080fd5b505190506000610e9d8685611d43565b9050610ec173ffffffffffffffffffffffffffffffffffffffff8916338584611f3e565b8315610ef057600254610ef09073ffffffffffffffffffffffffffffffffffffffff8a81169133911687611f3e565b610efa8285611cc8565b600254604080517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff92831660048201529051918b16916370a0823191602480820192602092909190829003018186803b158015610f6d57600080fd5b505afa158015610f81573d6000803e3d6000fd5b505050506040513d6020811015610f9757600080fd5b5051101561100657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f62656e6566696369617279206469646e27742072656365697665206665657300604482015290519081900360640190fd5b6040805160028082526060808301845292602083019080368337019050509050888160008151811061103457fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050878160018151811061107c57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff166338ed173983888488426040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b8381101561117457818101518382015260200161115c565b505050509050019650505050505050600060405180830381600087803b15801561119d57600080fd5b505af11580156111b1573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405260208110156111f857600080fd5b810190808051604051939291908464010000000082111561121857600080fd5b90830190602082018581111561122d57600080fd5b825186602082028301116401000000008211171561124a57600080fd5b82525081516020918201928201910280838360005b8381101561127757818101518382015260200161125f565b505050509050016040525050505060008873ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156112ee57600080fd5b505afa158015611302573d6000803e3d6000fd5b505050506040513d602081101561131857600080fd5b50519050611327893383611d85565b6040805184815260208101839052808201889052905173ffffffffffffffffffffffffffffffffffffffff808c1692908d169133917f10def950bd4ed27b0018e95ee7a16325dfc926bb40968d5ca118c4888e6b98e0919081900360600190a4505060016000555050505050505050565b6113a0611dac565b60015473ffffffffffffffffffffffffffffffffffffffff90811691161461142957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116611495576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806123d56026913960400191505060405180910390fd5b60015460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6002600054141561159557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260005580831161160857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6665652063616e6e6f74206578636565642066726f6d416d6f756e7400000000604482015290519081900360640190fd5b60025473ffffffffffffffffffffffffffffffffffffffff1633141561168f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f6d73672e73656e6465722063616e27742062652062656e656669636961727900604482015290519081900360640190fd5b600254604080517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290513092600092908816916370a0823191602480820192602092909190829003018186803b15801561170757600080fd5b505afa15801561171b573d6000803e3d6000fd5b505050506040513d602081101561173157600080fd5b5051905060006117418685611d43565b905061176573ffffffffffffffffffffffffffffffffffffffff8816338584611f3e565b8315611794576002546117949073ffffffffffffffffffffffffffffffffffffffff8981169133911687611f3e565b61179e8285611cc8565b600254604080517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff92831660048201529051918a16916370a0823191602480820192602092909190829003018186803b15801561181157600080fd5b505afa158015611825573d6000803e3d6000fd5b505050506040513d602081101561183b57600080fd5b505110156118aa57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f62656e6566696369617279206469646e27742072656365697665206665657300604482015290519081900360640190fd5b604080516002808252606080830184529260208301908036833701905050905087816000815181106118d857fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160018151811061194057fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060607f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff166318cbafe584898589426040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015611a3a578181015183820152602001611a22565b505050509050019650505050505050600060405180830381600087803b158015611a6357600080fd5b505af1158015611a77573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526020811015611abe57600080fd5b8101908080516040519392919084640100000000821115611ade57600080fd5b908301906020820185811115611af357600080fd5b8251866020820283011164010000000082111715611b1057600080fd5b82525081516020918201928201910280838360005b83811015611b3d578181015183820152602001611b25565b505050509050016040525050509050600081600181518110611b5b57fe5b60200260200101519050611b6f3382611bf1565b6040805185815260208101839052808201899052905173eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee9173ffffffffffffffffffffffffffffffffffffffff8d169133917f10def950bd4ed27b0018e95ee7a16325dfc926bb40968d5ca118c4888e6b98e0919081900360600190a4505060016000555050505050505050565b8015611cc45760405160009073ffffffffffffffffffffffffffffffffffffffff84169083908381818185875af1925050503d8060008114611c4f576040519150601f19603f3d011682016040523d82523d6000602084013e611c54565b606091505b5050905080610c5e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f556e61626c6520746f2073656e64204554480000000000000000000000000000604482015290519081900360640190fd5b5050565b600082820183811015611d3c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000611d3c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611fd9565b8015610c5e57610c5e73ffffffffffffffffffffffffffffffffffffffff8416838361208a565b3390565b801580611e5c5750604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611e2e57600080fd5b505afa158015611e42573d6000803e3d6000fd5b505050506040513d6020811015611e5857600080fd5b5051155b611eb1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806124256036913960400191505060405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b300000000000000000000000000000000000000000000000000000000179052610c5e908490612113565b6040805173ffffffffffffffffffffffffffffffffffffffff80861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052611fd3908590612113565b50505050565b60008184841115612082576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561204757818101518382015260200161202f565b50505050905090810190601f1680156120745780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610c5e9084905b6060612175826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166121eb9092919063ffffffff16565b805190915015610c5e5780806020019051602081101561219457600080fd5b5051610c5e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806123fb602a913960400191505060405180910390fd5b60606121fa8484600085612202565b949350505050565b606061220d856123ce565b61227857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106122e257805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016122a5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612344576040519150601f19603f3d011682016040523d82523d6000602084013e612349565b606091505b5091509150811561235d5791506121fa9050565b80511561236d5780518082602001fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181815286516024840152865187939192839260440191908501908083836000831561204757818101518382015260200161202f565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220a789f61b4bb18e6e85f3c76fb67ddf3af0f8eb8408f4027d5899aea8fa90e1fc64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000a329601eaf4189b800eb94a57cea365c4a4be56e000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
-----Decoded View---------------
Arg [0] : uniswapV2Router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : beneficiary (address): 0xa329601eAf4189B800eb94A57CEa365c4a4be56e
Arg [2] : WETH (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 000000000000000000000000a329601eaf4189b800eb94a57cea365c4a4be56e
Arg [2] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Deployed Bytecode Sourcemap
547:7403:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7018:104;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1767:1123;;;;;;;;;;;;;;;;-1:-1:-1;1767:1123:0;;;;;;;;;;;;;;:::i;:::-;;7318:190;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7318:190:0;;;;:::i;7126:85::-;;;;;;;;;;;;;:::i;1689:145:2:-;;;;;;;;;;;;;:::i;6694:320:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6694:320:0;;-1:-1:-1;6694:320:0;-1:-1:-1;6694:320:0;:::i;1066:77:2:-;;;;;;;;;;;;;:::i;5106:1481:0:-;;;;;;;;;;;;;;;;-1:-1:-1;5106:1481:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1983:240:2:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1983:240:2;;;;:::i;3240:1432:0:-;;;;;;;;;;;;;;;;-1:-1:-1;3240:1432:0;;;;;;;;;;;;;;;;;;;:::i;7018:104::-;7101:16;7018:104;:::o;1767:1123::-;1671:1:7;2260:7;;:19;;2252:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2390:7;:18;1905:9:0::1;:15:::0;-1:-1:-1;1897:55:0::1;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;1980:12;::::0;::::1;;1966:10;:26;;1958:70;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;2109:12;::::0;2069:4:::1;::::0;2109:12:::1;;:20:::0;::::1;::::0;2161:27:::1;::::0;2184:3;2161:8:::1;:27::i;:::-;2234;:18:::0;2257:3;2234:22:::1;:27::i;:::-;2210:12;::::0;::::1;;:20;:51;;2195:114;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;2356:18;2377;:9;2391:3:::0;2377:13:::1;:18::i;:::-;2425:16;::::0;;2439:1:::1;2425:16:::0;;;2401:21:::1;2425:16:::0;;::::1;::::0;;2356:39;;-1:-1:-1;2425:16:0;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;;::::0;-1:-1:-1;2425:16:0::1;2401:40;;2457:5;2447:4;2452:1;2447:7;;;;;;;;;;;;;:15;;;;;;;;;::::0;::::1;2486:7;2468:4;2473:1;2468:7;;;;;;;;;;;;;:26;;;;;;;;;::::0;::::1;2500:24;2527:16;:38;;;2574:10;2594:9;2611:4;2623:15;2646;2527:140;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;::::0;::::1;;::::0;::::1;::::0;::::1;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;::::0;;-1:-1:-1;2527:140:0;;::::1;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;::::0;::::1;;2500:167;;2674:16;2693:7;2701:1;2693:10;;;;;;;;;;;;;;2674:29;;2750:41;2761:7;2770:10;2782:8;2750:10;:41::i;:::-;2803:82;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;::::1;::::0;::::1;::::0;717:42:::1;::::0;2816:10:::1;::::0;2803:82:::1;::::0;;;;;;;;::::1;-1:-1:-1::0;;1628:1:7;2563:7;:22;-1:-1:-1;;;;;;;1767:1123:0:o;7318:190::-;1280:12:2;:10;:12::i;:::-;1270:6;;:22;:6;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7404:25:0::1;::::0;::::1;7396:34;;;::::0;::::1;;7436:12;:26:::0;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;7473:30:::1;::::0;::::1;::::0;-1:-1:-1;;7473:30:0::1;7318:190:::0;:::o;7126:85::-;7194:12;;;;7126:85;:::o;1689:145:2:-;1280:12;:10;:12::i;:::-;1270:6;;:22;:6;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1779:6:::1;::::0;1758:40:::1;::::0;1795:1:::1;::::0;1758:40:::1;1779:6;::::0;1758:40:::1;::::0;1795:1;;1758:40:::1;1808:6;:19:::0;;;::::1;::::0;;1689:145::o;6694:320:0:-;1280:12:2;:10;:12::i;:::-;1270:6;;:22;:6;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6767:6:0::1;6762:248;6779:17:::0;;::::1;6762:248;;;6811:12;6826:6;;6833:1;6826:9;;;;;;;;;;;;;;;6811:24;;717:42;6848:29;;6856:5;6848:29;;;6844:160;;6939:56;:17;::::0;::::1;6965:16;6984:10;6939:17;:56::i;:::-;-1:-1:-1::0;6798:3:0::1;;6762:248;;;;6694:320:::0;;:::o;1066:77:2:-;1130:6;;;;1066:77;:::o;5106:1481:0:-;1671:1:7;2260:7;;:19;;2252:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2390:7;:18;5291:16:0;;::::1;5283:57;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;5368:12;::::0;::::1;;5354:10;:26;;5346:70;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;5517:12;::::0;5497:33:::1;::::0;;;;;:19:::1;5517:12:::0;;::::1;5497:33;::::0;::::1;::::0;;;5457:4:::1;::::0;5423:23:::1;::::0;5497:19;;::::1;::::0;::::1;::::0;:33;;;;;::::1;::::0;;;;;;;;;:19;:33;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;5497:33:0;;-1:-1:-1;5536:26:0::1;5565:19;:10:::0;5580:3;5565:14:::1;:19::i;:::-;5536:48:::0;-1:-1:-1;5642:75:0::1;:26;::::0;::::1;5669:10;5681:15:::0;5536:48;5642:26:::1;:75::i;:::-;5757:7:::0;;5753:85:::1;;5813:12;::::0;5774:57:::1;::::0;5813:12:::1;5774:26:::0;;::::1;::::0;5801:10:::1;::::0;5813:12:::1;5827:3:::0;5774:26:::1;:57::i;:::-;5896:27;:18:::0;5919:3;5896:22:::1;:27::i;:::-;5879:12;::::0;5859:33:::1;::::0;;;;;:19:::1;5879:12:::0;;::::1;5859:33;::::0;::::1;::::0;;;:19;;::::1;::::0;::::1;::::0;:33;;;;;::::1;::::0;;;;;;;;;:19;:33;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;5859:33:0;:64:::1;;5844:127;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;6042:16;::::0;;6056:1:::1;6042:16:::0;;;6018:21:::1;6042:16:::0;;::::1;::::0;;6018:21;6042:16:::1;::::0;::::1;::::0;;::::1;::::0;::::1;;::::0;-1:-1:-1;6042:16:0::1;6018:40;;6082:9;6064:4;6069:1;6064:7;;;;;;;;;;;;;:28;;;;;;;;;::::0;::::1;6116:7;6098:4;6103:1;6098:7;;;;;;;;;;;;;:26;;;;;;;;;::::0;::::1;6130:16;:41;;;6179:18;6205:9;6222:4;6234:15;6257;6130:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;::::0;::::1;;::::0;::::1;::::0;::::1;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;::::0;;-1:-1:-1;6130:148:0;;::::1;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;::::0;::::1;;;6285:16;6304:7;:17;;;6322:15;6304:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;6304:34:0;;-1:-1:-1;6385:41:0::1;6396:7:::0;6405:10:::1;6304:34:::0;6385:10:::1;:41::i;:::-;6438:144;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;6458:10:::1;::::0;6438:144:::1;::::0;;;;;;;;::::1;-1:-1:-1::0;;1628:1:7;2563:7;:22;-1:-1:-1;;;;;;;;5106:1481:0:o;1983:240:2:-;1280:12;:10;:12::i;:::-;1270:6;;:22;:6;;;:22;;;1262:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2071:22:::1;::::0;::::1;2063:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2172:6;::::0;2151:38:::1;::::0;::::1;::::0;;::::1;::::0;2172:6:::1;::::0;2151:38:::1;::::0;2172:6:::1;::::0;2151:38:::1;2199:6;:17:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;1983:240::o;3240:1432:0:-;1671:1:7;2260:7;;:19;;2252:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2390:7;:18;3402:16:0;;::::1;3394:57;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;3479:12;::::0;::::1;;3465:10;:26;;3457:70;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;3628:12;::::0;3608:33:::1;::::0;;;;;:19:::1;3628:12:::0;;::::1;3608:33;::::0;::::1;::::0;;;3568:4:::1;::::0;3534:23:::1;::::0;3608:19;;::::1;::::0;::::1;::::0;:33;;;;;::::1;::::0;;;;;;;;;:19;:33;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;3608:33:0;;-1:-1:-1;3647:26:0::1;3676:19;:10:::0;3691:3;3676:14:::1;:19::i;:::-;3647:48:::0;-1:-1:-1;3748:75:0::1;:26;::::0;::::1;3775:10;3787:15:::0;3647:48;3748:26:::1;:75::i;:::-;3863:7:::0;;3859:85:::1;;3919:12;::::0;3880:57:::1;::::0;3919:12:::1;3880:26:::0;;::::1;::::0;3907:10:::1;::::0;3919:12:::1;3933:3:::0;3880:26:::1;:57::i;:::-;4002:27;:18:::0;4025:3;4002:22:::1;:27::i;:::-;3985:12;::::0;3965:33:::1;::::0;;;;;:19:::1;3985:12:::0;;::::1;3965:33;::::0;::::1;::::0;;;:19;;::::1;::::0;::::1;::::0;:33;;;;;::::1;::::0;;;;;;;;;:19;:33;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;3965:33:0;:64:::1;;3950:127;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;4148:16;::::0;;4162:1:::1;4148:16:::0;;;4124:21:::1;4148:16:::0;;::::1;::::0;;4124:21;4148:16:::1;::::0;::::1;::::0;;::::1;::::0;::::1;;::::0;-1:-1:-1;4148:16:0::1;4124:40;;4188:9;4170:4;4175:1;4170:7;;;;;;;;;;;;;:28;;;;;;;;;::::0;::::1;4222:5;4204:4;4209:1;4204:7;;;;;;;;;;;;;:24;;;;;;;;;::::0;::::1;4234;4261:16;:38;;;4307:18;4333:9;4350:4;4362:15;4385;4261:145;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;::::0;::::1;;::::0;::::1;::::0;::::1;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;::::0;;-1:-1:-1;4261:145:0;;::::1;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;::::0;::::1;;4234:172;;4413:16;4432:7;4440:1;4432:10;;;;;;;;;;;;;;4413:29;;4486:30;4495:10;4507:8;4486;:30::i;:::-;4528:139;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;717:42:::1;::::0;4528:139:::1;::::0;::::1;::::0;4548:10:::1;::::0;4528:139:::1;::::0;;;;;;;;::::1;-1:-1:-1::0;;1628:1:7;2563:7;:22;-1:-1:-1;;;;;;;;3240:1432:0:o;7572:209::-;7651:10;;7647:130;;7689:35;;7672:12;;7689:14;;;;7712:6;;7672:12;7689:35;7672:12;7689:35;7712:6;7689:14;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7671:53;;;7740:7;7732:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7647:130;7572:209;;:::o;874:176:3:-;932:7;963:5;;;986:6;;;;978:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1042:1;874:176;-1:-1:-1;;;874:176:3:o;1321:134::-;1379:7;1405:43;1409:1;1412;1405:43;;;;;;;;;;;;;;;;;:3;:43::i;7785:163:0:-;7880:10;;7876:68;;7900:37;:18;;;7919:9;7930:6;7900:18;:37::i;590:104:1:-;677:10;590:104;:::o;1340:613:5:-;1705:10;;;1704:62;;-1:-1:-1;1721:39:5;;;;;;1745:4;1721:39;;;;:15;:39;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1721:39:5;:44;1704:62;1696:150;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1883:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1906:22;1883:62;;;1856:90;;1876:5;;1856:19;:90::i;877:203::-;1004:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1027:27;1004:68;;;977:96;;997:5;;977:19;:96::i;:::-;877:203;;;;:::o;1746:187:3:-;1832:7;1867:12;1859:6;;;;1851:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1902:5:3;;;1746:187::o;696:175:5:-;805:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;828:23;805:58;;;778:86;;798:5;;2959:751;3378:23;3404:69;3432:4;3404:69;;;;;;;;;;;;;;;;;3412:5;3404:27;;;;:69;;;;;:::i;:::-;3487:17;;3378:95;;-1:-1:-1;3487:21:5;3483:221;;3627:10;3616:30;;;;;;;;;;;;;;;-1:-1:-1;3616:30:5;3608:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3573:194:6;3676:12;3707:53;3730:6;3738:4;3744:1;3747:12;3707:22;:53::i;:::-;3700:60;3573:194;-1:-1:-1;;;;3573:194:6:o;4920:958::-;5050:12;5082:18;5093:6;5082:10;:18::i;:::-;5074:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5205:12;5219:23;5246:6;:11;;5266:8;5277:4;5246:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5204:78;;;;5296:7;5292:580;;;5326:10;-1:-1:-1;5319:17:6;;-1:-1:-1;5319:17:6;5292:580;5437:17;;:21;5433:429;;5695:10;5689:17;5755:15;5742:10;5738:2;5734:19;5727:44;5644:145;5827:20;;;;;;;;;;;;;;;;;;;;5834:12;;5827:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;718:413;1078:20;1116:8;;;718:413::o
Swarm Source
ipfs://a789f61b4bb18e6e85f3c76fb67ddf3af0f8eb8408f4027d5899aea8fa90e1fc
Loading...
Loading
Loading...
Loading
Net Worth in USD
$4.05
Net Worth in ETH
0.002063
Token Allocations
ETH
100.00%
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $1,960.44 | 0.00206352 | $4.05 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.