Source Code
Latest 25 from a total of 5,051 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw Fees WE... | 24373880 | 3 days ago | IN | 0 ETH | 0.00009705 | ||||
| Collect Fees | 24348378 | 7 days ago | IN | 0 ETH | 0.00018955 | ||||
| Collect Fees | 24348373 | 7 days ago | IN | 0 ETH | 0.00017049 | ||||
| Collect Fees | 24348370 | 7 days ago | IN | 0 ETH | 0.00026217 | ||||
| Collect Fees | 24348369 | 7 days ago | IN | 0 ETH | 0.00016342 | ||||
| Collect Fees | 24348361 | 7 days ago | IN | 0 ETH | 0.00017279 | ||||
| Collect Fees | 24348359 | 7 days ago | IN | 0 ETH | 0.00020006 | ||||
| Collect Fees | 24348355 | 7 days ago | IN | 0 ETH | 0.00021374 | ||||
| Collect Fees | 24348350 | 7 days ago | IN | 0 ETH | 0.00021547 | ||||
| Collect Fees | 24348343 | 7 days ago | IN | 0 ETH | 0.00016732 | ||||
| Collect Fees | 24348336 | 7 days ago | IN | 0 ETH | 0.00016648 | ||||
| Collect Fees | 24348326 | 7 days ago | IN | 0 ETH | 0.00015951 | ||||
| Collect Fees | 24348325 | 7 days ago | IN | 0 ETH | 0.00015638 | ||||
| Collect Fees | 24348321 | 7 days ago | IN | 0 ETH | 0.00014352 | ||||
| Collect Fees | 24348314 | 7 days ago | IN | 0 ETH | 0.00013611 | ||||
| Collect Fees | 24348313 | 7 days ago | IN | 0 ETH | 0.00013384 | ||||
| Collect Fees | 24348302 | 7 days ago | IN | 0 ETH | 0.00011914 | ||||
| Collect Fees | 24348289 | 7 days ago | IN | 0 ETH | 0.00007308 | ||||
| Collect Fees | 24348288 | 7 days ago | IN | 0 ETH | 0.00010661 | ||||
| Collect Fees | 24348286 | 7 days ago | IN | 0 ETH | 0.00010474 | ||||
| Collect Fees | 24348285 | 7 days ago | IN | 0 ETH | 0.00010826 | ||||
| Collect Fees | 24348284 | 7 days ago | IN | 0 ETH | 0.00010287 | ||||
| Collect Fees | 24348282 | 7 days ago | IN | 0 ETH | 0.00009587 | ||||
| Collect Fees | 24348281 | 7 days ago | IN | 0 ETH | 0.00009664 | ||||
| Collect Fees | 24348278 | 7 days ago | IN | 0 ETH | 0.00009234 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 24373880 | 3 days ago | 0.21477337 ETH | ||||
| Transfer | 24373880 | 3 days ago | 0.21477337 ETH | ||||
| Transfer | 24348378 | 7 days ago | 0.00034699 ETH | ||||
| Transfer | 24348378 | 7 days ago | 0.00034699 ETH | ||||
| Transfer | 24348373 | 7 days ago | 0.00034824 ETH | ||||
| Transfer | 24348373 | 7 days ago | 0.00034824 ETH | ||||
| Transfer | 24348370 | 7 days ago | 0.00034849 ETH | ||||
| Transfer | 24348370 | 7 days ago | 0.00034849 ETH | ||||
| Transfer | 24348369 | 7 days ago | 0.00034849 ETH | ||||
| Transfer | 24348369 | 7 days ago | 0.00034849 ETH | ||||
| Transfer | 24348361 | 7 days ago | 0.00034925 ETH | ||||
| Transfer | 24348361 | 7 days ago | 0.00034925 ETH | ||||
| Transfer | 24348359 | 7 days ago | 0.00034925 ETH | ||||
| Transfer | 24348359 | 7 days ago | 0.00034925 ETH | ||||
| Transfer | 24348355 | 7 days ago | 0.00034949 ETH | ||||
| Transfer | 24348355 | 7 days ago | 0.00034949 ETH | ||||
| Transfer | 24348350 | 7 days ago | 0.00034999 ETH | ||||
| Transfer | 24348350 | 7 days ago | 0.00034999 ETH | ||||
| Transfer | 24348343 | 7 days ago | 0.00035059 ETH | ||||
| Transfer | 24348343 | 7 days ago | 0.00035059 ETH | ||||
| Transfer | 24348336 | 7 days ago | 0.00035344 ETH | ||||
| Transfer | 24348336 | 7 days ago | 0.00035344 ETH | ||||
| Transfer | 24348326 | 7 days ago | 0.00035839 ETH | ||||
| Transfer | 24348326 | 7 days ago | 0.00035839 ETH | ||||
| Transfer | 24348325 | 7 days ago | 0.00035839 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Factory
Compiler Version
v0.8.30+commit.73712a01
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/*
__ _ _ ____ __ _ _____ ____ ____ ____ ____ __ ___
| |/ ]| | | || |/ ] | || || \ / || \ / ] / _]
| ' / | | | | | ' / | __| | | | _ || o || _ | / / / [_
| \ | |___ | | | \ | |_ | | | | || || | |/ / | _]
| \| | | | | \ __ | _] | | | | || _ || | / \_ | [_
| . || | | | | . || || | | | | | || | || | \ || |
|__|\_||_____||____||__|\_||__||__| |____||__|__||__|__||__|__|\____||_____|
https://klik.finance
https://x.com/klik_evm
*/
pragma solidity >=0.8.9;
interface IToken {
function creator() external view returns (address);
}
interface IWETH {
function withdraw(uint256 amount) external;
}
interface IUniswapV3Factory {
function getPool(address tokenA, address tokenB, uint24 fee) external view returns (address);
}
interface ISwapRouter02 {
struct ExactInputSingleParams {
address tokenIn;
address tokenOut;
uint24 fee;
address recipient;
uint256 amountIn;
uint256 amountOutMinimum;
uint160 sqrtPriceLimitX96;
}
function exactInputSingle(ExactInputSingleParams calldata params)
external
payable
returns (uint256 amountOut);
}
interface INonfungiblePositionManager {
struct MintParams {
address token0;
address token1;
uint24 fee;
int24 tickLower;
int24 tickUpper;
uint256 amount0Desired;
uint256 amount1Desired;
uint256 amount0Min;
uint256 amount1Min;
address recipient;
uint256 deadline;
}
function factory() external view returns (address);
function WETH9() external view returns (address);
function positions(uint256 tokenId) external view returns (
uint96 nonce,
address operator,
address token0,
address token1,
uint24 fee,
int24 tickLower,
int24 tickUpper,
uint128 liquidity,
uint256 feeGrowthInside0LastX128,
uint256 feeGrowthInside1LastX128,
uint128 tokensOwed0,
uint128 tokensOwed1
);
function createAndInitializePoolIfNecessary(
address token0,
address token1,
uint24 fee,
uint160 sqrtPriceX96
) external returns (address pool);
function mint(MintParams calldata params) external returns (
uint256 tokenId,
uint128 liquidity,
uint256 amount0,
uint256 amount1
);
struct CollectParams {
uint256 tokenId;
address recipient;
uint128 amount0Max;
uint128 amount1Max;
}
function collect(CollectParams calldata params) external payable returns (
uint256 amount0,
uint256 amount1
);
function getApproved(uint256 tokenId) external view returns (address);
function isApprovedForAll(address owner, address operator) external view returns (bool);
function ownerOf(uint256 tokenId) external view returns (address);
}
contract Factory {
event ERC20TokenCreated(address tokenAddress);
struct TokenInfo {
address tokenAddress;
string name;
string symbol;
address deployer;
uint256 time;
string metadata;
uint256 marketCapInETH;
}
mapping(uint256 => TokenInfo) public deployedTokens;
uint256 public tokenCount = 0;
address public platformController;
bool public deployCoinEnabled = false;
uint256 private penaltyMultiplier = 100; // 100% (100 = 100%, 50 = 50%, 200 = 200%)
address public constant POSITION_MANAGER = 0xC36442b4a4522E871399CD717aBDD847Ab11FE88;
address public constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
address public constant SWAP_ROUTER = 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45; // SwapRouter02
uint24 private constant FEE_TIER = 10000;
uint256 private constant VIRTUAL_ETH = 1.5 ether;
event TokenPurchased(address buyer, address tokenOut, uint256 ethSpent, uint256 tokensReceived);
constructor() {
platformController = msg.sender;
}
receive() external payable {}
function deployCoin(string memory _name, string memory _symbol, string memory _metadata, bytes32 salt) public payable {
require(deployCoinEnabled, "Token deployment is currently disabled");
Token t = new Token{salt: salt}(
_name,
_symbol,
msg.sender,
address(this)
);
emit ERC20TokenCreated(address(t));
address coin_address = address(t);
provideLiquidity(coin_address, WETH);
if (msg.value > 0) {
uint256 basePenalty = getPenalty(msg.value); // in basis points (e.g., 2500 = 25%)
uint256 taxBps = (basePenalty * penaltyMultiplier) / 100; // Apply multiplier
uint256 tax = (msg.value * taxBps) / 10000;
uint256 amountAfterTax = msg.value - tax;
// Retain the tax inside the contract
// Note: address(this) already received msg.value, we only use part for swap
ISwapRouter02(SWAP_ROUTER).exactInputSingle{ value: amountAfterTax }(
ISwapRouter02.ExactInputSingleParams({
tokenIn: WETH,
tokenOut: coin_address,
fee: 10000,
recipient: address(this), // Factory receives tokens first
amountIn: amountAfterTax,
amountOutMinimum: 0,
sqrtPriceLimitX96: 0
})
);
IERC20 token = IERC20(coin_address);
uint256 tokensReceived = token.balanceOf(address(this));
token.transfer(msg.sender, tokensReceived);
}
deployedTokens[tokenCount] = TokenInfo({
tokenAddress: coin_address,
name: _name,
symbol: _symbol,
deployer: msg.sender,
time: block.timestamp,
metadata: _metadata,
marketCapInETH: 0
});
tokenCount++;
}
function getTokenBytecode(
string memory _name,
string memory _symbol,
address creator
) public view returns (bytes memory bytecode) {
bytecode = abi.encodePacked(
type(Token).creationCode,
abi.encode(_name, _symbol, creator, address(this))
);
}
function getPenalty(uint256 ethAmount) public pure returns (uint256) {
if (ethAmount < 0.05 ether) return 0;
if (ethAmount >= 0.30 ether) return 5000; // max 50%
uint256 slope = 18000;
uint256 delta = ethAmount - 0.05 ether;
uint256 penalty = 500 + (delta * slope) / 1 ether;
return penalty;
}
function getDeploysByPage(uint256 page, uint256 order) public view returns (TokenInfo[] memory) {
uint256 itemsPerPage = 50;
require(tokenCount > 0, "No tokens deployed");
uint256 totalPages = (tokenCount + itemsPerPage - 1) / itemsPerPage;
require(page < totalPages, "Page out of range");
uint256 start;
uint256 end;
uint256 j = 0;
if (order == 0) {
// Newest first
start = tokenCount > (page + 1) * itemsPerPage ? tokenCount - (page + 1) * itemsPerPage : 0;
end = tokenCount - page * itemsPerPage;
if (end > tokenCount) end = tokenCount;
} else {
// Oldest first
start = page * itemsPerPage;
end = start + itemsPerPage;
if (end > tokenCount) end = tokenCount;
}
TokenInfo[] memory tokens = new TokenInfo[](end - start);
address weth = INonfungiblePositionManager(POSITION_MANAGER).WETH9();
address factory = INonfungiblePositionManager(POSITION_MANAGER).factory();
for (uint256 i = start; i < end; i++) {
uint256 index = order == 0 ? end - 1 - (i - start) : i;
TokenInfo memory info = deployedTokens[index];
uint256 marketCap = 0;
address pool = IUniswapV3Factory(factory).getPool(info.tokenAddress, weth, 10000);
if (pool != address(0)) {
uint256 wethInPool = IERC20(weth).balanceOf(pool);
uint256 tokenInPool = IERC20(info.tokenAddress).balanceOf(pool);
uint256 totalSupply = IERC20(info.tokenAddress).totalSupply();
if (tokenInPool > 0) {
marketCap = ((wethInPool + 1.5 ether) * totalSupply) / tokenInPool;
}
}
tokens[j++] = TokenInfo({
tokenAddress: info.tokenAddress,
name: info.name,
symbol: info.symbol,
deployer: info.deployer,
time: info.time,
metadata: info.metadata,
marketCapInETH: marketCap
});
}
return tokens;
}
function withdrawFeesWETH() external {
require(msg.sender == platformController, "Caller is not controller");
uint256 wethBalance = IERC20(WETH).balanceOf(address(this));
require(wethBalance > 0, "No WETH to withdraw");
IWETH(WETH).withdraw(wethBalance);
(bool success, ) = msg.sender.call{ value: wethBalance }("");
require(success, "ETH transfer failed");
}
function withdrawFeesETH() external {
require(msg.sender == platformController, "Caller is not controller");
uint256 ethBalance = address(this).balance;
require(ethBalance > 0, "No ETH to withdraw");
(bool success, ) = msg.sender.call{ value: ethBalance }("");
require(success, "ETH transfer failed");
}
function toggleDeployCoin() external {
require(msg.sender == platformController, "Caller is not controller");
deployCoinEnabled = !deployCoinEnabled;
}
function setPenaltyMultiplier(uint256 _multiplier) external {
require(msg.sender == platformController, "Caller is not controller");
require(_multiplier <= 100, "Multiplier cannot exceed 100%");
penaltyMultiplier = _multiplier;
}
function provideLiquidity(address tokenA, address tokenB) internal {
bool tokenAIsToken0 = tokenA < tokenB;
address token0 = tokenAIsToken0 ? tokenA : tokenB;
address token1 = tokenAIsToken0 ? tokenB : tokenA;
IERC20(token0).approve(POSITION_MANAGER, type(uint256).max);
IERC20(token1).approve(POSITION_MANAGER, type(uint256).max);
INonfungiblePositionManager manager = INonfungiblePositionManager(POSITION_MANAGER);
uint160 sqrtPriceX96 = tokenAIsToken0
? 3068365595550320841079178
: 2045645379722529521098596513701367;
int24 tickLower = tokenAIsToken0 ? int24(-203000) : int24(-887200);
int24 tickUpper = tokenAIsToken0 ? int24(887200) : int24(203000);
uint256 amount0Desired = tokenAIsToken0 ? 1000000000000000000000000000 : 0;
uint256 amount1Desired = tokenAIsToken0 ? 0 : 1000000000000000000000000000;
manager.createAndInitializePoolIfNecessary(token0, token1, 10000, sqrtPriceX96);
manager.mint(
INonfungiblePositionManager.MintParams({
token0: token0,
token1: token1,
fee: 10000,
tickLower: tickLower,
tickUpper: tickUpper,
amount0Desired: amount0Desired,
amount1Desired: amount1Desired,
amount0Min: 0,
amount1Min: 0,
recipient: address(this),
deadline: block.timestamp
})
);
}
function collectFees(uint256 tokenId) external returns (uint256 amount0, uint256 amount1) {
(
, // nonce
, // operator
address token0Raw,
address token1Raw,
, , , , , , ,
) = INonfungiblePositionManager(POSITION_MANAGER).positions(tokenId);
// Ensure token1 is always WETH
address token0 = token0Raw;
address token1 = token1Raw;
if (token0Raw == WETH && token1Raw != WETH) {
token0 = token1Raw;
token1 = token0Raw;
}
address creator = IToken(token0).creator();
require(msg.sender == creator || msg.sender == platformController, "Not authorized");
uint256 beforeToken0 = IERC20(token0).balanceOf(address(this));
uint256 beforeToken1 = IERC20(token1).balanceOf(address(this));
INonfungiblePositionManager.CollectParams memory params = INonfungiblePositionManager.CollectParams({
tokenId: tokenId,
recipient: address(this),
amount0Max: type(uint128).max,
amount1Max: type(uint128).max
});
// Ensure token1 is actually WETH
require(token1 == WETH, "token1 must be WETH");
INonfungiblePositionManager(POSITION_MANAGER).collect(params);
uint256 collected0 = IERC20(token0).balanceOf(address(this)) - beforeToken0;
uint256 collected1 = IERC20(token1).balanceOf(address(this)) - beforeToken1;
if (collected0 > 0) {
IERC20(token0).transfer(address(0x000000000000000000000000000000000000dEaD), collected0); // burn tokens
}
if (collected1 > 0) {
uint256 half = collected1 / 2;
IWETH(token1).withdraw(half);
(bool success, ) = payable(creator).call{value: half}("");
require(success, "ETH transfer to creator failed");
}
return (collected0, collected1);
}
function changeTokenFeeReceiver(address tokenAddress, address newCreator) external {
require(msg.sender == platformController, "Only platform controller can change creator"); //Updating Fee Receiver
require(newCreator != address(0), "New creator cannot be zero address");
Token(tokenAddress).changeCreator(newCreator);
}
}
// SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract Token is ERC20, ERC20Burnable {
address public platform;
address public creator;
uint256 private launchBlock;
uint256 private maxTxAmount;
uint256 private constant LAUNCH_PERIOD = 5; // 5 blocks
uint256 private constant MAX_WALLET_PERCENTAGE = 2; // 2% of total supply
address public constant POSITION_MANAGER = 0xC36442b4a4522E871399CD717aBDD847Ab11FE88;
address public constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
// Track transfers per tx.origin per block to detect multi-swaps
mapping(address => uint256) private tokensFromPoolPerOrigin;
constructor(
string memory _name,
string memory _symbol,
address _creator,
address _platform
) ERC20(_name, _symbol) {
platform = _platform;
creator = _creator;
launchBlock = block.number;
uint256 totalTokens = 1000000000 * 10 ** decimals();
maxTxAmount = (totalTokens * MAX_WALLET_PERCENTAGE) / 100;
_mint(_platform, totalTokens);
}
function _update(address from, address to, uint256 value) internal override {
if (block.number > launchBlock && block.number <= launchBlock + LAUNCH_PERIOD) {
// Get pool address for exemption
address factory = INonfungiblePositionManager(POSITION_MANAGER).factory();
address pool = IUniswapV3Factory(factory).getPool(address(this), WETH, 10000);
if (from == pool && to != platform && to != creator) {
tokensFromPoolPerOrigin[tx.origin] += value;
require(
tokensFromPoolPerOrigin[tx.origin] <= maxTxAmount*110/100,
"Keeping 2% pool Limits In Kontrol"
);
}
if (to != creator && to != platform && to != pool && from != address(0)) {
require(
balanceOf(to) + value <= maxTxAmount,
"Max wallet limit exceeded during launch period"
);
}
}
// Block all buys at launch block except exempted transfers
if (block.number == launchBlock &&
from != address(0) &&
to != platform &&
from != platform &&
!(from == platform && to == creator)) { // Only platform can send to creator
revert("No buys allowed during launch block!");
}
super._update(from, to, value);
}
function getTokenPair() public view returns (address,address,address){
address find_factory = INonfungiblePositionManager(POSITION_MANAGER).factory();
address find_pool = IUniswapV3Factory(find_factory).getPool(address(this), WETH, 10000);
return (find_pool,address(this),find_factory);
}
function isLaunchPeriodActive() public view returns (bool) {
return block.number <= launchBlock + LAUNCH_PERIOD;
}
function changeCreator(address newCreator) external {
require(msg.sender == platform, "Only platform can change creator"); //Updating Fee Receiver
creator = newCreator;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC-20
* applications.
*/
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
mapping(address account => uint256) private _balances;
mapping(address account => mapping(address spender => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* Both values are immutable: they can only be set once during construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `value`.
*/
function transfer(address to, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_transfer(owner, to, value);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, value);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Skips emitting an {Approval} event indicating an allowance update. This is not
* required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `value`.
* - the caller must have allowance for ``from``'s tokens of at least
* `value`.
*/
function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, value);
_transfer(from, to, value);
return true;
}
/**
* @dev Moves a `value` amount of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _transfer(address from, address to, uint256 value) internal {
if (from == address(0)) {
revert ERC20InvalidSender(address(0));
}
if (to == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(from, to, value);
}
/**
* @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
* (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
* this function.
*
* Emits a {Transfer} event.
*/
function _update(address from, address to, uint256 value) internal virtual {
if (from == address(0)) {
// Overflow check required: The rest of the code assumes that totalSupply never overflows
_totalSupply += value;
} else {
uint256 fromBalance = _balances[from];
if (fromBalance < value) {
revert ERC20InsufficientBalance(from, fromBalance, value);
}
unchecked {
// Overflow not possible: value <= fromBalance <= totalSupply.
_balances[from] = fromBalance - value;
}
}
if (to == address(0)) {
unchecked {
// Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
_totalSupply -= value;
}
} else {
unchecked {
// Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
_balances[to] += value;
}
}
emit Transfer(from, to, value);
}
/**
* @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
* Relies on the `_update` mechanism
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _mint(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(address(0), account, value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
* Relies on the `_update` mechanism.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead
*/
function _burn(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidSender(address(0));
}
_update(account, address(0), value);
}
/**
* @dev Sets `value` as the allowance of `spender` over the `owner`'s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*
* Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
*/
function _approve(address owner, address spender, uint256 value) internal {
_approve(owner, spender, value, true);
}
/**
* @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
*
* By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
* `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
* `Approval` event during `transferFrom` operations.
*
* Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
* true using the following override:
*
* ```solidity
* function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
* super._approve(owner, spender, value, true);
* }
* ```
*
* Requirements are the same as {_approve}.
*/
function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
if (owner == address(0)) {
revert ERC20InvalidApprover(address(0));
}
if (spender == address(0)) {
revert ERC20InvalidSpender(address(0));
}
_allowances[owner][spender] = value;
if (emitEvent) {
emit Approval(owner, spender, value);
}
}
/**
* @dev Updates `owner`'s allowance for `spender` based on spent `value`.
*
* Does not update the allowance value in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Does not emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance < type(uint256).max) {
if (currentAllowance < value) {
revert ERC20InsufficientAllowance(spender, currentAllowance, value);
}
unchecked {
_approve(owner, spender, currentAllowance - value, false);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)
pragma solidity ^0.8.20;
import {ERC20} from "../ERC20.sol";
import {Context} from "../../../utils/Context.sol";
/**
* @dev Extension of {ERC20} that allows token holders to destroy both their own
* tokens and those that they have an allowance for, in a way that can be
* recognized off-chain (via event analysis).
*/
abstract contract ERC20Burnable is Context, ERC20 {
/**
* @dev Destroys a `value` amount of tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 value) public virtual {
_burn(_msgSender(), value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, deducting from
* the caller's allowance.
*
* See {ERC20-_burn} and {ERC20-allowance}.
*
* Requirements:
*
* - the caller must have allowance for ``accounts``'s tokens of at least
* `value`.
*/
function burnFrom(address account, uint256 value) public virtual {
_spendAllowance(account, _msgSender(), value);
_burn(account, value);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard ERC-20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
*/
interface IERC20Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC20InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC20InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
* @param spender Address that may be allowed to operate on tokens without being their owner.
* @param allowance Amount of tokens a `spender` is allowed to operate with.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC20InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `spender` to be approved. Used in approvals.
* @param spender Address that may be allowed to operate on tokens without being their owner.
*/
error ERC20InvalidSpender(address spender);
}
/**
* @dev Standard ERC-721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
error ERC721InvalidOwner(address owner);
/**
* @dev Indicates a `tokenId` whose `owner` is the zero address.
* @param tokenId Identifier number of a token.
*/
error ERC721NonexistentToken(uint256 tokenId);
/**
* @dev Indicates an error related to the ownership over a particular token. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param tokenId Identifier number of a token.
* @param owner Address of the current owner of a token.
*/
error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC721InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC721InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param tokenId Identifier number of a token.
*/
error ERC721InsufficientApproval(address operator, uint256 tokenId);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC721InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC721InvalidOperator(address operator);
}
/**
* @dev Standard ERC-1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
*/
interface IERC1155Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
* @param tokenId Identifier number of a token.
*/
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC1155InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC1155InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param owner Address of the current owner of a token.
*/
error ERC1155MissingApprovalForAll(address operator, address owner);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC1155InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC1155InvalidOperator(address operator);
/**
* @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
* Used in batch transfers.
* @param idsLength Length of the array of token identifiers
* @param valuesLength Length of the array of token amounts
*/
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC-20 standard.
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
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 value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` 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 value) external returns (bool);
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"remappings": []
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenAddress","type":"address"}],"name":"ERC20TokenCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"address","name":"tokenOut","type":"address"},{"indexed":false,"internalType":"uint256","name":"ethSpent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensReceived","type":"uint256"}],"name":"TokenPurchased","type":"event"},{"inputs":[],"name":"POSITION_MANAGER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SWAP_ROUTER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"newCreator","type":"address"}],"name":"changeTokenFeeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"collectFees","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_metadata","type":"string"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"deployCoin","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"deployCoinEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"deployedTokens","outputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"deployer","type":"address"},{"internalType":"uint256","name":"time","type":"uint256"},{"internalType":"string","name":"metadata","type":"string"},{"internalType":"uint256","name":"marketCapInETH","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"page","type":"uint256"},{"internalType":"uint256","name":"order","type":"uint256"}],"name":"getDeploysByPage","outputs":[{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"deployer","type":"address"},{"internalType":"uint256","name":"time","type":"uint256"},{"internalType":"string","name":"metadata","type":"string"},{"internalType":"uint256","name":"marketCapInETH","type":"uint256"}],"internalType":"struct Factory.TokenInfo[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"getPenalty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"creator","type":"address"}],"name":"getTokenBytecode","outputs":[{"internalType":"bytes","name":"bytecode","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"platformController","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_multiplier","type":"uint256"}],"name":"setPenaltyMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleDeployCoin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFeesETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFeesWETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60806040525f6001556002805460ff60a01b1916905560646003553480156024575f5ffd5b50600280546001600160a01b03191633179055614255806100445f395ff3fe6080604052600436106100fd575f3560e01c80639f9baaaa11610092578063b17acdcd11610062578063b17acdcd146102b8578063c6005893146102ec578063ec81aadb14610313578063f7b64c8314610345578063fe6b945414610359575f5ffd5b80639f9baaaa1461023e578063a361e0d914610252578063aced8d8114610265578063ad5c464814610291575f5ffd5b80638d99aeb0116100cd5780638d99aeb0146101b1578063964a0495146101dd57806396e59682146101fc5780639f181b5e14610229575f5ffd5b80631bea83fe146101085780633bcc75f61461014c5780635a3afecf1461016b5780636758704614610181575f5ffd5b3661010457005b5f5ffd5b348015610113575f5ffd5b5061012f73c36442b4a4522e871399cd717abdd847ab11fe8881565b6040516001600160a01b0390911681526020015b60405180910390f35b348015610157575f5ffd5b5060025461012f906001600160a01b031681565b348015610176575f5ffd5b5061017f610378565b005b34801561018c575f5ffd5b506002546101a190600160a01b900460ff1681565b6040519015158152602001610143565b3480156101bc575f5ffd5b506101d06101cb366004612113565b61055f565b60405161014391906121b9565b3480156101e8575f5ffd5b5061017f6101f73660046121d2565b6105d0565b348015610207575f5ffd5b5061021b610216366004612209565b6106f9565b604051908152602001610143565b348015610234575f5ffd5b5061021b60015481565b348015610249575f5ffd5b5061017f610772565b61017f610260366004612220565b6107f3565b348015610270575f5ffd5b5061028461027f3660046122b6565b610c32565b60405161014391906122d6565b34801561029c575f5ffd5b5061012f73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b3480156102c3575f5ffd5b506102d76102d2366004612209565b611417565b60408051928352602083019190915201610143565b3480156102f7575f5ffd5b5061012f7368b3465833fb72a70ecdf485e0e4c7bd8665fc4581565b34801561031e575f5ffd5b5061033261032d366004612209565b611a49565b60405161014397969594939291906123b6565b348015610350575f5ffd5b5061017f611c2d565b348015610364575f5ffd5b5061017f610373366004612209565b611c78565b6002546001600160a01b031633146103ab5760405162461bcd60e51b81526004016103a29061242a565b60405180910390fd5b6040516370a0823160e01b81523060048201525f9073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906370a0823190602401602060405180830381865afa1580156103fa573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061041e9190612461565b90505f81116104655760405162461bcd60e51b81526020600482015260136024820152724e6f205745544820746f20776974686472617760681b60448201526064016103a2565b604051632e1a7d4d60e01b81526004810182905273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290632e1a7d4d906024015f604051808303815f87803b1580156104af575f5ffd5b505af11580156104c1573d5f5f3e3d5ffd5b505050505f336001600160a01b0316826040515b5f6040518083038185875af1925050503d805f811461050f576040519150601f19603f3d011682016040523d82523d5f602084013e610514565b606091505b505090508061055b5760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b60448201526064016103a2565b5050565b60606040518060200161057190612050565b601f1982820381018352601f90910116604081905261059a908690869086903090602001612478565b60408051601f19818403018152908290526105b892916020016124d8565b60405160208183030381529060405290509392505050565b6002546001600160a01b0316331461063e5760405162461bcd60e51b815260206004820152602b60248201527f4f6e6c7920706c6174666f726d20636f6e74726f6c6c65722063616e2063686160448201526a3733b29031b932b0ba37b960a91b60648201526084016103a2565b6001600160a01b03811661069f5760405162461bcd60e51b815260206004820152602260248201527f4e65772063726561746f722063616e6e6f74206265207a65726f206164647265604482015261737360f01b60648201526084016103a2565b6040516374580e2f60e01b81526001600160a01b0382811660048301528316906374580e2f906024015f604051808303815f87803b1580156106df575f5ffd5b505af11580156106f1573d5f5f3e3d5ffd5b505050505050565b5f66b1a2bc2ec5000082101561071057505f919050565b670429d069189e000082106107285750611388919050565b6146505f61073d66b1a2bc2ec5000085612508565b90505f670de0b6b3a7640000610753848461251b565b61075d9190612532565b610769906101f4612551565b95945050505050565b6002546001600160a01b0316331461079c5760405162461bcd60e51b81526004016103a29061242a565b47806107df5760405162461bcd60e51b81526020600482015260126024820152714e6f2045544820746f20776974686472617760701b60448201526064016103a2565b5f336001600160a01b0316826040516104d5565b600254600160a01b900460ff1661085b5760405162461bcd60e51b815260206004820152602660248201527f546f6b656e206465706c6f796d656e742069732063757272656e746c792064696044820152651cd8589b195960d21b60648201526084016103a2565b5f818585333060405161086d90612050565b61087a9493929190612478565b8190604051809103905ff5905080158015610897573d5f5f3e3d5ffd5b506040516001600160a01b03821681529091507f60122e78030aba0a2e4a67adb3e52b411343cc51778f919095d3fe394090c1b29060200160405180910390a1806108f68173c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2611cf8565b3415610b36575f610906346106f9565b90505f606460035483610919919061251b565b6109239190612532565b90505f612710610933833461251b565b61093d9190612532565b90505f61094a8234612508565b6040805160e08101825273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281526001600160a01b03888116602083019081526127108385019081523060608501908152608085018781525f60a0870181815260c0880191825297516304e45aaf60e01b8152965186166004880152935185166024870152915162ffffff1660448601525183166064850152516084840152925160a4830152915190911660c48201529091507368b3465833fb72a70ecdf485e0e4c7bd8665fc45906304e45aaf90839060e40160206040518083038185885af1158015610a2d573d5f5f3e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610a529190612461565b506040516370a0823160e01b815230600482015285905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610a99573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610abd9190612461565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303815f875af1158015610b0a573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2e9190612564565b505050505050505b6040805160e0810182526001600160a01b03838116825260208083018a81528385018a905233606085015242608085015260a084018990525f60c085018190526001805482529281905294909420835181546001600160a01b031916931692909217825592519192909190820190610bae9082612607565b5060408201516002820190610bc39082612607565b5060608201516003820180546001600160a01b0319166001600160a01b039092169190911790556080820151600482015560a08201516005820190610c089082612607565b5060c0919091015160069091015560018054905f610c25836126c2565b9190505550505050505050565b600154606090603290610c7c5760405162461bcd60e51b8152602060048201526012602482015271139bc81d1bdad95b9cc819195c1b1bde595960721b60448201526064016103a2565b5f81600183600154610c8e9190612551565b610c989190612508565b610ca29190612532565b9050808510610ce75760405162461bcd60e51b815260206004820152601160248201527050616765206f7574206f662072616e676560781b60448201526064016103a2565b5f8080868103610d685784610cfd896001612551565b610d07919061251b565b60015411610d15575f610d38565b84610d21896001612551565b610d2b919061251b565b600154610d389190612508565b9250610d44858961251b565b600154610d519190612508565b9150600154821115610d635760015491505b610d90565b610d72858961251b565b9250610d7e8584612551565b9150600154821115610d905760015491505b5f610d9b8484612508565b67ffffffffffffffff811115610db357610db361205d565b604051908082528060200260200182016040528015610e3257816020015b610e1f6040518060e001604052805f6001600160a01b0316815260200160608152602001606081526020015f6001600160a01b031681526020015f8152602001606081526020015f81525090565b815260200190600190039081610dd15790505b5090505f73c36442b4a4522e871399cd717abdd847ab11fe886001600160a01b0316634aa4a4fc6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e86573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eaa91906126ea565b90505f73c36442b4a4522e871399cd717abdd847ab11fe886001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610efd573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f2191906126ea565b9050855b85811015611405575f8b15610f3a5781610f59565b610f448883612508565b610f4f600189612508565b610f599190612508565b5f81815260208181526040808320815160e0810190925280546001600160a01b03168252600181018054959650939491939092840191610f9890612583565b80601f0160208091040260200160405190810160405280929190818152602001828054610fc490612583565b801561100f5780601f10610fe65761010080835404028352916020019161100f565b820191905f5260205f20905b815481529060010190602001808311610ff257829003601f168201915b5050505050815260200160028201805461102890612583565b80601f016020809104026020016040519081016040528092919081815260200182805461105490612583565b801561109f5780601f106110765761010080835404028352916020019161109f565b820191905f5260205f20905b81548152906001019060200180831161108257829003601f168201915b505050918352505060038201546001600160a01b03166020820152600482015460408201526005820180546060909201916110d990612583565b80601f016020809104026020016040519081016040528092919081815260200182805461110590612583565b80156111505780601f1061112757610100808354040283529160200191611150565b820191905f5260205f20905b81548152906001019060200180831161113357829003601f168201915b5050509183525050600691909101546020909101528051604051630b4c774160e11b81526001600160a01b039182166004820152878216602482015261271060448201529192505f918291871690631698ee8290606401602060405180830381865afa1580156111c2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111e691906126ea565b90506001600160a01b0381161561136f576040516370a0823160e01b81526001600160a01b0382811660048301525f91908916906370a0823190602401602060405180830381865afa15801561123e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112629190612461565b84516040516370a0823160e01b81526001600160a01b0385811660048301529293505f92909116906370a0823190602401602060405180830381865afa1580156112ae573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d29190612461565b90505f855f01516001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611314573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113389190612461565b9050811561136b578181611354856714d1120d7b160000612551565b61135e919061251b565b6113689190612532565b94505b5050505b6040518060e00160405280845f01516001600160a01b03168152602001846020015181526020018460400151815260200184606001516001600160a01b03168152602001846080015181526020018460a00151815260200183815250888a806113d7906126c2565b9b50815181106113e9576113e9612705565b6020026020010181905250505050508080600101915050610f25565b50919750505050505050505b92915050565b60405163133f757160e31b8152600481018290525f9081908190819073c36442b4a4522e871399cd717abdd847ab11fe88906399fbab889060240161018060405180830381865afa15801561146e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114929190612752565b50979b509599508a985089975050506001600160a01b03871673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc214945050831592506114f291505057506001600160a01b03831673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc214155b156114fd5750819050825b5f826001600160a01b03166302d05d3f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561153a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061155e91906126ea565b9050336001600160a01b038216148061158157506002546001600160a01b031633145b6115be5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b60448201526064016103a2565b6040516370a0823160e01b81523060048201525f906001600160a01b038516906370a0823190602401602060405180830381865afa158015611602573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116269190612461565b6040516370a0823160e01b81523060048201529091505f906001600160a01b038516906370a0823190602401602060405180830381865afa15801561166d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116919190612461565b604080516080810182528c81523060208201526001600160801b0391810182905260608101919091529091506001600160a01b03851673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21461171f5760405162461bcd60e51b81526020600482015260136024820152720e8ded6cadc6240daeae6e840c4ca40ae8aa89606b1b60448201526064016103a2565b6040805163fc6f786560e01b81528251600482015260208301516001600160a01b03166024820152908201516001600160801b039081166044830152606083015116606482015273c36442b4a4522e871399cd717abdd847ab11fe889063fc6f78659060840160408051808303815f875af11580156117a0573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c49190612827565b50506040516370a0823160e01b81523060048201525f9084906001600160a01b038916906370a0823190602401602060405180830381865afa15801561180c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118309190612461565b61183a9190612508565b6040516370a0823160e01b81523060048201529091505f9084906001600160a01b038916906370a0823190602401602060405180830381865afa158015611883573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a79190612461565b6118b19190612508565b9050811561192b5760405163a9059cbb60e01b815261dead6004820152602481018390526001600160a01b0389169063a9059cbb906044016020604051808303815f875af1158015611905573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119299190612564565b505b8015611a37575f61193d600283612532565b604051632e1a7d4d60e01b8152600481018290529091506001600160a01b03891690632e1a7d4d906024015f604051808303815f87803b15801561197f575f5ffd5b505af1158015611991573d5f5f3e3d5ffd5b505050505f876001600160a01b0316826040515f6040518083038185875af1925050503d805f81146119de576040519150601f19603f3d011682016040523d82523d5f602084013e6119e3565b606091505b5050905080611a345760405162461bcd60e51b815260206004820152601e60248201527f455448207472616e7366657220746f2063726561746f72206661696c6564000060448201526064016103a2565b50505b909c909b509950505050505050505050565b5f60208190529081526040902080546001820180546001600160a01b039092169291611a7490612583565b80601f0160208091040260200160405190810160405280929190818152602001828054611aa090612583565b8015611aeb5780601f10611ac257610100808354040283529160200191611aeb565b820191905f5260205f20905b815481529060010190602001808311611ace57829003601f168201915b505050505090806002018054611b0090612583565b80601f0160208091040260200160405190810160405280929190818152602001828054611b2c90612583565b8015611b775780601f10611b4e57610100808354040283529160200191611b77565b820191905f5260205f20905b815481529060010190602001808311611b5a57829003601f168201915b505050506003830154600484015460058501805494956001600160a01b039093169491935090611ba690612583565b80601f0160208091040260200160405190810160405280929190818152602001828054611bd290612583565b8015611c1d5780601f10611bf457610100808354040283529160200191611c1d565b820191905f5260205f20905b815481529060010190602001808311611c0057829003601f168201915b5050505050908060060154905087565b6002546001600160a01b03163314611c575760405162461bcd60e51b81526004016103a29061242a565b6002805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6002546001600160a01b03163314611ca25760405162461bcd60e51b81526004016103a29061242a565b6064811115611cf35760405162461bcd60e51b815260206004820152601d60248201527f4d756c7469706c6965722063616e6e6f7420657863656564203130302500000060448201526064016103a2565b600355565b6001600160a01b03808216908316105f81611d135782611d15565b835b90505f82611d235784611d25565b835b60405163095ea7b360e01b815273c36442b4a4522e871399cd717abdd847ab11fe8860048201525f1960248201529091506001600160a01b0383169063095ea7b3906044016020604051808303815f875af1158015611d86573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611daa9190612564565b5060405163095ea7b360e01b815273c36442b4a4522e871399cd717abdd847ab11fe8860048201525f1960248201526001600160a01b0382169063095ea7b3906044016020604051808303815f875af1158015611e09573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e2d9190612564565b5073c36442b4a4522e871399cd717abdd847ab11fe885f84611e5d576d64dbacb643e10eedf7378a0b5df7611e6a565b6a0289c06ea6df5a36ae398a5b6dffffffffffffffffffffffffffff1690505f85611e8c57620d899f19611e92565b620318f7195b90505f86611ea357620318f8611ea8565b620d89a05b90505f87611eb6575f611ec4565b6b033b2e3c9fd0803ce80000005b6001600160601b031690505f88611ee7576b033b2e3c9fd0803ce8000000611ee9565b5f5b6040516309f56ab160e11b81526001600160a01b038a811660048301528981166024830152612710604483015287811660648301526001600160601b03929092169250908716906313ead562906084016020604051808303815f875af1158015611f55573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7991906126ea565b5060408051610160810182526001600160a01b038a81168252898116602083015261271082840152600287810b606084015286900b608083015260a0820185905260c082018490525f60e0830181905261010083015230610120830152426101408301529151634418b22b60e11b815291881691638831645691611fff91600401612849565b6080604051808303815f875af115801561201b573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061203f919061290d565b505050505050505050505050505050565b6118d98061294783390190565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112612080575f5ffd5b813567ffffffffffffffff81111561209a5761209a61205d565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156120c9576120c961205d565b6040528181528382016020018510156120e0575f5ffd5b816020850160208301375f918101602001919091529392505050565b6001600160a01b0381168114612110575f5ffd5b50565b5f5f5f60608486031215612125575f5ffd5b833567ffffffffffffffff81111561213b575f5ffd5b61214786828701612071565b935050602084013567ffffffffffffffff811115612163575f5ffd5b61216f86828701612071565b9250506040840135612180816120fc565b809150509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6121cb602083018461218b565b9392505050565b5f5f604083850312156121e3575f5ffd5b82356121ee816120fc565b915060208301356121fe816120fc565b809150509250929050565b5f60208284031215612219575f5ffd5b5035919050565b5f5f5f5f60808587031215612233575f5ffd5b843567ffffffffffffffff811115612249575f5ffd5b61225587828801612071565b945050602085013567ffffffffffffffff811115612271575f5ffd5b61227d87828801612071565b935050604085013567ffffffffffffffff811115612299575f5ffd5b6122a587828801612071565b949793965093946060013593505050565b5f5f604083850312156122c7575f5ffd5b50508035926020909101359150565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b828110156123aa57868503603f19018452815180516001600160a01b0316865260208082015160e0918801829052906123379088018261218b565b905060408201518782036040890152612350828261218b565b91505060018060a01b0360608301511660608801526080820151608088015260a082015187820360a0890152612386828261218b565b60c093840151989093019790975250945060209384019391909101906001016122fc565b50929695505050505050565b6001600160a01b038816815260e0602082018190525f906123d99083018961218b565b82810360408401526123eb818961218b565b6001600160a01b03881660608501526080840187905283810360a08501529050612415818661218b565b9150508260c083015298975050505050505050565b60208082526018908201527f43616c6c6572206973206e6f7420636f6e74726f6c6c65720000000000000000604082015260600190565b5f60208284031215612471575f5ffd5b5051919050565b608081525f61248a608083018761218b565b828103602084015261249c818761218b565b6001600160a01b03958616604085015293909416606090920191909152509392505050565b5f81518060208401855e5f93019283525090919050565b5f6124ec6124e683866124c1565b846124c1565b949350505050565b634e487b7160e01b5f52601160045260245ffd5b81810381811115611411576114116124f4565b8082028115828204841417611411576114116124f4565b5f8261254c57634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115611411576114116124f4565b5f60208284031215612574575f5ffd5b815180151581146121cb575f5ffd5b600181811c9082168061259757607f821691505b6020821081036125b557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561260257805f5260205f20601f840160051c810160208510156125e05750805b601f840160051c820191505b818110156125ff575f81556001016125ec565b50505b505050565b815167ffffffffffffffff8111156126215761262161205d565b6126358161262f8454612583565b846125bb565b6020601f821160018114612667575f83156126505750848201515b5f19600385901b1c1916600184901b1784556125ff565b5f84815260208120601f198516915b828110156126965787850151825560209485019460019092019101612676565b50848210156126b357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f600182016126d3576126d36124f4565b5060010190565b80516126e5816120fc565b919050565b5f602082840312156126fa575f5ffd5b81516121cb816120fc565b634e487b7160e01b5f52603260045260245ffd5b805162ffffff811681146126e5575f5ffd5b8051600281900b81146126e5575f5ffd5b80516001600160801b03811681146126e5575f5ffd5b5f5f5f5f5f5f5f5f5f5f5f5f6101808d8f03121561276e575f5ffd5b8c516001600160601b0381168114612784575f5ffd5b9b5061279260208e016126da565b9a506127a060408e016126da565b99506127ae60608e016126da565b98506127bc60808e01612719565b97506127ca60a08e0161272b565b96506127d860c08e0161272b565b95506127e660e08e0161273c565b6101008e01516101208f0151919650945092506128066101408e0161273c565b91506128156101608e0161273c565b90509295989b509295989b509295989b565b5f5f60408385031215612838575f5ffd5b505080516020909101519092909150565b81516001600160a01b031681526101608101602083015161287560208401826001600160a01b03169052565b50604083015161288c604084018262ffffff169052565b5060608301516128a1606084018260020b9052565b5060808301516128b6608084018260020b9052565b5060a083015160a083015260c083015160c083015260e083015160e08301526101008301516101008301526101208301516128fd6101208401826001600160a01b03169052565b5061014092830151919092015290565b5f5f5f5f60808587031215612920575f5ffd5b845193506129306020860161273c565b604086015160609096015194979096509250505056fe608060405234801561000f575f5ffd5b506040516118d93803806118d983398101604081905261002e916106e8565b8383600361003c83826107f0565b50600461004982826107f0565b5050600580546001600160a01b038085166001600160a01b031992831617909255600680549286169290911691909117905550436007555f610089601290565b61009490600a6109a3565b6100a290633b9aca006109b8565b905060646100b16002836109b8565b6100bb91906109cf565b6008556100c882826100d2565b5050505050610a1a565b6001600160a01b0382166101005760405163ec442f0560e01b81525f60048201526024015b60405180910390fd5b61010b5f838361010f565b5050565b6007544311801561012e5750600560075461012a91906109ee565b4311155b15610421575f73c36442b4a4522e871399cd717abdd847ab11fe886001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610184573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101a89190610a01565b604051630b4c774160e11b815230600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2602482015261271060448201529091505f906001600160a01b03831690631698ee8290606401602060405180830381865afa158015610211573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102359190610a01565b9050806001600160a01b0316856001600160a01b031614801561026657506005546001600160a01b03858116911614155b801561028057506006546001600160a01b03858116911614155b1561032a57325f90815260096020526040812080548592906102a39084906109ee565b90915550506008546064906102b990606e6109b8565b6102c391906109cf565b325f90815260096020526040902054111561032a5760405162461bcd60e51b815260206004820152602160248201527f4b656570696e6720322520706f6f6c204c696d69747320496e204b6f6e74726f6044820152601b60fa1b60648201526084016100f7565b6006546001600160a01b0385811691161480159061035657506005546001600160a01b03858116911614155b80156103745750806001600160a01b0316846001600160a01b031614155b801561038857506001600160a01b03851615155b1561041e57600854836103af866001600160a01b03165f9081526020819052604090205490565b6103b991906109ee565b111561041e5760405162461bcd60e51b815260206004820152602e60248201527f4d61782077616c6c6574206c696d697420657863656564656420647572696e6760448201526d081b185d5b98da081c195c9a5bd960921b60648201526084016100f7565b50505b6007544314801561043a57506001600160a01b03831615155b801561045457506005546001600160a01b03838116911614155b801561046e57506005546001600160a01b03848116911614155b80156104a157506005546001600160a01b03848116911614801561049f57506006546001600160a01b038381169116145b155b156104fa5760405162461bcd60e51b8152602060048201526024808201527f4e6f206275797320616c6c6f77656420647572696e67206c61756e636820626c6044820152636f636b2160e01b60648201526084016100f7565b61050583838361050a565b505050565b6001600160a01b038316610534578060025f82825461052991906109ee565b909155506105a49050565b6001600160a01b0383165f90815260208190526040902054818110156105865760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100f7565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166105c0576002805482900390556105de565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161062391815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610653575f5ffd5b81516001600160401b0381111561066c5761066c610630565b604051601f8201601f19908116603f011681016001600160401b038111828210171561069a5761069a610630565b6040528181528382016020018510156106b1575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b80516001600160a01b03811681146106e3575f5ffd5b919050565b5f5f5f5f608085870312156106fb575f5ffd5b84516001600160401b03811115610710575f5ffd5b61071c87828801610644565b602087015190955090506001600160401b03811115610739575f5ffd5b61074587828801610644565b935050610754604086016106cd565b9150610762606086016106cd565b905092959194509250565b600181811c9082168061078157607f821691505b60208210810361079f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561050557805f5260205f20601f840160051c810160208510156107ca5750805b601f840160051c820191505b818110156107e9575f81556001016107d6565b5050505050565b81516001600160401b0381111561080957610809610630565b61081d81610817845461076d565b846107a5565b6020601f82116001811461084f575f83156108385750848201515b5f19600385901b1c1916600184901b1784556107e9565b5f84815260208120601f198516915b8281101561087e578785015182556020948501946001909201910161085e565b508482101561089b57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156108f9578085048111156108dd576108dd6108aa565b60018416156108eb57908102905b60019390931c9280026108c2565b935093915050565b5f8261090f5750600161099d565b8161091b57505f61099d565b8160018114610931576002811461093b57610957565b600191505061099d565b60ff84111561094c5761094c6108aa565b50506001821b61099d565b5060208310610133831016604e8410600b841016171561097a575081810a61099d565b6109865f1984846108be565b805f1904821115610999576109996108aa565b0290505b92915050565b5f6109b160ff841683610901565b9392505050565b808202811582820484141761099d5761099d6108aa565b5f826109e957634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561099d5761099d6108aa565b5f60208284031215610a11575f5ffd5b6109b1826106cd565b610eb280610a275f395ff3fe608060405234801561000f575f5ffd5b5060043610610111575f3560e01c80634bde38c81161009e57806395d89b411161006e57806395d89b411461024a578063a9059cbb14610252578063ad5c464814610265578063cbbc94cf14610280578063dd62ed3e146102b2575f5ffd5b80634bde38c8146101e957806370a08231146101fc57806374580e2f1461022457806379cc679014610237575f5ffd5b80631bea83fe116100e45780631bea83fe1461018f57806323b872dd146101aa5780632f4237c0146101bd578063313ce567146101c557806342966c68146101d4575f5ffd5b806302d05d3f1461011557806306fdde0314610145578063095ea7b31461015a57806318160ddd1461017d575b5f5ffd5b600654610128906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61014d6102ea565b60405161013c9190610cab565b61016d610168366004610cf4565b61037a565b604051901515815260200161013c565b6002545b60405190815260200161013c565b61012873c36442b4a4522e871399cd717abdd847ab11fe8881565b61016d6101b8366004610d1e565b610393565b61016d6103b6565b6040516012815260200161013c565b6101e76101e2366004610d5c565b6103ce565b005b600554610128906001600160a01b031681565b61018161020a366004610d73565b6001600160a01b03165f9081526020819052604090205490565b6101e7610232366004610d73565b6103db565b6101e7610245366004610cf4565b61045c565b61014d610475565b61016d610260366004610cf4565b610484565b61012873c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b610288610491565b604080516001600160a01b039485168152928416602084015292169181019190915260600161013c565b6101816102c0366004610d95565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6060600380546102f990610dcc565b80601f016020809104026020016040519081016040528092919081815260200182805461032590610dcc565b80156103705780601f1061034757610100808354040283529160200191610370565b820191905f5260205f20905b81548152906001019060200180831161035357829003601f168201915b5050505050905090565b5f336103878185856105a3565b60019150505b92915050565b5f336103a08582856105b5565b6103ab858585610631565b506001949350505050565b5f60056007546103c69190610e18565b431115905090565b6103d8338261068e565b50565b6005546001600160a01b0316331461043a5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c7920706c6174666f726d2063616e206368616e67652063726561746f7260448201526064015b60405180910390fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6104678233836105b5565b610471828261068e565b5050565b6060600480546102f990610dcc565b5f33610387818585610631565b5f5f5f5f73c36442b4a4522e871399cd717abdd847ab11fe886001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104e5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105099190610e2b565b604051630b4c774160e11b815230600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2602482015261271060448201529091505f906001600160a01b03831690631698ee8290606401602060405180830381865afa158015610572573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105969190610e2b565b9530955091935090915050565b6105b083838360016106c2565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981101561062b578181101561061d57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610431565b61062b84848484035f6106c2565b50505050565b6001600160a01b03831661065a57604051634b637e8f60e11b81525f6004820152602401610431565b6001600160a01b0382166106835760405163ec442f0560e01b81525f6004820152602401610431565b6105b0838383610794565b6001600160a01b0382166106b757604051634b637e8f60e11b81525f6004820152602401610431565b610471825f83610794565b6001600160a01b0384166106eb5760405163e602df0560e01b81525f6004820152602401610431565b6001600160a01b03831661071457604051634a1406b160e11b81525f6004820152602401610431565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561062b57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161078691815260200190565b60405180910390a350505050565b600754431180156107b3575060056007546107af9190610e18565b4311155b15610aa6575f73c36442b4a4522e871399cd717abdd847ab11fe886001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610809573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082d9190610e2b565b604051630b4c774160e11b815230600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2602482015261271060448201529091505f906001600160a01b03831690631698ee8290606401602060405180830381865afa158015610896573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ba9190610e2b565b9050806001600160a01b0316856001600160a01b03161480156108eb57506005546001600160a01b03858116911614155b801561090557506006546001600160a01b03858116911614155b156109af57325f9081526009602052604081208054859290610928908490610e18565b909155505060085460649061093e90606e610e46565b6109489190610e5d565b325f9081526009602052604090205411156109af5760405162461bcd60e51b815260206004820152602160248201527f4b656570696e6720322520706f6f6c204c696d69747320496e204b6f6e74726f6044820152601b60fa1b6064820152608401610431565b6006546001600160a01b038581169116148015906109db57506005546001600160a01b03858116911614155b80156109f95750806001600160a01b0316846001600160a01b031614155b8015610a0d57506001600160a01b03851615155b15610aa35760085483610a34866001600160a01b03165f9081526020819052604090205490565b610a3e9190610e18565b1115610aa35760405162461bcd60e51b815260206004820152602e60248201527f4d61782077616c6c6574206c696d697420657863656564656420647572696e6760448201526d081b185d5b98da081c195c9a5bd960921b6064820152608401610431565b50505b60075443148015610abf57506001600160a01b03831615155b8015610ad957506005546001600160a01b03838116911614155b8015610af357506005546001600160a01b03848116911614155b8015610b2657506005546001600160a01b038481169116148015610b2457506006546001600160a01b038381169116145b155b15610b7f5760405162461bcd60e51b8152602060048201526024808201527f4e6f206275797320616c6c6f77656420647572696e67206c61756e636820626c6044820152636f636b2160e01b6064820152608401610431565b6105b08383836001600160a01b038316610baf578060025f828254610ba49190610e18565b90915550610c1f9050565b6001600160a01b0383165f9081526020819052604090205481811015610c015760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610431565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610c3b57600280548290039055610c59565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c9e91815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146103d8575f5ffd5b5f5f60408385031215610d05575f5ffd5b8235610d1081610ce0565b946020939093013593505050565b5f5f5f60608486031215610d30575f5ffd5b8335610d3b81610ce0565b92506020840135610d4b81610ce0565b929592945050506040919091013590565b5f60208284031215610d6c575f5ffd5b5035919050565b5f60208284031215610d83575f5ffd5b8135610d8e81610ce0565b9392505050565b5f5f60408385031215610da6575f5ffd5b8235610db181610ce0565b91506020830135610dc181610ce0565b809150509250929050565b600181811c90821680610de057607f821691505b602082108103610dfe57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561038d5761038d610e04565b5f60208284031215610e3b575f5ffd5b8151610d8e81610ce0565b808202811582820484141761038d5761038d610e04565b5f82610e7757634e487b7160e01b5f52601260045260245ffd5b50049056fea26469706673582212203864d4a97eea9371a71931062d10342128dcec953b8754584e1d6866e564ab1c64736f6c634300081e0033a26469706673582212207491b440639c6081f670c6276271f255e9cea80fc3e2ae6f1fad71945af2ef2064736f6c634300081e0033
Deployed Bytecode
0x6080604052600436106100fd575f3560e01c80639f9baaaa11610092578063b17acdcd11610062578063b17acdcd146102b8578063c6005893146102ec578063ec81aadb14610313578063f7b64c8314610345578063fe6b945414610359575f5ffd5b80639f9baaaa1461023e578063a361e0d914610252578063aced8d8114610265578063ad5c464814610291575f5ffd5b80638d99aeb0116100cd5780638d99aeb0146101b1578063964a0495146101dd57806396e59682146101fc5780639f181b5e14610229575f5ffd5b80631bea83fe146101085780633bcc75f61461014c5780635a3afecf1461016b5780636758704614610181575f5ffd5b3661010457005b5f5ffd5b348015610113575f5ffd5b5061012f73c36442b4a4522e871399cd717abdd847ab11fe8881565b6040516001600160a01b0390911681526020015b60405180910390f35b348015610157575f5ffd5b5060025461012f906001600160a01b031681565b348015610176575f5ffd5b5061017f610378565b005b34801561018c575f5ffd5b506002546101a190600160a01b900460ff1681565b6040519015158152602001610143565b3480156101bc575f5ffd5b506101d06101cb366004612113565b61055f565b60405161014391906121b9565b3480156101e8575f5ffd5b5061017f6101f73660046121d2565b6105d0565b348015610207575f5ffd5b5061021b610216366004612209565b6106f9565b604051908152602001610143565b348015610234575f5ffd5b5061021b60015481565b348015610249575f5ffd5b5061017f610772565b61017f610260366004612220565b6107f3565b348015610270575f5ffd5b5061028461027f3660046122b6565b610c32565b60405161014391906122d6565b34801561029c575f5ffd5b5061012f73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b3480156102c3575f5ffd5b506102d76102d2366004612209565b611417565b60408051928352602083019190915201610143565b3480156102f7575f5ffd5b5061012f7368b3465833fb72a70ecdf485e0e4c7bd8665fc4581565b34801561031e575f5ffd5b5061033261032d366004612209565b611a49565b60405161014397969594939291906123b6565b348015610350575f5ffd5b5061017f611c2d565b348015610364575f5ffd5b5061017f610373366004612209565b611c78565b6002546001600160a01b031633146103ab5760405162461bcd60e51b81526004016103a29061242a565b60405180910390fd5b6040516370a0823160e01b81523060048201525f9073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906370a0823190602401602060405180830381865afa1580156103fa573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061041e9190612461565b90505f81116104655760405162461bcd60e51b81526020600482015260136024820152724e6f205745544820746f20776974686472617760681b60448201526064016103a2565b604051632e1a7d4d60e01b81526004810182905273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290632e1a7d4d906024015f604051808303815f87803b1580156104af575f5ffd5b505af11580156104c1573d5f5f3e3d5ffd5b505050505f336001600160a01b0316826040515b5f6040518083038185875af1925050503d805f811461050f576040519150601f19603f3d011682016040523d82523d5f602084013e610514565b606091505b505090508061055b5760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b60448201526064016103a2565b5050565b60606040518060200161057190612050565b601f1982820381018352601f90910116604081905261059a908690869086903090602001612478565b60408051601f19818403018152908290526105b892916020016124d8565b60405160208183030381529060405290509392505050565b6002546001600160a01b0316331461063e5760405162461bcd60e51b815260206004820152602b60248201527f4f6e6c7920706c6174666f726d20636f6e74726f6c6c65722063616e2063686160448201526a3733b29031b932b0ba37b960a91b60648201526084016103a2565b6001600160a01b03811661069f5760405162461bcd60e51b815260206004820152602260248201527f4e65772063726561746f722063616e6e6f74206265207a65726f206164647265604482015261737360f01b60648201526084016103a2565b6040516374580e2f60e01b81526001600160a01b0382811660048301528316906374580e2f906024015f604051808303815f87803b1580156106df575f5ffd5b505af11580156106f1573d5f5f3e3d5ffd5b505050505050565b5f66b1a2bc2ec5000082101561071057505f919050565b670429d069189e000082106107285750611388919050565b6146505f61073d66b1a2bc2ec5000085612508565b90505f670de0b6b3a7640000610753848461251b565b61075d9190612532565b610769906101f4612551565b95945050505050565b6002546001600160a01b0316331461079c5760405162461bcd60e51b81526004016103a29061242a565b47806107df5760405162461bcd60e51b81526020600482015260126024820152714e6f2045544820746f20776974686472617760701b60448201526064016103a2565b5f336001600160a01b0316826040516104d5565b600254600160a01b900460ff1661085b5760405162461bcd60e51b815260206004820152602660248201527f546f6b656e206465706c6f796d656e742069732063757272656e746c792064696044820152651cd8589b195960d21b60648201526084016103a2565b5f818585333060405161086d90612050565b61087a9493929190612478565b8190604051809103905ff5905080158015610897573d5f5f3e3d5ffd5b506040516001600160a01b03821681529091507f60122e78030aba0a2e4a67adb3e52b411343cc51778f919095d3fe394090c1b29060200160405180910390a1806108f68173c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2611cf8565b3415610b36575f610906346106f9565b90505f606460035483610919919061251b565b6109239190612532565b90505f612710610933833461251b565b61093d9190612532565b90505f61094a8234612508565b6040805160e08101825273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281526001600160a01b03888116602083019081526127108385019081523060608501908152608085018781525f60a0870181815260c0880191825297516304e45aaf60e01b8152965186166004880152935185166024870152915162ffffff1660448601525183166064850152516084840152925160a4830152915190911660c48201529091507368b3465833fb72a70ecdf485e0e4c7bd8665fc45906304e45aaf90839060e40160206040518083038185885af1158015610a2d573d5f5f3e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610a529190612461565b506040516370a0823160e01b815230600482015285905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610a99573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610abd9190612461565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303815f875af1158015610b0a573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2e9190612564565b505050505050505b6040805160e0810182526001600160a01b03838116825260208083018a81528385018a905233606085015242608085015260a084018990525f60c085018190526001805482529281905294909420835181546001600160a01b031916931692909217825592519192909190820190610bae9082612607565b5060408201516002820190610bc39082612607565b5060608201516003820180546001600160a01b0319166001600160a01b039092169190911790556080820151600482015560a08201516005820190610c089082612607565b5060c0919091015160069091015560018054905f610c25836126c2565b9190505550505050505050565b600154606090603290610c7c5760405162461bcd60e51b8152602060048201526012602482015271139bc81d1bdad95b9cc819195c1b1bde595960721b60448201526064016103a2565b5f81600183600154610c8e9190612551565b610c989190612508565b610ca29190612532565b9050808510610ce75760405162461bcd60e51b815260206004820152601160248201527050616765206f7574206f662072616e676560781b60448201526064016103a2565b5f8080868103610d685784610cfd896001612551565b610d07919061251b565b60015411610d15575f610d38565b84610d21896001612551565b610d2b919061251b565b600154610d389190612508565b9250610d44858961251b565b600154610d519190612508565b9150600154821115610d635760015491505b610d90565b610d72858961251b565b9250610d7e8584612551565b9150600154821115610d905760015491505b5f610d9b8484612508565b67ffffffffffffffff811115610db357610db361205d565b604051908082528060200260200182016040528015610e3257816020015b610e1f6040518060e001604052805f6001600160a01b0316815260200160608152602001606081526020015f6001600160a01b031681526020015f8152602001606081526020015f81525090565b815260200190600190039081610dd15790505b5090505f73c36442b4a4522e871399cd717abdd847ab11fe886001600160a01b0316634aa4a4fc6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e86573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eaa91906126ea565b90505f73c36442b4a4522e871399cd717abdd847ab11fe886001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610efd573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f2191906126ea565b9050855b85811015611405575f8b15610f3a5781610f59565b610f448883612508565b610f4f600189612508565b610f599190612508565b5f81815260208181526040808320815160e0810190925280546001600160a01b03168252600181018054959650939491939092840191610f9890612583565b80601f0160208091040260200160405190810160405280929190818152602001828054610fc490612583565b801561100f5780601f10610fe65761010080835404028352916020019161100f565b820191905f5260205f20905b815481529060010190602001808311610ff257829003601f168201915b5050505050815260200160028201805461102890612583565b80601f016020809104026020016040519081016040528092919081815260200182805461105490612583565b801561109f5780601f106110765761010080835404028352916020019161109f565b820191905f5260205f20905b81548152906001019060200180831161108257829003601f168201915b505050918352505060038201546001600160a01b03166020820152600482015460408201526005820180546060909201916110d990612583565b80601f016020809104026020016040519081016040528092919081815260200182805461110590612583565b80156111505780601f1061112757610100808354040283529160200191611150565b820191905f5260205f20905b81548152906001019060200180831161113357829003601f168201915b5050509183525050600691909101546020909101528051604051630b4c774160e11b81526001600160a01b039182166004820152878216602482015261271060448201529192505f918291871690631698ee8290606401602060405180830381865afa1580156111c2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111e691906126ea565b90506001600160a01b0381161561136f576040516370a0823160e01b81526001600160a01b0382811660048301525f91908916906370a0823190602401602060405180830381865afa15801561123e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112629190612461565b84516040516370a0823160e01b81526001600160a01b0385811660048301529293505f92909116906370a0823190602401602060405180830381865afa1580156112ae573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d29190612461565b90505f855f01516001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611314573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113389190612461565b9050811561136b578181611354856714d1120d7b160000612551565b61135e919061251b565b6113689190612532565b94505b5050505b6040518060e00160405280845f01516001600160a01b03168152602001846020015181526020018460400151815260200184606001516001600160a01b03168152602001846080015181526020018460a00151815260200183815250888a806113d7906126c2565b9b50815181106113e9576113e9612705565b6020026020010181905250505050508080600101915050610f25565b50919750505050505050505b92915050565b60405163133f757160e31b8152600481018290525f9081908190819073c36442b4a4522e871399cd717abdd847ab11fe88906399fbab889060240161018060405180830381865afa15801561146e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114929190612752565b50979b509599508a985089975050506001600160a01b03871673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc214945050831592506114f291505057506001600160a01b03831673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc214155b156114fd5750819050825b5f826001600160a01b03166302d05d3f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561153a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061155e91906126ea565b9050336001600160a01b038216148061158157506002546001600160a01b031633145b6115be5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b60448201526064016103a2565b6040516370a0823160e01b81523060048201525f906001600160a01b038516906370a0823190602401602060405180830381865afa158015611602573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116269190612461565b6040516370a0823160e01b81523060048201529091505f906001600160a01b038516906370a0823190602401602060405180830381865afa15801561166d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116919190612461565b604080516080810182528c81523060208201526001600160801b0391810182905260608101919091529091506001600160a01b03851673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21461171f5760405162461bcd60e51b81526020600482015260136024820152720e8ded6cadc6240daeae6e840c4ca40ae8aa89606b1b60448201526064016103a2565b6040805163fc6f786560e01b81528251600482015260208301516001600160a01b03166024820152908201516001600160801b039081166044830152606083015116606482015273c36442b4a4522e871399cd717abdd847ab11fe889063fc6f78659060840160408051808303815f875af11580156117a0573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c49190612827565b50506040516370a0823160e01b81523060048201525f9084906001600160a01b038916906370a0823190602401602060405180830381865afa15801561180c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118309190612461565b61183a9190612508565b6040516370a0823160e01b81523060048201529091505f9084906001600160a01b038916906370a0823190602401602060405180830381865afa158015611883573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a79190612461565b6118b19190612508565b9050811561192b5760405163a9059cbb60e01b815261dead6004820152602481018390526001600160a01b0389169063a9059cbb906044016020604051808303815f875af1158015611905573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119299190612564565b505b8015611a37575f61193d600283612532565b604051632e1a7d4d60e01b8152600481018290529091506001600160a01b03891690632e1a7d4d906024015f604051808303815f87803b15801561197f575f5ffd5b505af1158015611991573d5f5f3e3d5ffd5b505050505f876001600160a01b0316826040515f6040518083038185875af1925050503d805f81146119de576040519150601f19603f3d011682016040523d82523d5f602084013e6119e3565b606091505b5050905080611a345760405162461bcd60e51b815260206004820152601e60248201527f455448207472616e7366657220746f2063726561746f72206661696c6564000060448201526064016103a2565b50505b909c909b509950505050505050505050565b5f60208190529081526040902080546001820180546001600160a01b039092169291611a7490612583565b80601f0160208091040260200160405190810160405280929190818152602001828054611aa090612583565b8015611aeb5780601f10611ac257610100808354040283529160200191611aeb565b820191905f5260205f20905b815481529060010190602001808311611ace57829003601f168201915b505050505090806002018054611b0090612583565b80601f0160208091040260200160405190810160405280929190818152602001828054611b2c90612583565b8015611b775780601f10611b4e57610100808354040283529160200191611b77565b820191905f5260205f20905b815481529060010190602001808311611b5a57829003601f168201915b505050506003830154600484015460058501805494956001600160a01b039093169491935090611ba690612583565b80601f0160208091040260200160405190810160405280929190818152602001828054611bd290612583565b8015611c1d5780601f10611bf457610100808354040283529160200191611c1d565b820191905f5260205f20905b815481529060010190602001808311611c0057829003601f168201915b5050505050908060060154905087565b6002546001600160a01b03163314611c575760405162461bcd60e51b81526004016103a29061242a565b6002805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6002546001600160a01b03163314611ca25760405162461bcd60e51b81526004016103a29061242a565b6064811115611cf35760405162461bcd60e51b815260206004820152601d60248201527f4d756c7469706c6965722063616e6e6f7420657863656564203130302500000060448201526064016103a2565b600355565b6001600160a01b03808216908316105f81611d135782611d15565b835b90505f82611d235784611d25565b835b60405163095ea7b360e01b815273c36442b4a4522e871399cd717abdd847ab11fe8860048201525f1960248201529091506001600160a01b0383169063095ea7b3906044016020604051808303815f875af1158015611d86573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611daa9190612564565b5060405163095ea7b360e01b815273c36442b4a4522e871399cd717abdd847ab11fe8860048201525f1960248201526001600160a01b0382169063095ea7b3906044016020604051808303815f875af1158015611e09573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e2d9190612564565b5073c36442b4a4522e871399cd717abdd847ab11fe885f84611e5d576d64dbacb643e10eedf7378a0b5df7611e6a565b6a0289c06ea6df5a36ae398a5b6dffffffffffffffffffffffffffff1690505f85611e8c57620d899f19611e92565b620318f7195b90505f86611ea357620318f8611ea8565b620d89a05b90505f87611eb6575f611ec4565b6b033b2e3c9fd0803ce80000005b6001600160601b031690505f88611ee7576b033b2e3c9fd0803ce8000000611ee9565b5f5b6040516309f56ab160e11b81526001600160a01b038a811660048301528981166024830152612710604483015287811660648301526001600160601b03929092169250908716906313ead562906084016020604051808303815f875af1158015611f55573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7991906126ea565b5060408051610160810182526001600160a01b038a81168252898116602083015261271082840152600287810b606084015286900b608083015260a0820185905260c082018490525f60e0830181905261010083015230610120830152426101408301529151634418b22b60e11b815291881691638831645691611fff91600401612849565b6080604051808303815f875af115801561201b573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061203f919061290d565b505050505050505050505050505050565b6118d98061294783390190565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112612080575f5ffd5b813567ffffffffffffffff81111561209a5761209a61205d565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156120c9576120c961205d565b6040528181528382016020018510156120e0575f5ffd5b816020850160208301375f918101602001919091529392505050565b6001600160a01b0381168114612110575f5ffd5b50565b5f5f5f60608486031215612125575f5ffd5b833567ffffffffffffffff81111561213b575f5ffd5b61214786828701612071565b935050602084013567ffffffffffffffff811115612163575f5ffd5b61216f86828701612071565b9250506040840135612180816120fc565b809150509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6121cb602083018461218b565b9392505050565b5f5f604083850312156121e3575f5ffd5b82356121ee816120fc565b915060208301356121fe816120fc565b809150509250929050565b5f60208284031215612219575f5ffd5b5035919050565b5f5f5f5f60808587031215612233575f5ffd5b843567ffffffffffffffff811115612249575f5ffd5b61225587828801612071565b945050602085013567ffffffffffffffff811115612271575f5ffd5b61227d87828801612071565b935050604085013567ffffffffffffffff811115612299575f5ffd5b6122a587828801612071565b949793965093946060013593505050565b5f5f604083850312156122c7575f5ffd5b50508035926020909101359150565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b828110156123aa57868503603f19018452815180516001600160a01b0316865260208082015160e0918801829052906123379088018261218b565b905060408201518782036040890152612350828261218b565b91505060018060a01b0360608301511660608801526080820151608088015260a082015187820360a0890152612386828261218b565b60c093840151989093019790975250945060209384019391909101906001016122fc565b50929695505050505050565b6001600160a01b038816815260e0602082018190525f906123d99083018961218b565b82810360408401526123eb818961218b565b6001600160a01b03881660608501526080840187905283810360a08501529050612415818661218b565b9150508260c083015298975050505050505050565b60208082526018908201527f43616c6c6572206973206e6f7420636f6e74726f6c6c65720000000000000000604082015260600190565b5f60208284031215612471575f5ffd5b5051919050565b608081525f61248a608083018761218b565b828103602084015261249c818761218b565b6001600160a01b03958616604085015293909416606090920191909152509392505050565b5f81518060208401855e5f93019283525090919050565b5f6124ec6124e683866124c1565b846124c1565b949350505050565b634e487b7160e01b5f52601160045260245ffd5b81810381811115611411576114116124f4565b8082028115828204841417611411576114116124f4565b5f8261254c57634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115611411576114116124f4565b5f60208284031215612574575f5ffd5b815180151581146121cb575f5ffd5b600181811c9082168061259757607f821691505b6020821081036125b557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561260257805f5260205f20601f840160051c810160208510156125e05750805b601f840160051c820191505b818110156125ff575f81556001016125ec565b50505b505050565b815167ffffffffffffffff8111156126215761262161205d565b6126358161262f8454612583565b846125bb565b6020601f821160018114612667575f83156126505750848201515b5f19600385901b1c1916600184901b1784556125ff565b5f84815260208120601f198516915b828110156126965787850151825560209485019460019092019101612676565b50848210156126b357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f600182016126d3576126d36124f4565b5060010190565b80516126e5816120fc565b919050565b5f602082840312156126fa575f5ffd5b81516121cb816120fc565b634e487b7160e01b5f52603260045260245ffd5b805162ffffff811681146126e5575f5ffd5b8051600281900b81146126e5575f5ffd5b80516001600160801b03811681146126e5575f5ffd5b5f5f5f5f5f5f5f5f5f5f5f5f6101808d8f03121561276e575f5ffd5b8c516001600160601b0381168114612784575f5ffd5b9b5061279260208e016126da565b9a506127a060408e016126da565b99506127ae60608e016126da565b98506127bc60808e01612719565b97506127ca60a08e0161272b565b96506127d860c08e0161272b565b95506127e660e08e0161273c565b6101008e01516101208f0151919650945092506128066101408e0161273c565b91506128156101608e0161273c565b90509295989b509295989b509295989b565b5f5f60408385031215612838575f5ffd5b505080516020909101519092909150565b81516001600160a01b031681526101608101602083015161287560208401826001600160a01b03169052565b50604083015161288c604084018262ffffff169052565b5060608301516128a1606084018260020b9052565b5060808301516128b6608084018260020b9052565b5060a083015160a083015260c083015160c083015260e083015160e08301526101008301516101008301526101208301516128fd6101208401826001600160a01b03169052565b5061014092830151919092015290565b5f5f5f5f60808587031215612920575f5ffd5b845193506129306020860161273c565b604086015160609096015194979096509250505056fe608060405234801561000f575f5ffd5b506040516118d93803806118d983398101604081905261002e916106e8565b8383600361003c83826107f0565b50600461004982826107f0565b5050600580546001600160a01b038085166001600160a01b031992831617909255600680549286169290911691909117905550436007555f610089601290565b61009490600a6109a3565b6100a290633b9aca006109b8565b905060646100b16002836109b8565b6100bb91906109cf565b6008556100c882826100d2565b5050505050610a1a565b6001600160a01b0382166101005760405163ec442f0560e01b81525f60048201526024015b60405180910390fd5b61010b5f838361010f565b5050565b6007544311801561012e5750600560075461012a91906109ee565b4311155b15610421575f73c36442b4a4522e871399cd717abdd847ab11fe886001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610184573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101a89190610a01565b604051630b4c774160e11b815230600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2602482015261271060448201529091505f906001600160a01b03831690631698ee8290606401602060405180830381865afa158015610211573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102359190610a01565b9050806001600160a01b0316856001600160a01b031614801561026657506005546001600160a01b03858116911614155b801561028057506006546001600160a01b03858116911614155b1561032a57325f90815260096020526040812080548592906102a39084906109ee565b90915550506008546064906102b990606e6109b8565b6102c391906109cf565b325f90815260096020526040902054111561032a5760405162461bcd60e51b815260206004820152602160248201527f4b656570696e6720322520706f6f6c204c696d69747320496e204b6f6e74726f6044820152601b60fa1b60648201526084016100f7565b6006546001600160a01b0385811691161480159061035657506005546001600160a01b03858116911614155b80156103745750806001600160a01b0316846001600160a01b031614155b801561038857506001600160a01b03851615155b1561041e57600854836103af866001600160a01b03165f9081526020819052604090205490565b6103b991906109ee565b111561041e5760405162461bcd60e51b815260206004820152602e60248201527f4d61782077616c6c6574206c696d697420657863656564656420647572696e6760448201526d081b185d5b98da081c195c9a5bd960921b60648201526084016100f7565b50505b6007544314801561043a57506001600160a01b03831615155b801561045457506005546001600160a01b03838116911614155b801561046e57506005546001600160a01b03848116911614155b80156104a157506005546001600160a01b03848116911614801561049f57506006546001600160a01b038381169116145b155b156104fa5760405162461bcd60e51b8152602060048201526024808201527f4e6f206275797320616c6c6f77656420647572696e67206c61756e636820626c6044820152636f636b2160e01b60648201526084016100f7565b61050583838361050a565b505050565b6001600160a01b038316610534578060025f82825461052991906109ee565b909155506105a49050565b6001600160a01b0383165f90815260208190526040902054818110156105865760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100f7565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166105c0576002805482900390556105de565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161062391815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610653575f5ffd5b81516001600160401b0381111561066c5761066c610630565b604051601f8201601f19908116603f011681016001600160401b038111828210171561069a5761069a610630565b6040528181528382016020018510156106b1575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b80516001600160a01b03811681146106e3575f5ffd5b919050565b5f5f5f5f608085870312156106fb575f5ffd5b84516001600160401b03811115610710575f5ffd5b61071c87828801610644565b602087015190955090506001600160401b03811115610739575f5ffd5b61074587828801610644565b935050610754604086016106cd565b9150610762606086016106cd565b905092959194509250565b600181811c9082168061078157607f821691505b60208210810361079f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561050557805f5260205f20601f840160051c810160208510156107ca5750805b601f840160051c820191505b818110156107e9575f81556001016107d6565b5050505050565b81516001600160401b0381111561080957610809610630565b61081d81610817845461076d565b846107a5565b6020601f82116001811461084f575f83156108385750848201515b5f19600385901b1c1916600184901b1784556107e9565b5f84815260208120601f198516915b8281101561087e578785015182556020948501946001909201910161085e565b508482101561089b57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156108f9578085048111156108dd576108dd6108aa565b60018416156108eb57908102905b60019390931c9280026108c2565b935093915050565b5f8261090f5750600161099d565b8161091b57505f61099d565b8160018114610931576002811461093b57610957565b600191505061099d565b60ff84111561094c5761094c6108aa565b50506001821b61099d565b5060208310610133831016604e8410600b841016171561097a575081810a61099d565b6109865f1984846108be565b805f1904821115610999576109996108aa565b0290505b92915050565b5f6109b160ff841683610901565b9392505050565b808202811582820484141761099d5761099d6108aa565b5f826109e957634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561099d5761099d6108aa565b5f60208284031215610a11575f5ffd5b6109b1826106cd565b610eb280610a275f395ff3fe608060405234801561000f575f5ffd5b5060043610610111575f3560e01c80634bde38c81161009e57806395d89b411161006e57806395d89b411461024a578063a9059cbb14610252578063ad5c464814610265578063cbbc94cf14610280578063dd62ed3e146102b2575f5ffd5b80634bde38c8146101e957806370a08231146101fc57806374580e2f1461022457806379cc679014610237575f5ffd5b80631bea83fe116100e45780631bea83fe1461018f57806323b872dd146101aa5780632f4237c0146101bd578063313ce567146101c557806342966c68146101d4575f5ffd5b806302d05d3f1461011557806306fdde0314610145578063095ea7b31461015a57806318160ddd1461017d575b5f5ffd5b600654610128906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61014d6102ea565b60405161013c9190610cab565b61016d610168366004610cf4565b61037a565b604051901515815260200161013c565b6002545b60405190815260200161013c565b61012873c36442b4a4522e871399cd717abdd847ab11fe8881565b61016d6101b8366004610d1e565b610393565b61016d6103b6565b6040516012815260200161013c565b6101e76101e2366004610d5c565b6103ce565b005b600554610128906001600160a01b031681565b61018161020a366004610d73565b6001600160a01b03165f9081526020819052604090205490565b6101e7610232366004610d73565b6103db565b6101e7610245366004610cf4565b61045c565b61014d610475565b61016d610260366004610cf4565b610484565b61012873c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b610288610491565b604080516001600160a01b039485168152928416602084015292169181019190915260600161013c565b6101816102c0366004610d95565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6060600380546102f990610dcc565b80601f016020809104026020016040519081016040528092919081815260200182805461032590610dcc565b80156103705780601f1061034757610100808354040283529160200191610370565b820191905f5260205f20905b81548152906001019060200180831161035357829003601f168201915b5050505050905090565b5f336103878185856105a3565b60019150505b92915050565b5f336103a08582856105b5565b6103ab858585610631565b506001949350505050565b5f60056007546103c69190610e18565b431115905090565b6103d8338261068e565b50565b6005546001600160a01b0316331461043a5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c7920706c6174666f726d2063616e206368616e67652063726561746f7260448201526064015b60405180910390fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6104678233836105b5565b610471828261068e565b5050565b6060600480546102f990610dcc565b5f33610387818585610631565b5f5f5f5f73c36442b4a4522e871399cd717abdd847ab11fe886001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104e5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105099190610e2b565b604051630b4c774160e11b815230600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2602482015261271060448201529091505f906001600160a01b03831690631698ee8290606401602060405180830381865afa158015610572573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105969190610e2b565b9530955091935090915050565b6105b083838360016106c2565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981101561062b578181101561061d57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610431565b61062b84848484035f6106c2565b50505050565b6001600160a01b03831661065a57604051634b637e8f60e11b81525f6004820152602401610431565b6001600160a01b0382166106835760405163ec442f0560e01b81525f6004820152602401610431565b6105b0838383610794565b6001600160a01b0382166106b757604051634b637e8f60e11b81525f6004820152602401610431565b610471825f83610794565b6001600160a01b0384166106eb5760405163e602df0560e01b81525f6004820152602401610431565b6001600160a01b03831661071457604051634a1406b160e11b81525f6004820152602401610431565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561062b57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161078691815260200190565b60405180910390a350505050565b600754431180156107b3575060056007546107af9190610e18565b4311155b15610aa6575f73c36442b4a4522e871399cd717abdd847ab11fe886001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610809573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082d9190610e2b565b604051630b4c774160e11b815230600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2602482015261271060448201529091505f906001600160a01b03831690631698ee8290606401602060405180830381865afa158015610896573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ba9190610e2b565b9050806001600160a01b0316856001600160a01b03161480156108eb57506005546001600160a01b03858116911614155b801561090557506006546001600160a01b03858116911614155b156109af57325f9081526009602052604081208054859290610928908490610e18565b909155505060085460649061093e90606e610e46565b6109489190610e5d565b325f9081526009602052604090205411156109af5760405162461bcd60e51b815260206004820152602160248201527f4b656570696e6720322520706f6f6c204c696d69747320496e204b6f6e74726f6044820152601b60fa1b6064820152608401610431565b6006546001600160a01b038581169116148015906109db57506005546001600160a01b03858116911614155b80156109f95750806001600160a01b0316846001600160a01b031614155b8015610a0d57506001600160a01b03851615155b15610aa35760085483610a34866001600160a01b03165f9081526020819052604090205490565b610a3e9190610e18565b1115610aa35760405162461bcd60e51b815260206004820152602e60248201527f4d61782077616c6c6574206c696d697420657863656564656420647572696e6760448201526d081b185d5b98da081c195c9a5bd960921b6064820152608401610431565b50505b60075443148015610abf57506001600160a01b03831615155b8015610ad957506005546001600160a01b03838116911614155b8015610af357506005546001600160a01b03848116911614155b8015610b2657506005546001600160a01b038481169116148015610b2457506006546001600160a01b038381169116145b155b15610b7f5760405162461bcd60e51b8152602060048201526024808201527f4e6f206275797320616c6c6f77656420647572696e67206c61756e636820626c6044820152636f636b2160e01b6064820152608401610431565b6105b08383836001600160a01b038316610baf578060025f828254610ba49190610e18565b90915550610c1f9050565b6001600160a01b0383165f9081526020819052604090205481811015610c015760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610431565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610c3b57600280548290039055610c59565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c9e91815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146103d8575f5ffd5b5f5f60408385031215610d05575f5ffd5b8235610d1081610ce0565b946020939093013593505050565b5f5f5f60608486031215610d30575f5ffd5b8335610d3b81610ce0565b92506020840135610d4b81610ce0565b929592945050506040919091013590565b5f60208284031215610d6c575f5ffd5b5035919050565b5f60208284031215610d83575f5ffd5b8135610d8e81610ce0565b9392505050565b5f5f60408385031215610da6575f5ffd5b8235610db181610ce0565b91506020830135610dc181610ce0565b809150509250929050565b600181811c90821680610de057607f821691505b602082108103610dfe57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561038d5761038d610e04565b5f60208284031215610e3b575f5ffd5b8151610d8e81610ce0565b808202811582820484141761038d5761038d610e04565b5f82610e7757634e487b7160e01b5f52601260045260245ffd5b50049056fea26469706673582212203864d4a97eea9371a71931062d10342128dcec953b8754584e1d6866e564ab1c64736f6c634300081e0033a26469706673582212207491b440639c6081f670c6276271f255e9cea80fc3e2ae6f1fad71945af2ef2064736f6c634300081e0033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 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.