Source Code
Latest 25 from a total of 35 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Sell Token | 20524866 | 594 days ago | IN | 0 ETH | 0.00026324 | ||||
| Withdraw All ETH | 20524597 | 594 days ago | IN | 0 ETH | 0.00006363 | ||||
| Emergency Withdr... | 20524588 | 594 days ago | IN | 0 ETH | 0.00015356 | ||||
| Emergency Withdr... | 20524585 | 594 days ago | IN | 0 ETH | 0.00016634 | ||||
| Emergency Withdr... | 20524578 | 594 days ago | IN | 0 ETH | 0.0001731 | ||||
| Emergency Withdr... | 20524572 | 594 days ago | IN | 0 ETH | 0.00013742 | ||||
| Buy Token | 20520955 | 595 days ago | IN | 0 ETH | 0.00194111 | ||||
| Sell Token | 20520126 | 595 days ago | IN | 0 ETH | 0.00066068 | ||||
| Sell Token | 20520115 | 595 days ago | IN | 0 ETH | 0.00054937 | ||||
| Sell Token | 20520106 | 595 days ago | IN | 0 ETH | 0.00062233 | ||||
| Sell Token | 20520085 | 595 days ago | IN | 0 ETH | 0.00055797 | ||||
| Sell Token | 20520071 | 595 days ago | IN | 0 ETH | 0.00064395 | ||||
| Sell Token | 20520027 | 595 days ago | IN | 0 ETH | 0.00056286 | ||||
| Buy Token | 20518837 | 595 days ago | IN | 0 ETH | 0.00077974 | ||||
| Buy Token | 20513736 | 596 days ago | IN | 0 ETH | 0.002295 | ||||
| Buy Token | 20513733 | 596 days ago | IN | 0 ETH | 0.00255523 | ||||
| Buy Token | 20513014 | 596 days ago | IN | 0 ETH | 0.00287781 | ||||
| Buy Token | 20512481 | 596 days ago | IN | 0 ETH | 0.00410901 | ||||
| Buy Token | 20512358 | 596 days ago | IN | 0 ETH | 0.0071285 | ||||
| Sell Token | 20511592 | 596 days ago | IN | 0 ETH | 0.00144424 | ||||
| Buy Token | 20511478 | 596 days ago | IN | 0 ETH | 0.00219983 | ||||
| Buy Token | 20511111 | 596 days ago | IN | 0 ETH | 0.00108699 | ||||
| Buy Token | 20510693 | 596 days ago | IN | 0 ETH | 0.00040094 | ||||
| Buy Token | 20510354 | 596 days ago | IN | 0 ETH | 0.00061638 | ||||
| Sell Token | 20507051 | 597 days ago | IN | 0 ETH | 0.00013673 |
Latest 21 internal transactions
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 20524597 | 594 days ago | 0.2784155 ETH | ||||
| Swap Exact ETH F... | 20520955 | 595 days ago | 0.04913214 ETH | ||||
| Transfer | 20520126 | 595 days ago | 0.02746936 ETH | ||||
| Transfer | 20520115 | 595 days ago | 0.02823092 ETH | ||||
| Transfer | 20520106 | 595 days ago | 0.02823092 ETH | ||||
| Transfer | 20520085 | 595 days ago | 0.02541078 ETH | ||||
| Transfer | 20520071 | 595 days ago | 0.02741552 ETH | ||||
| Transfer | 20520027 | 595 days ago | 0.03249922 ETH | ||||
| Swap Exact ETH F... | 20518837 | 595 days ago | 0.03639418 ETH | ||||
| Swap Exact ETH F... | 20513736 | 596 days ago | 0.01915483 ETH | ||||
| Swap Exact ETH F... | 20513733 | 596 days ago | 0.02016298 ETH | ||||
| Swap Exact ETH F... | 20513014 | 596 days ago | 0.02122419 ETH | ||||
| Swap Exact ETH F... | 20512481 | 596 days ago | 0.04716487 ETH | ||||
| Swap Exact ETH F... | 20512358 | 596 days ago | 0.05240541 ETH | ||||
| Transfer | 20511592 | 596 days ago | 0.02517279 ETH | ||||
| Swap Exact ETH F... | 20511478 | 596 days ago | 0.02758179 ETH | ||||
| Swap Exact ETH F... | 20511111 | 596 days ago | 0.0170609 ETH | ||||
| Swap Exact ETH F... | 20510693 | 596 days ago | 0.00574441 ETH | ||||
| Swap Exact ETH F... | 20510354 | 596 days ago | 0.03023375 ETH | ||||
| Swap Exact ETH F... | 20506884 | 597 days ago | 0.031825 ETH | ||||
| Swap Exact ETH F... | 20506366 | 597 days ago | 0.0335 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
CashVerseTreasury
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
contract CashVerseTreasury is Ownable, ReentrancyGuard {
IUniswapV2Router02 public uniswapV2Router;
ISwapRouter public uniswapV3Router;
address public WETH;
address public profitWallet;
uint256 public totalDeposited;
uint256 public totalProfits;
uint256 public totalParticipants;
uint256 public minDeposit = 0.03 ether;
uint256 public maxParticipants = 25;
struct User {
uint256 deposited;
uint256 claimableProfits;
uint256 depositIndex;
}
struct TokenInfo {
uint256 ethSpent;
uint256 tokensBought;
uint256 tokenPriceAtBuy;
uint256 tokensSold;
uint256 ethReceived;
uint256 totalProfit;
uint256 totalLoss;
}
mapping(address => User) public users;
mapping(address => TokenInfo) public tokenInfo;
address[] public userList;
event Deposited(address indexed user, uint256 amount);
event Withdrawn(address indexed user, uint256 amount);
event TokenBought(
address indexed user,
uint256 amountSpent,
address tokenAddress,
bool withTax,
bool isV3
);
event TokenSold(
address indexed user,
uint256 amountReceived,
address tokenAddress,
bool initialSell,
bool withTax,
bool isV3
);
event ProfitDistributed(uint256 totalProfit);
event EmergencyWithdrawal(address tokenAddress, uint256 amount);
modifier onlyParticipants() {
require(users[msg.sender].deposited > 0, "Not a participant");
_;
}
constructor(
address _uniswapV2Router,
address _uniswapV3Router,
address _weth,
address _profitWallet
) {
uniswapV2Router = IUniswapV2Router02(_uniswapV2Router);
uniswapV3Router = ISwapRouter(_uniswapV3Router);
WETH = _weth;
profitWallet = _profitWallet;
}
function deposit() external payable nonReentrant {
require(msg.value >= minDeposit, "Minimum deposit not met");
require(
totalParticipants < maxParticipants,
"Participant limit reached"
);
if (users[msg.sender].deposited == 0) {
users[msg.sender].depositIndex = userList.length;
userList.push(msg.sender);
totalParticipants++;
}
users[msg.sender].deposited += msg.value;
totalDeposited += msg.value;
emit Deposited(msg.sender, msg.value);
}
function withdraw(uint256 amount) external nonReentrant onlyParticipants {
User storage user = users[msg.sender];
require(user.deposited >= amount, "Insufficient balance");
uint256 totalLoss = calculateTotalLoss();
uint256 adjustedAmount = (address(this).balance *
(user.deposited - totalLoss)) / totalDeposited;
require(adjustedAmount >= amount, "Insufficient contract balance");
user.deposited -= amount;
totalDeposited -= amount;
if (user.deposited == 0) {
uint256 index = user.depositIndex;
address lastUser = userList[userList.length - 1];
userList[index] = lastUser;
users[lastUser].depositIndex = index;
userList.pop();
totalParticipants--;
}
payable(msg.sender).transfer(amount);
emit Withdrawn(msg.sender, amount);
}
function buyToken(
address tokenAddress,
uint256 percentage,
bool withTax,
bool isV3,
uint24 fee // For Uniswap v3
) external onlyOwner nonReentrant {
require(percentage > 0 && percentage <= 100, "Invalid percentage");
uint256 ethAmount = (address(this).balance * percentage) / 100;
require(ethAmount <= address(this).balance, "Insufficient ETH balance");
uint256 tokensBought;
if (isV3) {
// Uniswap v3 buy
ISwapRouter.ExactInputSingleParams memory params = ISwapRouter
.ExactInputSingleParams({
tokenIn: WETH,
tokenOut: tokenAddress,
fee: fee,
recipient: address(this),
deadline: block.timestamp,
amountIn: ethAmount,
amountOutMinimum: 0,
sqrtPriceLimitX96: 0
});
tokensBought = uniswapV3Router.exactInputSingle{value: ethAmount}(
params
);
} else {
// Uniswap v2 buy
address[] memory path = new address[](2);
path[0] = uniswapV2Router.WETH();
path[1] = tokenAddress;
if (withTax) {
uniswapV2Router
.swapExactETHForTokensSupportingFeeOnTransferTokens{
value: ethAmount
}(0, path, address(this), block.timestamp);
tokensBought = IERC20(tokenAddress).balanceOf(address(this));
} else {
uint256[] memory amounts = uniswapV2Router
.swapExactETHForTokens{value: ethAmount}(
0,
path,
address(this),
block.timestamp
);
tokensBought = amounts[1];
}
}
uint256 tokenPrice = (ethAmount * 1e18) / tokensBought;
tokenInfo[tokenAddress].ethSpent += ethAmount;
tokenInfo[tokenAddress].tokensBought += tokensBought;
tokenInfo[tokenAddress].tokenPriceAtBuy = tokenPrice;
uint256 gasSpent = tx.gasprice * gasleft();
tokenInfo[tokenAddress].totalLoss += gasSpent;
// Deduct ETH spent proportionally from users' deposits
for (uint256 i = 0; i < userList.length; i++) {
address userAddress = userList[i];
User storage user = users[userAddress];
uint256 userShare = (ethAmount * user.deposited) / totalDeposited;
user.deposited -= userShare;
}
totalDeposited -= ethAmount;
emit TokenBought(msg.sender, ethAmount, tokenAddress, withTax, isV3);
}
function sellToken(
address tokenAddress,
uint256 percentage,
bool initialSell,
bool withTax,
bool isV3,
uint24 fee // For Uniswap v3
) external onlyOwner nonReentrant {
require(percentage > 0 && percentage <= 100, "Invalid percentage");
TokenInfo storage info = tokenInfo[tokenAddress];
uint256 tokenAmount;
uint256 ethReceived;
if (initialSell) {
uint256 ethAmount = info.ethSpent;
tokenAmount = (ethAmount * 1e18) / info.tokenPriceAtBuy;
} else {
tokenAmount = (info.tokensBought * percentage) / 100;
}
require(tokenAmount > 0, "Token amount must be greater than zero");
IERC20(tokenAddress).approve(
isV3 ? address(uniswapV3Router) : address(uniswapV2Router),
tokenAmount
);
if (isV3) {
// Uniswap v3 sell
ISwapRouter.ExactInputSingleParams memory params = ISwapRouter
.ExactInputSingleParams({
tokenIn: tokenAddress,
tokenOut: WETH,
fee: fee,
recipient: address(this),
deadline: block.timestamp,
amountIn: tokenAmount,
amountOutMinimum: 0,
sqrtPriceLimitX96: 0
});
ethReceived = uniswapV3Router.exactInputSingle(params);
} else {
// Uniswap v2 sell
address[] memory path = new address[](2);
path[0] = tokenAddress;
path[1] = uniswapV2Router.WETH();
if (withTax) {
uniswapV2Router
.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0,
path,
address(this),
block.timestamp
);
ethReceived = address(this).balance;
} else {
uint256[] memory amounts = uniswapV2Router
.swapExactTokensForETH(
tokenAmount,
0,
path,
address(this),
block.timestamp
);
ethReceived = amounts[1];
}
}
info.tokensSold += tokenAmount;
info.ethReceived += ethReceived;
uint256 gasSpent = tx.gasprice * gasleft();
info.totalLoss += gasSpent;
if (initialSell) {
totalDeposited -= ethReceived;
payable(profitWallet).transfer(ethReceived);
} else {
uint256 profit = ethReceived > info.ethSpent
? ethReceived - info.ethSpent
: 0;
uint256 loss = info.ethSpent > ethReceived
? info.ethSpent - ethReceived
: 0;
info.totalProfit += profit;
info.totalLoss += loss;
totalProfits += profit;
distributeProfits(profit);
}
emit TokenSold(
msg.sender,
ethReceived,
tokenAddress,
initialSell,
withTax,
isV3
);
}
function distributeProfits(uint256 profit) internal {
uint256 profitForDistribution = (profit * 50) / 100;
uint256 profitForContract = (profit * 10) / 100;
uint256 profitForWallet = profit -
profitForDistribution -
profitForContract;
payable(profitWallet).transfer(profitForWallet);
for (uint256 i = 0; i < userList.length; i++) {
address userAddress = userList[i];
User storage user = users[userAddress];
uint256 userShare = (profitForDistribution * user.deposited) /
totalDeposited;
user.claimableProfits += userShare;
}
totalDeposited += profitForContract;
emit ProfitDistributed(profit);
}
function claimProfits() external nonReentrant onlyParticipants {
User storage user = users[msg.sender];
uint256 claimable = user.claimableProfits;
require(claimable > 0, "No profits to claim");
user.claimableProfits = 0;
payable(msg.sender).transfer(claimable);
emit Withdrawn(msg.sender, claimable);
}
function getTokenInfo(
address tokenAddress
) external view returns (TokenInfo memory) {
return tokenInfo[tokenAddress];
}
function getMaxParticipants() external view returns (uint256) {
return maxParticipants;
}
function getRemainingParticipants() external view returns (uint256) {
return maxParticipants - totalParticipants;
}
function setMaxParticipants(uint256 _maxParticipants) external onlyOwner {
maxParticipants = _maxParticipants;
}
function setMinDeposit(uint256 _minDeposit) external onlyOwner {
minDeposit = _minDeposit;
}
function checkWithdrawableAmount()
external
view
onlyParticipants
returns (uint256)
{
User storage user = users[msg.sender];
uint256 totalLoss = calculateTotalLoss();
uint256 withdrawable = user.deposited -
(totalLoss * user.deposited) /
totalDeposited;
return withdrawable;
}
function withdrawExcessETH(
uint256 percentage
) external onlyOwner nonReentrant {
require(percentage > 0 && percentage <= 100, "Invalid percentage");
uint256 totalDepositorBalance = address(this).balance - totalDeposited;
uint256 withdrawAmount = (totalDepositorBalance * percentage) / 100;
require(withdrawAmount > 0, "No excess ETH to withdraw");
payable(owner()).transfer(withdrawAmount);
}
function emergencyWithdrawToken(address tokenAddress) external onlyOwner {
uint256 tokenBalance = IERC20(tokenAddress).balanceOf(address(this));
require(tokenBalance > 0, "No tokens to withdraw");
IERC20(tokenAddress).transfer(owner(), tokenBalance);
emit EmergencyWithdrawal(tokenAddress, tokenBalance);
}
function withdrawAllETH() external onlyOwner nonReentrant {
uint256 balance = address(this).balance;
require(balance > 0, "No ETH to withdraw");
payable(owner()).transfer(balance);
}
function calculateTotalLoss() internal view returns (uint256) {
uint256 totalLoss = 0;
for (uint256 i = 0; i < userList.length; i++) {
address userAddress = userList[i];
totalLoss +=
users[userAddress].deposited *
tokenInfo[userAddress].totalLoss;
}
return totalLoss;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/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.
*/
abstract 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() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(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");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)
pragma solidity ^0.8.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].
*/
abstract 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() {
_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 making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be _NOT_ENTERED
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
/**
* @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
* `nonReentrant` function in the call stack.
*/
function _reentrancyGuardEntered() internal view returns (bool) {
return _status == _ENTERED;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @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);
/**
* @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 `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)
pragma solidity ^0.8.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 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) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}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;
}// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;
/// @title Callback for IUniswapV3PoolActions#swap
/// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface
interface IUniswapV3SwapCallback {
/// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.
/// @dev In the implementation you must pay the pool tokens owed for the swap.
/// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.
/// amount0Delta and amount1Delta can both be 0 if no tokens were swapped.
/// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by
/// the end of the swap. If positive, the callback must send that amount of token0 to the pool.
/// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by
/// the end of the swap. If positive, the callback must send that amount of token1 to the pool.
/// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call
function uniswapV3SwapCallback(
int256 amount0Delta,
int256 amount1Delta,
bytes calldata data
) external;
}// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
pragma abicoder v2;
import '@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol';
/// @title Router token swapping functionality
/// @notice Functions for swapping tokens via Uniswap V3
interface ISwapRouter is IUniswapV3SwapCallback {
struct ExactInputSingleParams {
address tokenIn;
address tokenOut;
uint24 fee;
address recipient;
uint256 deadline;
uint256 amountIn;
uint256 amountOutMinimum;
uint160 sqrtPriceLimitX96;
}
/// @notice Swaps `amountIn` of one token for as much as possible of another token
/// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata
/// @return amountOut The amount of the received token
function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut);
struct ExactInputParams {
bytes path;
address recipient;
uint256 deadline;
uint256 amountIn;
uint256 amountOutMinimum;
}
/// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path
/// @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata
/// @return amountOut The amount of the received token
function exactInput(ExactInputParams calldata params) external payable returns (uint256 amountOut);
struct ExactOutputSingleParams {
address tokenIn;
address tokenOut;
uint24 fee;
address recipient;
uint256 deadline;
uint256 amountOut;
uint256 amountInMaximum;
uint160 sqrtPriceLimitX96;
}
/// @notice Swaps as little as possible of one token for `amountOut` of another token
/// @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata
/// @return amountIn The amount of the input token
function exactOutputSingle(ExactOutputSingleParams calldata params) external payable returns (uint256 amountIn);
struct ExactOutputParams {
bytes path;
address recipient;
uint256 deadline;
uint256 amountOut;
uint256 amountInMaximum;
}
/// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)
/// @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata
/// @return amountIn The amount of the input token
function exactOutput(ExactOutputParams calldata params) external payable returns (uint256 amountIn);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_uniswapV2Router","type":"address"},{"internalType":"address","name":"_uniswapV3Router","type":"address"},{"internalType":"address","name":"_weth","type":"address"},{"internalType":"address","name":"_profitWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdrawal","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":false,"internalType":"uint256","name":"totalProfit","type":"uint256"}],"name":"ProfitDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountSpent","type":"uint256"},{"indexed":false,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"bool","name":"withTax","type":"bool"},{"indexed":false,"internalType":"bool","name":"isV3","type":"bool"}],"name":"TokenBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountReceived","type":"uint256"},{"indexed":false,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"bool","name":"initialSell","type":"bool"},{"indexed":false,"internalType":"bool","name":"withTax","type":"bool"},{"indexed":false,"internalType":"bool","name":"isV3","type":"bool"}],"name":"TokenSold","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"percentage","type":"uint256"},{"internalType":"bool","name":"withTax","type":"bool"},{"internalType":"bool","name":"isV3","type":"bool"},{"internalType":"uint24","name":"fee","type":"uint24"}],"name":"buyToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"checkWithdrawableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimProfits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"emergencyWithdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getMaxParticipants","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRemainingParticipants","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"getTokenInfo","outputs":[{"components":[{"internalType":"uint256","name":"ethSpent","type":"uint256"},{"internalType":"uint256","name":"tokensBought","type":"uint256"},{"internalType":"uint256","name":"tokenPriceAtBuy","type":"uint256"},{"internalType":"uint256","name":"tokensSold","type":"uint256"},{"internalType":"uint256","name":"ethReceived","type":"uint256"},{"internalType":"uint256","name":"totalProfit","type":"uint256"},{"internalType":"uint256","name":"totalLoss","type":"uint256"}],"internalType":"struct CashVerseTreasury.TokenInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxParticipants","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"profitWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"percentage","type":"uint256"},{"internalType":"bool","name":"initialSell","type":"bool"},{"internalType":"bool","name":"withTax","type":"bool"},{"internalType":"bool","name":"isV3","type":"bool"},{"internalType":"uint24","name":"fee","type":"uint24"}],"name":"sellToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxParticipants","type":"uint256"}],"name":"setMaxParticipants","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minDeposit","type":"uint256"}],"name":"setMinDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenInfo","outputs":[{"internalType":"uint256","name":"ethSpent","type":"uint256"},{"internalType":"uint256","name":"tokensBought","type":"uint256"},{"internalType":"uint256","name":"tokenPriceAtBuy","type":"uint256"},{"internalType":"uint256","name":"tokensSold","type":"uint256"},{"internalType":"uint256","name":"ethReceived","type":"uint256"},{"internalType":"uint256","name":"totalProfit","type":"uint256"},{"internalType":"uint256","name":"totalLoss","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDeposited","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalParticipants","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalProfits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV3Router","outputs":[{"internalType":"contract ISwapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"userList","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"users","outputs":[{"internalType":"uint256","name":"deposited","type":"uint256"},{"internalType":"uint256","name":"claimableProfits","type":"uint256"},{"internalType":"uint256","name":"depositIndex","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAllETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percentage","type":"uint256"}],"name":"withdrawExcessETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080604052666a94d74f4300006009556019600a553480156200002157600080fd5b50604051620042ea380380620042ea8339818101604052810190620000479190620002b2565b620000676200005b6200017c60201b60201c565b6200018460201b60201c565b6001808190555083600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000324565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200027a826200024d565b9050919050565b6200028c816200026d565b81146200029857600080fd5b50565b600081519050620002ac8162000281565b92915050565b60008060008060808587031215620002cf57620002ce62000248565b5b6000620002df878288016200029b565b9450506020620002f2878288016200029b565b935050604062000305878288016200029b565b925050606062000318878288016200029b565b91505092959194509250565b613fb680620003346000396000f3fe6080604052600436106101c25760003560e01c80638da5cb5b116100f7578063a87430ba11610095578063e1637e7711610064578063e1637e77146105c7578063f2fde38b146105f2578063f5dab7111461061b578063ff50abdc1461065e576101c2565b8063a87430ba14610528578063ad5c464814610567578063bd998cb314610592578063d0e30db0146105bd576101c2565b80639a12c6ec116100d15780639a12c6ec1461047e5780639df51b89146104a95780639f4216e8146104c0578063a26dbf26146104fd576101c2565b80638da5cb5b146104135780638fcc9cfb1461043e57806390386bbf14610467576101c2565b80632bf7299b1161016457806341b3d1851161013e57806341b3d1851461037d57806342e29d32146103a85780636a02209c146103d1578063715018a6146103fc576101c2565b80632bf7299b146103005780632c76d7a6146103295780632e1a7d4d14610354576101c2565b80631b70e79c116101a05780631b70e79c146102445780631f69565f1461026d5780632301d775146102aa57806324924bf7146102d5576101c2565b806313a9d2ba146101c75780631694505e146101f05780631af032031461021b575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190612d10565b610689565b005b3480156101fc57600080fd5b50610205610f0d565b6040516102129190612dea565b60405180910390f35b34801561022757600080fd5b50610242600480360381019061023d9190612e05565b610f33565b005b34801561025057600080fd5b5061026b60048036038101906102669190612e32565b6110bf565b005b34801561027957600080fd5b50610294600480360381019061028f9190612e05565b6111eb565b6040516102a19190612efc565b60405180910390f35b3480156102b657600080fd5b506102bf61128a565b6040516102cc9190612f26565b60405180910390f35b3480156102e157600080fd5b506102ea6112b0565b6040516102f79190612f50565b60405180910390f35b34801561030c57600080fd5b5061032760048036038101906103229190612e32565b6112b6565b005b34801561033557600080fd5b5061033e6112c8565b60405161034b9190612f8c565b60405180910390f35b34801561036057600080fd5b5061037b60048036038101906103769190612e32565b6112ee565b005b34801561038957600080fd5b506103926116c6565b60405161039f9190612f50565b60405180910390f35b3480156103b457600080fd5b506103cf60048036038101906103ca9190612fa7565b6116cc565b005b3480156103dd57600080fd5b506103e6611f3b565b6040516103f39190612f50565b60405180910390f35b34801561040857600080fd5b50610411611f45565b005b34801561041f57600080fd5b50610428611f59565b6040516104359190612f26565b60405180910390f35b34801561044a57600080fd5b5061046560048036038101906104609190612e32565b611f82565b005b34801561047357600080fd5b5061047c611f94565b005b34801561048a57600080fd5b50610493612045565b6040516104a09190612f50565b60405180910390f35b3480156104b557600080fd5b506104be61205c565b005b3480156104cc57600080fd5b506104e760048036038101906104e29190612e32565b612223565b6040516104f49190612f26565b60405180910390f35b34801561050957600080fd5b50610512612262565b60405161051f9190612f50565b60405180910390f35b34801561053457600080fd5b5061054f600480360381019061054a9190612e05565b612268565b60405161055e93929190613034565b60405180910390f35b34801561057357600080fd5b5061057c612292565b6040516105899190612f26565b60405180910390f35b34801561059e57600080fd5b506105a76122b8565b6040516105b49190612f50565b60405180910390f35b6105c56122be565b005b3480156105d357600080fd5b506105dc61252d565b6040516105e99190612f50565b60405180910390f35b3480156105fe57600080fd5b5061061960048036038101906106149190612e05565b61263b565b005b34801561062757600080fd5b50610642600480360381019061063d9190612e05565b6126be565b604051610655979695949392919061306b565b60405180910390f35b34801561066a57600080fd5b50610673612700565b6040516106809190612f50565b60405180910390f35b610691612706565b610699612784565b6000841180156106aa575060648411155b6106e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e090613137565b60405180910390fd5b6000606485476106f99190613186565b610703919061320f565b905047811115610748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073f9061328c565b60405180910390fd5b600083156108b6576000604051806101000160405280600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018973ffffffffffffffffffffffffffffffffffffffff1681526020018562ffffff1681526020013073ffffffffffffffffffffffffffffffffffffffff16815260200142815260200184815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152509050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663414bf38984836040518363ffffffff1660e01b815260040161086b919061337b565b60206040518083038185885af1158015610889573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108ae91906133ac565b915050610c1f565b6000600267ffffffffffffffff8111156108d3576108d26133d9565b5b6040519080825280602002602001820160405280156109015781602001602082028036833780820191505090505b509050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610971573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610995919061341d565b816000815181106109a9576109a861344a565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505087816001815181106109f8576109f761344a565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508515610b4e57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b6f9de958460008430426040518663ffffffff1660e01b8152600401610a9b9493929190613563565b6000604051808303818588803b158015610ab457600080fd5b505af1158015610ac8573d6000803e3d6000fd5b50505050508773ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610b069190612f26565b602060405180830381865afa158015610b23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4791906133ac565b9150610c1d565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ff36ab58560008530426040518663ffffffff1660e01b8152600401610bb39493929190613563565b60006040518083038185885af1158015610bd1573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f82011682018060405250810190610bfb91906136d9565b905080600181518110610c1157610c1061344a565b5b60200260200101519250505b505b600081670de0b6b3a764000084610c369190613186565b610c40919061320f565b905082600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000016000828254610c949190613722565b9250508190555081600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001016000828254610ced9190613722565b9250508190555080600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206002018190555060005a3a610d499190613186565b905080600c60008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206006016000828254610d9d9190613722565b9250508190555060005b600d80549050811015610e8c576000600d8281548110610dca57610dc961344a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600654826000015489610e4f9190613186565b610e59919061320f565b905080826000016000828254610e6f9190613778565b925050819055505050508080610e84906137ac565b915050610da7565b508360066000828254610e9f9190613778565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167fb2a4dec379f9aee4c050c269e9e2c8b04d5906da2d8b51aeb1f695fde65eca79858b8a8a604051610ef29493929190613803565b60405180910390a250505050610f066127d3565b5050505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f3b612706565b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610f769190612f26565b602060405180830381865afa158015610f93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb791906133ac565b905060008111610ffc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff390613894565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb611020611f59565b836040518363ffffffff1660e01b815260040161103e9291906138b4565b6020604051808303816000875af115801561105d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108191906138f2565b507f23d6711a1d031134a36921253c75aa59e967d38e369ac625992824315e204f2082826040516110b39291906138b4565b60405180910390a15050565b6110c7612706565b6110cf612784565b6000811180156110e0575060648111155b61111f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111690613137565b60405180910390fd5b60006006544761112f9190613778565b90506000606483836111419190613186565b61114b919061320f565b905060008111611190576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111879061396b565b60405180910390fd5b611198611f59565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156111dd573d6000803e3d6000fd5b5050506111e86127d3565b50565b6111f3612bb8565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060e00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820154815250509050919050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b6112be612706565b80600a8190555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112f6612784565b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001541161137b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611372906139d7565b60405180910390fd5b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508181600001541015611405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fc90613a43565b60405180910390fd5b600061140f6127dc565b905060006006548284600001546114269190613778565b476114319190613186565b61143b919061320f565b905083811015611480576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147790613aaf565b60405180910390fd5b838360000160008282546114949190613778565b9250508190555083600660008282546114ad9190613778565b925050819055506000836000015403611623576000836002015490506000600d6001600d805490506114df9190613778565b815481106114f0576114ef61344a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905080600d83815481106115325761153161344a565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020181905550600d8054806115d3576115d2613acf565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590556008600081548092919061161b90613afe565b919050555050505b3373ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f19350505050158015611669573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5856040516116b09190612f50565b60405180910390a25050506116c36127d3565b50565b60095481565b6116d4612706565b6116dc612784565b6000851180156116ed575060648511155b61172c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172390613137565b60405180910390fd5b6000600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008086156117ac576000836000015490508360020154670de0b6b3a76400008261179a9190613186565b6117a4919061320f565b9250506117cb565b60648884600101546117be9190613186565b6117c8919061320f565b91505b6000821161180e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180590613b99565b60405180910390fd5b8873ffffffffffffffffffffffffffffffffffffffff1663095ea7b38661185757600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661187b565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b846040518363ffffffff1660e01b81526004016118999291906138b4565b6020604051808303816000875af11580156118b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118dc91906138f2565b508415611a485760006040518061010001604052808b73ffffffffffffffffffffffffffffffffffffffff168152602001600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018662ffffff1681526020013073ffffffffffffffffffffffffffffffffffffffff16815260200142815260200184815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152509050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663414bf389826040518263ffffffff1660e01b81526004016119fd919061337b565b6020604051808303816000875af1158015611a1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4091906133ac565b915050611d3a565b6000600267ffffffffffffffff811115611a6557611a646133d9565b5b604051908082528060200260200182016040528015611a935781602001602082028036833780820191505090505b5090508981600081518110611aab57611aaa61344a565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b76919061341d565b81600181518110611b8a57611b8961344a565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508615611c6857600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478460008430426040518663ffffffff1660e01b8152600401611c2e959493929190613bb9565b600060405180830381600087803b158015611c4857600080fd5b505af1158015611c5c573d6000803e3d6000fd5b50505050479150611d38565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318cbafe58560008530426040518663ffffffff1660e01b8152600401611cce959493929190613bb9565b6000604051808303816000875af1158015611ced573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611d1691906136d9565b905080600181518110611d2c57611d2b61344a565b5b60200260200101519250505b505b81836003016000828254611d4e9190613722565b9250508190555080836004016000828254611d699190613722565b9250508190555060005a3a611d7e9190613186565b905080846006016000828254611d949190613722565b925050819055508715611e28578160066000828254611db39190613778565b92505081905550600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611e22573d6000803e3d6000fd5b50611ed1565b600084600001548311611e3c576000611e4d565b846000015483611e4c9190613778565b5b9050600083866000015411611e63576000611e74565b838660000154611e739190613778565b5b905081866005016000828254611e8a9190613722565b9250508190555080866006016000828254611ea59190613722565b925050819055508160076000828254611ebe9190613722565b92505081905550611ece826128ef565b50505b3373ffffffffffffffffffffffffffffffffffffffff167f5263062975d922fe4bfa70ea59a9890d992250eb653977de833455cf41f40577838c8b8b8b604051611f1f959493929190613c13565b60405180910390a250505050611f336127d3565b505050505050565b6000600a54905090565b611f4d612706565b611f576000612aec565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611f8a612706565b8060098190555050565b611f9c612706565b611fa4612784565b600047905060008111611fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe390613cb2565b60405180910390fd5b611ff4611f59565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612039573d6000803e3d6000fd5b50506120436127d3565b565b6000600854600a546120579190613778565b905090565b612064612784565b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154116120e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e0906139d7565b60405180910390fd5b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160010154905060008111612178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216f90613d1e565b60405180910390fd5b600082600101819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156121c8573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d58260405161220f9190612f50565b60405180910390a250506122216127d3565b565b600d818154811061223357600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b600b6020528060005260406000206000915090508060000154908060010154908060020154905083565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b6122c6612784565b60095434101561230b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230290613d8a565b60405180910390fd5b600a5460085410612351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234890613df6565b60405180910390fd5b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001540361246357600d80549050600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020181905550600d339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506008600081548092919061245d906137ac565b91905055505b34600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282546124b59190613722565b9250508190555034600660008282546124ce9190613722565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c43460405161251b9190612f50565b60405180910390a261252b6127d3565b565b600080600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154116125b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125aa906139d7565b60405180910390fd5b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006126006127dc565b905060006006548360000154836126179190613186565b612621919061320f565b83600001546126309190613778565b905080935050505090565b612643612706565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036126b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a990613e88565b60405180910390fd5b6126bb81612aec565b50565b600c6020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060154905087565b60065481565b61270e612bb0565b73ffffffffffffffffffffffffffffffffffffffff1661272c611f59565b73ffffffffffffffffffffffffffffffffffffffff1614612782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277990613ef4565b60405180910390fd5b565b6002600154036127c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c090613f60565b60405180910390fd5b6002600181905550565b60018081905550565b6000806000905060005b600d805490508110156128e7576000600d82815481106128095761280861344a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600c60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060060154600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001546128c69190613186565b836128d19190613722565b92505080806128df906137ac565b9150506127e6565b508091505090565b600060646032836129009190613186565b61290a919061320f565b905060006064600a8461291d9190613186565b612927919061320f565b905060008183856129389190613778565b6129429190613778565b9050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156129ac573d6000803e3d6000fd5b5060005b600d80549050811015612a95576000600d82815481106129d3576129d261344a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600654826000015488612a589190613186565b612a62919061320f565b905080826001016000828254612a789190613722565b925050819055505050508080612a8d906137ac565b9150506129b0565b508160066000828254612aa89190613722565b925050819055507f939df96a3b47dbfb83da233006cef1eb233fc5cba50ea94fecdebea4d99423e684604051612ade9190612f50565b60405180910390a150505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6040518060e00160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c3482612c09565b9050919050565b612c4481612c29565b8114612c4f57600080fd5b50565b600081359050612c6181612c3b565b92915050565b6000819050919050565b612c7a81612c67565b8114612c8557600080fd5b50565b600081359050612c9781612c71565b92915050565b60008115159050919050565b612cb281612c9d565b8114612cbd57600080fd5b50565b600081359050612ccf81612ca9565b92915050565b600062ffffff82169050919050565b612ced81612cd5565b8114612cf857600080fd5b50565b600081359050612d0a81612ce4565b92915050565b600080600080600060a08688031215612d2c57612d2b612bff565b5b6000612d3a88828901612c52565b9550506020612d4b88828901612c88565b9450506040612d5c88828901612cc0565b9350506060612d6d88828901612cc0565b9250506080612d7e88828901612cfb565b9150509295509295909350565b6000819050919050565b6000612db0612dab612da684612c09565b612d8b565b612c09565b9050919050565b6000612dc282612d95565b9050919050565b6000612dd482612db7565b9050919050565b612de481612dc9565b82525050565b6000602082019050612dff6000830184612ddb565b92915050565b600060208284031215612e1b57612e1a612bff565b5b6000612e2984828501612c52565b91505092915050565b600060208284031215612e4857612e47612bff565b5b6000612e5684828501612c88565b91505092915050565b612e6881612c67565b82525050565b60e082016000820151612e846000850182612e5f565b506020820151612e976020850182612e5f565b506040820151612eaa6040850182612e5f565b506060820151612ebd6060850182612e5f565b506080820151612ed06080850182612e5f565b5060a0820151612ee360a0850182612e5f565b5060c0820151612ef660c0850182612e5f565b50505050565b600060e082019050612f116000830184612e6e565b92915050565b612f2081612c29565b82525050565b6000602082019050612f3b6000830184612f17565b92915050565b612f4a81612c67565b82525050565b6000602082019050612f656000830184612f41565b92915050565b6000612f7682612db7565b9050919050565b612f8681612f6b565b82525050565b6000602082019050612fa16000830184612f7d565b92915050565b60008060008060008060c08789031215612fc457612fc3612bff565b5b6000612fd289828a01612c52565b9650506020612fe389828a01612c88565b9550506040612ff489828a01612cc0565b945050606061300589828a01612cc0565b935050608061301689828a01612cc0565b92505060a061302789828a01612cfb565b9150509295509295509295565b60006060820190506130496000830186612f41565b6130566020830185612f41565b6130636040830184612f41565b949350505050565b600060e082019050613080600083018a612f41565b61308d6020830189612f41565b61309a6040830188612f41565b6130a76060830187612f41565b6130b46080830186612f41565b6130c160a0830185612f41565b6130ce60c0830184612f41565b98975050505050505050565b600082825260208201905092915050565b7f496e76616c69642070657263656e746167650000000000000000000000000000600082015250565b60006131216012836130da565b915061312c826130eb565b602082019050919050565b6000602082019050818103600083015261315081613114565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061319182612c67565b915061319c83612c67565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156131d5576131d4613157565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061321a82612c67565b915061322583612c67565b925082613235576132346131e0565b5b828204905092915050565b7f496e73756666696369656e74204554482062616c616e63650000000000000000600082015250565b60006132766018836130da565b915061328182613240565b602082019050919050565b600060208201905081810360008301526132a581613269565b9050919050565b6132b581612c29565b82525050565b6132c481612cd5565b82525050565b6132d381612c09565b82525050565b610100820160008201516132f060008501826132ac565b50602082015161330360208501826132ac565b50604082015161331660408501826132bb565b50606082015161332960608501826132ac565b50608082015161333c6080850182612e5f565b5060a082015161334f60a0850182612e5f565b5060c082015161336260c0850182612e5f565b5060e082015161337560e08501826132ca565b50505050565b60006101008201905061339160008301846132d9565b92915050565b6000815190506133a681612c71565b92915050565b6000602082840312156133c2576133c1612bff565b5b60006133d084828501613397565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008151905061341781612c3b565b92915050565b60006020828403121561343357613432612bff565b5b600061344184828501613408565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b600061349e61349961349484613479565b612d8b565b612c67565b9050919050565b6134ae81613483565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60006134ec83836132ac565b60208301905092915050565b6000602082019050919050565b6000613510826134b4565b61351a81856134bf565b9350613525836134d0565b8060005b8381101561355657815161353d88826134e0565b9750613548836134f8565b925050600181019050613529565b5085935050505092915050565b600060808201905061357860008301876134a5565b818103602083015261358a8186613505565b90506135996040830185612f17565b6135a66060830184612f41565b95945050505050565b600080fd5b6000601f19601f8301169050919050565b6135ce826135b4565b810181811067ffffffffffffffff821117156135ed576135ec6133d9565b5b80604052505050565b6000613600612bf5565b905061360c82826135c5565b919050565b600067ffffffffffffffff82111561362c5761362b6133d9565b5b602082029050602081019050919050565b600080fd5b600061365561365084613611565b6135f6565b905080838252602082019050602084028301858111156136785761367761363d565b5b835b818110156136a1578061368d8882613397565b84526020840193505060208101905061367a565b5050509392505050565b600082601f8301126136c0576136bf6135af565b5b81516136d0848260208601613642565b91505092915050565b6000602082840312156136ef576136ee612bff565b5b600082015167ffffffffffffffff81111561370d5761370c612c04565b5b613719848285016136ab565b91505092915050565b600061372d82612c67565b915061373883612c67565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561376d5761376c613157565b5b828201905092915050565b600061378382612c67565b915061378e83612c67565b9250828210156137a1576137a0613157565b5b828203905092915050565b60006137b782612c67565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036137e9576137e8613157565b5b600182019050919050565b6137fd81612c9d565b82525050565b60006080820190506138186000830187612f41565b6138256020830186612f17565b61383260408301856137f4565b61383f60608301846137f4565b95945050505050565b7f4e6f20746f6b656e7320746f2077697468647261770000000000000000000000600082015250565b600061387e6015836130da565b915061388982613848565b602082019050919050565b600060208201905081810360008301526138ad81613871565b9050919050565b60006040820190506138c96000830185612f17565b6138d66020830184612f41565b9392505050565b6000815190506138ec81612ca9565b92915050565b60006020828403121561390857613907612bff565b5b6000613916848285016138dd565b91505092915050565b7f4e6f206578636573732045544820746f20776974686472617700000000000000600082015250565b60006139556019836130da565b91506139608261391f565b602082019050919050565b6000602082019050818103600083015261398481613948565b9050919050565b7f4e6f742061207061727469636970616e74000000000000000000000000000000600082015250565b60006139c16011836130da565b91506139cc8261398b565b602082019050919050565b600060208201905081810360008301526139f0816139b4565b9050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000613a2d6014836130da565b9150613a38826139f7565b602082019050919050565b60006020820190508181036000830152613a5c81613a20565b9050919050565b7f496e73756666696369656e7420636f6e74726163742062616c616e6365000000600082015250565b6000613a99601d836130da565b9150613aa482613a63565b602082019050919050565b60006020820190508181036000830152613ac881613a8c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6000613b0982612c67565b915060008203613b1c57613b1b613157565b5b600182039050919050565b7f546f6b656e20616d6f756e74206d75737420626520677265617465722074686160008201527f6e207a65726f0000000000000000000000000000000000000000000000000000602082015250565b6000613b836026836130da565b9150613b8e82613b27565b604082019050919050565b60006020820190508181036000830152613bb281613b76565b9050919050565b600060a082019050613bce6000830188612f41565b613bdb60208301876134a5565b8181036040830152613bed8186613505565b9050613bfc6060830185612f17565b613c096080830184612f41565b9695505050505050565b600060a082019050613c286000830188612f41565b613c356020830187612f17565b613c4260408301866137f4565b613c4f60608301856137f4565b613c5c60808301846137f4565b9695505050505050565b7f4e6f2045544820746f2077697468647261770000000000000000000000000000600082015250565b6000613c9c6012836130da565b9150613ca782613c66565b602082019050919050565b60006020820190508181036000830152613ccb81613c8f565b9050919050565b7f4e6f2070726f6669747320746f20636c61696d00000000000000000000000000600082015250565b6000613d086013836130da565b9150613d1382613cd2565b602082019050919050565b60006020820190508181036000830152613d3781613cfb565b9050919050565b7f4d696e696d756d206465706f736974206e6f74206d6574000000000000000000600082015250565b6000613d746017836130da565b9150613d7f82613d3e565b602082019050919050565b60006020820190508181036000830152613da381613d67565b9050919050565b7f5061727469636970616e74206c696d6974207265616368656400000000000000600082015250565b6000613de06019836130da565b9150613deb82613daa565b602082019050919050565b60006020820190508181036000830152613e0f81613dd3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613e726026836130da565b9150613e7d82613e16565b604082019050919050565b60006020820190508181036000830152613ea181613e65565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ede6020836130da565b9150613ee982613ea8565b602082019050919050565b60006020820190508181036000830152613f0d81613ed1565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613f4a601f836130da565b9150613f5582613f14565b602082019050919050565b60006020820190508181036000830152613f7981613f3d565b905091905056fea26469706673582212202a1a2e73d547c53860af8364aea6ac2b422746d405395a321249742edc3f332d64736f6c634300080d00330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006f84e53b9c3749d5cb34cb0036f600ff0f9753a0
Deployed Bytecode
0x6080604052600436106101c25760003560e01c80638da5cb5b116100f7578063a87430ba11610095578063e1637e7711610064578063e1637e77146105c7578063f2fde38b146105f2578063f5dab7111461061b578063ff50abdc1461065e576101c2565b8063a87430ba14610528578063ad5c464814610567578063bd998cb314610592578063d0e30db0146105bd576101c2565b80639a12c6ec116100d15780639a12c6ec1461047e5780639df51b89146104a95780639f4216e8146104c0578063a26dbf26146104fd576101c2565b80638da5cb5b146104135780638fcc9cfb1461043e57806390386bbf14610467576101c2565b80632bf7299b1161016457806341b3d1851161013e57806341b3d1851461037d57806342e29d32146103a85780636a02209c146103d1578063715018a6146103fc576101c2565b80632bf7299b146103005780632c76d7a6146103295780632e1a7d4d14610354576101c2565b80631b70e79c116101a05780631b70e79c146102445780631f69565f1461026d5780632301d775146102aa57806324924bf7146102d5576101c2565b806313a9d2ba146101c75780631694505e146101f05780631af032031461021b575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190612d10565b610689565b005b3480156101fc57600080fd5b50610205610f0d565b6040516102129190612dea565b60405180910390f35b34801561022757600080fd5b50610242600480360381019061023d9190612e05565b610f33565b005b34801561025057600080fd5b5061026b60048036038101906102669190612e32565b6110bf565b005b34801561027957600080fd5b50610294600480360381019061028f9190612e05565b6111eb565b6040516102a19190612efc565b60405180910390f35b3480156102b657600080fd5b506102bf61128a565b6040516102cc9190612f26565b60405180910390f35b3480156102e157600080fd5b506102ea6112b0565b6040516102f79190612f50565b60405180910390f35b34801561030c57600080fd5b5061032760048036038101906103229190612e32565b6112b6565b005b34801561033557600080fd5b5061033e6112c8565b60405161034b9190612f8c565b60405180910390f35b34801561036057600080fd5b5061037b60048036038101906103769190612e32565b6112ee565b005b34801561038957600080fd5b506103926116c6565b60405161039f9190612f50565b60405180910390f35b3480156103b457600080fd5b506103cf60048036038101906103ca9190612fa7565b6116cc565b005b3480156103dd57600080fd5b506103e6611f3b565b6040516103f39190612f50565b60405180910390f35b34801561040857600080fd5b50610411611f45565b005b34801561041f57600080fd5b50610428611f59565b6040516104359190612f26565b60405180910390f35b34801561044a57600080fd5b5061046560048036038101906104609190612e32565b611f82565b005b34801561047357600080fd5b5061047c611f94565b005b34801561048a57600080fd5b50610493612045565b6040516104a09190612f50565b60405180910390f35b3480156104b557600080fd5b506104be61205c565b005b3480156104cc57600080fd5b506104e760048036038101906104e29190612e32565b612223565b6040516104f49190612f26565b60405180910390f35b34801561050957600080fd5b50610512612262565b60405161051f9190612f50565b60405180910390f35b34801561053457600080fd5b5061054f600480360381019061054a9190612e05565b612268565b60405161055e93929190613034565b60405180910390f35b34801561057357600080fd5b5061057c612292565b6040516105899190612f26565b60405180910390f35b34801561059e57600080fd5b506105a76122b8565b6040516105b49190612f50565b60405180910390f35b6105c56122be565b005b3480156105d357600080fd5b506105dc61252d565b6040516105e99190612f50565b60405180910390f35b3480156105fe57600080fd5b5061061960048036038101906106149190612e05565b61263b565b005b34801561062757600080fd5b50610642600480360381019061063d9190612e05565b6126be565b604051610655979695949392919061306b565b60405180910390f35b34801561066a57600080fd5b50610673612700565b6040516106809190612f50565b60405180910390f35b610691612706565b610699612784565b6000841180156106aa575060648411155b6106e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e090613137565b60405180910390fd5b6000606485476106f99190613186565b610703919061320f565b905047811115610748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073f9061328c565b60405180910390fd5b600083156108b6576000604051806101000160405280600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018973ffffffffffffffffffffffffffffffffffffffff1681526020018562ffffff1681526020013073ffffffffffffffffffffffffffffffffffffffff16815260200142815260200184815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152509050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663414bf38984836040518363ffffffff1660e01b815260040161086b919061337b565b60206040518083038185885af1158015610889573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108ae91906133ac565b915050610c1f565b6000600267ffffffffffffffff8111156108d3576108d26133d9565b5b6040519080825280602002602001820160405280156109015781602001602082028036833780820191505090505b509050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610971573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610995919061341d565b816000815181106109a9576109a861344a565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505087816001815181106109f8576109f761344a565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508515610b4e57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b6f9de958460008430426040518663ffffffff1660e01b8152600401610a9b9493929190613563565b6000604051808303818588803b158015610ab457600080fd5b505af1158015610ac8573d6000803e3d6000fd5b50505050508773ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610b069190612f26565b602060405180830381865afa158015610b23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4791906133ac565b9150610c1d565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ff36ab58560008530426040518663ffffffff1660e01b8152600401610bb39493929190613563565b60006040518083038185885af1158015610bd1573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f82011682018060405250810190610bfb91906136d9565b905080600181518110610c1157610c1061344a565b5b60200260200101519250505b505b600081670de0b6b3a764000084610c369190613186565b610c40919061320f565b905082600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000016000828254610c949190613722565b9250508190555081600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001016000828254610ced9190613722565b9250508190555080600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206002018190555060005a3a610d499190613186565b905080600c60008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206006016000828254610d9d9190613722565b9250508190555060005b600d80549050811015610e8c576000600d8281548110610dca57610dc961344a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600654826000015489610e4f9190613186565b610e59919061320f565b905080826000016000828254610e6f9190613778565b925050819055505050508080610e84906137ac565b915050610da7565b508360066000828254610e9f9190613778565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167fb2a4dec379f9aee4c050c269e9e2c8b04d5906da2d8b51aeb1f695fde65eca79858b8a8a604051610ef29493929190613803565b60405180910390a250505050610f066127d3565b5050505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f3b612706565b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610f769190612f26565b602060405180830381865afa158015610f93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb791906133ac565b905060008111610ffc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff390613894565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb611020611f59565b836040518363ffffffff1660e01b815260040161103e9291906138b4565b6020604051808303816000875af115801561105d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108191906138f2565b507f23d6711a1d031134a36921253c75aa59e967d38e369ac625992824315e204f2082826040516110b39291906138b4565b60405180910390a15050565b6110c7612706565b6110cf612784565b6000811180156110e0575060648111155b61111f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111690613137565b60405180910390fd5b60006006544761112f9190613778565b90506000606483836111419190613186565b61114b919061320f565b905060008111611190576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111879061396b565b60405180910390fd5b611198611f59565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156111dd573d6000803e3d6000fd5b5050506111e86127d3565b50565b6111f3612bb8565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060e00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820154815250509050919050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b6112be612706565b80600a8190555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112f6612784565b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001541161137b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611372906139d7565b60405180910390fd5b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508181600001541015611405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fc90613a43565b60405180910390fd5b600061140f6127dc565b905060006006548284600001546114269190613778565b476114319190613186565b61143b919061320f565b905083811015611480576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147790613aaf565b60405180910390fd5b838360000160008282546114949190613778565b9250508190555083600660008282546114ad9190613778565b925050819055506000836000015403611623576000836002015490506000600d6001600d805490506114df9190613778565b815481106114f0576114ef61344a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905080600d83815481106115325761153161344a565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020181905550600d8054806115d3576115d2613acf565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590556008600081548092919061161b90613afe565b919050555050505b3373ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f19350505050158015611669573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5856040516116b09190612f50565b60405180910390a25050506116c36127d3565b50565b60095481565b6116d4612706565b6116dc612784565b6000851180156116ed575060648511155b61172c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172390613137565b60405180910390fd5b6000600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008086156117ac576000836000015490508360020154670de0b6b3a76400008261179a9190613186565b6117a4919061320f565b9250506117cb565b60648884600101546117be9190613186565b6117c8919061320f565b91505b6000821161180e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180590613b99565b60405180910390fd5b8873ffffffffffffffffffffffffffffffffffffffff1663095ea7b38661185757600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661187b565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b846040518363ffffffff1660e01b81526004016118999291906138b4565b6020604051808303816000875af11580156118b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118dc91906138f2565b508415611a485760006040518061010001604052808b73ffffffffffffffffffffffffffffffffffffffff168152602001600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018662ffffff1681526020013073ffffffffffffffffffffffffffffffffffffffff16815260200142815260200184815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152509050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663414bf389826040518263ffffffff1660e01b81526004016119fd919061337b565b6020604051808303816000875af1158015611a1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4091906133ac565b915050611d3a565b6000600267ffffffffffffffff811115611a6557611a646133d9565b5b604051908082528060200260200182016040528015611a935781602001602082028036833780820191505090505b5090508981600081518110611aab57611aaa61344a565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b76919061341d565b81600181518110611b8a57611b8961344a565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508615611c6857600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478460008430426040518663ffffffff1660e01b8152600401611c2e959493929190613bb9565b600060405180830381600087803b158015611c4857600080fd5b505af1158015611c5c573d6000803e3d6000fd5b50505050479150611d38565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318cbafe58560008530426040518663ffffffff1660e01b8152600401611cce959493929190613bb9565b6000604051808303816000875af1158015611ced573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611d1691906136d9565b905080600181518110611d2c57611d2b61344a565b5b60200260200101519250505b505b81836003016000828254611d4e9190613722565b9250508190555080836004016000828254611d699190613722565b9250508190555060005a3a611d7e9190613186565b905080846006016000828254611d949190613722565b925050819055508715611e28578160066000828254611db39190613778565b92505081905550600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611e22573d6000803e3d6000fd5b50611ed1565b600084600001548311611e3c576000611e4d565b846000015483611e4c9190613778565b5b9050600083866000015411611e63576000611e74565b838660000154611e739190613778565b5b905081866005016000828254611e8a9190613722565b9250508190555080866006016000828254611ea59190613722565b925050819055508160076000828254611ebe9190613722565b92505081905550611ece826128ef565b50505b3373ffffffffffffffffffffffffffffffffffffffff167f5263062975d922fe4bfa70ea59a9890d992250eb653977de833455cf41f40577838c8b8b8b604051611f1f959493929190613c13565b60405180910390a250505050611f336127d3565b505050505050565b6000600a54905090565b611f4d612706565b611f576000612aec565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611f8a612706565b8060098190555050565b611f9c612706565b611fa4612784565b600047905060008111611fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe390613cb2565b60405180910390fd5b611ff4611f59565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612039573d6000803e3d6000fd5b50506120436127d3565b565b6000600854600a546120579190613778565b905090565b612064612784565b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154116120e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e0906139d7565b60405180910390fd5b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160010154905060008111612178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216f90613d1e565b60405180910390fd5b600082600101819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156121c8573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d58260405161220f9190612f50565b60405180910390a250506122216127d3565b565b600d818154811061223357600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b600b6020528060005260406000206000915090508060000154908060010154908060020154905083565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b6122c6612784565b60095434101561230b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230290613d8a565b60405180910390fd5b600a5460085410612351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234890613df6565b60405180910390fd5b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001540361246357600d80549050600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020181905550600d339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506008600081548092919061245d906137ac565b91905055505b34600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282546124b59190613722565b9250508190555034600660008282546124ce9190613722565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c43460405161251b9190612f50565b60405180910390a261252b6127d3565b565b600080600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154116125b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125aa906139d7565b60405180910390fd5b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006126006127dc565b905060006006548360000154836126179190613186565b612621919061320f565b83600001546126309190613778565b905080935050505090565b612643612706565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036126b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a990613e88565b60405180910390fd5b6126bb81612aec565b50565b600c6020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060154905087565b60065481565b61270e612bb0565b73ffffffffffffffffffffffffffffffffffffffff1661272c611f59565b73ffffffffffffffffffffffffffffffffffffffff1614612782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277990613ef4565b60405180910390fd5b565b6002600154036127c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c090613f60565b60405180910390fd5b6002600181905550565b60018081905550565b6000806000905060005b600d805490508110156128e7576000600d82815481106128095761280861344a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600c60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060060154600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001546128c69190613186565b836128d19190613722565b92505080806128df906137ac565b9150506127e6565b508091505090565b600060646032836129009190613186565b61290a919061320f565b905060006064600a8461291d9190613186565b612927919061320f565b905060008183856129389190613778565b6129429190613778565b9050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156129ac573d6000803e3d6000fd5b5060005b600d80549050811015612a95576000600d82815481106129d3576129d261344a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600654826000015488612a589190613186565b612a62919061320f565b905080826001016000828254612a789190613722565b925050819055505050508080612a8d906137ac565b9150506129b0565b508160066000828254612aa89190613722565b925050819055507f939df96a3b47dbfb83da233006cef1eb233fc5cba50ea94fecdebea4d99423e684604051612ade9190612f50565b60405180910390a150505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6040518060e00160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c3482612c09565b9050919050565b612c4481612c29565b8114612c4f57600080fd5b50565b600081359050612c6181612c3b565b92915050565b6000819050919050565b612c7a81612c67565b8114612c8557600080fd5b50565b600081359050612c9781612c71565b92915050565b60008115159050919050565b612cb281612c9d565b8114612cbd57600080fd5b50565b600081359050612ccf81612ca9565b92915050565b600062ffffff82169050919050565b612ced81612cd5565b8114612cf857600080fd5b50565b600081359050612d0a81612ce4565b92915050565b600080600080600060a08688031215612d2c57612d2b612bff565b5b6000612d3a88828901612c52565b9550506020612d4b88828901612c88565b9450506040612d5c88828901612cc0565b9350506060612d6d88828901612cc0565b9250506080612d7e88828901612cfb565b9150509295509295909350565b6000819050919050565b6000612db0612dab612da684612c09565b612d8b565b612c09565b9050919050565b6000612dc282612d95565b9050919050565b6000612dd482612db7565b9050919050565b612de481612dc9565b82525050565b6000602082019050612dff6000830184612ddb565b92915050565b600060208284031215612e1b57612e1a612bff565b5b6000612e2984828501612c52565b91505092915050565b600060208284031215612e4857612e47612bff565b5b6000612e5684828501612c88565b91505092915050565b612e6881612c67565b82525050565b60e082016000820151612e846000850182612e5f565b506020820151612e976020850182612e5f565b506040820151612eaa6040850182612e5f565b506060820151612ebd6060850182612e5f565b506080820151612ed06080850182612e5f565b5060a0820151612ee360a0850182612e5f565b5060c0820151612ef660c0850182612e5f565b50505050565b600060e082019050612f116000830184612e6e565b92915050565b612f2081612c29565b82525050565b6000602082019050612f3b6000830184612f17565b92915050565b612f4a81612c67565b82525050565b6000602082019050612f656000830184612f41565b92915050565b6000612f7682612db7565b9050919050565b612f8681612f6b565b82525050565b6000602082019050612fa16000830184612f7d565b92915050565b60008060008060008060c08789031215612fc457612fc3612bff565b5b6000612fd289828a01612c52565b9650506020612fe389828a01612c88565b9550506040612ff489828a01612cc0565b945050606061300589828a01612cc0565b935050608061301689828a01612cc0565b92505060a061302789828a01612cfb565b9150509295509295509295565b60006060820190506130496000830186612f41565b6130566020830185612f41565b6130636040830184612f41565b949350505050565b600060e082019050613080600083018a612f41565b61308d6020830189612f41565b61309a6040830188612f41565b6130a76060830187612f41565b6130b46080830186612f41565b6130c160a0830185612f41565b6130ce60c0830184612f41565b98975050505050505050565b600082825260208201905092915050565b7f496e76616c69642070657263656e746167650000000000000000000000000000600082015250565b60006131216012836130da565b915061312c826130eb565b602082019050919050565b6000602082019050818103600083015261315081613114565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061319182612c67565b915061319c83612c67565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156131d5576131d4613157565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061321a82612c67565b915061322583612c67565b925082613235576132346131e0565b5b828204905092915050565b7f496e73756666696369656e74204554482062616c616e63650000000000000000600082015250565b60006132766018836130da565b915061328182613240565b602082019050919050565b600060208201905081810360008301526132a581613269565b9050919050565b6132b581612c29565b82525050565b6132c481612cd5565b82525050565b6132d381612c09565b82525050565b610100820160008201516132f060008501826132ac565b50602082015161330360208501826132ac565b50604082015161331660408501826132bb565b50606082015161332960608501826132ac565b50608082015161333c6080850182612e5f565b5060a082015161334f60a0850182612e5f565b5060c082015161336260c0850182612e5f565b5060e082015161337560e08501826132ca565b50505050565b60006101008201905061339160008301846132d9565b92915050565b6000815190506133a681612c71565b92915050565b6000602082840312156133c2576133c1612bff565b5b60006133d084828501613397565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008151905061341781612c3b565b92915050565b60006020828403121561343357613432612bff565b5b600061344184828501613408565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b600061349e61349961349484613479565b612d8b565b612c67565b9050919050565b6134ae81613483565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60006134ec83836132ac565b60208301905092915050565b6000602082019050919050565b6000613510826134b4565b61351a81856134bf565b9350613525836134d0565b8060005b8381101561355657815161353d88826134e0565b9750613548836134f8565b925050600181019050613529565b5085935050505092915050565b600060808201905061357860008301876134a5565b818103602083015261358a8186613505565b90506135996040830185612f17565b6135a66060830184612f41565b95945050505050565b600080fd5b6000601f19601f8301169050919050565b6135ce826135b4565b810181811067ffffffffffffffff821117156135ed576135ec6133d9565b5b80604052505050565b6000613600612bf5565b905061360c82826135c5565b919050565b600067ffffffffffffffff82111561362c5761362b6133d9565b5b602082029050602081019050919050565b600080fd5b600061365561365084613611565b6135f6565b905080838252602082019050602084028301858111156136785761367761363d565b5b835b818110156136a1578061368d8882613397565b84526020840193505060208101905061367a565b5050509392505050565b600082601f8301126136c0576136bf6135af565b5b81516136d0848260208601613642565b91505092915050565b6000602082840312156136ef576136ee612bff565b5b600082015167ffffffffffffffff81111561370d5761370c612c04565b5b613719848285016136ab565b91505092915050565b600061372d82612c67565b915061373883612c67565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561376d5761376c613157565b5b828201905092915050565b600061378382612c67565b915061378e83612c67565b9250828210156137a1576137a0613157565b5b828203905092915050565b60006137b782612c67565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036137e9576137e8613157565b5b600182019050919050565b6137fd81612c9d565b82525050565b60006080820190506138186000830187612f41565b6138256020830186612f17565b61383260408301856137f4565b61383f60608301846137f4565b95945050505050565b7f4e6f20746f6b656e7320746f2077697468647261770000000000000000000000600082015250565b600061387e6015836130da565b915061388982613848565b602082019050919050565b600060208201905081810360008301526138ad81613871565b9050919050565b60006040820190506138c96000830185612f17565b6138d66020830184612f41565b9392505050565b6000815190506138ec81612ca9565b92915050565b60006020828403121561390857613907612bff565b5b6000613916848285016138dd565b91505092915050565b7f4e6f206578636573732045544820746f20776974686472617700000000000000600082015250565b60006139556019836130da565b91506139608261391f565b602082019050919050565b6000602082019050818103600083015261398481613948565b9050919050565b7f4e6f742061207061727469636970616e74000000000000000000000000000000600082015250565b60006139c16011836130da565b91506139cc8261398b565b602082019050919050565b600060208201905081810360008301526139f0816139b4565b9050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000613a2d6014836130da565b9150613a38826139f7565b602082019050919050565b60006020820190508181036000830152613a5c81613a20565b9050919050565b7f496e73756666696369656e7420636f6e74726163742062616c616e6365000000600082015250565b6000613a99601d836130da565b9150613aa482613a63565b602082019050919050565b60006020820190508181036000830152613ac881613a8c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6000613b0982612c67565b915060008203613b1c57613b1b613157565b5b600182039050919050565b7f546f6b656e20616d6f756e74206d75737420626520677265617465722074686160008201527f6e207a65726f0000000000000000000000000000000000000000000000000000602082015250565b6000613b836026836130da565b9150613b8e82613b27565b604082019050919050565b60006020820190508181036000830152613bb281613b76565b9050919050565b600060a082019050613bce6000830188612f41565b613bdb60208301876134a5565b8181036040830152613bed8186613505565b9050613bfc6060830185612f17565b613c096080830184612f41565b9695505050505050565b600060a082019050613c286000830188612f41565b613c356020830187612f17565b613c4260408301866137f4565b613c4f60608301856137f4565b613c5c60808301846137f4565b9695505050505050565b7f4e6f2045544820746f2077697468647261770000000000000000000000000000600082015250565b6000613c9c6012836130da565b9150613ca782613c66565b602082019050919050565b60006020820190508181036000830152613ccb81613c8f565b9050919050565b7f4e6f2070726f6669747320746f20636c61696d00000000000000000000000000600082015250565b6000613d086013836130da565b9150613d1382613cd2565b602082019050919050565b60006020820190508181036000830152613d3781613cfb565b9050919050565b7f4d696e696d756d206465706f736974206e6f74206d6574000000000000000000600082015250565b6000613d746017836130da565b9150613d7f82613d3e565b602082019050919050565b60006020820190508181036000830152613da381613d67565b9050919050565b7f5061727469636970616e74206c696d6974207265616368656400000000000000600082015250565b6000613de06019836130da565b9150613deb82613daa565b602082019050919050565b60006020820190508181036000830152613e0f81613dd3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613e726026836130da565b9150613e7d82613e16565b604082019050919050565b60006020820190508181036000830152613ea181613e65565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ede6020836130da565b9150613ee982613ea8565b602082019050919050565b60006020820190508181036000830152613f0d81613ed1565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613f4a601f836130da565b9150613f5582613f14565b602082019050919050565b60006020820190508181036000830152613f7981613f3d565b905091905056fea26469706673582212202a1a2e73d547c53860af8364aea6ac2b422746d405395a321249742edc3f332d64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006f84e53b9c3749d5cb34cb0036f600ff0f9753a0
-----Decoded View---------------
Arg [0] : _uniswapV2Router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _uniswapV3Router (address): 0xE592427A0AEce92De3Edee1F18E0157C05861564
Arg [2] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [3] : _profitWallet (address): 0x6f84E53b9c3749D5cB34CB0036F600Ff0F9753a0
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 000000000000000000000000e592427a0aece92de3edee1f18e0157c05861564
Arg [2] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [3] : 0000000000000000000000006f84e53b9c3749d5cb34cb0036f600ff0f9753a0
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.