ERC-20
Overview
Max Total Supply
100,000,000 Bald
Holders
71
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,147,965.922306967727402776 BaldValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Token
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-07-30 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.17; // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @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; } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * 'onlyOwner', which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * 'onlyOwner' functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account ('newOwner'). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account ('newOwner'). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when 'value' tokens are moved from one account ('from') to * another ('to'). * * Note that 'value' may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a 'spender' for an 'owner' is set by * a call to {approve}. 'value' is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by 'account'. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves 'amount' tokens from the caller's account to 'to'. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that 'spender' will be * allowed to spend on behalf of 'owner' through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets 'amount' as the allowance of 'spender' over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves 'amount' tokens from 'from' to 'to' using the * allowance mechanism. 'amount' is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ 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); } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.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}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * 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 ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these 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 override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override 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 'amount'. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If 'amount' 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 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * 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 'amount'. * - the caller must have allowance for ''from'''s tokens of at least * 'amount'. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to 'spender' by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - 'spender' cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to 'spender' by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - 'spender' cannot be the zero address. * - 'spender' must have allowance for the caller of at least * 'subtractedValue'. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves '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. * * Requirements: * * - 'from' cannot be the zero address. * - 'to' cannot be the zero address. * - 'from' must have a balance of at least 'amount'. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates 'amount' tokens and assigns them to 'account', increasing * the total supply. * * Emits a {Transfer} event with 'from' set to the zero address. * * Requirements: * * - 'account' cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys 'amount' tokens from 'account', reducing the * total supply. * * Emits a {Transfer} event with 'to' set to the zero address. * * Requirements: * * - 'account' cannot be the zero address. * - 'account' must have at least 'amount' tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets 'amount' 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. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates 'owner' s allowance for 'spender' based on spent 'amount'. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when 'from' and 'to' are both non-zero, 'amount' of ''from'''s tokens * will be transferred to 'to'. * - when 'from' is zero, 'amount' tokens will be minted for 'to'. * - when 'to' is zero, 'amount' of ''from'''s tokens will be burned. * - 'from' and 'to' are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when 'from' and 'to' are both non-zero, 'amount' of ''from'''s tokens * has been transferred to 'to'. * - when 'from' is zero, 'amount' tokens have been minted for 'to'. * - when 'to' is zero, 'amount' of ''from'''s tokens have been burned. * - 'from' and 'to' are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.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 'amount' tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys 'amount' 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 * 'amount'. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } } // File @uniswap/v2-periphery/contracts/interfaces/[email protected] interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } // File @uniswap/v2-periphery/contracts/interfaces/[email protected] interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } // File @uniswap/v2-core/contracts/interfaces/[email protected] interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } // File contracts/Token.sol contract Token is ERC20Burnable, Ownable { // ADDRESSESS ------------------------------------------------------------------------------------------- address public lpPair; // Liquidity token address address[] public platformFeeAddresses; // service fee wallet address address public treasuryAddress; // owner fee wallet address // VALUES ----------------------------------------------------------------------------------------------- uint256 public swapThreshold; // swap tokens limit uint256 public constant TAX_DIVISOR = 10000; // divisor | 0.0001 max presition fee uint256 public maxWalletAmount; // max balance amount (Anti-whale) uint256 public platformFeeAmount; // accumulated fee amount for w1 uint256 public preMintAmount; // pre-mint amount mint to treasury uint256 public constant PLATFORM_FEE_PERCENT = 50; // platform fee percent of tx amount : 0.5% uint256[] public platformFeePercents; uint256 public autoLiquidityPercent; // amm percent of fee uint256 public maxTransactionAmount; uint256 public buyBackThreshold; // swap tokens limit uint256 public buyBackPercent; uint256 public maxBuyLimit; uint256 public initialDelayTime; // to store the block in which the trading was enabled uint256 public totalDelayTime; uint256 public maxGasPriceLimit; // for store max gas price value uint256 public timeDelayBetweenTx; // time wait for txs // BOOLEANS --------------------------------------------------------------------------------------------- bool public inSwap; // used for dont take fee on swaps bool public gasLimitActive; bool public transferDelayEnabled; // for enable / disable delay between transactions // MAPPINGS mapping(address => bool) public _isExcludedFromFee; // list of users excluded from fee mapping(address => bool) public automatedMarketMakerPairs; mapping(address => uint256) public _holderLastTransferTimestamp; // to hold last Transfers temporarily // todo remove // STRUCTS ---------------------------------------------------------------------------------------------- struct Fees { uint16 buyFee; // fee when people BUY tokens uint16 sellFee; // fee when people SELL tokens uint16 transferFee; // fee when people TRANSFER tokens } // OBJECTS ---------------------------------------------------------------------------------------------- IUniswapV2Router02 public router; Fees public _feesRates; // fees rates // MODIFIERS -------------------------------------------------------------------------------------------- modifier swapping() { inSwap = true; _; inSwap = false; } // CONSTRUCTOR ------------------------------------------------------------------------------------------ constructor( string memory tokenName, string memory tokenSymbol, uint256 supply, uint256 preMint, address[] memory addresses, // routerAddress, treasuryAddress, uint16[] memory percents // burnPercent, buyFee, sellFee, maxPerWallet, maxPerTx ) ERC20(tokenName, tokenSymbol) { require(addresses.length==2, "Invalid argument"); require(percents.length==5, "Invalid argument"); require(percents[1] < 4500 && percents[2] < 4500, "Too hight tax"); // super.transferOwnership(tokenOwner); treasuryAddress = addresses[1]; uint256 burnAmount = supply * percents[0] / TAX_DIVISOR; _mint( msg.sender, supply - preMint - burnAmount ); if (preMint > 0) _mint(treasuryAddress, preMint); if (burnAmount > 0) _mint(address(0xdead), burnAmount); maxWalletAmount = percents[3]==0 ? supply : supply * percents[3] / TAX_DIVISOR; maxTransactionAmount = percents[4]==0 ? supply : supply * percents[4] / TAX_DIVISOR; platformFeeAddresses.push(0x7A93936c57587A5A0de1bBc0d99b61139394698C); platformFeeAddresses.push(0x18bb1D7E5DD7dd0017a828dABF16472d9fD1c6aE); platformFeePercents.push(8000); platformFeePercents.push(2000); // default fees _feesRates = Fees({buyFee: percents[1], sellFee: percents[2], transferFee: 0}); router = IUniswapV2Router02(addresses[0]); // exclude from fees _isExcludedFromFee[owner()] = true; _isExcludedFromFee[treasuryAddress] = true; _isExcludedFromFee[platformFeeAddresses[0]] = true; _isExcludedFromFee[platformFeeAddresses[1]] = true; _isExcludedFromFee[address(this)] = true; // contract do swap when have 1k tokens balance swapThreshold = 1000 ether; autoLiquidityPercent = 8000; //80% buyBackPercent = 0; //0% buyBackThreshold = 1 ether; // buyback 1 eth // Create a uniswap pair for this new token lpPair = IUniswapV2Factory(router.factory()).createPair( address(this), router.WETH() ); automatedMarketMakerPairs[lpPair] = true; // do approve to router from owner and contract _approve(owner(), address(router), type(uint256).max); _approve(address(this), address(router), type(uint256).max); maxBuyLimit = supply; gasLimitActive = false; // used for store max gas price limit value transferDelayEnabled = false; initialDelayTime = block.timestamp; // used enable or disable max gas price limit maxGasPriceLimit = 15000000000; // enable / disable transfer to wallets when contract do swap tokens for busd timeDelayBetweenTx = 5; totalDelayTime = 3600; } /** * @notice This function is used to Update the Max Gas Price Limit for transactions * @dev This function is used inside the tokenTransfer during the first hour of the contract * @param newValue uint256 The new Max Gas Price Limit */ function updateMaxGasPriceLimit(uint256 newValue) public onlyOwner { require( newValue >= 10000000000, "max gas price cant be lower than 10 gWei" ); maxGasPriceLimit = newValue; } /** * @notice This function is updating the value of the variable transferDelayEnabled * @param newVal New value of the variable */ function updateTransferDelayEnabled(bool newVal) external onlyOwner { transferDelayEnabled = newVal; } /** * @dev Update the max amount of tokens that can be buyed in one transaction * @param percent New max buy limit in wei */ function updateMaxBuyLimit(uint256 percent) public onlyOwner { maxBuyLimit = (totalSupply() * percent) / TAX_DIVISOR; } /** * @dev Update the max gas limit that can be used in the transaction * @param newVal New gas limit amount */ function updateGasLimitActive(bool newVal) public onlyOwner { gasLimitActive = newVal; } // To receive BNB from dexRouter when swapping receive() external payable {} // Set fees function setTaxes( uint16 buyFee, uint16 sellFee, uint16 transferFee ) external virtual onlyOwner { require(buyFee < 4500 && sellFee < 4500, "Too hight tax"); _feesRates.buyFee = buyFee; _feesRates.sellFee = sellFee; _feesRates.transferFee = transferFee; } // function for set buyBackThreshold function setBuyBackThreshold(uint256 newThreshold) external onlyOwner { buyBackThreshold = newThreshold; } // function for set buyBackPercent function setBuyBackPercent(uint16 newPercent) external onlyOwner { require( newPercent + autoLiquidityPercent <= TAX_DIVISOR, "Percent cant be higher than 100%" ); buyBackPercent = newPercent; } // function for set autoLiquidityPercent function setAutoLiquidityPercent(uint16 newPercent) external onlyOwner { require( newPercent + buyBackPercent <= TAX_DIVISOR, "Percent cant be higher than 100%" ); autoLiquidityPercent = newPercent; } // this function will be called every buy, sell or transfer function _transfer( address from, address to, uint256 amount ) internal virtual override { _beforeTransferCheck(from, to, amount); if (contractMustSwap(from, to)) { doSwap(); } _finalizeTransfer(from, to, amount); } function doSwap() internal swapping { // Get contract tokens balance uint256 numTokensToSwap = balanceOf(address(this)); // swap to team if (platformFeeAmount > 0) { uint256 _amount = platformFeeAmount; numTokensToSwap -= platformFeeAmount; platformFeeAmount = 0; uint256 _remain = _amount; for(uint256 i = platformFeeAddresses.length-1;i>=0;i--) { uint256 _fee = i==0 ? _remain : _amount * platformFeePercents[i] / TAX_DIVISOR; swapTokensForNative(_fee, platformFeeAddresses[i]); if(i > 0) _remain -= _fee; } } if (numTokensToSwap > 0) { // swap to contract if (buyBackPercent > 0) { swapTokensForNative( (numTokensToSwap * buyBackPercent) / TAX_DIVISOR, address(this) ); } // inject liquidity if (autoLiquidityPercent > 0) { autoLiquidity( (numTokensToSwap * autoLiquidityPercent) / TAX_DIVISOR ); } // treasury fee uint256 treasuryAmount = numTokensToSwap - (numTokensToSwap * (autoLiquidityPercent + buyBackPercent)) / TAX_DIVISOR; if (treasuryAmount > 0) { swapTokensForNative(treasuryAmount, treasuryAddress); } // buy back if (buyBackThreshold > 0) { uint256 ethBalance = address(this).balance; if (ethBalance > buyBackThreshold) { swapNativeForTokens(ethBalance, address(0xdead)); } } } } function swapNativeForTokens(uint256 nativeAmount, address to) private { address[] memory path = new address[](2); path[0] = router.WETH(); path[1] = address(this); uint256 deadline = block.timestamp; // uint256 amountOutIn = router.getAmountsOut( // nativeAmount, // path // )[1]; router.swapExactETHForTokens{value: nativeAmount}( 0, path, to, deadline ); } function swapTokensForNative(uint256 tokenAmount, address to) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); uint256 deadline = block.timestamp; _approve(address(this), address(router), tokenAmount); router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, to, deadline ); } function _finalizeTransfer( address from, address to, uint256 amount ) internal virtual { // by default receiver receive 100% of sended amount uint256 amountReceived = amount; // If takeFee is false there is 0% fee bool takeFee = !inSwap; if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) { takeFee = false; } // check if we need take fee or not if (takeFee) { // if we need take fee // calc how much we need take (uint256 feeAmount1, uint256 feeAmount2) = calcBuySellTransferFee( from, to, amount ); if (feeAmount1 + feeAmount2 > 0) { // we substract fee amount from recipient amount amountReceived = amount - feeAmount1 - feeAmount2; if (feeAmount2 > 0) platformFeeAmount += feeAmount2; // and transfer fee to contract super._transfer(from, address(this), feeAmount1 + feeAmount2); } } // finally send remaining tokens to recipient super._transfer(from, to, amountReceived); } function calcBuySellTransferFee( address from, address to, uint256 amount ) internal view virtual returns (uint256, uint256) { // by default we take zero fee uint256 totalFeePercent = 0; uint256 feeAmount1 = 0; uint256 feeAmount2 = 0; bool isTransfer = false; // BUY -> FROM == LP ADDRESS if (automatedMarketMakerPairs[from]) { totalFeePercent += _feesRates.buyFee; } // SELL -> TO == LP ADDRESS else if (automatedMarketMakerPairs[to]) { totalFeePercent += _feesRates.sellFee; } // TRANSFER else { totalFeePercent += _feesRates.transferFee; isTransfer = true; } // CALC FEES AMOUT if (totalFeePercent > 0) { feeAmount1 = (amount * totalFeePercent) / TAX_DIVISOR; } if (!isTransfer) { feeAmount2 = (amount * PLATFORM_FEE_PERCENT) / TAX_DIVISOR; } return (feeAmount1, feeAmount2); } function autoLiquidity(uint256 tokenAmount) public { // split the contract balance into halves uint256 half = tokenAmount / 2; // capture the contract's current ETH balance. // this is so that we can capture exactly the amount of ETH that the // swap creates, and not make the liquidity event include any ETH that // has been manually sent to the contract uint256 initialBalance = address(this).balance; swapTokensForNative(half, address(this)); // how much ETH did we just swap into? uint256 newBalance = address(this).balance - initialBalance; // add liquidity to uniswap addLiquidity(half, newBalance); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { uint256 deadline = block.timestamp; _approve(address(this), address(router), type(uint256).max); router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable address(this), // send lp tokens to owner deadline ); } function _beforeTransferCheck( address from, address to, uint256 amount ) internal virtual { require( from != address(0), "ERC20: transfer from the ZERO_ADDRESS address" ); require( to != address(0), "ERC20: transfer to the ZERO_ADDRESS address" ); require( amount > 0, "Transfer amount must be greater than ZERO_ADDRESS" ); if ( transferDelayEnabled && block.timestamp < (initialDelayTime + totalDelayTime) ) { // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch. if ( from != owner() && to != address(router) && to != address(lpPair) && to != address(this) ) { // in the first one hour, a maximum of XX BUSD purchase is adjustable (TAX_DIVISOR BUSD is the default value) if (maxBuyLimit > 0) { require(amount <= maxBuyLimit, "Max Buy Limit."); } // only use to prevent sniper buys in the first blocks. if (gasLimitActive) { require( tx.gasprice <= maxGasPriceLimit, "Gas price exceeds limit." ); } // delay between tx require( _holderLastTransferTimestamp[msg.sender] <= block.timestamp, "_transfer:: Transfer Delay enabled." ); _holderLastTransferTimestamp[msg.sender] = block.timestamp + timeDelayBetweenTx; } } if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && to != address(this) && !inSwap ) { // BUY -> FROM == LP ADDRESS if (automatedMarketMakerPairs[from]) { require( amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= maxWalletAmount, "Max wallet exceeded" ); } // SELL -> TO == LP ADDRESS else if (automatedMarketMakerPairs[to]) { require( amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount." ); } // TRANSFER else { require( amount + balanceOf(to) <= maxWalletAmount, "Max wallet exceeded" ); } } } function contractMustSwap( address from, address to ) internal view virtual returns (bool) { uint256 contractTokenBalance = balanceOf(address(this)); return contractTokenBalance >= swapThreshold && !inSwap && from != lpPair && balanceOf(lpPair) > 0 && !_isExcludedFromFee[to] && !_isExcludedFromFee[from]; } function isExcludedFromFee( address account ) public view virtual returns (bool) { return _isExcludedFromFee[account]; } function excludeFromFee( address account, bool val ) public virtual onlyOwner { _isExcludedFromFee[account] = val; } function setSwapThreshold(uint256 value) public virtual onlyOwner { swapThreshold = value; } function setMaxWalletAmount(uint256 percent) public virtual onlyOwner { maxWalletAmount = (totalSupply() * percent) / TAX_DIVISOR; } function setMaxTransactionAmount(uint256 percent) public virtual onlyOwner { maxTransactionAmount = (totalSupply() * percent) / TAX_DIVISOR; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"preMint","type":"uint256"},{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint16[]","name":"percents","type":"uint16[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PLATFORM_FEE_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TAX_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_feesRates","outputs":[{"internalType":"uint16","name":"buyFee","type":"uint16"},{"internalType":"uint16","name":"sellFee","type":"uint16"},{"internalType":"uint16","name":"transferFee","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_holderLastTransferTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"autoLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoLiquidityPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyBackPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"val","type":"bool"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasLimitActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialDelayTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxGasPriceLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"platformFeeAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"platformFeeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"platformFeePercents","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"newPercent","type":"uint16"}],"name":"setAutoLiquidityPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newPercent","type":"uint16"}],"name":"setBuyBackPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newThreshold","type":"uint256"}],"name":"setBuyBackThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"buyFee","type":"uint16"},{"internalType":"uint16","name":"sellFee","type":"uint16"},{"internalType":"uint16","name":"transferFee","type":"uint16"}],"name":"setTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeDelayBetweenTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDelayTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"newVal","type":"bool"}],"name":"updateGasLimitActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"updateMaxBuyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateMaxGasPriceLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newVal","type":"bool"}],"name":"updateTransferDelayEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200376d3803806200376d833981016040819052620000349162000ca9565b8585600362000044838262000e02565b50600462000053828262000e02565b505050620000706200006a6200085a60201b60201c565b6200085e565b8151600214620000ba5760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908185c99dd5b595b9d60821b60448201526064015b60405180910390fd5b8051600514620001005760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908185c99dd5b595b9d60821b6044820152606401620000b1565b6111948160018151811062000119576200011962000ece565b602002602001015161ffff161080156200015557506111948160028151811062000147576200014762000ece565b602002602001015161ffff16105b620001935760405162461bcd60e51b815260206004820152600d60248201526c0a8dede40d0d2ced0e840e8c2f609b1b6044820152606401620000b1565b81600181518110620001a957620001a962000ece565b6020026020010151600860006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600061271082600081518110620001f257620001f262000ece565b602002602001015161ffff16866200020b919062000efa565b62000217919062000f1a565b90506200023d33826200022b878962000f3d565b62000237919062000f3d565b620008b0565b83156200025c576008546200025c906001600160a01b031685620008b0565b801562000271576200027161dead82620008b0565b8160038151811062000287576200028762000ece565b602002602001015161ffff16600014620002df5761271082600381518110620002b457620002b462000ece565b602002602001015161ffff1686620002cd919062000efa565b620002d9919062000f1a565b620002e1565b845b600a55815182906004908110620002fc57620002fc62000ece565b602002602001015161ffff1660001462000354576127108260048151811062000329576200032962000ece565b602002602001015161ffff168662000342919062000efa565b6200034e919062000f1a565b62000356565b845b600f5560078054600181810183557fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68891820180546001600160a01b0319908116737a93936c57587a5a0de1bbc0d99b61139394698c1790915583548083019094559290910180549092167318bb1d7e5dd7dd0017a828dabf16472d9fd1c6ae17909155600d805480830182556000829052611f407fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb59182015581548084019092556107d09101556040805160608101909152835190918291859190811062000442576200044262000ece565b602002602001015161ffff1681526020018360028151811062000469576200046962000ece565b60209081029190910181015161ffff908116835260009282018390528351601c80549386015160409096015183166401000000000261ffff60201b19968416620100000263ffffffff1990951692909316919091179290921793909316929092179091558351849190620004e157620004e162000ece565b6020908102919091010151601b80546001600160a01b0319166001600160a01b03909216919091179055600160186000620005246005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905560085490911681526018928390529081208054909316600190811790935560078054829062000585576200058562000ece565b6000918252602080832091909101546001600160a01b031683528201929092526040018120805460ff19169215159290921790915560078054600192601892909184908110620005d957620005d962000ece565b60009182526020808320909101546001600160a01b0390811684528382019490945260409283018220805495151560ff19968716179055308252601881528282208054909516600117909455683635c9adc5dea00000600955611f40600e55601155670de0b6b3a7640000601055601b54815163c45a015560e01b8152915192169263c45a0155926004808401938290030181865afa15801562000681573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006a7919062000f53565b6001600160a01b031663c9c6539630601b60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200070a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000730919062000f53565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200077e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007a4919062000f53565b600680546001600160a01b0319166001600160a01b039290921691821790556000908152601960205260409020805460ff1916600117905562000808620007f36005546001600160a01b031690565b601b546001600160a01b031660001962000973565b601b54620008249030906001600160a01b031660001962000973565b50505060129190915550506017805462ffff0019169055504260135564037e11d6006015556005601655610e1060145562000f8e565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620009085760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000b1565b80600260008282546200091c919062000f78565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038316620009d75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620000b1565b6001600160a01b03821662000a3a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620000b1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000ae15762000ae162000aa0565b604052919050565b600082601f83011262000afb57600080fd5b81516001600160401b0381111562000b175762000b1762000aa0565b602062000b2d601f8301601f1916820162000ab6565b828152858284870101111562000b4257600080fd5b60005b8381101562000b6257858101830151828201840152820162000b45565b506000928101909101919091529392505050565b60006001600160401b0382111562000b925762000b9262000aa0565b5060051b60200190565b80516001600160a01b038116811462000bb457600080fd5b919050565b600082601f83011262000bcb57600080fd5b8151602062000be462000bde8362000b76565b62000ab6565b82815260059290921b8401810191818101908684111562000c0457600080fd5b8286015b8481101562000c2a5762000c1c8162000b9c565b835291830191830162000c08565b509695505050505050565b600082601f83011262000c4757600080fd5b8151602062000c5a62000bde8362000b76565b82815260059290921b8401810191818101908684111562000c7a57600080fd5b8286015b8481101562000c2a57805161ffff8116811462000c9b5760008081fd5b835291830191830162000c7e565b60008060008060008060c0878903121562000cc357600080fd5b86516001600160401b038082111562000cdb57600080fd5b62000ce98a838b0162000ae9565b9750602089015191508082111562000d0057600080fd5b62000d0e8a838b0162000ae9565b96506040890151955060608901519450608089015191508082111562000d3357600080fd5b62000d418a838b0162000bb9565b935060a089015191508082111562000d5857600080fd5b5062000d6789828a0162000c35565b9150509295509295509295565b600181811c9082168062000d8957607f821691505b60208210810362000daa57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000a9b57600081815260208120601f850160051c8101602086101562000dd95750805b601f850160051c820191505b8181101562000dfa5782815560010162000de5565b505050505050565b81516001600160401b0381111562000e1e5762000e1e62000aa0565b62000e368162000e2f845462000d74565b8462000db0565b602080601f83116001811462000e6e576000841562000e555750858301515b600019600386901b1c1916600185901b17855562000dfa565b600085815260208120601f198616915b8281101562000e9f5788860151825594840194600190910190840162000e7e565b508582101562000ebe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000f145762000f1462000ee4565b92915050565b60008262000f3857634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111562000f145762000f1462000ee4565b60006020828403121562000f6657600080fd5b62000f718262000b9c565b9392505050565b8082018082111562000f145762000f1462000ee4565b6127cf8062000f9e6000396000f3fe60806040526004361061037a5760003560e01c8063768dc710116101d1578063c5f956af11610102578063deb5896e116100a0578063f2fde38b1161006f578063f2fde38b14610a33578063f311732214610a53578063f887ea4014610a73578063f901796614610a9357600080fd5b8063deb5896e146109c7578063df8408fe146109dd578063edf731c5146109fd578063efac458514610a1357600080fd5b8063c8c8ebe4116100dc578063c8c8ebe41461094a578063cd5f101d14610960578063d83067861461098d578063dd62ed3e146109a757600080fd5b8063c5f956af146108ea578063c6aca36b1461090a578063c876d0b91461092a57600080fd5b8063a2065e711161016f578063a9059cbb11610149578063a9059cbb1461086e578063aa4bde281461088e578063b62496f5146108a4578063bd74c046146108d457600080fd5b8063a2065e7114610818578063a335d4ff14610838578063a457c2d71461084e57600080fd5b80638d0cb35a116101ab5780638d0cb35a146107a55780638da5cb5b146107c557806395d89b41146107e35780639d0014b1146107f857600080fd5b8063768dc7101461073557806379cc6790146107655780637dee32901461078557600080fd5b8063313ce567116102ab5780635342acb4116102495780636f15d975116102235780636f15d975146106b457806370a08231146106ca578063715018a614610700578063738c6c091461071557600080fd5b80635342acb414610650578063560d52d4146106895780636aa5b37f1461069e57600080fd5b80633d90fff9116102855780633d90fff9146105cc57806342966c68146105e2578063452ed4f1146106025780634a569e941461063a57600080fd5b8063313ce5671461057057806332cde6641461058c57806339509351146105ac57600080fd5b80631630e97f116103185780631c06a7e1116102f25780631c06a7e1146104ba5780631e293c101461051057806323b872dd1461053057806327a14fc21461055057600080fd5b80631630e97f1461046f57806318160ddd1461048f5780631b11c874146104a457600080fd5b8063095ea7b311610354578063095ea7b3146103e7578063123e6cd81461041757806313fa254a14610439578063148829f51461045957600080fd5b80630445b6671461038657806306fdde03146103af578063094d776f146103d157600080fd5b3661038157005b600080fd5b34801561039257600080fd5b5061039c60095481565b6040519081526020015b60405180910390f35b3480156103bb57600080fd5b506103c4610ab2565b6040516103a691906122ce565b3480156103dd57600080fd5b5061039c60145481565b3480156103f357600080fd5b50610407610402366004612331565b610b44565b60405190151581526020016103a6565b34801561042357600080fd5b50610437610432366004612374565b610b5e565b005b34801561044557600080fd5b5061039c610454366004612396565b610bd7565b34801561046557600080fd5b5061039c600c5481565b34801561047b57600080fd5b5061043761048a366004612396565b610bf8565b34801561049b57600080fd5b5060025461039c565b3480156104b057600080fd5b5061039c60155481565b3480156104c657600080fd5b50601c546104eb9061ffff808216916201000081048216916401000000009091041683565b6040805161ffff948516815292841660208401529216918101919091526060016103a6565b34801561051c57600080fd5b5061043761052b366004612396565b610c6b565b34801561053c57600080fd5b5061040761054b3660046123af565b610c9a565b34801561055c57600080fd5b5061043761056b366004612396565b610cbe565b34801561057c57600080fd5b50604051601281526020016103a6565b34801561059857600080fd5b506104376105a73660046123f0565b610ced565b3480156105b857600080fd5b506104076105c7366004612331565b610d8a565b3480156105d857600080fd5b5061039c60165481565b3480156105ee57600080fd5b506104376105fd366004612396565b610dac565b34801561060e57600080fd5b50600654610622906001600160a01b031681565b6040516001600160a01b0390911681526020016103a6565b34801561064657600080fd5b5061039c60115481565b34801561065c57600080fd5b5061040761066b366004612433565b6001600160a01b031660009081526018602052604090205460ff1690565b34801561069557600080fd5b5061039c603281565b3480156106aa57600080fd5b5061039c60125481565b3480156106c057600080fd5b5061039c60105481565b3480156106d657600080fd5b5061039c6106e5366004612433565b6001600160a01b031660009081526020819052604090205490565b34801561070c57600080fd5b50610437610db9565b34801561072157600080fd5b50610437610730366004612374565b610dcd565b34801561074157600080fd5b50610407610750366004612433565b60186020526000908152604090205460ff1681565b34801561077157600080fd5b50610437610780366004612331565b610e41565b34801561079157600080fd5b506104376107a0366004612396565b610e5a565b3480156107b157600080fd5b506104376107c0366004612460565b610e89565b3480156107d157600080fd5b506005546001600160a01b0316610622565b3480156107ef57600080fd5b506103c4610eab565b34801561080457600080fd5b50610437610813366004612396565b610eba565b34801561082457600080fd5b50610437610833366004612460565b610ec7565b34801561084457600080fd5b5061039c61271081565b34801561085a57600080fd5b50610407610869366004612331565b610eeb565b34801561087a57600080fd5b50610407610889366004612331565b610f66565b34801561089a57600080fd5b5061039c600a5481565b3480156108b057600080fd5b506104076108bf366004612433565b60196020526000908152604090205460ff1681565b3480156108e057600080fd5b5061039c600b5481565b3480156108f657600080fd5b50600854610622906001600160a01b031681565b34801561091657600080fd5b50610437610925366004612396565b610f74565b34801561093657600080fd5b506017546104079062010000900460ff1681565b34801561095657600080fd5b5061039c600f5481565b34801561096c57600080fd5b5061039c61097b366004612433565b601a6020526000908152604090205481565b34801561099957600080fd5b506017546104079060ff1681565b3480156109b357600080fd5b5061039c6109c236600461247b565b610fac565b3480156109d357600080fd5b5061039c600e5481565b3480156109e957600080fd5b506104376109f83660046124b4565b610fd7565b348015610a0957600080fd5b5061039c60135481565b348015610a1f57600080fd5b50610437610a2e366004612396565b61100a565b348015610a3f57600080fd5b50610437610a4e366004612433565b611017565b348015610a5f57600080fd5b50610622610a6e366004612396565b61108d565b348015610a7f57600080fd5b50601b54610622906001600160a01b031681565b348015610a9f57600080fd5b5060175461040790610100900460ff1681565b606060038054610ac1906124e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610aed906124e9565b8015610b3a5780601f10610b0f57610100808354040283529160200191610b3a565b820191906000526020600020905b815481529060010190602001808311610b1d57829003601f168201915b5050505050905090565b600033610b528185856110b7565b60019150505b92915050565b610b666111db565b612710600e548261ffff16610b7b9190612539565b1115610bce5760405162461bcd60e51b815260206004820181905260248201527f50657263656e742063616e7420626520686967686572207468616e203130302560448201526064015b60405180910390fd5b61ffff16601155565b600d8181548110610be757600080fd5b600091825260209091200154905081565b610c006111db565b6402540be400811015610c665760405162461bcd60e51b815260206004820152602860248201527f6d6178206761732070726963652063616e74206265206c6f776572207468616e604482015267203130206757656960c01b6064820152608401610bc5565b601555565b610c736111db565b61271081610c8060025490565b610c8a919061254c565b610c949190612563565b600f5550565b600033610ca8858285611235565b610cb38585856112a9565b506001949350505050565b610cc66111db565b61271081610cd360025490565b610cdd919061254c565b610ce79190612563565b600a5550565b610cf56111db565b6111948361ffff16108015610d0f57506111948261ffff16105b610d4b5760405162461bcd60e51b815260206004820152600d60248201526c0a8dede40d0d2ced0e840e8c2f609b1b6044820152606401610bc5565b601c805461ffff94851663ffffffff199091161762010000938516939093029290921765ffff0000000019166401000000009190931602919091179055565b600033610b52818585610d9d8383610fac565b610da79190612539565b6110b7565b610db633826112db565b50565b610dc16111db565b610dcb600061140d565b565b610dd56111db565b6127106011548261ffff16610dea9190612539565b1115610e385760405162461bcd60e51b815260206004820181905260248201527f50657263656e742063616e7420626520686967686572207468616e20313030256044820152606401610bc5565b61ffff16600e55565b610e4c823383611235565b610e5682826112db565b5050565b610e626111db565b61271081610e6f60025490565b610e79919061254c565b610e839190612563565b60125550565b610e916111db565b601780549115156101000261ff0019909216919091179055565b606060048054610ac1906124e9565b610ec26111db565b600955565b610ecf6111db565b60178054911515620100000262ff000019909216919091179055565b60003381610ef98286610fac565b905083811015610f595760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610bc5565b610cb382868684036110b7565b600033610b528185856112a9565b6000610f81600283612563565b905047610f8e823061145f565b6000610f9a8247612585565b9050610fa683826115bd565b50505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610fdf6111db565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6110126111db565b601055565b61101f6111db565b6001600160a01b0381166110845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bc5565b610db68161140d565b6007818154811061109d57600080fd5b6000918252602090912001546001600160a01b0316905081565b6001600160a01b0383166111195760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bc5565b6001600160a01b03821661117a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bc5565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610dcb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc5565b60006112418484610fac565b90506000198114610fa6578181101561129c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610bc5565b610fa684848484036110b7565b6112b4838383611674565b6112be8383611b82565b156112cb576112cb611c37565b6112d6838383611e00565b505050565b6001600160a01b03821661133b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610bc5565b6001600160a01b038216600090815260208190526040902054818110156113af5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610bc5565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611494576114946125ae565b6001600160a01b03928316602091820292909201810191909152601b54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156114ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151191906125c4565b81600181518110611524576115246125ae565b6001600160a01b039283166020918202929092010152601b54429161154c91309116866110b7565b601b5460405163791ac94760e01b81526001600160a01b039091169063791ac94790611585908790600090879089908890600401612625565b600060405180830381600087803b15801561159f57600080fd5b505af11580156115b3573d6000803e3d6000fd5b5050505050505050565b601b5442906115d99030906001600160a01b03166000196110b7565b601b5460405163f305d71960e01b81523060048201819052602482018690526000604483018190526064830152608482015260a481018390526001600160a01b039091169063f305d71990849060c40160606040518083038185885af1158015611647573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061166c9190612661565b505050505050565b6001600160a01b0383166116e05760405162461bcd60e51b815260206004820152602d60248201527f45524332303a207472616e736665722066726f6d20746865205a45524f5f414460448201526c4452455353206164647265737360981b6064820152608401610bc5565b6001600160a01b03821661174a5760405162461bcd60e51b815260206004820152602b60248201527f45524332303a207472616e7366657220746f20746865205a45524f5f4144445260448201526a455353206164647265737360a81b6064820152608401610bc5565b600081116117b45760405162461bcd60e51b815260206004820152603160248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152707468616e205a45524f5f4144445245535360781b6064820152608401610bc5565b60175462010000900460ff1680156117da57506014546013546117d79190612539565b42105b15611975576005546001600160a01b0384811691161480159061180b5750601b546001600160a01b03838116911614155b801561182557506006546001600160a01b03838116911614155b801561183a57506001600160a01b0382163014155b15611975576012541561188a5760125481111561188a5760405162461bcd60e51b815260206004820152600e60248201526d26b0bc10213abc902634b6b4ba1760911b6044820152606401610bc5565b601754610100900460ff16156118ec576015543a11156118ec5760405162461bcd60e51b815260206004820152601860248201527f4761732070726963652065786365656473206c696d69742e00000000000000006044820152606401610bc5565b336000908152601a60205260409020544210156119575760405162461bcd60e51b815260206004820152602360248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201526232b21760e91b6064820152608401610bc5565b6016546119649042612539565b336000908152601a60205260409020555b6005546001600160a01b038481169116148015906119a157506005546001600160a01b03838116911614155b80156119b557506001600160a01b03821615155b80156119cc57506001600160a01b03821661dead14155b80156119e157506001600160a01b0382163014155b80156119f0575060175460ff16155b156112d6576001600160a01b03831660009081526019602052604090205460ff1615611af057600f54811115611a865760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610bc5565b600a546001600160a01b038316600090815260208190526040902054611aac9083612539565b11156112d65760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610bc5565b6001600160a01b03821660009081526019602052604090205460ff1615611a8657600f548111156112d65760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610bc5565b306000908152602081905260408120546009548110158015611ba7575060175460ff16155b8015611bc157506006546001600160a01b03858116911614155b8015611be557506006546001600160a01b0316600090815260208190526040812054115b8015611c0a57506001600160a01b03831660009081526018602052604090205460ff16155b8015611c2f57506001600160a01b03841660009081526018602052604090205460ff16155b949350505050565b6017805460ff1916600117905530600090815260208190526040902054600b5415611d2557600b54611c698183612585565b6000600b8190556007549193508291611c8490600190612585565b90505b60008115611cca57612710600d8381548110611ca557611ca56125ae565b906000526020600020015485611cbb919061254c565b611cc59190612563565b611ccc565b825b9050611cff8160078481548110611ce557611ce56125ae565b6000918252602090912001546001600160a01b031661145f565b8115611d1257611d0f8184612585565b92505b5080611d1d8161268f565b915050611c87565b8015611df35760115415611d5757611d5761271060115483611d47919061254c565b611d519190612563565b3061145f565b600e5415611d7d57611d7d612710600e5483611d73919061254c565b6109259190612563565b6000612710601154600e54611d929190612539565b611d9c908461254c565b611da69190612563565b611db09083612585565b90508015611dcf57600854611dcf9082906001600160a01b031661145f565b60105415611df1576010544790811115611def57611def8161dead611edb565b505b505b506017805460ff19169055565b6017546001600160a01b038416600090815260186020526040902054829160ff90811615911680611e4957506001600160a01b03841660009081526018602052604090205460ff165b15611e52575060005b8015611ec957600080611e66878787612041565b90925090506000611e778284612539565b1115611ec65780611e888387612585565b611e929190612585565b93508015611eb25780600b6000828254611eac9190612539565b90915550505b611ec68730611ec18486612539565b61212a565b50505b611ed485858461212a565b5050505050565b6040805160028082526060820183526000926020830190803683375050601b54604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015611f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6991906125c4565b81600081518110611f7c57611f7c6125ae565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110611fb057611fb06125ae565b6001600160a01b039283166020918202929092010152601b54604051637ff36ab560e01b815242929190911690637ff36ab5908690611ffa906000908790899088906004016126a6565b60006040518083038185885af1158015612018573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052611ed491908101906126db565b6001600160a01b0383166000908152601960205260408120548190819081908190819060ff161561208457601c5461207d9061ffff1685612539565b93506120dc565b6001600160a01b03881660009081526019602052604090205460ff16156120bc57601c5461207d9062010000900461ffff1685612539565b601c546120d590640100000000900461ffff1685612539565b9350600190505b83156120fc576127106120ef858961254c565b6120f99190612563565b92505b8061211c5761271061210f60328961254c565b6121199190612563565b91505b509097909650945050505050565b6001600160a01b03831661218e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610bc5565b6001600160a01b0382166121f05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610bc5565b6001600160a01b038316600090815260208190526040902054818110156122685760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bc5565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610fa6565b600060208083528351808285015260005b818110156122fb578581018301518582016040015282016122df565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610db657600080fd5b6000806040838503121561234457600080fd5b823561234f8161231c565b946020939093013593505050565b803561ffff8116811461236f57600080fd5b919050565b60006020828403121561238657600080fd5b61238f8261235d565b9392505050565b6000602082840312156123a857600080fd5b5035919050565b6000806000606084860312156123c457600080fd5b83356123cf8161231c565b925060208401356123df8161231c565b929592945050506040919091013590565b60008060006060848603121561240557600080fd5b61240e8461235d565b925061241c6020850161235d565b915061242a6040850161235d565b90509250925092565b60006020828403121561244557600080fd5b813561238f8161231c565b8035801515811461236f57600080fd5b60006020828403121561247257600080fd5b61238f82612450565b6000806040838503121561248e57600080fd5b82356124998161231c565b915060208301356124a98161231c565b809150509250929050565b600080604083850312156124c757600080fd5b82356124d28161231c565b91506124e060208401612450565b90509250929050565b600181811c908216806124fd57607f821691505b60208210810361251d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610b5857610b58612523565b8082028115828204841417610b5857610b58612523565b60008261258057634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610b5857610b58612523565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156125d657600080fd5b815161238f8161231c565b600081518084526020808501945080840160005b8381101561261a5781516001600160a01b0316875295820195908201906001016125f5565b509495945050505050565b85815284602082015260a06040820152600061264460a08301866125e1565b6001600160a01b0394909416606083015250608001529392505050565b60008060006060848603121561267657600080fd5b8351925060208401519150604084015190509250925092565b60008161269e5761269e612523565b506000190190565b8481526080602082015260006126bf60808301866125e1565b6001600160a01b03949094166040830152506060015292915050565b600060208083850312156126ee57600080fd5b825167ffffffffffffffff8082111561270657600080fd5b818501915085601f83011261271a57600080fd5b81518181111561272c5761272c612598565b8060051b604051601f19603f8301168101818110858211171561275157612751612598565b60405291825284820192508381018501918883111561276f57600080fd5b938501935b8285101561278d57845184529385019392850192612774565b9897505050505050505056fea2646970667358221220d1b376ac9c2cd0afd758f32fb1e61b8fb834836ce1d7ced9401a14aee51428aa64736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000052b7d2dcc80cd2e40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000442414c4400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442616c640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000002edc8ab014c0accf3295f8bef2f41a82c95e8ccb0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c8
Deployed Bytecode
0x60806040526004361061037a5760003560e01c8063768dc710116101d1578063c5f956af11610102578063deb5896e116100a0578063f2fde38b1161006f578063f2fde38b14610a33578063f311732214610a53578063f887ea4014610a73578063f901796614610a9357600080fd5b8063deb5896e146109c7578063df8408fe146109dd578063edf731c5146109fd578063efac458514610a1357600080fd5b8063c8c8ebe4116100dc578063c8c8ebe41461094a578063cd5f101d14610960578063d83067861461098d578063dd62ed3e146109a757600080fd5b8063c5f956af146108ea578063c6aca36b1461090a578063c876d0b91461092a57600080fd5b8063a2065e711161016f578063a9059cbb11610149578063a9059cbb1461086e578063aa4bde281461088e578063b62496f5146108a4578063bd74c046146108d457600080fd5b8063a2065e7114610818578063a335d4ff14610838578063a457c2d71461084e57600080fd5b80638d0cb35a116101ab5780638d0cb35a146107a55780638da5cb5b146107c557806395d89b41146107e35780639d0014b1146107f857600080fd5b8063768dc7101461073557806379cc6790146107655780637dee32901461078557600080fd5b8063313ce567116102ab5780635342acb4116102495780636f15d975116102235780636f15d975146106b457806370a08231146106ca578063715018a614610700578063738c6c091461071557600080fd5b80635342acb414610650578063560d52d4146106895780636aa5b37f1461069e57600080fd5b80633d90fff9116102855780633d90fff9146105cc57806342966c68146105e2578063452ed4f1146106025780634a569e941461063a57600080fd5b8063313ce5671461057057806332cde6641461058c57806339509351146105ac57600080fd5b80631630e97f116103185780631c06a7e1116102f25780631c06a7e1146104ba5780631e293c101461051057806323b872dd1461053057806327a14fc21461055057600080fd5b80631630e97f1461046f57806318160ddd1461048f5780631b11c874146104a457600080fd5b8063095ea7b311610354578063095ea7b3146103e7578063123e6cd81461041757806313fa254a14610439578063148829f51461045957600080fd5b80630445b6671461038657806306fdde03146103af578063094d776f146103d157600080fd5b3661038157005b600080fd5b34801561039257600080fd5b5061039c60095481565b6040519081526020015b60405180910390f35b3480156103bb57600080fd5b506103c4610ab2565b6040516103a691906122ce565b3480156103dd57600080fd5b5061039c60145481565b3480156103f357600080fd5b50610407610402366004612331565b610b44565b60405190151581526020016103a6565b34801561042357600080fd5b50610437610432366004612374565b610b5e565b005b34801561044557600080fd5b5061039c610454366004612396565b610bd7565b34801561046557600080fd5b5061039c600c5481565b34801561047b57600080fd5b5061043761048a366004612396565b610bf8565b34801561049b57600080fd5b5060025461039c565b3480156104b057600080fd5b5061039c60155481565b3480156104c657600080fd5b50601c546104eb9061ffff808216916201000081048216916401000000009091041683565b6040805161ffff948516815292841660208401529216918101919091526060016103a6565b34801561051c57600080fd5b5061043761052b366004612396565b610c6b565b34801561053c57600080fd5b5061040761054b3660046123af565b610c9a565b34801561055c57600080fd5b5061043761056b366004612396565b610cbe565b34801561057c57600080fd5b50604051601281526020016103a6565b34801561059857600080fd5b506104376105a73660046123f0565b610ced565b3480156105b857600080fd5b506104076105c7366004612331565b610d8a565b3480156105d857600080fd5b5061039c60165481565b3480156105ee57600080fd5b506104376105fd366004612396565b610dac565b34801561060e57600080fd5b50600654610622906001600160a01b031681565b6040516001600160a01b0390911681526020016103a6565b34801561064657600080fd5b5061039c60115481565b34801561065c57600080fd5b5061040761066b366004612433565b6001600160a01b031660009081526018602052604090205460ff1690565b34801561069557600080fd5b5061039c603281565b3480156106aa57600080fd5b5061039c60125481565b3480156106c057600080fd5b5061039c60105481565b3480156106d657600080fd5b5061039c6106e5366004612433565b6001600160a01b031660009081526020819052604090205490565b34801561070c57600080fd5b50610437610db9565b34801561072157600080fd5b50610437610730366004612374565b610dcd565b34801561074157600080fd5b50610407610750366004612433565b60186020526000908152604090205460ff1681565b34801561077157600080fd5b50610437610780366004612331565b610e41565b34801561079157600080fd5b506104376107a0366004612396565b610e5a565b3480156107b157600080fd5b506104376107c0366004612460565b610e89565b3480156107d157600080fd5b506005546001600160a01b0316610622565b3480156107ef57600080fd5b506103c4610eab565b34801561080457600080fd5b50610437610813366004612396565b610eba565b34801561082457600080fd5b50610437610833366004612460565b610ec7565b34801561084457600080fd5b5061039c61271081565b34801561085a57600080fd5b50610407610869366004612331565b610eeb565b34801561087a57600080fd5b50610407610889366004612331565b610f66565b34801561089a57600080fd5b5061039c600a5481565b3480156108b057600080fd5b506104076108bf366004612433565b60196020526000908152604090205460ff1681565b3480156108e057600080fd5b5061039c600b5481565b3480156108f657600080fd5b50600854610622906001600160a01b031681565b34801561091657600080fd5b50610437610925366004612396565b610f74565b34801561093657600080fd5b506017546104079062010000900460ff1681565b34801561095657600080fd5b5061039c600f5481565b34801561096c57600080fd5b5061039c61097b366004612433565b601a6020526000908152604090205481565b34801561099957600080fd5b506017546104079060ff1681565b3480156109b357600080fd5b5061039c6109c236600461247b565b610fac565b3480156109d357600080fd5b5061039c600e5481565b3480156109e957600080fd5b506104376109f83660046124b4565b610fd7565b348015610a0957600080fd5b5061039c60135481565b348015610a1f57600080fd5b50610437610a2e366004612396565b61100a565b348015610a3f57600080fd5b50610437610a4e366004612433565b611017565b348015610a5f57600080fd5b50610622610a6e366004612396565b61108d565b348015610a7f57600080fd5b50601b54610622906001600160a01b031681565b348015610a9f57600080fd5b5060175461040790610100900460ff1681565b606060038054610ac1906124e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610aed906124e9565b8015610b3a5780601f10610b0f57610100808354040283529160200191610b3a565b820191906000526020600020905b815481529060010190602001808311610b1d57829003601f168201915b5050505050905090565b600033610b528185856110b7565b60019150505b92915050565b610b666111db565b612710600e548261ffff16610b7b9190612539565b1115610bce5760405162461bcd60e51b815260206004820181905260248201527f50657263656e742063616e7420626520686967686572207468616e203130302560448201526064015b60405180910390fd5b61ffff16601155565b600d8181548110610be757600080fd5b600091825260209091200154905081565b610c006111db565b6402540be400811015610c665760405162461bcd60e51b815260206004820152602860248201527f6d6178206761732070726963652063616e74206265206c6f776572207468616e604482015267203130206757656960c01b6064820152608401610bc5565b601555565b610c736111db565b61271081610c8060025490565b610c8a919061254c565b610c949190612563565b600f5550565b600033610ca8858285611235565b610cb38585856112a9565b506001949350505050565b610cc66111db565b61271081610cd360025490565b610cdd919061254c565b610ce79190612563565b600a5550565b610cf56111db565b6111948361ffff16108015610d0f57506111948261ffff16105b610d4b5760405162461bcd60e51b815260206004820152600d60248201526c0a8dede40d0d2ced0e840e8c2f609b1b6044820152606401610bc5565b601c805461ffff94851663ffffffff199091161762010000938516939093029290921765ffff0000000019166401000000009190931602919091179055565b600033610b52818585610d9d8383610fac565b610da79190612539565b6110b7565b610db633826112db565b50565b610dc16111db565b610dcb600061140d565b565b610dd56111db565b6127106011548261ffff16610dea9190612539565b1115610e385760405162461bcd60e51b815260206004820181905260248201527f50657263656e742063616e7420626520686967686572207468616e20313030256044820152606401610bc5565b61ffff16600e55565b610e4c823383611235565b610e5682826112db565b5050565b610e626111db565b61271081610e6f60025490565b610e79919061254c565b610e839190612563565b60125550565b610e916111db565b601780549115156101000261ff0019909216919091179055565b606060048054610ac1906124e9565b610ec26111db565b600955565b610ecf6111db565b60178054911515620100000262ff000019909216919091179055565b60003381610ef98286610fac565b905083811015610f595760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610bc5565b610cb382868684036110b7565b600033610b528185856112a9565b6000610f81600283612563565b905047610f8e823061145f565b6000610f9a8247612585565b9050610fa683826115bd565b50505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610fdf6111db565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6110126111db565b601055565b61101f6111db565b6001600160a01b0381166110845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bc5565b610db68161140d565b6007818154811061109d57600080fd5b6000918252602090912001546001600160a01b0316905081565b6001600160a01b0383166111195760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bc5565b6001600160a01b03821661117a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bc5565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610dcb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bc5565b60006112418484610fac565b90506000198114610fa6578181101561129c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610bc5565b610fa684848484036110b7565b6112b4838383611674565b6112be8383611b82565b156112cb576112cb611c37565b6112d6838383611e00565b505050565b6001600160a01b03821661133b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610bc5565b6001600160a01b038216600090815260208190526040902054818110156113af5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610bc5565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611494576114946125ae565b6001600160a01b03928316602091820292909201810191909152601b54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156114ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151191906125c4565b81600181518110611524576115246125ae565b6001600160a01b039283166020918202929092010152601b54429161154c91309116866110b7565b601b5460405163791ac94760e01b81526001600160a01b039091169063791ac94790611585908790600090879089908890600401612625565b600060405180830381600087803b15801561159f57600080fd5b505af11580156115b3573d6000803e3d6000fd5b5050505050505050565b601b5442906115d99030906001600160a01b03166000196110b7565b601b5460405163f305d71960e01b81523060048201819052602482018690526000604483018190526064830152608482015260a481018390526001600160a01b039091169063f305d71990849060c40160606040518083038185885af1158015611647573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061166c9190612661565b505050505050565b6001600160a01b0383166116e05760405162461bcd60e51b815260206004820152602d60248201527f45524332303a207472616e736665722066726f6d20746865205a45524f5f414460448201526c4452455353206164647265737360981b6064820152608401610bc5565b6001600160a01b03821661174a5760405162461bcd60e51b815260206004820152602b60248201527f45524332303a207472616e7366657220746f20746865205a45524f5f4144445260448201526a455353206164647265737360a81b6064820152608401610bc5565b600081116117b45760405162461bcd60e51b815260206004820152603160248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152707468616e205a45524f5f4144445245535360781b6064820152608401610bc5565b60175462010000900460ff1680156117da57506014546013546117d79190612539565b42105b15611975576005546001600160a01b0384811691161480159061180b5750601b546001600160a01b03838116911614155b801561182557506006546001600160a01b03838116911614155b801561183a57506001600160a01b0382163014155b15611975576012541561188a5760125481111561188a5760405162461bcd60e51b815260206004820152600e60248201526d26b0bc10213abc902634b6b4ba1760911b6044820152606401610bc5565b601754610100900460ff16156118ec576015543a11156118ec5760405162461bcd60e51b815260206004820152601860248201527f4761732070726963652065786365656473206c696d69742e00000000000000006044820152606401610bc5565b336000908152601a60205260409020544210156119575760405162461bcd60e51b815260206004820152602360248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201526232b21760e91b6064820152608401610bc5565b6016546119649042612539565b336000908152601a60205260409020555b6005546001600160a01b038481169116148015906119a157506005546001600160a01b03838116911614155b80156119b557506001600160a01b03821615155b80156119cc57506001600160a01b03821661dead14155b80156119e157506001600160a01b0382163014155b80156119f0575060175460ff16155b156112d6576001600160a01b03831660009081526019602052604090205460ff1615611af057600f54811115611a865760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610bc5565b600a546001600160a01b038316600090815260208190526040902054611aac9083612539565b11156112d65760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610bc5565b6001600160a01b03821660009081526019602052604090205460ff1615611a8657600f548111156112d65760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610bc5565b306000908152602081905260408120546009548110158015611ba7575060175460ff16155b8015611bc157506006546001600160a01b03858116911614155b8015611be557506006546001600160a01b0316600090815260208190526040812054115b8015611c0a57506001600160a01b03831660009081526018602052604090205460ff16155b8015611c2f57506001600160a01b03841660009081526018602052604090205460ff16155b949350505050565b6017805460ff1916600117905530600090815260208190526040902054600b5415611d2557600b54611c698183612585565b6000600b8190556007549193508291611c8490600190612585565b90505b60008115611cca57612710600d8381548110611ca557611ca56125ae565b906000526020600020015485611cbb919061254c565b611cc59190612563565b611ccc565b825b9050611cff8160078481548110611ce557611ce56125ae565b6000918252602090912001546001600160a01b031661145f565b8115611d1257611d0f8184612585565b92505b5080611d1d8161268f565b915050611c87565b8015611df35760115415611d5757611d5761271060115483611d47919061254c565b611d519190612563565b3061145f565b600e5415611d7d57611d7d612710600e5483611d73919061254c565b6109259190612563565b6000612710601154600e54611d929190612539565b611d9c908461254c565b611da69190612563565b611db09083612585565b90508015611dcf57600854611dcf9082906001600160a01b031661145f565b60105415611df1576010544790811115611def57611def8161dead611edb565b505b505b506017805460ff19169055565b6017546001600160a01b038416600090815260186020526040902054829160ff90811615911680611e4957506001600160a01b03841660009081526018602052604090205460ff165b15611e52575060005b8015611ec957600080611e66878787612041565b90925090506000611e778284612539565b1115611ec65780611e888387612585565b611e929190612585565b93508015611eb25780600b6000828254611eac9190612539565b90915550505b611ec68730611ec18486612539565b61212a565b50505b611ed485858461212a565b5050505050565b6040805160028082526060820183526000926020830190803683375050601b54604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015611f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6991906125c4565b81600081518110611f7c57611f7c6125ae565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110611fb057611fb06125ae565b6001600160a01b039283166020918202929092010152601b54604051637ff36ab560e01b815242929190911690637ff36ab5908690611ffa906000908790899088906004016126a6565b60006040518083038185885af1158015612018573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052611ed491908101906126db565b6001600160a01b0383166000908152601960205260408120548190819081908190819060ff161561208457601c5461207d9061ffff1685612539565b93506120dc565b6001600160a01b03881660009081526019602052604090205460ff16156120bc57601c5461207d9062010000900461ffff1685612539565b601c546120d590640100000000900461ffff1685612539565b9350600190505b83156120fc576127106120ef858961254c565b6120f99190612563565b92505b8061211c5761271061210f60328961254c565b6121199190612563565b91505b509097909650945050505050565b6001600160a01b03831661218e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610bc5565b6001600160a01b0382166121f05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610bc5565b6001600160a01b038316600090815260208190526040902054818110156122685760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bc5565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610fa6565b600060208083528351808285015260005b818110156122fb578581018301518582016040015282016122df565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610db657600080fd5b6000806040838503121561234457600080fd5b823561234f8161231c565b946020939093013593505050565b803561ffff8116811461236f57600080fd5b919050565b60006020828403121561238657600080fd5b61238f8261235d565b9392505050565b6000602082840312156123a857600080fd5b5035919050565b6000806000606084860312156123c457600080fd5b83356123cf8161231c565b925060208401356123df8161231c565b929592945050506040919091013590565b60008060006060848603121561240557600080fd5b61240e8461235d565b925061241c6020850161235d565b915061242a6040850161235d565b90509250925092565b60006020828403121561244557600080fd5b813561238f8161231c565b8035801515811461236f57600080fd5b60006020828403121561247257600080fd5b61238f82612450565b6000806040838503121561248e57600080fd5b82356124998161231c565b915060208301356124a98161231c565b809150509250929050565b600080604083850312156124c757600080fd5b82356124d28161231c565b91506124e060208401612450565b90509250929050565b600181811c908216806124fd57607f821691505b60208210810361251d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610b5857610b58612523565b8082028115828204841417610b5857610b58612523565b60008261258057634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610b5857610b58612523565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156125d657600080fd5b815161238f8161231c565b600081518084526020808501945080840160005b8381101561261a5781516001600160a01b0316875295820195908201906001016125f5565b509495945050505050565b85815284602082015260a06040820152600061264460a08301866125e1565b6001600160a01b0394909416606083015250608001529392505050565b60008060006060848603121561267657600080fd5b8351925060208401519150604084015190509250925092565b60008161269e5761269e612523565b506000190190565b8481526080602082015260006126bf60808301866125e1565b6001600160a01b03949094166040830152506060015292915050565b600060208083850312156126ee57600080fd5b825167ffffffffffffffff8082111561270657600080fd5b818501915085601f83011261271a57600080fd5b81518181111561272c5761272c612598565b8060051b604051601f19603f8301168101818110858211171561275157612751612598565b60405291825284820192508381018501918883111561276f57600080fd5b938501935b8285101561278d57845184529385019392850192612774565b9897505050505050505056fea2646970667358221220d1b376ac9c2cd0afd758f32fb1e61b8fb834836ce1d7ced9401a14aee51428aa64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000052b7d2dcc80cd2e40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000442414c4400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442616c640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000002edc8ab014c0accf3295f8bef2f41a82c95e8ccb0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c8
-----Decoded View---------------
Arg [0] : tokenName (string): BALD
Arg [1] : tokenSymbol (string): Bald
Arg [2] : supply (uint256): 100000000000000000000000000
Arg [3] : preMint (uint256): 0
Arg [4] : addresses (address[]): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D,0x2EDC8aB014C0ACcF3295f8Bef2f41a82c95e8CCB
Arg [5] : percents (uint16[]): 0,500,500,200,200
-----Encoded View---------------
19 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 42414c4400000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 42616c6400000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [11] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [12] : 0000000000000000000000002edc8ab014c0accf3295f8bef2f41a82c95e8ccb
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [15] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [16] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [17] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [18] : 00000000000000000000000000000000000000000000000000000000000000c8
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.