ERC-20
Overview
Max Total Supply
671,405,380.225 COLA
Holders
337
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
0.446759323 COLAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Cola
Compiler Version
v0.8.23+commit.f704f362
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// Telegram: https://t.me/christmascola // SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import "./Erc20.sol"; import "./IUniswapV2Router02.sol"; import "./IUniswapV2Factory.sol"; import "../lib/Ownable.sol"; contract PoolableErc20 is ERC20 { uint256 immutable _liquidityCreateCount; IUniswapV2Router02 constant uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address internal pair; uint256 internal _startTime; bool internal _inSwap; constructor( string memory name_, string memory symbol_, uint256 liquidityCreateCount_ ) ERC20(name_, symbol_) { _liquidityCreateCount = liquidityCreateCount_; } modifier lockTheSwap() { _inSwap = true; _; _inSwap = false; } function createPair() external payable lockTheSwap { pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), uniswapV2Router.WETH() ); _mint(address(this), _liquidityCreateCount); _approve(address(this), address(uniswapV2Router), type(uint256).max); uniswapV2Router.addLiquidityETH{value: msg.value}( address(this), _liquidityCreateCount, 0, 0, msg.sender, block.timestamp ); _startTime = block.timestamp; } function _swapTokensForEth( uint256 tokenAmount, address to ) internal lockTheSwap { if (tokenAmount == 0) return; address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); // make the swap uniswapV2Router.swapExactTokensForETH( tokenAmount, 0, // accept any amount of ETH path, to, block.timestamp ); } } contract Cola is Ownable, PoolableErc20 { uint256 constant startTotalSupply = 1e9 * (10 ** _decimals); uint256 constant _startMaxBuyCount = (startTotalSupply * 5) / 10000; uint256 constant _addMaxBuyPercentPerSec = 5; // 100%=_addMaxBuyPrecesion add 0.005%/second uint256 constant _addMaxBuyPrecesion = 100000; uint256 public taxShare = 200; // 100%=taxPrecesion uint256 constant taxPrecesion = 1000; address public factory; constructor() PoolableErc20("Cola", "COLA", startTotalSupply) { factory = msg.sender; } modifier maxBuyLimit(uint256 amount) { require(amount <= maximumBuyCount(), "max buy transaction limit"); _; } function taxShareChange(uint256 newShare) external onlyOwner { require(newShare <= taxShare); taxShare = newShare; } function setFactory(address factoryAddress) external onlyOwner { factory = factoryAddress; } function _transfer( address from, address to, uint256 amount ) internal override { if (_inSwap) { super._transfer(from, to, amount); return; } if (to == address(0)) { _burn(from, amount); return; } if (from == pair) { buy(to, amount); return; } if (to == pair) { sell(from, amount); return; } super._transfer(from, to, amount); } function buy(address to, uint256 amount) private maxBuyLimit(amount) { uint256 tax = (amount * taxShare) / taxPrecesion; if (tax > 0) super._transfer(pair, address(this), tax); super._transfer(pair, to, amount - tax); } function sell(address from, uint256 amount) private { uint256 tax = (amount * taxShare) / taxPrecesion; uint256 swapCount = balanceOf(address(this)); if (swapCount > 2 * amount) swapCount = 2 * amount; _swapTokensForEth(swapCount, address(factory)); if (tax > 0) super._transfer(from, address(this), tax); super._transfer(from, pair, amount - tax); } function burned() public view returns (uint256) { return startTotalSupply - totalSupply(); } function maximumBuyCount() public view returns (uint256) { if (pair == address(0)) return startTotalSupply; uint256 count = _startMaxBuyCount + (startTotalSupply * (block.timestamp - _startTime) * _addMaxBuyPercentPerSec) / _addMaxBuyPrecesion; if (count > startTotalSupply) count = startTotalSupply; return count; } function maximumBuyCountWithoutDecimals() public view returns (uint256) { return maximumBuyCount() / (10 ** _decimals); } }
// 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.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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 pragma solidity ^0.8.23; contract Ownable { address _owner; event RenounceOwnership(); constructor() { _owner = msg.sender; } modifier onlyOwner() { require(_owner == msg.sender, "only owner"); _; } function owner() external view virtual returns (address) { return _owner; } function ownerRenounce() external onlyOwner { _owner = address(0); emit RenounceOwnership(); } }
// Telegram: https://t.me/christmascola pragma solidity ^0.8.23; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/utils/Context.sol"; contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) internal _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 internal _totalSupply; uint8 internal constant _decimals = 9; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public pure returns (uint8) { return _decimals; } /** * @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"); 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); } /** @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"); _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); } /** * @dev Erases `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"); 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); } /** * @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); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; interface IUniswapV2Router02 { function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); function swapExactETHForTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable returns (uint[] memory amounts); function getReserves( address factory, address tokenA, address tokenB ) external view returns (uint reserveA, uint reserveB); function getAmountsIn( uint amountOut, address[] memory path ) external view returns (uint[] memory amounts); function getAmountsOut( uint amountIn, address[] memory path ) external view returns (uint[] memory amounts); }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":[],"name":"RenounceOwnership","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createPair","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maximumBuyCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maximumBuyCountWithoutDecimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerRenounce","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"factoryAddress","type":"address"}],"name":"setFactory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newShare","type":"uint256"}],"name":"taxShareChange","outputs":[],"stateMutability":"nonpayable","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"}]
Contract Creation Code
60a060405260c86009553480156200001657600080fd5b5060405180604001604052806004815260200163436f6c6160e01b81525060405180604001604052806004815260200163434f4c4160e01b8152506009600a620000619190620001d7565b6200007190633b9aca00620001ef565b600080546001600160a01b0319163317905582826004620000938382620002b0565b506005620000a28282620002b0565b5050506080525050600a80546001600160a01b031916331790556200037c565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000119578160001904821115620000fd57620000fd620000c2565b808516156200010b57918102915b93841c9390800290620000dd565b509250929050565b6000826200013257506001620001d1565b816200014157506000620001d1565b81600181146200015a5760028114620001655762000185565b6001915050620001d1565b60ff841115620001795762000179620000c2565b50506001821b620001d1565b5060208310610133831016604e8410600b8410161715620001aa575081810a620001d1565b620001b68383620000d8565b8060001904821115620001cd57620001cd620000c2565b0290505b92915050565b6000620001e860ff84168362000121565b9392505050565b8082028115828204841417620001d157620001d1620000c2565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200023457607f821691505b6020821081036200025557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002ab576000816000526020600020601f850160051c81016020861015620002865750805b601f850160051c820191505b81811015620002a75782815560010162000292565b5050505b505050565b81516001600160401b03811115620002cc57620002cc62000209565b620002e481620002dd84546200021f565b846200025b565b602080601f8311600181146200031c5760008415620003035750858301515b600019600386901b1c1916600185901b178555620002a7565b600085815260208120601f198616915b828110156200034d578886015182559484019460019091019084016200032c565b50858210156200036c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805161169e6200039f60003960008181610740015261079a015261169e6000f3fe60806040526004361061012a5760003560e01c80638da5cb5b116100ab578063a9059cbb1161006f578063a9059cbb14610316578063af58c64714610336578063c45a01551461034b578063dc04ab571461036b578063dd62ed3e14610381578063e2a2617a146103a157600080fd5b80638da5cb5b1461028757806395d89b41146102b95780639e78fb4f146102ce578063a457c2d7146102d6578063a5628796146102f657600080fd5b8063333a0072116100f2578063333a0072146101e557806339509351146101fc5780635bb478081461021c57806370a082311461023c57806373f425611461027257600080fd5b806306fdde031461012f578063095ea7b31461015a57806318160ddd1461018a57806323b872dd146101a9578063313ce567146101c9575b600080fd5b34801561013b57600080fd5b506101446103b6565b6040516101519190611284565b60405180910390f35b34801561016657600080fd5b5061017a6101753660046112eb565b610448565b6040519015158152602001610151565b34801561019657600080fd5b506003545b604051908152602001610151565b3480156101b557600080fd5b5061017a6101c4366004611317565b610462565b3480156101d557600080fd5b5060405160098152602001610151565b3480156101f157600080fd5b506101fa610486565b005b34801561020857600080fd5b5061017a6102173660046112eb565b6104f2565b34801561022857600080fd5b506101fa610237366004611358565b610514565b34801561024857600080fd5b5061019b610257366004611358565b6001600160a01b031660009081526001602052604090205490565b34801561027e57600080fd5b5061019b610560565b34801561029357600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610151565b3480156102c557600080fd5b50610144610594565b6101fa6105a3565b3480156102e257600080fd5b5061017a6102f13660046112eb565b61084f565b34801561030257600080fd5b506101fa61031136600461137c565b6108ca565b34801561032257600080fd5b5061017a6103313660046112eb565b610908565b34801561034257600080fd5b5061019b610916565b34801561035757600080fd5b50600a546102a1906001600160a01b031681565b34801561037757600080fd5b5061019b60095481565b34801561038d57600080fd5b5061019b61039c366004611395565b610936565b3480156103ad57600080fd5b5061019b610961565b6060600480546103c5906113ce565b80601f01602080910402602001604051908101604052809291908181526020018280546103f1906113ce565b801561043e5780601f106104135761010080835404028352916020019161043e565b820191906000526020600020905b81548152906001019060200180831161042157829003601f168201915b5050505050905090565b600033610456818585610a5d565b60019150505b92915050565b600033610470858285610b82565b61047b858585610bfc565b506001949350505050565b6000546001600160a01b031633146104b95760405162461bcd60e51b81526004016104b090611408565b60405180910390fd5b600080546001600160a01b03191681556040517f6e4ee811a17215345b89e3506064ff2d62f4feedff3566e9d09219cda7e8cadb9190a1565b6000336104568185856105058383610936565b61050f9190611442565b610a5d565b6000546001600160a01b0316331461053e5760405162461bcd60e51b81526004016104b090611408565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600061056b60035490565b6105776009600a611539565b61058590633b9aca00611548565b61058f919061155f565b905090565b6060600580546103c5906113ce565b6008805460ff191660011790556040805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d9163c45a01559160048083019260209291908290030181865afa158015610600573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106249190611572565b6001600160a01b031663c9c6539630737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610685573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a99190611572565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156106f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071a9190611572565b600680546001600160a01b0319166001600160a01b0392909216919091179055610764307f0000000000000000000000000000000000000000000000000000000000000000610c7a565b61078530737a250d5630b4cf539739df2c5dacb4c659f2488d600019610a5d565b60405163f305d71960e01b81523060048201527f0000000000000000000000000000000000000000000000000000000000000000602482015260006044820181905260648201523360848201524260a4820152737a250d5630b4cf539739df2c5dacb4c659f2488d9063f305d71990349060c40160606040518083038185885af1158015610817573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061083c919061158f565b505042600755506008805460ff19169055565b6000338161085d8286610936565b9050838110156108bd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104b0565b61047b8286868403610a5d565b6000546001600160a01b031633146108f45760405162461bcd60e51b81526004016104b090611408565b60095481111561090357600080fd5b600955565b600033610456818585610bfc565b60006109246009600a611539565b61092c610961565b61058f91906115bd565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6006546000906001600160a01b031661098e576109806009600a611539565b61058f90633b9aca00611548565b6000620186a06005600754426109a4919061155f565b6109b06009600a611539565b6109be90633b9aca00611548565b6109c89190611548565b6109d29190611548565b6109dc91906115bd565b6127106109eb6009600a611539565b6109f990633b9aca00611548565b610a04906005611548565b610a0e91906115bd565b610a189190611442565b9050610a266009600a611539565b610a3490633b9aca00611548565b811115610a5857610a476009600a611539565b610a5590633b9aca00611548565b90505b919050565b6001600160a01b038316610abf5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104b0565b6001600160a01b038216610b205760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104b0565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610b8e8484610936565b90506000198114610bf65781811015610be95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104b0565b610bf68484848403610a5d565b50505050565b60085460ff1615610c1757610c12838383610d3b565b505050565b6001600160a01b038216610c2f57610c128382610e85565b6006546001600160a01b0390811690841603610c4f57610c128282610fb1565b6006546001600160a01b0390811690831603610c6f57610c128382611065565b610c12838383610d3b565b6001600160a01b038216610cd05760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104b0565b8060036000828254610ce29190611442565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038316610d9f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104b0565b6001600160a01b03831660009081526001602052604090205481811015610e175760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104b0565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610e779086815260200190565b60405180910390a350505050565b6001600160a01b038216610ee55760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016104b0565b6001600160a01b03821660009081526001602052604090205481811015610f595760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016104b0565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610b75565b80610fba610961565b8111156110095760405162461bcd60e51b815260206004820152601960248201527f6d617820627579207472616e73616374696f6e206c696d69740000000000000060448201526064016104b0565b60006103e86009548461101c9190611548565b61102691906115bd565b9050801561104557600654611045906001600160a01b03163083610d3b565b600654610bf6906001600160a01b031685611060848761155f565b610d3b565b60006103e8600954836110789190611548565b61108291906115bd565b306000908152600160205260409020549091506110a0836002611548565b8111156110b5576110b2836002611548565b90505b600a546110cc9082906001600160a01b03166110f9565b81156110dd576110dd843084610d3b565b600654610bf69085906001600160a01b0316611060858761155f565b6008805460ff191660011790558115611276576040805160028082526060820183526000926020830190803683370190505090503081600081518110611141576111416115df565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d79190611572565b816001815181106111ea576111ea6115df565b6001600160a01b03909216602092830291909101909101526040516318cbafe560e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d906318cbafe5906112429086906000908690889042906004016115f5565b600060405180830381600087803b15801561125c57600080fd5b505af1158015611270573d6000803e3d6000fd5b50505050505b50506008805460ff19169055565b60006020808352835180602085015260005b818110156112b257858101830151858201604001528201611296565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146112e857600080fd5b50565b600080604083850312156112fe57600080fd5b8235611309816112d3565b946020939093013593505050565b60008060006060848603121561132c57600080fd5b8335611337816112d3565b92506020840135611347816112d3565b929592945050506040919091013590565b60006020828403121561136a57600080fd5b8135611375816112d3565b9392505050565b60006020828403121561138e57600080fd5b5035919050565b600080604083850312156113a857600080fd5b82356113b3816112d3565b915060208301356113c3816112d3565b809150509250929050565b600181811c908216806113e257607f821691505b60208210810361140257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600a908201526937b7363c9037bbb732b960b11b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561045c5761045c61142c565b600181815b808511156114905781600019048211156114765761147661142c565b8085161561148357918102915b93841c939080029061145a565b509250929050565b6000826114a75750600161045c565b816114b45750600061045c565b81600181146114ca57600281146114d4576114f0565b600191505061045c565b60ff8411156114e5576114e561142c565b50506001821b61045c565b5060208310610133831016604e8410600b8410161715611513575081810a61045c565b61151d8383611455565b80600019048211156115315761153161142c565b029392505050565b600061137560ff841683611498565b808202811582820484141761045c5761045c61142c565b8181038181111561045c5761045c61142c565b60006020828403121561158457600080fd5b8151611375816112d3565b6000806000606084860312156115a457600080fd5b8351925060208401519150604084015190509250925092565b6000826115da57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156116475784516001600160a01b031683529383019391830191600101611622565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122061265963379dd31b79fe524793e508cb062bfd0533459a1caff70bb9fdc0de1564736f6c63430008170033
Deployed Bytecode
0x60806040526004361061012a5760003560e01c80638da5cb5b116100ab578063a9059cbb1161006f578063a9059cbb14610316578063af58c64714610336578063c45a01551461034b578063dc04ab571461036b578063dd62ed3e14610381578063e2a2617a146103a157600080fd5b80638da5cb5b1461028757806395d89b41146102b95780639e78fb4f146102ce578063a457c2d7146102d6578063a5628796146102f657600080fd5b8063333a0072116100f2578063333a0072146101e557806339509351146101fc5780635bb478081461021c57806370a082311461023c57806373f425611461027257600080fd5b806306fdde031461012f578063095ea7b31461015a57806318160ddd1461018a57806323b872dd146101a9578063313ce567146101c9575b600080fd5b34801561013b57600080fd5b506101446103b6565b6040516101519190611284565b60405180910390f35b34801561016657600080fd5b5061017a6101753660046112eb565b610448565b6040519015158152602001610151565b34801561019657600080fd5b506003545b604051908152602001610151565b3480156101b557600080fd5b5061017a6101c4366004611317565b610462565b3480156101d557600080fd5b5060405160098152602001610151565b3480156101f157600080fd5b506101fa610486565b005b34801561020857600080fd5b5061017a6102173660046112eb565b6104f2565b34801561022857600080fd5b506101fa610237366004611358565b610514565b34801561024857600080fd5b5061019b610257366004611358565b6001600160a01b031660009081526001602052604090205490565b34801561027e57600080fd5b5061019b610560565b34801561029357600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610151565b3480156102c557600080fd5b50610144610594565b6101fa6105a3565b3480156102e257600080fd5b5061017a6102f13660046112eb565b61084f565b34801561030257600080fd5b506101fa61031136600461137c565b6108ca565b34801561032257600080fd5b5061017a6103313660046112eb565b610908565b34801561034257600080fd5b5061019b610916565b34801561035757600080fd5b50600a546102a1906001600160a01b031681565b34801561037757600080fd5b5061019b60095481565b34801561038d57600080fd5b5061019b61039c366004611395565b610936565b3480156103ad57600080fd5b5061019b610961565b6060600480546103c5906113ce565b80601f01602080910402602001604051908101604052809291908181526020018280546103f1906113ce565b801561043e5780601f106104135761010080835404028352916020019161043e565b820191906000526020600020905b81548152906001019060200180831161042157829003601f168201915b5050505050905090565b600033610456818585610a5d565b60019150505b92915050565b600033610470858285610b82565b61047b858585610bfc565b506001949350505050565b6000546001600160a01b031633146104b95760405162461bcd60e51b81526004016104b090611408565b60405180910390fd5b600080546001600160a01b03191681556040517f6e4ee811a17215345b89e3506064ff2d62f4feedff3566e9d09219cda7e8cadb9190a1565b6000336104568185856105058383610936565b61050f9190611442565b610a5d565b6000546001600160a01b0316331461053e5760405162461bcd60e51b81526004016104b090611408565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600061056b60035490565b6105776009600a611539565b61058590633b9aca00611548565b61058f919061155f565b905090565b6060600580546103c5906113ce565b6008805460ff191660011790556040805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d9163c45a01559160048083019260209291908290030181865afa158015610600573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106249190611572565b6001600160a01b031663c9c6539630737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610685573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a99190611572565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156106f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071a9190611572565b600680546001600160a01b0319166001600160a01b0392909216919091179055610764307f0000000000000000000000000000000000000000000000000de0b6b3a7640000610c7a565b61078530737a250d5630b4cf539739df2c5dacb4c659f2488d600019610a5d565b60405163f305d71960e01b81523060048201527f0000000000000000000000000000000000000000000000000de0b6b3a7640000602482015260006044820181905260648201523360848201524260a4820152737a250d5630b4cf539739df2c5dacb4c659f2488d9063f305d71990349060c40160606040518083038185885af1158015610817573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061083c919061158f565b505042600755506008805460ff19169055565b6000338161085d8286610936565b9050838110156108bd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104b0565b61047b8286868403610a5d565b6000546001600160a01b031633146108f45760405162461bcd60e51b81526004016104b090611408565b60095481111561090357600080fd5b600955565b600033610456818585610bfc565b60006109246009600a611539565b61092c610961565b61058f91906115bd565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6006546000906001600160a01b031661098e576109806009600a611539565b61058f90633b9aca00611548565b6000620186a06005600754426109a4919061155f565b6109b06009600a611539565b6109be90633b9aca00611548565b6109c89190611548565b6109d29190611548565b6109dc91906115bd565b6127106109eb6009600a611539565b6109f990633b9aca00611548565b610a04906005611548565b610a0e91906115bd565b610a189190611442565b9050610a266009600a611539565b610a3490633b9aca00611548565b811115610a5857610a476009600a611539565b610a5590633b9aca00611548565b90505b919050565b6001600160a01b038316610abf5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104b0565b6001600160a01b038216610b205760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104b0565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610b8e8484610936565b90506000198114610bf65781811015610be95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104b0565b610bf68484848403610a5d565b50505050565b60085460ff1615610c1757610c12838383610d3b565b505050565b6001600160a01b038216610c2f57610c128382610e85565b6006546001600160a01b0390811690841603610c4f57610c128282610fb1565b6006546001600160a01b0390811690831603610c6f57610c128382611065565b610c12838383610d3b565b6001600160a01b038216610cd05760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104b0565b8060036000828254610ce29190611442565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038316610d9f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104b0565b6001600160a01b03831660009081526001602052604090205481811015610e175760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104b0565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610e779086815260200190565b60405180910390a350505050565b6001600160a01b038216610ee55760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016104b0565b6001600160a01b03821660009081526001602052604090205481811015610f595760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016104b0565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610b75565b80610fba610961565b8111156110095760405162461bcd60e51b815260206004820152601960248201527f6d617820627579207472616e73616374696f6e206c696d69740000000000000060448201526064016104b0565b60006103e86009548461101c9190611548565b61102691906115bd565b9050801561104557600654611045906001600160a01b03163083610d3b565b600654610bf6906001600160a01b031685611060848761155f565b610d3b565b60006103e8600954836110789190611548565b61108291906115bd565b306000908152600160205260409020549091506110a0836002611548565b8111156110b5576110b2836002611548565b90505b600a546110cc9082906001600160a01b03166110f9565b81156110dd576110dd843084610d3b565b600654610bf69085906001600160a01b0316611060858761155f565b6008805460ff191660011790558115611276576040805160028082526060820183526000926020830190803683370190505090503081600081518110611141576111416115df565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d79190611572565b816001815181106111ea576111ea6115df565b6001600160a01b03909216602092830291909101909101526040516318cbafe560e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d906318cbafe5906112429086906000908690889042906004016115f5565b600060405180830381600087803b15801561125c57600080fd5b505af1158015611270573d6000803e3d6000fd5b50505050505b50506008805460ff19169055565b60006020808352835180602085015260005b818110156112b257858101830151858201604001528201611296565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146112e857600080fd5b50565b600080604083850312156112fe57600080fd5b8235611309816112d3565b946020939093013593505050565b60008060006060848603121561132c57600080fd5b8335611337816112d3565b92506020840135611347816112d3565b929592945050506040919091013590565b60006020828403121561136a57600080fd5b8135611375816112d3565b9392505050565b60006020828403121561138e57600080fd5b5035919050565b600080604083850312156113a857600080fd5b82356113b3816112d3565b915060208301356113c3816112d3565b809150509250929050565b600181811c908216806113e257607f821691505b60208210810361140257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600a908201526937b7363c9037bbb732b960b11b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561045c5761045c61142c565b600181815b808511156114905781600019048211156114765761147661142c565b8085161561148357918102915b93841c939080029061145a565b509250929050565b6000826114a75750600161045c565b816114b45750600061045c565b81600181146114ca57600281146114d4576114f0565b600191505061045c565b60ff8411156114e5576114e561142c565b50506001821b61045c565b5060208310610133831016604e8410600b8410161715611513575081810a61045c565b61151d8383611455565b80600019048211156115315761153161142c565b029392505050565b600061137560ff841683611498565b808202811582820484141761045c5761045c61142c565b8181038181111561045c5761045c61142c565b60006020828403121561158457600080fd5b8151611375816112d3565b6000806000606084860312156115a457600080fd5b8351925060208401519150604084015190509250925092565b6000826115da57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156116475784516001600160a01b031683529383019391830191600101611622565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122061265963379dd31b79fe524793e508cb062bfd0533459a1caff70bb9fdc0de1564736f6c63430008170033
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.