Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
915,271.939978896979370277 MEMO
Holders
154
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
2,200.849613797121899556 MEMOValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Memo
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED // $$\ $$\ $$$$$$$$\ $$\ $$\ $$$$$$\ // $$$\ $$$ |$$ _____|$$$\ $$$ |$$ __$$\ // $$$$\ $$$$ |$$ | $$$$\ $$$$ |$$ / $$ | // $$\$$\$$ $$ |$$$$$\ $$\$$\$$ $$ |$$ | $$ | // $$ \$$$ $$ |$$ __| $$ \$$$ $$ |$$ | $$ | // $$ |\$ /$$ |$$ | $$ |\$ /$$ |$$ | $$ | // $$ | \_/ $$ |$$$$$$$$\ $$ | \_/ $$ | $$$$$$ | // \__| \__|\________|\__| \__| \______/ // https://getthememo.xyz // https://twitter.com/0xFectious pragma solidity ^0.8.20; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } contract Memo is ERC20, Ownable { //Memo board variables struct MemoStruct { uint256 value; address sender; uint64 timestamp; uint8 index; string text; } uint256 public constant maxMemos = 10; uint256 public constant maxChars = 140; uint256 public memoLeaderValue; address public memoLeaderAddress; MemoStruct[maxMemos] public memos; // Token variables IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address public teamWallet; uint256 public totalSupplyValue = 1_000_000 * 1e18; uint256 public maxTransactionAmount = 5_000 * 1e18; // 0.5% uint256 public maxWallet = 5_000 * 1e18; // 0.5% uint256 public swapTokensAtAmount = (totalSupplyValue * 5) / 10000; // 0.05% bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; uint256 public constant totalFees = 4; uint256 public constant leaderFee = 3; uint256 public constant teamFee = 1; uint256 public tokensForLeader; uint256 public tokensForTeam; /******************/ // exclude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping(address => bool) public automatedMarketMakerPairs; event UpdateUniswapV2Router( address indexed newAddress, address indexed oldAddress ); event SetAutomatedMarketMakerPair( address indexed pair, bool indexed value ); event newLeaderHasEmerged( address indexed newWallet, address indexed oldWallet ); error IncorrectBoostTimeStamp(); error MessageTooLong(); error NoValue(); constructor() ERC20("Memo", "MEMO") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D //mainnet ); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); teamWallet = owner(); _isExcludedFromFees[owner()] = true; _isExcludedFromFees[address(this)] = true; _isExcludedFromFees[deadAddress] = true; _isExcludedMaxTransactionAmount[owner()] = true; _isExcludedMaxTransactionAmount[address(this)] = true; _isExcludedMaxTransactionAmount[deadAddress] = true; uint256 totalSupply = totalSupplyValue; _mint(msg.sender, totalSupply); } receive() external payable {} // once enabled, can never be turned off function enableTrading() external onlyOwner { tradingActive = true; swapEnabled = true; } // remove limits after token is stable function removeLimits() external onlyOwner returns (bool) { limitsInEffect = false; return true; } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool) { require( newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply." ); require( newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply." ); swapTokensAtAmount = newAmount; return true; } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } if (limitsInEffect) { if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ) { if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } //when sell else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount." ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; if (takeFee) { if (automatedMarketMakerPairs[to]) { fees = (amount * totalFees) / 100; tokensForTeam += (fees * teamFee) / totalFees; tokensForLeader += (fees * leaderFee) / totalFees; } else if (automatedMarketMakerPairs[from]) { fees = (amount * totalFees) / 100; tokensForTeam += (fees * teamFee) / totalFees; tokensForLeader += (fees * leaderFee) / totalFees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLeader + tokensForTeam; bool success; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } if (contractBalance > swapTokensAtAmount * 20) { contractBalance = swapTokensAtAmount * 20; } uint256 amountToSwapForETH = contractBalance; uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance - initialETHBalance; uint256 ethForTeam = (ethBalance * tokensForTeam) / totalTokensToSwap ; tokensForLeader = 0; tokensForTeam = 0; (success, ) = address(teamWallet).call{value: ethForTeam}(""); (success, ) = address(memoLeaderAddress).call{value: address(this).balance}(""); } function withdrawStuckToken(address _token, address _to) external onlyOwner { require(_token != address(0)); uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); IERC20(_token).transfer(_to, _contractBalance); } function withdrawStuckEth(address toAddr) external onlyOwner { (bool success, ) = toAddr.call{ value: address(this).balance } (""); require(success); } // // memoboard functions // function sendMemo( string calldata _message, uint256 tokenValue) public { if (bytes(_message).length > maxChars) { revert MessageTooLong();} if (tokenValue == 0) { revert NoValue();} (bool qualifies, uint256 indexToRemove) = _getIndexToReplace(tokenValue); if (qualifies) { _insertMemo( msg.sender, _message, tokenValue, indexToRemove ); if (tokenValue > memoLeaderValue) { memoLeaderValue = tokenValue; memoLeaderAddress = msg.sender; } } else { revert("message value too low"); } _burn(msg.sender, tokenValue); } function boostMemo( uint8 memoIndex, uint64 memoTimestamp, uint256 boostValue) public { MemoStruct memory memoToBoost = memos[memoIndex]; if (memoToBoost.timestamp != memoTimestamp) { revert IncorrectBoostTimeStamp();} memoToBoost.value += boostValue; if (memoToBoost.value > memoLeaderValue) { memoLeaderValue = memoToBoost.value; memoLeaderAddress = msg.sender; } _burn(msg.sender, boostValue); memos[memoIndex] = memoToBoost; } function _getIndexToReplace( uint256 _value ) private view returns (bool qualifies, uint256 indexToRemove) { uint256 lowIndex; uint256 lowValue = memos[0].value; uint256 dripedValue; for (uint256 i = 0; i < maxMemos; i++) { dripedValue = memos[i].value; if (dripedValue < lowValue) { lowIndex = i; lowValue = dripedValue; } if (qualifies == false && _value > dripedValue) { qualifies = true; } } return (qualifies, lowIndex); } function _insertMemo( address _from, string calldata _message, uint256 _value, uint256 _index ) private { MemoStruct memory newMemo; newMemo.sender = _from; newMemo.timestamp = uint64(block.timestamp); newMemo.index = uint8(_index); newMemo.text = _message; newMemo.value = _value; memos[_index] = newMemo; } // should only be used offchain. function getOrderedMemos() public pure returns (MemoStruct[maxMemos] memory) { MemoStruct[maxMemos] memory _memos; for (uint256 i = 1; i < maxMemos; i++) { for (uint256 j = 0; j < i; j++) { if (_memos[i].value > _memos[j].value) { MemoStruct memory x = _memos[i]; _memos[i] = _memos[j]; _memos[j] = x; } } } return _memos; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.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.openzeppelin.com/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; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// 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 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); }
// 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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"IncorrectBoostTimeStamp","type":"error"},{"inputs":[],"name":"MessageTooLong","type":"error"},{"inputs":[],"name":"NoValue","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","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":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"newLeaderHasEmerged","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"uint8","name":"memoIndex","type":"uint8"},{"internalType":"uint64","name":"memoTimestamp","type":"uint64"},{"internalType":"uint256","name":"boostValue","type":"uint256"}],"name":"boostMemo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getOrderedMemos","outputs":[{"components":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint64","name":"timestamp","type":"uint64"},{"internalType":"uint8","name":"index","type":"uint8"},{"internalType":"string","name":"text","type":"string"}],"internalType":"struct Memo.MemoStruct[10]","name":"","type":"tuple[10]"}],"stateMutability":"pure","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":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"leaderFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxChars","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMemos","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"memoLeaderAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"memoLeaderValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"memos","outputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint64","name":"timestamp","type":"uint64"},{"internalType":"uint8","name":"index","type":"uint8"},{"internalType":"string","name":"text","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_message","type":"string"},{"internalType":"uint256","name":"tokenValue","type":"uint256"}],"name":"sendMemo","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":[],"name":"swapEnabled","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":"teamFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLeader","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTeam","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupplyValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"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":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toAddr","type":"address"}],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c060405269d3c21bcecceda100000060275569010f0cf064dd5920000060285569010f0cf064dd59200000602955612710602754600562000042919062000589565b6200004e9190620005a9565b602a55602b805462ffffff191660011790553480156200006c575f80fd5b50604051806040016040528060048152602001634d656d6f60e01b815250604051806040016040528060048152602001634d454d4f60e01b8152508160039081620000b8919062000668565b506004620000c7828262000668565b505050620000e4620000de6200037160201b60201c565b62000375565b737a250d5630b4cf539739df2c5dacb4c659f2488d62000106816001620003c6565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200014f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000175919062000730565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001c1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001e7919062000730565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801562000232573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000258919062000730565b6001600160a01b031660a081905262000273906001620003c6565b60a05162000283906001620003fa565b6005805460268054610100600160a81b0319166001600160a01b039283166101008102919091179091555f908152602e60209081526040808320805460ff1990811660019081179092553080865283862080548316841790557f6e2b63970b50c2f0636df8444f699aa1632d3a70b498b770af258fc540110c1f805483168417905596549095168452602f9092528083208054851683179055938252928120805483168417905561dead90527ffc60385395d8d1fcc7e6656eb52febc86d22945def7e8ba61b049b3b995f797f805490911690911790556027546200036933826200044d565b505062000775565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b620003d062000512565b6001600160a01b03919091165f908152602f60205260409020805460ff1916911515919091179055565b6001600160a01b0382165f81815260306020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038216620004a95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060025f828254620004bc91906200075f565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b031633146200056e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620004a0565b565b505050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417620005a357620005a362000575565b92915050565b5f82620005c457634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620005f257607f821691505b6020821081036200061157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000570575f81815260208120601f850160051c810160208610156200063f5750805b601f850160051c820191505b8181101562000660578281556001016200064b565b505050505050565b81516001600160401b03811115620006845762000684620005c9565b6200069c81620006958454620005dd565b8462000617565b602080601f831160018114620006d2575f8415620006ba5750858301515b5f19600386901b1c1916600185901b17855562000660565b5f85815260208120601f198616915b828110156200070257888601518255948401946001909101908401620006e1565b50858210156200072057878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f6020828403121562000741575f80fd5b81516001600160a01b038116811462000758575f80fd5b9392505050565b80820180821115620005a357620005a362000575565b60805160a0516129f9620007b35f395f81816104ba0152610e6e01525f818161036d015281816121c50152818161227c01526122b801526129f95ff3fe6080604052600436106102a8575f3560e01c8063751039fc1161016f578063bbc0c742116100d8578063d7c94efd11610092578063e8dfdf041161006d578063e8dfdf041461082c578063f2fde38b1461085c578063f8b45b051461087b578063fde83a3414610890575f80fd5b8063d7c94efd146107e4578063dd62ed3e146107f8578063e2f4560514610817575f80fd5b8063bbc0c74214610740578063bc205ad31461075e578063bd30d0bd1461077d578063c024666814610791578063c8c8ebe4146107b0578063d257b34f146107c5575f80fd5b806395d89b411161012957806395d89b411461068d5780639a7a23d6146106a1578063a14c9a1a146106c0578063a457c2d7146106d4578063a9059cbb146106f3578063b62496f514610712575f80fd5b8063751039fc146105f55780637571336a146106095780637ca8448a146106285780638a8c523c146106475780638d9b035c1461065b5780638da5cb5b14610670575f80fd5b8063430fb0f11161021157806356fcc0c6116101cb57806356fcc0c61461054057806359927044146105555780636a783f1c146105795780636ddd17131461058e57806370a08231146105ad578063715018a6146105e1575f80fd5b8063430fb0f114610469578063482adf481461048a57806349bd5a5e146104a95780634a62bb65146104dc5780634dc80076146104f55780634fbee19314610509575f80fd5b806323b872dd1161026257806323b872dd146103bb57806327c8f835146103da578063313ce567146103ef578063344bc5f01461040a57806335a9c4f11461042b578063395093511461044a575f80fd5b806306fdde03146102b3578063095ea7b3146102dd57806310d5de531461030c57806313114a9d1461033a5780631694505e1461035c57806318160ddd146103a7575f80fd5b366102af57005b5f80fd5b3480156102be575f80fd5b506102c76108a5565b6040516102d491906123d7565b60405180910390f35b3480156102e8575f80fd5b506102fc6102f7366004612404565b610935565b60405190151581526020016102d4565b348015610317575f80fd5b506102fc61032636600461242e565b602f6020525f908152604090205460ff1681565b348015610345575f80fd5b5061034e600481565b6040519081526020016102d4565b348015610367575f80fd5b5061038f7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102d4565b3480156103b2575f80fd5b5060025461034e565b3480156103c6575f80fd5b506102fc6103d5366004612449565b61094e565b3480156103e5575f80fd5b5061038f61dead81565b3480156103fa575f80fd5b50604051601281526020016102d4565b348015610415575f80fd5b5061041e610971565b6040516102d49190612487565b348015610436575f80fd5b5060075461038f906001600160a01b031681565b348015610455575f80fd5b506102fc610464366004612404565b610a5a565b348015610474575f80fd5b5061048861048336600461251d565b610a7b565b005b348015610495575f80fd5b506104886104a436600461258d565b610b5c565b3480156104b4575f80fd5b5061038f7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104e7575f80fd5b50602b546102fc9060ff1681565b348015610500575f80fd5b5061034e608c81565b348015610514575f80fd5b506102fc61052336600461242e565b6001600160a01b03165f908152602e602052604090205460ff1690565b34801561054b575f80fd5b5061034e60275481565b348015610560575f80fd5b5060265461038f9061010090046001600160a01b031681565b348015610584575f80fd5b5061034e602c5481565b348015610599575f80fd5b50602b546102fc9062010000900460ff1681565b3480156105b8575f80fd5b5061034e6105c736600461242e565b6001600160a01b03165f9081526020819052604090205490565b3480156105ec575f80fd5b50610488610d75565b348015610600575f80fd5b506102fc610d88565b348015610614575f80fd5b506104886106233660046125d7565b610da1565b348015610633575f80fd5b5061048861064236600461242e565b610dd3565b348015610652575f80fd5b50610488610e3a565b348015610666575f80fd5b5061034e60065481565b34801561067b575f80fd5b506005546001600160a01b031661038f565b348015610698575f80fd5b506102c7610e55565b3480156106ac575f80fd5b506104886106bb3660046125d7565b610e64565b3480156106cb575f80fd5b5061034e600a81565b3480156106df575f80fd5b506102fc6106ee366004612404565b610f1d565b3480156106fe575f80fd5b506102fc61070d366004612404565b610f97565b34801561071d575f80fd5b506102fc61072c36600461242e565b60306020525f908152604090205460ff1681565b34801561074b575f80fd5b50602b546102fc90610100900460ff1681565b348015610769575f80fd5b5061048861077836600461260e565b610fa4565b348015610788575f80fd5b5061034e600381565b34801561079c575f80fd5b506104886107ab3660046125d7565b6110a0565b3480156107bb575f80fd5b5061034e60285481565b3480156107d0575f80fd5b506102fc6107df36600461263a565b6110d2565b3480156107ef575f80fd5b5061034e600181565b348015610803575f80fd5b5061034e61081236600461260e565b611200565b348015610822575f80fd5b5061034e602a5481565b348015610837575f80fd5b5061084b61084636600461263a565b61122a565b6040516102d4959493929190612651565b348015610867575f80fd5b5061048861087636600461242e565b611302565b348015610886575f80fd5b5061034e60295481565b34801561089b575f80fd5b5061034e602d5481565b6060600380546108b49061269d565b80601f01602080910402602001604051908101604052809291908181526020018280546108e09061269d565b801561092b5780601f106109025761010080835404028352916020019161092b565b820191905f5260205f20905b81548152906001019060200180831161090e57829003601f168201915b5050505050905090565b5f3361094281858561137b565b60019150505b92915050565b5f3361095b85828561149e565b610966858585611510565b506001949350505050565b610979612326565b610981612326565b60015b600a811015610a54575f5b81811015610a41578281600a81106109a9576109a96126cf565b6020020151518383600a81106109c1576109c16126cf565b6020020151511115610a2f575f8383600a81106109e0576109e06126cf565b602002015190508382600a81106109f9576109f96126cf565b60200201518484600a8110610a1057610a106126cf565b6020020152808483600a8110610a2857610a286126cf565b6020020152505b80610a39816126f7565b91505061098f565b5080610a4c816126f7565b915050610984565b50919050565b5f33610942818585610a6c8383611200565b610a76919061270f565b61137b565b608c821115610a9d576040516347e8b47560e11b815260040160405180910390fd5b805f03610abd5760405163f2365b5b60e01b815260040160405180910390fd5b5f80610ac883611b4c565b915091508115610b0657610adf3386868685611bc0565b600654831115610b01576006839055600780546001600160a01b031916331790555b610b4b565b60405162461bcd60e51b81526020600482015260156024820152746d6573736167652076616c756520746f6f206c6f7760581b60448201526064015b60405180910390fd5b610b553384611ccb565b5050505050565b5f60088460ff16600a8110610b7357610b736126cf565b6040805160a081018252600392909202929092018054825260018101546001600160a01b0381166020840152600160a01b81046001600160401b031693830193909352600160e01b90920460ff166060820152600282018054919291608084019190610bde9061269d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0a9061269d565b8015610c555780601f10610c2c57610100808354040283529160200191610c55565b820191905f5260205f20905b815481529060010190602001808311610c3857829003601f168201915b5050505050815250509050826001600160401b031681604001516001600160401b031614610c965760405163bca7660360e01b815260040160405180910390fd5b81815f01818151610ca7919061270f565b90525060065481511115610ccd578051600655600780546001600160a01b031916331790555b610cd73383611ccb565b8060088560ff16600a8110610cee57610cee6126cf565b82516003919091029190910190815560208201516001820180546040850151606086015160ff16600160e01b0260ff60e01b196001600160401b03909216600160a01b026001600160e01b03199093166001600160a01b0390951694909417919091171691909117905560808201516002820190610d6c908261277b565b50505050505050565b610d7d611dfb565b610d865f611e55565b565b5f610d91611dfb565b50602b805460ff19169055600190565b610da9611dfb565b6001600160a01b03919091165f908152602f60205260409020805460ff1916911515919091179055565b610ddb611dfb565b5f816001600160a01b0316476040515f6040518083038185875af1925050503d805f8114610e24576040519150601f19603f3d011682016040523d82523d5f602084013e610e29565b606091505b5050905080610e36575f80fd5b5050565b610e42611dfb565b602b805462ffff00191662010100179055565b6060600480546108b49061269d565b610e6c611dfb565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610f135760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610b42565b610e368282611ea6565b5f3381610f2a8286611200565b905083811015610f8a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b42565b610966828686840361137b565b5f33610942818585611510565b610fac611dfb565b6001600160a01b038216610fbe575f80fd5b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa158015611002573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110269190612836565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303815f875af1158015611076573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061109a919061284d565b50505050565b6110a8611dfb565b6001600160a01b03919091165f908152602e60205260409020805460ff1916911515919091179055565b5f6110db611dfb565b620186a06110e860025490565b6110f3906001612868565b6110fd919061287f565b82101561116a5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610b42565b6103e861117660025490565b611181906005612868565b61118b919061287f565b8211156111f75760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610b42565b50602a55600190565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b600881600a8110611239575f80fd5b60030201805460018201546002830180549294506001600160a01b03821693600160a01b83046001600160401b031693600160e01b90930460ff16929091906112819061269d565b80601f01602080910402602001604051908101604052809291908181526020018280546112ad9061269d565b80156112f85780601f106112cf576101008083540402835291602001916112f8565b820191905f5260205f20905b8154815290600101906020018083116112db57829003601f168201915b5050505050905085565b61130a611dfb565b6001600160a01b03811661136f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b42565b61137881611e55565b50565b6001600160a01b0383166113dd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b42565b6001600160a01b03821661143e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b42565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6114a98484611200565b90505f19811461109a57818110156115035760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b42565b61109a848484840361137b565b6001600160a01b0383166115365760405162461bcd60e51b8152600401610b429061289e565b6001600160a01b03821661155c5760405162461bcd60e51b8152600401610b42906128e3565b805f036115735761156e83835f611ef9565b505050565b602b5460ff16156118d9576005546001600160a01b038481169116148015906115aa57506005546001600160a01b03838116911614155b80156115be57506001600160a01b03821615155b80156115d557506001600160a01b03821661dead14155b80156115e4575060265460ff16155b156118d957602b54610100900460ff1661167a576001600160a01b0383165f908152602e602052604090205460ff168061163557506001600160a01b0382165f908152602e602052604090205460ff165b61167a5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610b42565b6001600160a01b0383165f9081526030602052604090205460ff1680156116b957506001600160a01b0382165f908152602f602052604090205460ff16155b1561179c5760285481111561172e5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610b42565b6029546001600160a01b0383165f90815260208190526040902054611753908361270f565b11156117975760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b42565b6118d9565b6001600160a01b0382165f9081526030602052604090205460ff1680156117db57506001600160a01b0383165f908152602f602052604090205460ff16155b15611851576028548111156117975760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610b42565b6001600160a01b0382165f908152602f602052604090205460ff166118d9576029546001600160a01b0383165f90815260208190526040902054611895908361270f565b11156118d95760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b42565b305f90815260208190526040902054602a54811080159081906119045750602b5462010000900460ff165b8015611913575060265460ff16155b801561193757506001600160a01b0385165f9081526030602052604090205460ff16155b801561195b57506001600160a01b0385165f908152602e602052604090205460ff16155b801561197f57506001600160a01b0384165f908152602e602052604090205460ff16155b156119a4576026805460ff19166001179055611999612021565b6026805460ff191690555b6026546001600160a01b0386165f908152602e602052604090205460ff918216159116806119e957506001600160a01b0385165f908152602e602052604090205460ff165b156119f157505f5b5f8115611b41576001600160a01b0386165f9081526030602052604090205460ff1615611a90576064611a25600487612868565b611a2f919061287f565b90506004611a3e600183612868565b611a48919061287f565b602d5f828254611a58919061270f565b9091555060049050611a6b600383612868565b611a75919061287f565b602c5f828254611a85919061270f565b90915550611b239050565b6001600160a01b0387165f9081526030602052604090205460ff1615611b23576064611abd600487612868565b611ac7919061287f565b90506004611ad6600183612868565b611ae0919061287f565b602d5f828254611af0919061270f565b9091555060049050611b03600383612868565b611b0d919061287f565b602c5f828254611b1d919061270f565b90915550505b8015611b3457611b34873083611ef9565b611b3e8186612926565b94505b610d6c878787611ef9565b6008545f908190819081805b600a811015611bb357600881600a8110611b7457611b746126cf565b6003020154915082821015611b8a578093508192505b85158015611b9757508187115b15611ba157600195505b80611bab816126f7565b915050611b58565b5093959194509092505050565b611bc8612354565b6001600160a01b0386166020808301919091526001600160401b03421660408084019190915260ff841660608401528051601f87018390048302810183019091528581529086908690819084018382808284375f92019190915250505050608082015282815280600883600a8110611c4257611c426126cf565b82516003919091029190910190815560208201516001820180546040850151606086015160ff16600160e01b0260ff60e01b196001600160401b03909216600160a01b026001600160e01b03199093166001600160a01b0390951694909417919091171691909117905560808201516002820190611cc0908261277b565b505050505050505050565b6001600160a01b038216611d2b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610b42565b6001600160a01b0382165f9081526020819052604090205481811015611d9e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610b42565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6005546001600160a01b03163314610d865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b42565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f81815260306020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611f1f5760405162461bcd60e51b8152600401610b429061289e565b6001600160a01b038216611f455760405162461bcd60e51b8152600401610b42906128e3565b6001600160a01b0383165f9081526020819052604090205481811015611fbc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b42565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361109a565b305f9081526020819052604081205490505f602d54602c54612043919061270f565b90505f821580612051575081155b1561205b57505050565b602a54612069906014612868565b83111561208157602a5461207e906014612868565b92505b824761208c82612170565b5f6120978247612926565b90505f85602d54836120a99190612868565b6120b3919061287f565b5f602c819055602d81905560265460405192935061010090046001600160a01b031691839181818185875af1925050503d805f811461210d576040519150601f19603f3d011682016040523d82523d5f602084013e612112565b606091505b50506007546040519196506001600160a01b03169047905f81818185875af1925050503d805f811461215f576040519150601f19603f3d011682016040523d82523d5f602084013e612164565b606091505b50505050505050505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106121a3576121a36126cf565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561221f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122439190612939565b81600181518110612256576122566126cf565b60200260200101906001600160a01b031690816001600160a01b0316815250506122a1307f00000000000000000000000000000000000000000000000000000000000000008461137b565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906122f59085905f90869030904290600401612954565b5f604051808303815f87803b15801561230c575f80fd5b505af115801561231e573d5f803e3d5ffd5b505050505050565b604051806101400160405280600a905b61233e612354565b8152602001906001900390816123365790505090565b6040518060a001604052805f81526020015f6001600160a01b031681526020015f6001600160401b031681526020015f60ff168152602001606081525090565b5f81518084525f5b818110156123b85760208185018101518683018201520161239c565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f6123e96020830184612394565b9392505050565b6001600160a01b0381168114611378575f80fd5b5f8060408385031215612415575f80fd5b8235612420816123f0565b946020939093013593505050565b5f6020828403121561243e575f80fd5b81356123e9816123f0565b5f805f6060848603121561245b575f80fd5b8335612466816123f0565b92506020840135612476816123f0565b929592945050506040919091013590565b60208082525f90610160830183820185845b600a81101561251157868403601f19018352815180518552858101516001600160a01b0316868601526040808201516001600160401b03169086015260608082015160ff169086015260809081015160a0918601829052906124fd81870183612394565b955050509184019190840190600101612499565b50919695505050505050565b5f805f6040848603121561252f575f80fd5b83356001600160401b0380821115612545575f80fd5b818601915086601f830112612558575f80fd5b813581811115612566575f80fd5b876020828501011115612577575f80fd5b6020928301989097509590910135949350505050565b5f805f6060848603121561259f575f80fd5b833560ff811681146125af575f80fd5b925060208401356001600160401b0381168114612476575f80fd5b8015158114611378575f80fd5b5f80604083850312156125e8575f80fd5b82356125f3816123f0565b91506020830135612603816125ca565b809150509250929050565b5f806040838503121561261f575f80fd5b823561262a816123f0565b91506020830135612603816123f0565b5f6020828403121561264a575f80fd5b5035919050565b8581526001600160a01b03851660208201526001600160401b038416604082015260ff8316606082015260a0608082018190525f9061269290830184612394565b979650505050505050565b600181811c908216806126b157607f821691505b602082108103610a5457634e487b7160e01b5f52602260045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b5f60018201612708576127086126e3565b5060010190565b80820180821115610948576109486126e3565b634e487b7160e01b5f52604160045260245ffd5b601f82111561156e575f81815260208120601f850160051c8101602086101561275c5750805b601f850160051c820191505b8181101561231e57828155600101612768565b81516001600160401b0381111561279457612794612722565b6127a8816127a2845461269d565b84612736565b602080601f8311600181146127db575f84156127c45750858301515b5f19600386901b1c1916600185901b17855561231e565b5f85815260208120601f198616915b82811015612809578886015182559484019460019091019084016127ea565b508582101561282657878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f60208284031215612846575f80fd5b5051919050565b5f6020828403121561285d575f80fd5b81516123e9816125ca565b8082028115828204841417610948576109486126e3565b5f8261289957634e487b7160e01b5f52601260045260245ffd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610948576109486126e3565b5f60208284031215612949575f80fd5b81516123e9816123f0565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156129a25784516001600160a01b03168352938301939183019160010161297d565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212201b4950c7c69b25bfc8350a92757248be945e12a37dd02d19dcbb40cf1b6db96d64736f6c63430008140033
Deployed Bytecode
0x6080604052600436106102a8575f3560e01c8063751039fc1161016f578063bbc0c742116100d8578063d7c94efd11610092578063e8dfdf041161006d578063e8dfdf041461082c578063f2fde38b1461085c578063f8b45b051461087b578063fde83a3414610890575f80fd5b8063d7c94efd146107e4578063dd62ed3e146107f8578063e2f4560514610817575f80fd5b8063bbc0c74214610740578063bc205ad31461075e578063bd30d0bd1461077d578063c024666814610791578063c8c8ebe4146107b0578063d257b34f146107c5575f80fd5b806395d89b411161012957806395d89b411461068d5780639a7a23d6146106a1578063a14c9a1a146106c0578063a457c2d7146106d4578063a9059cbb146106f3578063b62496f514610712575f80fd5b8063751039fc146105f55780637571336a146106095780637ca8448a146106285780638a8c523c146106475780638d9b035c1461065b5780638da5cb5b14610670575f80fd5b8063430fb0f11161021157806356fcc0c6116101cb57806356fcc0c61461054057806359927044146105555780636a783f1c146105795780636ddd17131461058e57806370a08231146105ad578063715018a6146105e1575f80fd5b8063430fb0f114610469578063482adf481461048a57806349bd5a5e146104a95780634a62bb65146104dc5780634dc80076146104f55780634fbee19314610509575f80fd5b806323b872dd1161026257806323b872dd146103bb57806327c8f835146103da578063313ce567146103ef578063344bc5f01461040a57806335a9c4f11461042b578063395093511461044a575f80fd5b806306fdde03146102b3578063095ea7b3146102dd57806310d5de531461030c57806313114a9d1461033a5780631694505e1461035c57806318160ddd146103a7575f80fd5b366102af57005b5f80fd5b3480156102be575f80fd5b506102c76108a5565b6040516102d491906123d7565b60405180910390f35b3480156102e8575f80fd5b506102fc6102f7366004612404565b610935565b60405190151581526020016102d4565b348015610317575f80fd5b506102fc61032636600461242e565b602f6020525f908152604090205460ff1681565b348015610345575f80fd5b5061034e600481565b6040519081526020016102d4565b348015610367575f80fd5b5061038f7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102d4565b3480156103b2575f80fd5b5060025461034e565b3480156103c6575f80fd5b506102fc6103d5366004612449565b61094e565b3480156103e5575f80fd5b5061038f61dead81565b3480156103fa575f80fd5b50604051601281526020016102d4565b348015610415575f80fd5b5061041e610971565b6040516102d49190612487565b348015610436575f80fd5b5060075461038f906001600160a01b031681565b348015610455575f80fd5b506102fc610464366004612404565b610a5a565b348015610474575f80fd5b5061048861048336600461251d565b610a7b565b005b348015610495575f80fd5b506104886104a436600461258d565b610b5c565b3480156104b4575f80fd5b5061038f7f00000000000000000000000098ccac561acf52b8da13df452a1a57cc0b586ebc81565b3480156104e7575f80fd5b50602b546102fc9060ff1681565b348015610500575f80fd5b5061034e608c81565b348015610514575f80fd5b506102fc61052336600461242e565b6001600160a01b03165f908152602e602052604090205460ff1690565b34801561054b575f80fd5b5061034e60275481565b348015610560575f80fd5b5060265461038f9061010090046001600160a01b031681565b348015610584575f80fd5b5061034e602c5481565b348015610599575f80fd5b50602b546102fc9062010000900460ff1681565b3480156105b8575f80fd5b5061034e6105c736600461242e565b6001600160a01b03165f9081526020819052604090205490565b3480156105ec575f80fd5b50610488610d75565b348015610600575f80fd5b506102fc610d88565b348015610614575f80fd5b506104886106233660046125d7565b610da1565b348015610633575f80fd5b5061048861064236600461242e565b610dd3565b348015610652575f80fd5b50610488610e3a565b348015610666575f80fd5b5061034e60065481565b34801561067b575f80fd5b506005546001600160a01b031661038f565b348015610698575f80fd5b506102c7610e55565b3480156106ac575f80fd5b506104886106bb3660046125d7565b610e64565b3480156106cb575f80fd5b5061034e600a81565b3480156106df575f80fd5b506102fc6106ee366004612404565b610f1d565b3480156106fe575f80fd5b506102fc61070d366004612404565b610f97565b34801561071d575f80fd5b506102fc61072c36600461242e565b60306020525f908152604090205460ff1681565b34801561074b575f80fd5b50602b546102fc90610100900460ff1681565b348015610769575f80fd5b5061048861077836600461260e565b610fa4565b348015610788575f80fd5b5061034e600381565b34801561079c575f80fd5b506104886107ab3660046125d7565b6110a0565b3480156107bb575f80fd5b5061034e60285481565b3480156107d0575f80fd5b506102fc6107df36600461263a565b6110d2565b3480156107ef575f80fd5b5061034e600181565b348015610803575f80fd5b5061034e61081236600461260e565b611200565b348015610822575f80fd5b5061034e602a5481565b348015610837575f80fd5b5061084b61084636600461263a565b61122a565b6040516102d4959493929190612651565b348015610867575f80fd5b5061048861087636600461242e565b611302565b348015610886575f80fd5b5061034e60295481565b34801561089b575f80fd5b5061034e602d5481565b6060600380546108b49061269d565b80601f01602080910402602001604051908101604052809291908181526020018280546108e09061269d565b801561092b5780601f106109025761010080835404028352916020019161092b565b820191905f5260205f20905b81548152906001019060200180831161090e57829003601f168201915b5050505050905090565b5f3361094281858561137b565b60019150505b92915050565b5f3361095b85828561149e565b610966858585611510565b506001949350505050565b610979612326565b610981612326565b60015b600a811015610a54575f5b81811015610a41578281600a81106109a9576109a96126cf565b6020020151518383600a81106109c1576109c16126cf565b6020020151511115610a2f575f8383600a81106109e0576109e06126cf565b602002015190508382600a81106109f9576109f96126cf565b60200201518484600a8110610a1057610a106126cf565b6020020152808483600a8110610a2857610a286126cf565b6020020152505b80610a39816126f7565b91505061098f565b5080610a4c816126f7565b915050610984565b50919050565b5f33610942818585610a6c8383611200565b610a76919061270f565b61137b565b608c821115610a9d576040516347e8b47560e11b815260040160405180910390fd5b805f03610abd5760405163f2365b5b60e01b815260040160405180910390fd5b5f80610ac883611b4c565b915091508115610b0657610adf3386868685611bc0565b600654831115610b01576006839055600780546001600160a01b031916331790555b610b4b565b60405162461bcd60e51b81526020600482015260156024820152746d6573736167652076616c756520746f6f206c6f7760581b60448201526064015b60405180910390fd5b610b553384611ccb565b5050505050565b5f60088460ff16600a8110610b7357610b736126cf565b6040805160a081018252600392909202929092018054825260018101546001600160a01b0381166020840152600160a01b81046001600160401b031693830193909352600160e01b90920460ff166060820152600282018054919291608084019190610bde9061269d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0a9061269d565b8015610c555780601f10610c2c57610100808354040283529160200191610c55565b820191905f5260205f20905b815481529060010190602001808311610c3857829003601f168201915b5050505050815250509050826001600160401b031681604001516001600160401b031614610c965760405163bca7660360e01b815260040160405180910390fd5b81815f01818151610ca7919061270f565b90525060065481511115610ccd578051600655600780546001600160a01b031916331790555b610cd73383611ccb565b8060088560ff16600a8110610cee57610cee6126cf565b82516003919091029190910190815560208201516001820180546040850151606086015160ff16600160e01b0260ff60e01b196001600160401b03909216600160a01b026001600160e01b03199093166001600160a01b0390951694909417919091171691909117905560808201516002820190610d6c908261277b565b50505050505050565b610d7d611dfb565b610d865f611e55565b565b5f610d91611dfb565b50602b805460ff19169055600190565b610da9611dfb565b6001600160a01b03919091165f908152602f60205260409020805460ff1916911515919091179055565b610ddb611dfb565b5f816001600160a01b0316476040515f6040518083038185875af1925050503d805f8114610e24576040519150601f19603f3d011682016040523d82523d5f602084013e610e29565b606091505b5050905080610e36575f80fd5b5050565b610e42611dfb565b602b805462ffff00191662010100179055565b6060600480546108b49061269d565b610e6c611dfb565b7f00000000000000000000000098ccac561acf52b8da13df452a1a57cc0b586ebc6001600160a01b0316826001600160a01b031603610f135760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610b42565b610e368282611ea6565b5f3381610f2a8286611200565b905083811015610f8a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b42565b610966828686840361137b565b5f33610942818585611510565b610fac611dfb565b6001600160a01b038216610fbe575f80fd5b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa158015611002573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110269190612836565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303815f875af1158015611076573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061109a919061284d565b50505050565b6110a8611dfb565b6001600160a01b03919091165f908152602e60205260409020805460ff1916911515919091179055565b5f6110db611dfb565b620186a06110e860025490565b6110f3906001612868565b6110fd919061287f565b82101561116a5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610b42565b6103e861117660025490565b611181906005612868565b61118b919061287f565b8211156111f75760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610b42565b50602a55600190565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b600881600a8110611239575f80fd5b60030201805460018201546002830180549294506001600160a01b03821693600160a01b83046001600160401b031693600160e01b90930460ff16929091906112819061269d565b80601f01602080910402602001604051908101604052809291908181526020018280546112ad9061269d565b80156112f85780601f106112cf576101008083540402835291602001916112f8565b820191905f5260205f20905b8154815290600101906020018083116112db57829003601f168201915b5050505050905085565b61130a611dfb565b6001600160a01b03811661136f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b42565b61137881611e55565b50565b6001600160a01b0383166113dd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b42565b6001600160a01b03821661143e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b42565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6114a98484611200565b90505f19811461109a57818110156115035760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b42565b61109a848484840361137b565b6001600160a01b0383166115365760405162461bcd60e51b8152600401610b429061289e565b6001600160a01b03821661155c5760405162461bcd60e51b8152600401610b42906128e3565b805f036115735761156e83835f611ef9565b505050565b602b5460ff16156118d9576005546001600160a01b038481169116148015906115aa57506005546001600160a01b03838116911614155b80156115be57506001600160a01b03821615155b80156115d557506001600160a01b03821661dead14155b80156115e4575060265460ff16155b156118d957602b54610100900460ff1661167a576001600160a01b0383165f908152602e602052604090205460ff168061163557506001600160a01b0382165f908152602e602052604090205460ff165b61167a5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610b42565b6001600160a01b0383165f9081526030602052604090205460ff1680156116b957506001600160a01b0382165f908152602f602052604090205460ff16155b1561179c5760285481111561172e5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610b42565b6029546001600160a01b0383165f90815260208190526040902054611753908361270f565b11156117975760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b42565b6118d9565b6001600160a01b0382165f9081526030602052604090205460ff1680156117db57506001600160a01b0383165f908152602f602052604090205460ff16155b15611851576028548111156117975760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610b42565b6001600160a01b0382165f908152602f602052604090205460ff166118d9576029546001600160a01b0383165f90815260208190526040902054611895908361270f565b11156118d95760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b42565b305f90815260208190526040902054602a54811080159081906119045750602b5462010000900460ff165b8015611913575060265460ff16155b801561193757506001600160a01b0385165f9081526030602052604090205460ff16155b801561195b57506001600160a01b0385165f908152602e602052604090205460ff16155b801561197f57506001600160a01b0384165f908152602e602052604090205460ff16155b156119a4576026805460ff19166001179055611999612021565b6026805460ff191690555b6026546001600160a01b0386165f908152602e602052604090205460ff918216159116806119e957506001600160a01b0385165f908152602e602052604090205460ff165b156119f157505f5b5f8115611b41576001600160a01b0386165f9081526030602052604090205460ff1615611a90576064611a25600487612868565b611a2f919061287f565b90506004611a3e600183612868565b611a48919061287f565b602d5f828254611a58919061270f565b9091555060049050611a6b600383612868565b611a75919061287f565b602c5f828254611a85919061270f565b90915550611b239050565b6001600160a01b0387165f9081526030602052604090205460ff1615611b23576064611abd600487612868565b611ac7919061287f565b90506004611ad6600183612868565b611ae0919061287f565b602d5f828254611af0919061270f565b9091555060049050611b03600383612868565b611b0d919061287f565b602c5f828254611b1d919061270f565b90915550505b8015611b3457611b34873083611ef9565b611b3e8186612926565b94505b610d6c878787611ef9565b6008545f908190819081805b600a811015611bb357600881600a8110611b7457611b746126cf565b6003020154915082821015611b8a578093508192505b85158015611b9757508187115b15611ba157600195505b80611bab816126f7565b915050611b58565b5093959194509092505050565b611bc8612354565b6001600160a01b0386166020808301919091526001600160401b03421660408084019190915260ff841660608401528051601f87018390048302810183019091528581529086908690819084018382808284375f92019190915250505050608082015282815280600883600a8110611c4257611c426126cf565b82516003919091029190910190815560208201516001820180546040850151606086015160ff16600160e01b0260ff60e01b196001600160401b03909216600160a01b026001600160e01b03199093166001600160a01b0390951694909417919091171691909117905560808201516002820190611cc0908261277b565b505050505050505050565b6001600160a01b038216611d2b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610b42565b6001600160a01b0382165f9081526020819052604090205481811015611d9e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610b42565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6005546001600160a01b03163314610d865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b42565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f81815260306020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611f1f5760405162461bcd60e51b8152600401610b429061289e565b6001600160a01b038216611f455760405162461bcd60e51b8152600401610b42906128e3565b6001600160a01b0383165f9081526020819052604090205481811015611fbc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b42565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361109a565b305f9081526020819052604081205490505f602d54602c54612043919061270f565b90505f821580612051575081155b1561205b57505050565b602a54612069906014612868565b83111561208157602a5461207e906014612868565b92505b824761208c82612170565b5f6120978247612926565b90505f85602d54836120a99190612868565b6120b3919061287f565b5f602c819055602d81905560265460405192935061010090046001600160a01b031691839181818185875af1925050503d805f811461210d576040519150601f19603f3d011682016040523d82523d5f602084013e612112565b606091505b50506007546040519196506001600160a01b03169047905f81818185875af1925050503d805f811461215f576040519150601f19603f3d011682016040523d82523d5f602084013e612164565b606091505b50505050505050505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106121a3576121a36126cf565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561221f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122439190612939565b81600181518110612256576122566126cf565b60200260200101906001600160a01b031690816001600160a01b0316815250506122a1307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461137b565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906122f59085905f90869030904290600401612954565b5f604051808303815f87803b15801561230c575f80fd5b505af115801561231e573d5f803e3d5ffd5b505050505050565b604051806101400160405280600a905b61233e612354565b8152602001906001900390816123365790505090565b6040518060a001604052805f81526020015f6001600160a01b031681526020015f6001600160401b031681526020015f60ff168152602001606081525090565b5f81518084525f5b818110156123b85760208185018101518683018201520161239c565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f6123e96020830184612394565b9392505050565b6001600160a01b0381168114611378575f80fd5b5f8060408385031215612415575f80fd5b8235612420816123f0565b946020939093013593505050565b5f6020828403121561243e575f80fd5b81356123e9816123f0565b5f805f6060848603121561245b575f80fd5b8335612466816123f0565b92506020840135612476816123f0565b929592945050506040919091013590565b60208082525f90610160830183820185845b600a81101561251157868403601f19018352815180518552858101516001600160a01b0316868601526040808201516001600160401b03169086015260608082015160ff169086015260809081015160a0918601829052906124fd81870183612394565b955050509184019190840190600101612499565b50919695505050505050565b5f805f6040848603121561252f575f80fd5b83356001600160401b0380821115612545575f80fd5b818601915086601f830112612558575f80fd5b813581811115612566575f80fd5b876020828501011115612577575f80fd5b6020928301989097509590910135949350505050565b5f805f6060848603121561259f575f80fd5b833560ff811681146125af575f80fd5b925060208401356001600160401b0381168114612476575f80fd5b8015158114611378575f80fd5b5f80604083850312156125e8575f80fd5b82356125f3816123f0565b91506020830135612603816125ca565b809150509250929050565b5f806040838503121561261f575f80fd5b823561262a816123f0565b91506020830135612603816123f0565b5f6020828403121561264a575f80fd5b5035919050565b8581526001600160a01b03851660208201526001600160401b038416604082015260ff8316606082015260a0608082018190525f9061269290830184612394565b979650505050505050565b600181811c908216806126b157607f821691505b602082108103610a5457634e487b7160e01b5f52602260045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b5f60018201612708576127086126e3565b5060010190565b80820180821115610948576109486126e3565b634e487b7160e01b5f52604160045260245ffd5b601f82111561156e575f81815260208120601f850160051c8101602086101561275c5750805b601f850160051c820191505b8181101561231e57828155600101612768565b81516001600160401b0381111561279457612794612722565b6127a8816127a2845461269d565b84612736565b602080601f8311600181146127db575f84156127c45750858301515b5f19600386901b1c1916600185901b17855561231e565b5f85815260208120601f198616915b82811015612809578886015182559484019460019091019084016127ea565b508582101561282657878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f60208284031215612846575f80fd5b5051919050565b5f6020828403121561285d575f80fd5b81516123e9816125ca565b8082028115828204841417610948576109486126e3565b5f8261289957634e487b7160e01b5f52601260045260245ffd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610948576109486126e3565b5f60208284031215612949575f80fd5b81516123e9816123f0565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156129a25784516001600160a01b03168352938301939183019160010161297d565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212201b4950c7c69b25bfc8350a92757248be945e12a37dd02d19dcbb40cf1b6db96d64736f6c63430008140033
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.