ERC-20
Overview
Max Total Supply
580,383,962.655085741345261282 $TOADS
Holders
2,960
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
50,418.25 $TOADSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DigiToads
Compiler Version
v0.8.2+commit.661d1103
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.2; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./IUniswapV2Factory.sol"; import "./airdropDistributor.sol"; interface IStaking { function updatePool(uint256 amount) external; } contract DigiToads is ERC20, Ownable { using SafeMath for uint256; address public treasury; address public staking; address public distributorAddress; bool private swapping; bool public swapEnable; bool public distributionEnabled; uint256 public swapTokensAtAmount; uint256 public distributorGas; IERC20 USDT; uint256[] public liqudityFee; uint256[] public stakingPoolFee; uint256[] public treasuryFee; uint256[] public burnFee; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; AirDrop distributor; mapping(address => bool) isDividendExempt; mapping(address => bool) public whitelistedAddress; mapping(address => bool) public automatedMarketMakerPairs; event TreasuryAddressUpdated(address newTreasury); event StakingAddressUpdated(address newStaking); event WhitelistAddressUpdated(address whitelistAccount, bool value); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event ExcludeFromMaxWalletToken(address indexed account, bool isExcluded); event SwapTokenAmountUpdated(uint256 indexed amount); event SwapStatusUpdated(bool indexed status); constructor(address _owner) ERC20("DigiToads", "$TOADS") { _mint(_owner, 585000000 * (10**18)); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; _setAutomatedMarketMakerPair(_uniswapV2Pair, true); whitelistedAddress[address(this)] = true; whitelistedAddress[_owner] = true; isDividendExempt[_uniswapV2Pair] = true; isDividendExempt[address(this)] = true; burnFee.push(200); burnFee.push(200); burnFee.push(200); treasuryFee.push(200); treasuryFee.push(200); treasuryFee.push(200); stakingPoolFee.push(200); stakingPoolFee.push(200); stakingPoolFee.push(200); liqudityFee.push(100); liqudityFee.push(100); liqudityFee.push(100); swapEnable = true; swapTokensAtAmount = 100000 * (10**18); distributorGas = 250000; distributor = new AirDrop(); distributorAddress = address(distributor); USDT = IERC20(0xdAC17F958D2ee523a2206206994597C13D831ec7); treasury = address(0x860cEE971686c6b349C13ddde2fDe483aD955418); } receive() external payable {} function setTreasuryAddress(address _treasury) external onlyOwner{ require(_treasury != address(0), "setTreasuryAddress: Zero address"); treasury = _treasury; whitelistedAddress[_treasury] = true; emit TreasuryAddressUpdated(_treasury); } function setStakingPoolAddress(address _staking) external onlyOwner{ require(_staking != address(0), "setStakingPoolAddress: Zero address"); staking = _staking; whitelistedAddress[_staking] = true; emit StakingAddressUpdated(_staking); } function setWhitelistAddress(address _whitelist, bool _status) external onlyOwner{ require(_whitelist != address(0), "setWhitelistAddress: Zero address"); whitelistedAddress[_whitelist] = _status; emit WhitelistAddressUpdated(_whitelist, _status); } function setSwapTokensAtAmount(uint256 amount) external onlyOwner { require(amount <= totalSupply(), "Amount cannot be over the total supply."); swapTokensAtAmount = amount; emit SwapTokenAmountUpdated(amount); } function setSwapEnable(bool _enabled) public onlyOwner { swapEnable = _enabled; emit SwapStatusUpdated(_enabled); } function setLiqudityFee(uint256 buy, uint256 sell, uint256 p2p) external onlyOwner { require(burnFee[0].add(stakingPoolFee[0]).add(treasuryFee[0]).add(buy) <= 2500 , "Max fee limit reached for 'BUY'"); require(burnFee[1].add(stakingPoolFee[1]).add(treasuryFee[0]).add(sell) <= 2500 , "Max fee limit reached for 'SELL'"); require(burnFee[2].add(stakingPoolFee[2]).add(treasuryFee[0]).add(p2p) <= 2500 , "Max fee limit reached for 'P2P'"); liqudityFee[0] = buy; liqudityFee[1] = sell; liqudityFee[2] = p2p; } function setBurnFee(uint256 buy, uint256 sell, uint256 p2p) external onlyOwner { require(liqudityFee[0].add(stakingPoolFee[0]).add(treasuryFee[0]).add(buy) <= 2500 , "Max fee limit reached for 'BUY'"); require(liqudityFee[1].add(stakingPoolFee[1]).add(treasuryFee[1]).add(sell) <= 2500 , "Max fee limit reached for 'SELL'"); require(liqudityFee[2].add(stakingPoolFee[2]).add(treasuryFee[2]).add(p2p) <= 2500 , "Max fee limit reached for 'P2P'"); burnFee[0] = buy; burnFee[1] = sell; burnFee[2] = p2p; } function setStakingPoolFee(uint256 buy, uint256 sell, uint256 p2p) external onlyOwner { require(liqudityFee[0].add(treasuryFee[0]).add(burnFee[0]).add(buy) <= 2500 , "Max fee limit reached for 'BUY'"); require(liqudityFee[1].add(treasuryFee[1]).add(burnFee[1]).add(sell) <= 2500 , "Max fee limit reached for 'SELL'"); require(liqudityFee[2].add(treasuryFee[2]).add(burnFee[2]).add(p2p) <= 2500 , "Max fee limit reached for 'P2P'"); stakingPoolFee[0] = buy; stakingPoolFee[1] = sell; stakingPoolFee[2] = p2p; } function setTreasuryFee(uint256 buy, uint256 sell, uint256 p2p) external onlyOwner { require(liqudityFee[0].add(stakingPoolFee[0]).add(burnFee[0]).add(buy) <= 2500 , "Max fee limit reached for 'BUY'"); require(liqudityFee[1].add(stakingPoolFee[1]).add(burnFee[1]).add(sell) <= 2500 , "Max fee limit reached for 'SELL'"); require(liqudityFee[2].add(stakingPoolFee[2]).add(burnFee[2]).add(p2p) <= 2500 , "Max fee limit reached for 'P2P'"); treasuryFee[0] = buy; treasuryFee[1] = sell; treasuryFee[2] = p2p; } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "The Uniswap pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require(automatedMarketMakerPairs[pair] != value, "Automated market maker pair is already set to that value"); automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function swapTokensForETH(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ETHAmount) private{ _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.addLiquidityETH{value: ETHAmount}( address(this), tokenAmount, 0, 0, address(this), block.timestamp.add(300) ); } function transferTokens(address tokenAddress, address to, uint256 amount) public onlyOwner { IERC20(tokenAddress).transfer(to, amount); } function migrateETH(address payable recipient) public onlyOwner { require(recipient != address(0), "Zero address"); recipient.transfer(address(this).balance); } function _transfer(address sender, address recipient, uint256 amount) internal override(ERC20){ require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if (!swapping && canSwap && swapEnable && automatedMarketMakerPairs[recipient]) { swapping = true; uint256 half = swapTokensAtAmount.div(2); uint256 otherHalf = swapTokensAtAmount.sub(half); swapTokensForETH(half); uint256 newBalance = address(this).balance; if(newBalance > 0) { addLiquidity(otherHalf, newBalance); } swapping = false; } if(whitelistedAddress[sender] || whitelistedAddress[recipient]) { super._transfer(sender, recipient, amount); } else { (uint256 burnAmount, uint256 treasuryAmount, uint256 stakingAmount, uint256 liqudityAmount) = collectFee(amount, automatedMarketMakerPairs[recipient], !automatedMarketMakerPairs[sender] && !automatedMarketMakerPairs[recipient]); if(burnAmount > 0) { super._burn(sender, burnAmount); } if(treasuryAmount > 0) { super._transfer(sender, address(treasury), treasuryAmount); } if(stakingAmount > 0) { super._transfer(sender, address(staking), stakingAmount); IStaking(staking).updatePool(stakingAmount); } if(liqudityAmount > 0) { super._transfer(sender, address(this), liqudityAmount); } uint256 allFee = burnAmount.add(treasuryAmount).add(stakingAmount).add(liqudityAmount); super._transfer(sender, recipient, amount.sub(allFee)); } if(!isDividendExempt[sender]){ try distributor.setShare(sender, balanceOf(sender)) {} catch {} } if(!isDividendExempt[recipient]){ try distributor.setShare(recipient, balanceOf(recipient)) {} catch {} } if(distributionEnabled) { try distributor.process(distributorGas) {} catch {} } } function collectFee(uint256 amount, bool sell, bool p2p) private view returns (uint256, uint256, uint256, uint256) { uint256 _burnFee = amount.mul(p2p ? burnFee[2] : sell ? burnFee[1] : burnFee[0]).div(10000); uint256 _treasuryFee = amount.mul(p2p ? treasuryFee[2] : sell ? treasuryFee[1] : treasuryFee[0]).div(10000); uint256 _stakingFee = amount.mul(p2p ? stakingPoolFee[2] : sell ? stakingPoolFee[1] : stakingPoolFee[0]).div(10000); uint256 _liqudityFee = amount.mul(p2p ? liqudityFee[2] : sell ? liqudityFee[1] : liqudityFee[0]).div(10000); return (_burnFee, _treasuryFee, _stakingFee, _liqudityFee); } function setIsDividendExempt(address holder, bool exempt) external onlyOwner { isDividendExempt[holder] = exempt; if(exempt) { distributor.setShare(holder, 0); } else { distributor.setShare(holder, balanceOf(holder)); } } function setDistributionStatus(bool status) external onlyOwner { distributionEnabled = status; } function setDistributionCriteria(uint256 minPeriod, uint256 minDistribution) external onlyOwner { distributor.setDistributionCriteria(minPeriod, minDistribution); } function setDistributorGas(uint256 gas) external onlyOwner { require(gas < 750000, "Gas is greater than limit"); distributorGas = gas; } function depositAirDropUSDT(uint256 amount) public{ require(USDT.balanceOf(msg.sender) >= amount, "USDT balance not found on sender address"); USDT.transferFrom(msg.sender, distributorAddress, amount); distributor.depositUSDT(amount); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.2; interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH(address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external payable returns (uint amountToken, uint amountETH, uint liquidity); } interface IUniswapV2Router02 is IUniswapV2Router01 { function swapExactTokensForETHSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.2; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; interface IAirDropDistributor { function setDistributionCriteria(uint256 _minPeriod, uint256 _minDistribution) external; function setShare(address shareholder, uint256 amount) external; function depositUSDT(uint256 amount) external; function process(uint256 gas) external; } contract AirDrop is IAirDropDistributor { using SafeMath for uint256; using SafeERC20 for IERC20; address _token; struct Share { uint256 amount; uint256 totalExcluded; uint256 totalRealised; } IERC20 USDT = IERC20(0xdAC17F958D2ee523a2206206994597C13D831ec7); address[] shareholders; mapping (address => uint256) shareholderIndexes; mapping (address => uint256) shareholderClaims; mapping (address => Share) public shares; event DistributionCriteriaUpdate(uint256 minPeriod, uint256 minDistribution); event NewFundDeposit(uint256 amount); uint256 public totalShares; uint256 public totalDividends; uint256 public totalDistributed; uint256 public dividendsPerShare; uint256 public constant dividendsPerShareAccuracyFactor = 10 ** 36; uint256 public minPeriod = 7 days; uint256 public minDistribution = 1 * (10 ** 6); uint256 currentIndex; modifier onlyToken() { require(msg.sender == _token, "!Token"); _; } constructor () { _token = msg.sender; } function setDistributionCriteria(uint256 _minPeriod, uint256 _minDistribution) external override onlyToken { minPeriod = _minPeriod; minDistribution = _minDistribution; emit DistributionCriteriaUpdate(minPeriod, minDistribution); } function setShare(address shareholder, uint256 amount) external override onlyToken { if(shares[shareholder].amount > 0){ distributeDividend(shareholder); } if(amount > 0 && shares[shareholder].amount == 0) { addShareholder(shareholder); } else if(amount == 0 && shares[shareholder].amount > 0) { removeShareholder(shareholder); } totalShares = totalShares.sub(shares[shareholder].amount).add(amount); shares[shareholder].amount = amount; shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount); } function depositUSDT(uint256 amount) external override onlyToken { totalDividends = totalDividends.add(amount); dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)); emit NewFundDeposit(amount); } function process(uint256 gas) external override onlyToken { uint256 shareholderCount = shareholders.length; if(shareholderCount == 0) { return; } uint256 gasUsed = 0; uint256 gasLeft = gasleft(); uint256 iterations = 0; while(gasUsed < gas && iterations < shareholderCount) { if(currentIndex >= shareholderCount){ currentIndex = 0; } if(shouldDistribute(shareholders[currentIndex])){ distributeDividend(shareholders[currentIndex]); } gasUsed = gasUsed.add(gasLeft.sub(gasleft())); gasLeft = gasleft(); currentIndex++; iterations++; } } function shouldDistribute(address shareholder) internal view returns (bool) { return shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution; } function distributeDividend(address shareholder) internal { if(shares[shareholder].amount == 0){ return; } uint256 amount = getUnpaidEarnings(shareholder); if(amount > 0){ totalDistributed = totalDistributed.add(amount); USDT.transfer(shareholder, amount); shareholderClaims[shareholder] = block.timestamp; shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount); shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount); } } function claimAirDrop() external { if(shouldDistribute(msg.sender)) { distributeDividend(msg.sender); } } function getUnpaidEarnings(address shareholder) public view returns (uint256) { if(shares[shareholder].amount == 0){ return 0; } uint256 shareholderTotalDividends = getCumulativeDividends(shares[shareholder].amount); uint256 shareholderTotalExcluded = shares[shareholder].totalExcluded; if(shareholderTotalDividends <= shareholderTotalExcluded){ return 0; } return shareholderTotalDividends.sub(shareholderTotalExcluded); } function getCumulativeDividends(uint256 share) internal view returns (uint256) { return share.mul(dividendsPerShare).div(dividendsPerShareAccuracyFactor); } function addShareholder(address shareholder) internal { shareholderIndexes[shareholder] = shareholders.length; shareholders.push(shareholder); } function removeShareholder(address shareholder) internal { shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length-1]; shareholderIndexes[shareholders[shareholders.length-1]] = shareholderIndexes[shareholder]; shareholders.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * 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}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * 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 value {ERC20} uses, unless this function is * 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; } _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; _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; } _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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromMaxWalletToken","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":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newStaking","type":"address"}],"name":"StakingAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"status","type":"bool"}],"name":"SwapStatusUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SwapTokenAmountUpdated","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newTreasury","type":"address"}],"name":"TreasuryAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"whitelistAccount","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"WhitelistAddressUpdated","type":"event"},{"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":"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":"","type":"uint256"}],"name":"burnFee","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":"uint256","name":"amount","type":"uint256"}],"name":"depositAirDropUSDT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributionEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distributorAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distributorGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"liqudityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"}],"name":"migrateETH","outputs":[],"stateMutability":"nonpayable","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buy","type":"uint256"},{"internalType":"uint256","name":"sell","type":"uint256"},{"internalType":"uint256","name":"p2p","type":"uint256"}],"name":"setBurnFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minPeriod","type":"uint256"},{"internalType":"uint256","name":"minDistribution","type":"uint256"}],"name":"setDistributionCriteria","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setDistributionStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"setDistributorGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"setIsDividendExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buy","type":"uint256"},{"internalType":"uint256","name":"sell","type":"uint256"},{"internalType":"uint256","name":"p2p","type":"uint256"}],"name":"setLiqudityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_staking","type":"address"}],"name":"setStakingPoolAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buy","type":"uint256"},{"internalType":"uint256","name":"sell","type":"uint256"},{"internalType":"uint256","name":"p2p","type":"uint256"}],"name":"setStakingPoolFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapEnable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buy","type":"uint256"},{"internalType":"uint256","name":"sell","type":"uint256"},{"internalType":"uint256","name":"p2p","type":"uint256"}],"name":"setTreasuryFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_whitelist","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setWhitelistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakingPoolFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","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":"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":[{"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":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"treasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200455d3803806200455d8339810160408190526200003491620007d6565b604080518082018252600981526844696769546f61647360b81b60208083019182528351808501909452600684526524544f41445360d01b908401528151919291620000839160039162000722565b5080516200009990600490602084019062000722565b505050620000b6620000b0620004f860201b60201c565b620004fc565b620000ce816b01e3e6918b924b04e90000006200054e565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200012357600080fd5b505afa15801562000138573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015e9190620007d6565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015620001a757600080fd5b505afa158015620001bc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001e29190620007d6565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200022b57600080fd5b505af115801562000240573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002669190620007d6565b601080546001600160a01b038086166001600160a01b03199283161790925560118054928416929091169190911790559050620002a581600162000637565b306000818152601460209081526040808320805460ff1990811660019081179092556001600160a01b0389811686528386208054831684179055871685526013909352818420805484168217905593835280832080549092168417909155600f8054808501825560c87f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80291820181905582548087018455820181905582548087019093559101819055600e805480860182557fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd908101839055815480870183558101839055815480870190925501819055600d805480860182557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb590810183905581548087018355810183905581548087019092550155600c805480850182559281905260647fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c7938401819055815480860183558401819055815494850190915592909101919091556008805460ff60a81b1916600160a81b17905569152d02c7e14af68000006009556203d090600a55516200046290620007b1565b604051809103906000f0801580156200047f573d6000803e3d6000fd5b50601280546001600160a01b039283166001600160a01b031991821617918290556008805482169290931691909117909155600b8054821673dac17f958d2ee523a2206206994597c13d831ec71790556006805490911673860cee971686c6b349c13ddde2fde483ad9554181790555062000868915050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620005aa5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060026000828254620005be919062000806565b90915550506001600160a01b03821660009081526020819052604081208054839290620005ed90849062000806565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b03821660009081526015602052604090205460ff1615158115151415620006ce5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401620005a1565b6001600160a01b038216600081815260156020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b82805462000730906200082b565b90600052602060002090601f0160209004810192826200075457600085556200079f565b82601f106200076f57805160ff19168380011785556200079f565b828001600101855582156200079f579182015b828111156200079f57825182559160200191906001019062000782565b50620007ad929150620007bf565b5090565b610bb780620039a683390190565b5b80821115620007ad5760008155600101620007c0565b600060208284031215620007e8578081fd5b81516001600160a01b0381168114620007ff578182fd5b9392505050565b600082198211156200082657634e487b7160e01b81526011600452602481fd5b500190565b6002810460018216806200084057607f821691505b602082108114156200086257634e487b7160e01b600052602260045260246000fd5b50919050565b61312e80620008786000396000f3fe6080604052600436106102815760003560e01c80636707ca5c1161014f578063a64b6e5f116100c1578063dd62ed3e1161007a578063dd62ed3e146107d7578063e08da761146107f7578063e2f4560514610817578063e40ffe001461082d578063f2fde38b1461084d578063f708a64f1461086d57610288565b8063a64b6e5f146106f7578063a9059cbb14610717578063afa4f3b214610737578063b4f500dd14610757578063b62496f514610777578063c30796ab146107a757610288565b8063866083261161011357806386608326146106435780638da5cb5b1461066457806395d89b41146106825780639a7a23d614610697578063a457c2d7146106b7578063a51af4c5146106d757610288565b80636707ca5c1461059757806370a08231146105b7578063715018a6146105ed57806374da7cd814610602578063769c2f571461062257610288565b8063313ce567116101f357806349ae028a116101ac57806349ae028a146104e157806349bd5a5e146105015780634cf088d91461052157806360e719621461054157806361d027b3146105575780636605bfda1461057757610288565b8063313ce56714610425578063368128d11461044157806339509351146104615780633ca28c5a146104815780633f914aef146104a15780634687486e146104c157610288565b80631694505e116102455780631694505e1461035857806318160ddd14610390578063203d81c1146103a557806323b872dd146103c5578063244ce7db146103e55780632d48e8961461040557610288565b806306fdde031461028d578063095ea7b3146102b85780630a2d140c146102e85780630bb308001461030a578063158127f51461033857610288565b3661028857005b600080fd5b34801561029957600080fd5b506102a261088d565b6040516102af9190612e28565b60405180910390f35b3480156102c457600080fd5b506102d86102d3366004612d1c565b61091f565b60405190151581526020016102af565b3480156102f457600080fd5b50610308610303366004612d47565b610937565b005b34801561031657600080fd5b5061032a610325366004612d7f565b61095d565b6040519081526020016102af565b34801561034457600080fd5b50610308610353366004612dd0565b61097e565b34801561036457600080fd5b50601054610378906001600160a01b031681565b6040516001600160a01b0390911681526020016102af565b34801561039c57600080fd5b5060025461032a565b3480156103b157600080fd5b506103086103c0366004612c3f565b610c39565b3480156103d157600080fd5b506102d86103e0366004612caf565b610d12565b3480156103f157600080fd5b50610308610400366004612d7f565b610d36565b34801561041157600080fd5b50610308610420366004612daf565b610d95565b34801561043157600080fd5b50604051601281526020016102af565b34801561044d57600080fd5b5061032a61045c366004612d7f565b610e07565b34801561046d57600080fd5b506102d861047c366004612d1c565b610e17565b34801561048d57600080fd5b5061030861049c366004612dd0565b610e39565b3480156104ad57600080fd5b506103086104bc366004612cef565b6110bb565b3480156104cd57600080fd5b506103086104dc366004612dd0565b611186565b3480156104ed57600080fd5b5061032a6104fc366004612d7f565b611381565b34801561050d57600080fd5b50601154610378906001600160a01b031681565b34801561052d57600080fd5b50600754610378906001600160a01b031681565b34801561054d57600080fd5b5061032a600a5481565b34801561056357600080fd5b50600654610378906001600160a01b031681565b34801561058357600080fd5b50610308610592366004612c3f565b611391565b3480156105a357600080fd5b5061032a6105b2366004612d7f565b611457565b3480156105c357600080fd5b5061032a6105d2366004612c3f565b6001600160a01b031660009081526020819052604090205490565b3480156105f957600080fd5b50610308611467565b34801561060e57600080fd5b5061030861061d366004612c3f565b61147b565b34801561062e57600080fd5b506008546102d890600160a81b900460ff1681565b34801561064f57600080fd5b506008546102d890600160b01b900460ff1681565b34801561067057600080fd5b506005546001600160a01b0316610378565b34801561068e57600080fd5b506102a2611501565b3480156106a357600080fd5b506103086106b2366004612cef565b611510565b3480156106c357600080fd5b506102d86106d2366004612d1c565b6115b0565b3480156106e357600080fd5b50600854610378906001600160a01b031681565b34801561070357600080fd5b50610308610712366004612caf565b61162b565b34801561072357600080fd5b506102d8610732366004612d1c565b6116bb565b34801561074357600080fd5b50610308610752366004612d7f565b6116c9565b34801561076357600080fd5b50610308610772366004612dd0565b611766565b34801561078357600080fd5b506102d8610792366004612c3f565b60156020526000908152604090205460ff1681565b3480156107b357600080fd5b506102d86107c2366004612c3f565b60146020526000908152604090205460ff1681565b3480156107e357600080fd5b5061032a6107f2366004612c77565b6118d1565b34801561080357600080fd5b50610308610812366004612d7f565b6118fc565b34801561082357600080fd5b5061032a60095481565b34801561083957600080fd5b50610308610848366004612d47565b611ac6565b34801561085957600080fd5b50610308610868366004612c3f565b611b17565b34801561087957600080fd5b50610308610888366004612cef565b611b90565b60606003805461089c90613084565b80601f01602080910402602001604051908101604052809291908181526020018280546108c890613084565b80156109155780601f106108ea57610100808354040283529160200191610915565b820191906000526020600020905b8154815290600101906020018083116108f857829003601f168201915b5050505050905090565b60003361092d818585611c92565b5060019392505050565b61093f611db7565b60088054911515600160b01b0260ff60b01b19909216919091179055565b600c818154811061096d57600080fd5b600091825260209091200154905081565b610986611db7565b6109c4610a2e84610a28600e6000815481106109b257634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600d6000815481106109e257634e487b7160e01b600052603260045260246000fd5b9060005260206000200154600f600081548110610a0f57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154611e1190919063ffffffff16565b90611e11565b1115610a555760405162461bcd60e51b8152600401610a4c90612ebe565b60405180910390fd5b6109c4610ade83610a28600e600081548110610a8157634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600d600181548110610ab157634e487b7160e01b600052603260045260246000fd5b9060005260206000200154600f600181548110610a0f57634e487b7160e01b600052603260045260246000fd5b1115610afc5760405162461bcd60e51b8152600401610a4c90612f71565b6109c4610b8582610a28600e600081548110610b2857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600d600281548110610b5857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154600f600281548110610a0f57634e487b7160e01b600052603260045260246000fd5b1115610ba35760405162461bcd60e51b8152600401610a4c90612ef5565b82600c600081548110610bc657634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555081600c600181548110610bf757634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555080600c600281548110610c2857634e487b7160e01b600052603260045260246000fd5b600091825260209091200155505050565b610c41611db7565b6001600160a01b038116610ca35760405162461bcd60e51b815260206004820152602360248201527f7365745374616b696e67506f6f6c416464726573733a205a65726f206164647260448201526265737360e81b6064820152608401610a4c565b600780546001600160a01b0319166001600160a01b038316908117909155600081815260146020908152604091829020805460ff1916600117905590519182527f8ae96d8af35324a34b19e4f33e72d620b502f69595bb43870ab5fd7a7de7823991015b60405180910390a150565b600033610d20858285611e24565b610d2b858585611e98565b506001949350505050565b610d3e611db7565b620b71b08110610d905760405162461bcd60e51b815260206004820152601960248201527f4761732069732067726561746572207468616e206c696d6974000000000000006044820152606401610a4c565b600a55565b610d9d611db7565b6012546040516316a4744b60e11b815260048101849052602481018390526001600160a01b0390911690632d48e896906044015b600060405180830381600087803b158015610deb57600080fd5b505af1158015610dff573d6000803e3d6000fd5b505050505050565b600e818154811061096d57600080fd5b60003361092d818585610e2a83836118d1565b610e349190613016565b611c92565b610e41611db7565b6109c4610eca84610a28600f600081548110610e6d57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600d600081548110610e9d57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154600c600081548110610a0f57634e487b7160e01b600052603260045260246000fd5b1115610ee85760405162461bcd60e51b8152600401610a4c90612ebe565b6109c4610f7183610a28600f600181548110610f1457634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600d600181548110610f4457634e487b7160e01b600052603260045260246000fd5b9060005260206000200154600c600181548110610a0f57634e487b7160e01b600052603260045260246000fd5b1115610f8f5760405162461bcd60e51b8152600401610a4c90612f71565b6109c461101882610a28600f600281548110610fbb57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600d600281548110610feb57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154600c600281548110610a0f57634e487b7160e01b600052603260045260246000fd5b11156110365760405162461bcd60e51b8152600401610a4c90612ef5565b82600e60008154811061105957634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555081600e60018154811061108a57634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555080600e600281548110610c2857634e487b7160e01b600052603260045260246000fd5b6110c3611db7565b6001600160a01b0382166111235760405162461bcd60e51b815260206004820152602160248201527f73657457686974656c697374416464726573733a205a65726f206164647265736044820152607360f81b6064820152608401610a4c565b6001600160a01b038216600081815260146020908152604091829020805460ff19168515159081179091558251938452908301527fc03feb136ee85ef1974671b8c663f063c37bc61afb187b94ddfb1a959d73d180910160405180910390a15050565b61118e611db7565b6109c46111ea84610a28600f6000815481106111ba57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600e600081548110610e9d57634e487b7160e01b600052603260045260246000fd5b11156112085760405162461bcd60e51b8152600401610a4c90612ebe565b6109c461126483610a28600f60018154811061123457634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600e600181548110610f4457634e487b7160e01b600052603260045260246000fd5b11156112825760405162461bcd60e51b8152600401610a4c90612f71565b6109c46112de82610a28600f6002815481106112ae57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600e600281548110610feb57634e487b7160e01b600052603260045260246000fd5b11156112fc5760405162461bcd60e51b8152600401610a4c90612ef5565b82600d60008154811061131f57634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555081600d60018154811061135057634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555080600d600281548110610c2857634e487b7160e01b600052603260045260246000fd5b600f818154811061096d57600080fd5b611399611db7565b6001600160a01b0381166113ef5760405162461bcd60e51b815260206004820181905260248201527f7365745472656173757279416464726573733a205a65726f20616464726573736044820152606401610a4c565b600680546001600160a01b0319166001600160a01b038316908117909155600081815260146020908152604091829020805460ff1916600117905590519182527fb6a5e89655cf506139085f051af608195ed056f8dc550b180a1c38d401e2b6c49101610d07565b600d818154811061096d57600080fd5b61146f611db7565b6114796000612339565b565b611483611db7565b6001600160a01b0381166114c85760405162461bcd60e51b815260206004820152600c60248201526b5a65726f206164647265737360a01b6044820152606401610a4c565b6040516001600160a01b038216904780156108fc02916000818181858888f193505050501580156114fd573d6000803e3d6000fd5b5050565b60606004805461089c90613084565b611518611db7565b6011546001600160a01b03838116911614156115a65760405162461bcd60e51b815260206004820152604160248201527f54686520556e697377617020706169722063616e6e6f742062652072656d6f7660448201527f65642066726f6d206175746f6d617465644d61726b65744d616b6572506169726064820152607360f81b608482015260a401610a4c565b6114fd828261238b565b600033816115be82866118d1565b90508381101561161e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a4c565b610d2b8286868403611c92565b611633611db7565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb90604401602060405180830381600087803b15801561167d57600080fd5b505af1158015611691573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b59190612d63565b50505050565b60003361092d818585611e98565b6116d1611db7565b6002548111156117335760405162461bcd60e51b815260206004820152602760248201527f416d6f756e742063616e6e6f74206265206f7665722074686520746f74616c2060448201526639bab838363c9760c91b6064820152608401610a4c565b600981905560405181907ffacc187b64814d7cc188bf739d1013a68ab0e5e532d8e914e016361264a04dbd90600090a250565b61176e611db7565b6109c461179a84610a28600e600081548110610e6d57634e487b7160e01b600052603260045260246000fd5b11156117b85760405162461bcd60e51b8152600401610a4c90612ebe565b6109c46117e483610a28600e600181548110610f1457634e487b7160e01b600052603260045260246000fd5b11156118025760405162461bcd60e51b8152600401610a4c90612f71565b6109c461182e82610a28600e600281548110610fbb57634e487b7160e01b600052603260045260246000fd5b111561184c5760405162461bcd60e51b8152600401610a4c90612ef5565b82600f60008154811061186f57634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555081600f6001815481106118a057634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555080600f600281548110610c2857634e487b7160e01b600052603260045260246000fd5b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600b546040516370a0823160e01b815233600482015282916001600160a01b0316906370a082319060240160206040518083038186803b15801561193f57600080fd5b505afa158015611953573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119779190612d97565b10156119d65760405162461bcd60e51b815260206004820152602860248201527f555344542062616c616e6365206e6f7420666f756e64206f6e2073656e646572604482015267206164647265737360c01b6064820152608401610a4c565b600b546008546040516323b872dd60e01b81523360048201526001600160a01b039182166024820152604481018490529116906323b872dd90606401602060405180830381600087803b158015611a2c57600080fd5b505af1158015611a40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a649190612d63565b5060125460405163e7c80f1760e01b8152600481018390526001600160a01b039091169063e7c80f1790602401600060405180830381600087803b158015611aab57600080fd5b505af1158015611abf573d6000803e3d6000fd5b5050505050565b611ace611db7565b6008805460ff60a81b1916600160a81b831515908102919091179091556040517fd101cbf49d2d7d396082a0e64b8dcc4e0b2a280bdccc3855f1d1fe8cf9d0f0e290600090a250565b611b1f611db7565b6001600160a01b038116611b845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a4c565b611b8d81612339565b50565b611b98611db7565b6001600160a01b0382166000908152601360205260409020805460ff19168215801591909117909155611c3057601254604051630a5b654b60e11b81526001600160a01b03848116600483015260006024830152909116906314b6ca9690604401600060405180830381600087803b158015611c1357600080fd5b505af1158015611c27573d6000803e3d6000fd5b505050506114fd565b6012546001600160a01b03166314b6ca9683611c61816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401610dd1565b6001600160a01b038316611cf45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a4c565b6001600160a01b038216611d555760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a4c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6005546001600160a01b031633146114795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a4c565b6000611e1d8284613016565b9392505050565b6000611e3084846118d1565b905060001981146116b55781811015611e8b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a4c565b6116b58484848403611c92565b6001600160a01b038316611ebe5760405162461bcd60e51b8152600401610a4c90612f2c565b6001600160a01b038216611ee45760405162461bcd60e51b8152600401610a4c90612e7b565b306000908152602081905260409020546009546008549082101590600160a01b900460ff16158015611f135750805b8015611f285750600854600160a81b900460ff165b8015611f4c57506001600160a01b03841660009081526015602052604090205460ff165b15611fbb576008805460ff60a01b1916600160a01b179055600954600090611f75906002612474565b90506000611f8e8260095461248090919063ffffffff16565b9050611f998261248c565b478015611faa57611faa82826125db565b50506008805460ff60a01b19169055505b6001600160a01b03851660009081526014602052604090205460ff1680611ffa57506001600160a01b03841660009081526014602052604090205460ff165b1561200f5761200a8585856126b8565b612167565b6001600160a01b03808516600090815260156020526040808220549288168252812054909182918291829161207291899160ff918216911615801561206d57506001600160a01b038b1660009081526015602052604090205460ff16155b61280c565b9350935093509350600084111561208d5761208d8985612aed565b82156120ab576006546120ab908a906001600160a01b0316856126b8565b8115612128576007546120c9908a906001600160a01b0316846126b8565b6007546040516328f582d360e11b8152600481018490526001600160a01b03909116906351eb05a690602401600060405180830381600087803b15801561210f57600080fd5b505af1158015612123573d6000803e3d6000fd5b505050505b8015612139576121398930836126b8565b600061214b82610a2885818989611e11565b90506121618a8a61215c8b85612480565b6126b8565b50505050505b6001600160a01b03851660009081526013602052604090205460ff16612211576012546001600160a01b03166314b6ca96866121b8816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156121fe57600080fd5b505af192505050801561220f575060015b505b6001600160a01b03841660009081526013602052604090205460ff166122bb576012546001600160a01b03166314b6ca9685612262816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156122a857600080fd5b505af19250505080156122b9575060015b505b600854600160b01b900460ff1615611abf57601254600a546040516001624d3b8760e01b031981526001600160a01b039092169163ffb2c479916123059160040190815260200190565b600060405180830381600087803b15801561231f57600080fd5b505af1925050508015612330575060015b611abf57611abf565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526015602052604090205460ff16151581151514156124205760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610a4c565b6001600160a01b038216600081815260156020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6000611e1d828461302e565b6000611e1d828461306d565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106124cf57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601054604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561252357600080fd5b505afa158015612537573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255b9190612c5b565b8160018151811061257c57634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526010546125a29130911684611c92565b60105460405163791ac94760e01b81526001600160a01b039091169063791ac94790610dd1908590600090869030904290600401612fa6565b6010546125f39030906001600160a01b031684611c92565b6010546001600160a01b031663f305d719823085600080836126174261012c611e11565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c4016060604051808303818588803b15801561267f57600080fd5b505af1158015612693573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611abf9190612dfb565b6001600160a01b0383166126de5760405162461bcd60e51b8152600401610a4c90612f2c565b6001600160a01b0382166127045760405162461bcd60e51b8152600401610a4c90612e7b565b6001600160a01b0383166000908152602081905260409020548181101561277c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a4c565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906127b3908490613016565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516127ff91815260200190565b60405180910390a36116b5565b60008060008060006128c76127106128c18861288c578961285957600f60008154811061284957634e487b7160e01b600052603260045260246000fd5b9060005260206000200154612887565b600f60018154811061287b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001545b6128ba565b600f6002815481106128ae57634e487b7160e01b600052603260045260246000fd5b90600052602060002001545b8b90612c33565b90612474565b905060006129786127106128c189612943578a61291057600e60008154811061290057634e487b7160e01b600052603260045260246000fd5b906000526020600020015461293e565b600e60018154811061293257634e487b7160e01b600052603260045260246000fd5b90600052602060002001545b612971565b600e60028154811061296557634e487b7160e01b600052603260045260246000fd5b90600052602060002001545b8c90612c33565b90506000612a296127106128c18a6129f4578b6129c157600d6000815481106129b157634e487b7160e01b600052603260045260246000fd5b90600052602060002001546129ef565b600d6001815481106129e357634e487b7160e01b600052603260045260246000fd5b90600052602060002001545b612a22565b600d600281548110612a1657634e487b7160e01b600052603260045260246000fd5b90600052602060002001545b8d90612c33565b90506000612ada6127106128c18b612aa5578c612a7257600c600081548110612a6257634e487b7160e01b600052603260045260246000fd5b9060005260206000200154612aa0565b600c600181548110612a9457634e487b7160e01b600052603260045260246000fd5b90600052602060002001545b612ad3565b600c600281548110612ac757634e487b7160e01b600052603260045260246000fd5b90600052602060002001545b8e90612c33565b939b929a50909850919650945050505050565b6001600160a01b038216612b4d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a4c565b6001600160a01b03821660009081526020819052604090205481811015612bc15760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a4c565b6001600160a01b0383166000908152602081905260408120838303905560028054849290612bf090849061306d565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611daa565b6000611e1d828461304e565b600060208284031215612c50578081fd5b8135611e1d816130d5565b600060208284031215612c6c578081fd5b8151611e1d816130d5565b60008060408385031215612c89578081fd5b8235612c94816130d5565b91506020830135612ca4816130d5565b809150509250929050565b600080600060608486031215612cc3578081fd5b8335612cce816130d5565b92506020840135612cde816130d5565b929592945050506040919091013590565b60008060408385031215612d01578182fd5b8235612d0c816130d5565b91506020830135612ca4816130ea565b60008060408385031215612d2e578182fd5b8235612d39816130d5565b946020939093013593505050565b600060208284031215612d58578081fd5b8135611e1d816130ea565b600060208284031215612d74578081fd5b8151611e1d816130ea565b600060208284031215612d90578081fd5b5035919050565b600060208284031215612da8578081fd5b5051919050565b60008060408385031215612dc1578182fd5b50508035926020909101359150565b600080600060608486031215612de4578283fd5b505081359360208301359350604090920135919050565b600080600060608486031215612e0f578283fd5b8351925060208401519150604084015190509250925092565b6000602080835283518082850152825b81811015612e5457858101830151858201604001528201612e38565b81811115612e655783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252601f908201527f4d617820666565206c696d6974207265616368656420666f7220274255592700604082015260600190565b6020808252601f908201527f4d617820666565206c696d6974207265616368656420666f7220275032502700604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252818101527f4d617820666565206c696d6974207265616368656420666f72202753454c4c27604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015612ff55784516001600160a01b031683529383019391830191600101612fd0565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115613029576130296130bf565b500190565b60008261304957634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615613068576130686130bf565b500290565b60008282101561307f5761307f6130bf565b500390565b60028104600182168061309857607f821691505b602082108114156130b957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114611b8d57600080fd5b8015158114611b8d57600080fdfea26469706673582212202d3e1c50c7626cf1271880509692934bf1994b93af56d8e6a5fb46e0d824cf0064736f6c634300080200336080604052600180546001600160a01b03191673dac17f958d2ee523a2206206994597c13d831ec717905562093a80600a55620f4240600b5534801561004457600080fd5b50600080546001600160a01b03191633179055610b51806100666000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063ce7c2ac21161008c578063e7c80f1711610066578063e7c80f17146101c9578063efca2eed146101dc578063ffb2c479146101e5578063ffd49c84146101f8576100ea565b8063ce7c2ac21461016e578063e2d2e219146101b8578063e65877a1146101c1576100ea565b80632d48e896116100c85780632d48e896146101405780633a98ef39146101535780634fab0ae81461015c578063997664d714610165576100ea565b806311ce023d146100ef57806314b6ca961461011857806328fd31981461012d575b600080fd5b6101056ec097ce7bc90715b34b9f100000000081565b6040519081526020015b60405180910390f35b61012b6101263660046109da565b610201565b005b61010561013b3660046109c0565b610395565b61012b61014e366004610a3b565b610421565b61010560065481565b610105600b5481565b61010560075481565b61019d61017c3660046109c0565b60056020526000908152604090208054600182015460029092015490919083565b6040805193845260208401929092529082015260600161010f565b61010560095481565b61012b610492565b61012b6101d7366004610a23565b6104ab565b61010560085481565b61012b6101f3366004610a23565b610551565b610105600a5481565b6000546001600160a01b031633146102345760405162461bcd60e51b815260040161022b90610a5c565b60405180910390fd5b6001600160a01b0382166000908152600560205260409020541561025b5761025b82610683565b60008111801561028157506001600160a01b038216600090815260056020526040902054155b156102e757600280546001600160a01b0384166000818152600360205260408120839055600183018455929092527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b031916909117905561031a565b8015801561030c57506001600160a01b03821660009081526005602052604090205415155b1561031a5761031a826107b0565b6001600160a01b03821660009081526005602052604090205460065461034b918391610345916108fd565b90610910565b6006556001600160a01b03821660009081526005602052604090208190556103728161091c565b6001600160a01b0390921660009081526005602052604090206001019190915550565b6001600160a01b0381166000908152600560205260408120546103ba5750600061041c565b6001600160a01b0382166000908152600560205260408120546103dc9061091c565b6001600160a01b03841660009081526005602052604090206001015490915080821161040d5760009250505061041c565b61041782826108fd565b925050505b919050565b6000546001600160a01b0316331461044b5760405162461bcd60e51b815260040161022b90610a5c565b600a829055600b81905560408051838152602081018390527f7d38de579bb682aa05ace7e32d15f88df69a3a53f6f89fcd0236f93fcc7e6362910160405180910390a15050565b61049b3361094c565b156104a9576104a933610683565b565b6000546001600160a01b031633146104d55760405162461bcd60e51b815260040161022b90610a5c565b6007546104e29082610910565b6007556006546105189061050f906105096ec097ce7bc90715b34b9f100000000085610991565b9061099d565b60095490610910565b6009556040518181527f6a464fbfd2428ef7edab93930e64042148498d37c64c5122c4ab37843d6a3d119060200160405180910390a150565b6000546001600160a01b0316331461057b5760405162461bcd60e51b815260040161022b90610a5c565b600254806105895750610680565b6000805a905060005b84831080156105a057508381105b1561067b5783600c54106105b4576000600c555b6105f46002600c54815481106105da57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031661094c565b15610639576106396002600c548154811061061f57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316610683565b61064e6106475a84906108fd565b8490610910565b92505a600c8054919350600061066383610aea565b9190505550808061067390610aea565b915050610592565b505050505b50565b6001600160a01b0381166000908152600560205260409020546106a557610680565b60006106b082610395565b905080156107ac576008546106c59082610910565b60085560015460405163a9059cbb60e01b81526001600160a01b038481166004830152602482018490529091169063a9059cbb90604401602060405180830381600087803b15801561071657600080fd5b505af115801561072a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074e9190610a03565b506001600160a01b038216600090815260046020908152604080832042905560059091529020600201546107829082610910565b6001600160a01b03831660009081526005602052604090206002810191909155546103729061091c565b5050565b600280546107c090600190610ad3565b815481106107de57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b038481168452600390925260409092205460028054929093169291811061082a57634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905591831681526003918290526040812054600280549193929161087690600190610ad3565b8154811061089457634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205560028054806108d857634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b031916905501905550565b60006109098284610ad3565b9392505050565b60006109098284610a7c565b60006109466ec097ce7bc90715b34b9f10000000006105096009548561099190919063ffffffff16565b92915050565b600a546001600160a01b038216600090815260046020526040812054909142916109769190610a7c565b1080156109465750600b5461098a83610395565b1192915050565b60006109098284610ab4565b60006109098284610a94565b80356001600160a01b038116811461041c57600080fd5b6000602082840312156109d1578081fd5b610909826109a9565b600080604083850312156109ec578081fd5b6109f5836109a9565b946020939093013593505050565b600060208284031215610a14578081fd5b81518015158114610909578182fd5b600060208284031215610a34578081fd5b5035919050565b60008060408385031215610a4d578182fd5b50508035926020909101359150565b60208082526006908201526510aa37b5b2b760d11b604082015260600190565b60008219821115610a8f57610a8f610b05565b500190565b600082610aaf57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610ace57610ace610b05565b500290565b600082821015610ae557610ae5610b05565b500390565b6000600019821415610afe57610afe610b05565b5060010190565b634e487b7160e01b600052601160045260246000fdfea26469706673582212202356f3e8bd14f0beca3020d7751f08ed03573185741d416f8a11ad3f81a5e10e64736f6c63430008020033000000000000000000000000e428de301cafb62879f0929c201b6d6087b6f7c5
Deployed Bytecode
0x6080604052600436106102815760003560e01c80636707ca5c1161014f578063a64b6e5f116100c1578063dd62ed3e1161007a578063dd62ed3e146107d7578063e08da761146107f7578063e2f4560514610817578063e40ffe001461082d578063f2fde38b1461084d578063f708a64f1461086d57610288565b8063a64b6e5f146106f7578063a9059cbb14610717578063afa4f3b214610737578063b4f500dd14610757578063b62496f514610777578063c30796ab146107a757610288565b8063866083261161011357806386608326146106435780638da5cb5b1461066457806395d89b41146106825780639a7a23d614610697578063a457c2d7146106b7578063a51af4c5146106d757610288565b80636707ca5c1461059757806370a08231146105b7578063715018a6146105ed57806374da7cd814610602578063769c2f571461062257610288565b8063313ce567116101f357806349ae028a116101ac57806349ae028a146104e157806349bd5a5e146105015780634cf088d91461052157806360e719621461054157806361d027b3146105575780636605bfda1461057757610288565b8063313ce56714610425578063368128d11461044157806339509351146104615780633ca28c5a146104815780633f914aef146104a15780634687486e146104c157610288565b80631694505e116102455780631694505e1461035857806318160ddd14610390578063203d81c1146103a557806323b872dd146103c5578063244ce7db146103e55780632d48e8961461040557610288565b806306fdde031461028d578063095ea7b3146102b85780630a2d140c146102e85780630bb308001461030a578063158127f51461033857610288565b3661028857005b600080fd5b34801561029957600080fd5b506102a261088d565b6040516102af9190612e28565b60405180910390f35b3480156102c457600080fd5b506102d86102d3366004612d1c565b61091f565b60405190151581526020016102af565b3480156102f457600080fd5b50610308610303366004612d47565b610937565b005b34801561031657600080fd5b5061032a610325366004612d7f565b61095d565b6040519081526020016102af565b34801561034457600080fd5b50610308610353366004612dd0565b61097e565b34801561036457600080fd5b50601054610378906001600160a01b031681565b6040516001600160a01b0390911681526020016102af565b34801561039c57600080fd5b5060025461032a565b3480156103b157600080fd5b506103086103c0366004612c3f565b610c39565b3480156103d157600080fd5b506102d86103e0366004612caf565b610d12565b3480156103f157600080fd5b50610308610400366004612d7f565b610d36565b34801561041157600080fd5b50610308610420366004612daf565b610d95565b34801561043157600080fd5b50604051601281526020016102af565b34801561044d57600080fd5b5061032a61045c366004612d7f565b610e07565b34801561046d57600080fd5b506102d861047c366004612d1c565b610e17565b34801561048d57600080fd5b5061030861049c366004612dd0565b610e39565b3480156104ad57600080fd5b506103086104bc366004612cef565b6110bb565b3480156104cd57600080fd5b506103086104dc366004612dd0565b611186565b3480156104ed57600080fd5b5061032a6104fc366004612d7f565b611381565b34801561050d57600080fd5b50601154610378906001600160a01b031681565b34801561052d57600080fd5b50600754610378906001600160a01b031681565b34801561054d57600080fd5b5061032a600a5481565b34801561056357600080fd5b50600654610378906001600160a01b031681565b34801561058357600080fd5b50610308610592366004612c3f565b611391565b3480156105a357600080fd5b5061032a6105b2366004612d7f565b611457565b3480156105c357600080fd5b5061032a6105d2366004612c3f565b6001600160a01b031660009081526020819052604090205490565b3480156105f957600080fd5b50610308611467565b34801561060e57600080fd5b5061030861061d366004612c3f565b61147b565b34801561062e57600080fd5b506008546102d890600160a81b900460ff1681565b34801561064f57600080fd5b506008546102d890600160b01b900460ff1681565b34801561067057600080fd5b506005546001600160a01b0316610378565b34801561068e57600080fd5b506102a2611501565b3480156106a357600080fd5b506103086106b2366004612cef565b611510565b3480156106c357600080fd5b506102d86106d2366004612d1c565b6115b0565b3480156106e357600080fd5b50600854610378906001600160a01b031681565b34801561070357600080fd5b50610308610712366004612caf565b61162b565b34801561072357600080fd5b506102d8610732366004612d1c565b6116bb565b34801561074357600080fd5b50610308610752366004612d7f565b6116c9565b34801561076357600080fd5b50610308610772366004612dd0565b611766565b34801561078357600080fd5b506102d8610792366004612c3f565b60156020526000908152604090205460ff1681565b3480156107b357600080fd5b506102d86107c2366004612c3f565b60146020526000908152604090205460ff1681565b3480156107e357600080fd5b5061032a6107f2366004612c77565b6118d1565b34801561080357600080fd5b50610308610812366004612d7f565b6118fc565b34801561082357600080fd5b5061032a60095481565b34801561083957600080fd5b50610308610848366004612d47565b611ac6565b34801561085957600080fd5b50610308610868366004612c3f565b611b17565b34801561087957600080fd5b50610308610888366004612cef565b611b90565b60606003805461089c90613084565b80601f01602080910402602001604051908101604052809291908181526020018280546108c890613084565b80156109155780601f106108ea57610100808354040283529160200191610915565b820191906000526020600020905b8154815290600101906020018083116108f857829003601f168201915b5050505050905090565b60003361092d818585611c92565b5060019392505050565b61093f611db7565b60088054911515600160b01b0260ff60b01b19909216919091179055565b600c818154811061096d57600080fd5b600091825260209091200154905081565b610986611db7565b6109c4610a2e84610a28600e6000815481106109b257634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600d6000815481106109e257634e487b7160e01b600052603260045260246000fd5b9060005260206000200154600f600081548110610a0f57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154611e1190919063ffffffff16565b90611e11565b1115610a555760405162461bcd60e51b8152600401610a4c90612ebe565b60405180910390fd5b6109c4610ade83610a28600e600081548110610a8157634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600d600181548110610ab157634e487b7160e01b600052603260045260246000fd5b9060005260206000200154600f600181548110610a0f57634e487b7160e01b600052603260045260246000fd5b1115610afc5760405162461bcd60e51b8152600401610a4c90612f71565b6109c4610b8582610a28600e600081548110610b2857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600d600281548110610b5857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154600f600281548110610a0f57634e487b7160e01b600052603260045260246000fd5b1115610ba35760405162461bcd60e51b8152600401610a4c90612ef5565b82600c600081548110610bc657634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555081600c600181548110610bf757634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555080600c600281548110610c2857634e487b7160e01b600052603260045260246000fd5b600091825260209091200155505050565b610c41611db7565b6001600160a01b038116610ca35760405162461bcd60e51b815260206004820152602360248201527f7365745374616b696e67506f6f6c416464726573733a205a65726f206164647260448201526265737360e81b6064820152608401610a4c565b600780546001600160a01b0319166001600160a01b038316908117909155600081815260146020908152604091829020805460ff1916600117905590519182527f8ae96d8af35324a34b19e4f33e72d620b502f69595bb43870ab5fd7a7de7823991015b60405180910390a150565b600033610d20858285611e24565b610d2b858585611e98565b506001949350505050565b610d3e611db7565b620b71b08110610d905760405162461bcd60e51b815260206004820152601960248201527f4761732069732067726561746572207468616e206c696d6974000000000000006044820152606401610a4c565b600a55565b610d9d611db7565b6012546040516316a4744b60e11b815260048101849052602481018390526001600160a01b0390911690632d48e896906044015b600060405180830381600087803b158015610deb57600080fd5b505af1158015610dff573d6000803e3d6000fd5b505050505050565b600e818154811061096d57600080fd5b60003361092d818585610e2a83836118d1565b610e349190613016565b611c92565b610e41611db7565b6109c4610eca84610a28600f600081548110610e6d57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600d600081548110610e9d57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154600c600081548110610a0f57634e487b7160e01b600052603260045260246000fd5b1115610ee85760405162461bcd60e51b8152600401610a4c90612ebe565b6109c4610f7183610a28600f600181548110610f1457634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600d600181548110610f4457634e487b7160e01b600052603260045260246000fd5b9060005260206000200154600c600181548110610a0f57634e487b7160e01b600052603260045260246000fd5b1115610f8f5760405162461bcd60e51b8152600401610a4c90612f71565b6109c461101882610a28600f600281548110610fbb57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600d600281548110610feb57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154600c600281548110610a0f57634e487b7160e01b600052603260045260246000fd5b11156110365760405162461bcd60e51b8152600401610a4c90612ef5565b82600e60008154811061105957634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555081600e60018154811061108a57634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555080600e600281548110610c2857634e487b7160e01b600052603260045260246000fd5b6110c3611db7565b6001600160a01b0382166111235760405162461bcd60e51b815260206004820152602160248201527f73657457686974656c697374416464726573733a205a65726f206164647265736044820152607360f81b6064820152608401610a4c565b6001600160a01b038216600081815260146020908152604091829020805460ff19168515159081179091558251938452908301527fc03feb136ee85ef1974671b8c663f063c37bc61afb187b94ddfb1a959d73d180910160405180910390a15050565b61118e611db7565b6109c46111ea84610a28600f6000815481106111ba57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600e600081548110610e9d57634e487b7160e01b600052603260045260246000fd5b11156112085760405162461bcd60e51b8152600401610a4c90612ebe565b6109c461126483610a28600f60018154811061123457634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600e600181548110610f4457634e487b7160e01b600052603260045260246000fd5b11156112825760405162461bcd60e51b8152600401610a4c90612f71565b6109c46112de82610a28600f6002815481106112ae57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154610a28600e600281548110610feb57634e487b7160e01b600052603260045260246000fd5b11156112fc5760405162461bcd60e51b8152600401610a4c90612ef5565b82600d60008154811061131f57634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555081600d60018154811061135057634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555080600d600281548110610c2857634e487b7160e01b600052603260045260246000fd5b600f818154811061096d57600080fd5b611399611db7565b6001600160a01b0381166113ef5760405162461bcd60e51b815260206004820181905260248201527f7365745472656173757279416464726573733a205a65726f20616464726573736044820152606401610a4c565b600680546001600160a01b0319166001600160a01b038316908117909155600081815260146020908152604091829020805460ff1916600117905590519182527fb6a5e89655cf506139085f051af608195ed056f8dc550b180a1c38d401e2b6c49101610d07565b600d818154811061096d57600080fd5b61146f611db7565b6114796000612339565b565b611483611db7565b6001600160a01b0381166114c85760405162461bcd60e51b815260206004820152600c60248201526b5a65726f206164647265737360a01b6044820152606401610a4c565b6040516001600160a01b038216904780156108fc02916000818181858888f193505050501580156114fd573d6000803e3d6000fd5b5050565b60606004805461089c90613084565b611518611db7565b6011546001600160a01b03838116911614156115a65760405162461bcd60e51b815260206004820152604160248201527f54686520556e697377617020706169722063616e6e6f742062652072656d6f7660448201527f65642066726f6d206175746f6d617465644d61726b65744d616b6572506169726064820152607360f81b608482015260a401610a4c565b6114fd828261238b565b600033816115be82866118d1565b90508381101561161e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a4c565b610d2b8286868403611c92565b611633611db7565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb90604401602060405180830381600087803b15801561167d57600080fd5b505af1158015611691573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b59190612d63565b50505050565b60003361092d818585611e98565b6116d1611db7565b6002548111156117335760405162461bcd60e51b815260206004820152602760248201527f416d6f756e742063616e6e6f74206265206f7665722074686520746f74616c2060448201526639bab838363c9760c91b6064820152608401610a4c565b600981905560405181907ffacc187b64814d7cc188bf739d1013a68ab0e5e532d8e914e016361264a04dbd90600090a250565b61176e611db7565b6109c461179a84610a28600e600081548110610e6d57634e487b7160e01b600052603260045260246000fd5b11156117b85760405162461bcd60e51b8152600401610a4c90612ebe565b6109c46117e483610a28600e600181548110610f1457634e487b7160e01b600052603260045260246000fd5b11156118025760405162461bcd60e51b8152600401610a4c90612f71565b6109c461182e82610a28600e600281548110610fbb57634e487b7160e01b600052603260045260246000fd5b111561184c5760405162461bcd60e51b8152600401610a4c90612ef5565b82600f60008154811061186f57634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555081600f6001815481106118a057634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555080600f600281548110610c2857634e487b7160e01b600052603260045260246000fd5b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600b546040516370a0823160e01b815233600482015282916001600160a01b0316906370a082319060240160206040518083038186803b15801561193f57600080fd5b505afa158015611953573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119779190612d97565b10156119d65760405162461bcd60e51b815260206004820152602860248201527f555344542062616c616e6365206e6f7420666f756e64206f6e2073656e646572604482015267206164647265737360c01b6064820152608401610a4c565b600b546008546040516323b872dd60e01b81523360048201526001600160a01b039182166024820152604481018490529116906323b872dd90606401602060405180830381600087803b158015611a2c57600080fd5b505af1158015611a40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a649190612d63565b5060125460405163e7c80f1760e01b8152600481018390526001600160a01b039091169063e7c80f1790602401600060405180830381600087803b158015611aab57600080fd5b505af1158015611abf573d6000803e3d6000fd5b5050505050565b611ace611db7565b6008805460ff60a81b1916600160a81b831515908102919091179091556040517fd101cbf49d2d7d396082a0e64b8dcc4e0b2a280bdccc3855f1d1fe8cf9d0f0e290600090a250565b611b1f611db7565b6001600160a01b038116611b845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a4c565b611b8d81612339565b50565b611b98611db7565b6001600160a01b0382166000908152601360205260409020805460ff19168215801591909117909155611c3057601254604051630a5b654b60e11b81526001600160a01b03848116600483015260006024830152909116906314b6ca9690604401600060405180830381600087803b158015611c1357600080fd5b505af1158015611c27573d6000803e3d6000fd5b505050506114fd565b6012546001600160a01b03166314b6ca9683611c61816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401610dd1565b6001600160a01b038316611cf45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a4c565b6001600160a01b038216611d555760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a4c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6005546001600160a01b031633146114795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a4c565b6000611e1d8284613016565b9392505050565b6000611e3084846118d1565b905060001981146116b55781811015611e8b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a4c565b6116b58484848403611c92565b6001600160a01b038316611ebe5760405162461bcd60e51b8152600401610a4c90612f2c565b6001600160a01b038216611ee45760405162461bcd60e51b8152600401610a4c90612e7b565b306000908152602081905260409020546009546008549082101590600160a01b900460ff16158015611f135750805b8015611f285750600854600160a81b900460ff165b8015611f4c57506001600160a01b03841660009081526015602052604090205460ff165b15611fbb576008805460ff60a01b1916600160a01b179055600954600090611f75906002612474565b90506000611f8e8260095461248090919063ffffffff16565b9050611f998261248c565b478015611faa57611faa82826125db565b50506008805460ff60a01b19169055505b6001600160a01b03851660009081526014602052604090205460ff1680611ffa57506001600160a01b03841660009081526014602052604090205460ff165b1561200f5761200a8585856126b8565b612167565b6001600160a01b03808516600090815260156020526040808220549288168252812054909182918291829161207291899160ff918216911615801561206d57506001600160a01b038b1660009081526015602052604090205460ff16155b61280c565b9350935093509350600084111561208d5761208d8985612aed565b82156120ab576006546120ab908a906001600160a01b0316856126b8565b8115612128576007546120c9908a906001600160a01b0316846126b8565b6007546040516328f582d360e11b8152600481018490526001600160a01b03909116906351eb05a690602401600060405180830381600087803b15801561210f57600080fd5b505af1158015612123573d6000803e3d6000fd5b505050505b8015612139576121398930836126b8565b600061214b82610a2885818989611e11565b90506121618a8a61215c8b85612480565b6126b8565b50505050505b6001600160a01b03851660009081526013602052604090205460ff16612211576012546001600160a01b03166314b6ca96866121b8816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156121fe57600080fd5b505af192505050801561220f575060015b505b6001600160a01b03841660009081526013602052604090205460ff166122bb576012546001600160a01b03166314b6ca9685612262816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156122a857600080fd5b505af19250505080156122b9575060015b505b600854600160b01b900460ff1615611abf57601254600a546040516001624d3b8760e01b031981526001600160a01b039092169163ffb2c479916123059160040190815260200190565b600060405180830381600087803b15801561231f57600080fd5b505af1925050508015612330575060015b611abf57611abf565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526015602052604090205460ff16151581151514156124205760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610a4c565b6001600160a01b038216600081815260156020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6000611e1d828461302e565b6000611e1d828461306d565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106124cf57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601054604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561252357600080fd5b505afa158015612537573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255b9190612c5b565b8160018151811061257c57634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526010546125a29130911684611c92565b60105460405163791ac94760e01b81526001600160a01b039091169063791ac94790610dd1908590600090869030904290600401612fa6565b6010546125f39030906001600160a01b031684611c92565b6010546001600160a01b031663f305d719823085600080836126174261012c611e11565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c4016060604051808303818588803b15801561267f57600080fd5b505af1158015612693573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611abf9190612dfb565b6001600160a01b0383166126de5760405162461bcd60e51b8152600401610a4c90612f2c565b6001600160a01b0382166127045760405162461bcd60e51b8152600401610a4c90612e7b565b6001600160a01b0383166000908152602081905260409020548181101561277c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a4c565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906127b3908490613016565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516127ff91815260200190565b60405180910390a36116b5565b60008060008060006128c76127106128c18861288c578961285957600f60008154811061284957634e487b7160e01b600052603260045260246000fd5b9060005260206000200154612887565b600f60018154811061287b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001545b6128ba565b600f6002815481106128ae57634e487b7160e01b600052603260045260246000fd5b90600052602060002001545b8b90612c33565b90612474565b905060006129786127106128c189612943578a61291057600e60008154811061290057634e487b7160e01b600052603260045260246000fd5b906000526020600020015461293e565b600e60018154811061293257634e487b7160e01b600052603260045260246000fd5b90600052602060002001545b612971565b600e60028154811061296557634e487b7160e01b600052603260045260246000fd5b90600052602060002001545b8c90612c33565b90506000612a296127106128c18a6129f4578b6129c157600d6000815481106129b157634e487b7160e01b600052603260045260246000fd5b90600052602060002001546129ef565b600d6001815481106129e357634e487b7160e01b600052603260045260246000fd5b90600052602060002001545b612a22565b600d600281548110612a1657634e487b7160e01b600052603260045260246000fd5b90600052602060002001545b8d90612c33565b90506000612ada6127106128c18b612aa5578c612a7257600c600081548110612a6257634e487b7160e01b600052603260045260246000fd5b9060005260206000200154612aa0565b600c600181548110612a9457634e487b7160e01b600052603260045260246000fd5b90600052602060002001545b612ad3565b600c600281548110612ac757634e487b7160e01b600052603260045260246000fd5b90600052602060002001545b8e90612c33565b939b929a50909850919650945050505050565b6001600160a01b038216612b4d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a4c565b6001600160a01b03821660009081526020819052604090205481811015612bc15760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a4c565b6001600160a01b0383166000908152602081905260408120838303905560028054849290612bf090849061306d565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611daa565b6000611e1d828461304e565b600060208284031215612c50578081fd5b8135611e1d816130d5565b600060208284031215612c6c578081fd5b8151611e1d816130d5565b60008060408385031215612c89578081fd5b8235612c94816130d5565b91506020830135612ca4816130d5565b809150509250929050565b600080600060608486031215612cc3578081fd5b8335612cce816130d5565b92506020840135612cde816130d5565b929592945050506040919091013590565b60008060408385031215612d01578182fd5b8235612d0c816130d5565b91506020830135612ca4816130ea565b60008060408385031215612d2e578182fd5b8235612d39816130d5565b946020939093013593505050565b600060208284031215612d58578081fd5b8135611e1d816130ea565b600060208284031215612d74578081fd5b8151611e1d816130ea565b600060208284031215612d90578081fd5b5035919050565b600060208284031215612da8578081fd5b5051919050565b60008060408385031215612dc1578182fd5b50508035926020909101359150565b600080600060608486031215612de4578283fd5b505081359360208301359350604090920135919050565b600080600060608486031215612e0f578283fd5b8351925060208401519150604084015190509250925092565b6000602080835283518082850152825b81811015612e5457858101830151858201604001528201612e38565b81811115612e655783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252601f908201527f4d617820666565206c696d6974207265616368656420666f7220274255592700604082015260600190565b6020808252601f908201527f4d617820666565206c696d6974207265616368656420666f7220275032502700604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252818101527f4d617820666565206c696d6974207265616368656420666f72202753454c4c27604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015612ff55784516001600160a01b031683529383019391830191600101612fd0565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115613029576130296130bf565b500190565b60008261304957634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615613068576130686130bf565b500290565b60008282101561307f5761307f6130bf565b500390565b60028104600182168061309857607f821691505b602082108114156130b957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114611b8d57600080fd5b8015158114611b8d57600080fdfea26469706673582212202d3e1c50c7626cf1271880509692934bf1994b93af56d8e6a5fb46e0d824cf0064736f6c63430008020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e428de301cafb62879f0929c201b6d6087b6f7c5
-----Decoded View---------------
Arg [0] : _owner (address): 0xe428De301caFB62879f0929c201b6d6087B6F7C5
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e428de301cafb62879f0929c201b6d6087b6f7c5
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.