ERC-20
Overview
Max Total Supply
1,000,000,000,000 YUMMY
Holders
195
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Yummy
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-04-30 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.19; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. C U ON THE MOON */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @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 ); } 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); } contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) internal _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 internal _totalSupply; string private _name; string private _symbol; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; if(currentAllowance != type(uint256).max) { require( currentAllowance >= amount, "ERC20: transfer amount exceeds allowance" ); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } } return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender] + addedValue ); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require( currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero" ); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); uint256 senderBalance = _balances[sender]; require( senderBalance >= amount, "ERC20: transfer amount exceeds balance" ); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } 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); } } contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); constructor() { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } interface IDexRouter { function factory() external pure returns (address); function WETH() external pure returns (address); } interface IDexFactory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IAntiSandwich { function initialize(address pair) external; function checkSandwich(address from, address to) external; } contract Yummy is ERC20, Ownable { uint8 constant _decimals = 9; uint256 constant _decimalFactor = 10 ** _decimals; IAntiSandwich public protector; constructor(address _sandwichProtector) ERC20("Yummy", "YUMMY") { address routerAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; IDexRouter dexRouter = IDexRouter(routerAddress); address lpPair = IDexFactory(dexRouter.factory()).createPair(dexRouter.WETH(), address(this)); protector = IAntiSandwich(_sandwichProtector); protector.initialize(lpPair); uint256 totalSupply = 1_000_000_000_000 * _decimalFactor; _balances[msg.sender] = totalSupply; emit Transfer(address(0), msg.sender, totalSupply); _totalSupply = totalSupply; } receive() external payable {} function decimals() public pure override returns (uint8) { return 9; } 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"); require(amount > 0, "amount must be greater than 0"); protector.checkSandwich(from, to); super._transfer(from, to, amount); } function withdrawStuckETH() external onlyOwner { bool success; (success, ) = address(msg.sender).call{value: address(this).balance}(""); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_sandwichProtector","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"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":[{"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":"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":"protector","outputs":[{"internalType":"contract IAntiSandwich","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620013b2380380620013b2833981016040819052620000349162000350565b6040518060400160405280600581526020016459756d6d7960d81b8152506040518060400160405280600581526020016459554d4d5960d81b815250816003908162000081919062000427565b50600462000090828262000427565b5050506000620000a56200034c60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000737a250d5630b4cf539739df2c5dacb4c659f2488d905060008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000152573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000178919062000350565b6001600160a01b031663c9c65396836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001c5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001eb919062000350565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523060248201526044016020604051808303816000875af115801562000238573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200025e919062000350565b600680546001600160a01b0319166001600160a01b0387811691821790925560405163189acdbd60e31b8152918316600483015291925063c4d66de890602401600060405180830381600087803b158015620002b957600080fd5b505af1158015620002ce573d6000803e3d6000fd5b5050505060006009600a620002e4919062000608565b620002f59064e8d4a5100062000619565b3360008181526020818152604080832085905551848152939450919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3600255506200063392505050565b3390565b6000602082840312156200036357600080fd5b81516001600160a01b03811681146200037b57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620003ad57607f821691505b602082108103620003ce57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200042257600081815260208120601f850160051c81016020861015620003fd5750805b601f850160051c820191505b818110156200041e5782815560010162000409565b5050505b505050565b81516001600160401b0381111562000443576200044362000382565b6200045b8162000454845462000398565b84620003d4565b602080601f8311600181146200049357600084156200047a5750858301515b600019600386901b1c1916600185901b1785556200041e565b600085815260208120601f198616915b82811015620004c457888601518255948401946001909101908401620004a3565b5085821015620004e35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200054a5781600019048211156200052e576200052e620004f3565b808516156200053c57918102915b93841c93908002906200050e565b509250929050565b600082620005635750600162000602565b81620005725750600062000602565b81600181146200058b57600281146200059657620005b6565b600191505062000602565b60ff841115620005aa57620005aa620004f3565b50506001821b62000602565b5060208310610133831016604e8410600b8410161715620005db575081810a62000602565b620005e7838362000509565b8060001904821115620005fe57620005fe620004f3565b0290505b92915050565b60006200037b60ff84168362000552565b8082028115828204841417620006025762000602620004f3565b610d6f80620006436000396000f3fe6080604052600436106100f75760003560e01c80638da5cb5b1161008a578063dd62ed3e11610059578063dd62ed3e146102ad578063f2fde38b146102f3578063f5648a4f14610313578063fd52f7221461032857600080fd5b80638da5cb5b1461022657806395d89b4114610258578063a457c2d71461026d578063a9059cbb1461028d57600080fd5b8063313ce567116100c6578063313ce5671461019d57806339509351146101b957806370a08231146101d9578063715018a61461020f57600080fd5b806306fdde0314610103578063095ea7b31461012e57806318160ddd1461015e57806323b872dd1461017d57600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b50610118610348565b6040516101259190610afc565b60405180910390f35b34801561013a57600080fd5b5061014e610149366004610b66565b6103da565b6040519015158152602001610125565b34801561016a57600080fd5b506002545b604051908152602001610125565b34801561018957600080fd5b5061014e610198366004610b90565b6103f1565b3480156101a957600080fd5b5060405160098152602001610125565b3480156101c557600080fd5b5061014e6101d4366004610b66565b6104a9565b3480156101e557600080fd5b5061016f6101f4366004610bcc565b6001600160a01b031660009081526020819052604090205490565b34801561021b57600080fd5b506102246104e5565b005b34801561023257600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610125565b34801561026457600080fd5b50610118610559565b34801561027957600080fd5b5061014e610288366004610b66565b610568565b34801561029957600080fd5b5061014e6102a8366004610b66565b610601565b3480156102b957600080fd5b5061016f6102c8366004610bee565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156102ff57600080fd5b5061022461030e366004610bcc565b61060e565b34801561031f57600080fd5b506102246106f9565b34801561033457600080fd5b50600654610240906001600160a01b031681565b60606003805461035790610c21565b80601f016020809104026020016040519081016040528092919081815260200182805461038390610c21565b80156103d05780601f106103a5576101008083540402835291602001916103d0565b820191906000526020600020905b8154815290600101906020018083116103b357829003601f168201915b5050505050905090565b60006103e7338484610770565b5060015b92915050565b60006103fe848484610894565b6001600160a01b0384166000908152600160209081526040808320338452909152902054600019811461049e57828110156104915760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61049e8533858403610770565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103e79185906104e0908690610c5b565b610770565b6005546001600160a01b0316331461050f5760405162461bcd60e51b815260040161048890610c7c565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b60606004805461035790610c21565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156105ea5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610488565b6105f73385858403610770565b5060019392505050565b60006103e7338484610894565b6005546001600160a01b031633146106385760405162461bcd60e51b815260040161048890610c7c565b6001600160a01b03811661069d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610488565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146107235760405162461bcd60e51b815260040161048890610c7c565b604051600090339047908381818185875af1925050503d8060008114610765576040519150601f19603f3d011682016040523d82523d6000602084013e61076a565b606091505b50505050565b6001600160a01b0383166107d25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610488565b6001600160a01b0382166108335760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610488565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166108ba5760405162461bcd60e51b815260040161048890610cb1565b6001600160a01b0382166108e05760405162461bcd60e51b815260040161048890610cf6565b600081116109305760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606401610488565b6006546040516364920f6760e01b81526001600160a01b0385811660048301528481166024830152909116906364920f6790604401600060405180830381600087803b15801561097f57600080fd5b505af1158015610993573d6000803e3d6000fd5b505050506109a28383836109a7565b505050565b6001600160a01b0383166109cd5760405162461bcd60e51b815260040161048890610cb1565b6001600160a01b0382166109f35760405162461bcd60e51b815260040161048890610cf6565b6001600160a01b03831660009081526020819052604090205481811015610a6b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610488565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610aa2908490610c5b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610aee91815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015610b2957858101830151858201604001528201610b0d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610b6157600080fd5b919050565b60008060408385031215610b7957600080fd5b610b8283610b4a565b946020939093013593505050565b600080600060608486031215610ba557600080fd5b610bae84610b4a565b9250610bbc60208501610b4a565b9150604084013590509250925092565b600060208284031215610bde57600080fd5b610be782610b4a565b9392505050565b60008060408385031215610c0157600080fd5b610c0a83610b4a565b9150610c1860208401610b4a565b90509250929050565b600181811c90821680610c3557607f821691505b602082108103610c5557634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156103eb57634e487b7160e01b600052601160045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b60608201526080019056fea26469706673582212209b3d9adf94e6de2099a72733b819c8c53eb783c931e205f3e673dee99a85408d64736f6c634300081300330000000000000000000000002220995ae24b8decd20da76e8fa0c68f48a9b198
Deployed Bytecode
0x6080604052600436106100f75760003560e01c80638da5cb5b1161008a578063dd62ed3e11610059578063dd62ed3e146102ad578063f2fde38b146102f3578063f5648a4f14610313578063fd52f7221461032857600080fd5b80638da5cb5b1461022657806395d89b4114610258578063a457c2d71461026d578063a9059cbb1461028d57600080fd5b8063313ce567116100c6578063313ce5671461019d57806339509351146101b957806370a08231146101d9578063715018a61461020f57600080fd5b806306fdde0314610103578063095ea7b31461012e57806318160ddd1461015e57806323b872dd1461017d57600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b50610118610348565b6040516101259190610afc565b60405180910390f35b34801561013a57600080fd5b5061014e610149366004610b66565b6103da565b6040519015158152602001610125565b34801561016a57600080fd5b506002545b604051908152602001610125565b34801561018957600080fd5b5061014e610198366004610b90565b6103f1565b3480156101a957600080fd5b5060405160098152602001610125565b3480156101c557600080fd5b5061014e6101d4366004610b66565b6104a9565b3480156101e557600080fd5b5061016f6101f4366004610bcc565b6001600160a01b031660009081526020819052604090205490565b34801561021b57600080fd5b506102246104e5565b005b34801561023257600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610125565b34801561026457600080fd5b50610118610559565b34801561027957600080fd5b5061014e610288366004610b66565b610568565b34801561029957600080fd5b5061014e6102a8366004610b66565b610601565b3480156102b957600080fd5b5061016f6102c8366004610bee565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156102ff57600080fd5b5061022461030e366004610bcc565b61060e565b34801561031f57600080fd5b506102246106f9565b34801561033457600080fd5b50600654610240906001600160a01b031681565b60606003805461035790610c21565b80601f016020809104026020016040519081016040528092919081815260200182805461038390610c21565b80156103d05780601f106103a5576101008083540402835291602001916103d0565b820191906000526020600020905b8154815290600101906020018083116103b357829003601f168201915b5050505050905090565b60006103e7338484610770565b5060015b92915050565b60006103fe848484610894565b6001600160a01b0384166000908152600160209081526040808320338452909152902054600019811461049e57828110156104915760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61049e8533858403610770565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103e79185906104e0908690610c5b565b610770565b6005546001600160a01b0316331461050f5760405162461bcd60e51b815260040161048890610c7c565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b60606004805461035790610c21565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156105ea5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610488565b6105f73385858403610770565b5060019392505050565b60006103e7338484610894565b6005546001600160a01b031633146106385760405162461bcd60e51b815260040161048890610c7c565b6001600160a01b03811661069d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610488565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146107235760405162461bcd60e51b815260040161048890610c7c565b604051600090339047908381818185875af1925050503d8060008114610765576040519150601f19603f3d011682016040523d82523d6000602084013e61076a565b606091505b50505050565b6001600160a01b0383166107d25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610488565b6001600160a01b0382166108335760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610488565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166108ba5760405162461bcd60e51b815260040161048890610cb1565b6001600160a01b0382166108e05760405162461bcd60e51b815260040161048890610cf6565b600081116109305760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606401610488565b6006546040516364920f6760e01b81526001600160a01b0385811660048301528481166024830152909116906364920f6790604401600060405180830381600087803b15801561097f57600080fd5b505af1158015610993573d6000803e3d6000fd5b505050506109a28383836109a7565b505050565b6001600160a01b0383166109cd5760405162461bcd60e51b815260040161048890610cb1565b6001600160a01b0382166109f35760405162461bcd60e51b815260040161048890610cf6565b6001600160a01b03831660009081526020819052604090205481811015610a6b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610488565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610aa2908490610c5b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610aee91815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015610b2957858101830151858201604001528201610b0d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610b6157600080fd5b919050565b60008060408385031215610b7957600080fd5b610b8283610b4a565b946020939093013593505050565b600080600060608486031215610ba557600080fd5b610bae84610b4a565b9250610bbc60208501610b4a565b9150604084013590509250925092565b600060208284031215610bde57600080fd5b610be782610b4a565b9392505050565b60008060408385031215610c0157600080fd5b610c0a83610b4a565b9150610c1860208401610b4a565b90509250929050565b600181811c90821680610c3557607f821691505b602082108103610c5557634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156103eb57634e487b7160e01b600052601160045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b60608201526080019056fea26469706673582212209b3d9adf94e6de2099a72733b819c8c53eb783c931e205f3e673dee99a85408d64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002220995ae24b8decd20da76e8fa0c68f48a9b198
-----Decoded View---------------
Arg [0] : _sandwichProtector (address): 0x2220995Ae24B8decD20dA76E8fa0C68F48A9b198
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002220995ae24b8decd20da76e8fa0c68f48a9b198
Deployed Bytecode Sourcemap
9194:1543:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4043:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5098:210;;;;;;;;;;-1:-1:-1;5098:210:0;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;5098:210:0;1004:187:1;4364:108:0;;;;;;;;;;-1:-1:-1;4452:12:0;;4364:108;;;1342:25:1;;;1330:2;1315:18;4364:108:0;1196:177:1;5316:620:0;;;;;;;;;;-1:-1:-1;5316:620:0;;;;;:::i;:::-;;:::i;10045:84::-;;;;;;;;;;-1:-1:-1;10045:84:0;;10120:1;1853:36:1;;1841:2;1826:18;10045:84:0;1711:184:1;5944:297:0;;;;;;;;;;-1:-1:-1;5944:297:0;;;;;:::i;:::-;;:::i;4480:177::-;;;;;;;;;;-1:-1:-1;4480:177:0;;;;;:::i;:::-;-1:-1:-1;;;;;4631:18:0;4599:7;4631:18;;;;;;;;;;;;4480:177;8343:148;;;;;;;;;;;;;:::i;:::-;;8129:79;;;;;;;;;;-1:-1:-1;8194:6:0;;-1:-1:-1;;;;;8194:6:0;8129:79;;;-1:-1:-1;;;;;2255:32:1;;;2237:51;;2225:2;2210:18;8129:79:0;2091:203:1;4151:104:0;;;;;;;;;;;;;:::i;6249:482::-;;;;;;;;;;-1:-1:-1;6249:482:0;;;;;:::i;:::-;;:::i;4665:216::-;;;;;;;;;;-1:-1:-1;4665:216:0;;;;;:::i;:::-;;:::i;4889:201::-;;;;;;;;;;-1:-1:-1;4889:201:0;;;;;:::i;:::-;-1:-1:-1;;;;;5055:18:0;;;5023:7;5055:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;4889:201;8499:281;;;;;;;;;;-1:-1:-1;8499:281:0;;;;;:::i;:::-;;:::i;10573:161::-;;;;;;;;;;;;;:::i;9327:30::-;;;;;;;;;;-1:-1:-1;9327:30:0;;;;-1:-1:-1;;;;;9327:30:0;;;4043:100;4097:13;4130:5;4123:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4043:100;:::o;5098:210::-;5217:4;5239:39;175:10;5262:7;5271:6;5239:8;:39::i;:::-;-1:-1:-1;5296:4:0;5098:210;;;;;:::o;5316:620::-;5456:4;5473:36;5483:6;5491:9;5502:6;5473:9;:36::i;:::-;-1:-1:-1;;;;;5549:19:0;;5522:24;5549:19;;;:11;:19;;;;;;;;175:10;5549:33;;;;;;;;-1:-1:-1;;5596:37:0;;5593:314;;5697:6;5677:16;:26;;5651:128;;;;-1:-1:-1;;;5651:128:0;;3380:2:1;5651:128:0;;;3362:21:1;3419:2;3399:18;;;3392:30;3458:34;3438:18;;;3431:62;-1:-1:-1;;;3509:18:1;;;3502:38;3557:19;;5651:128:0;;;;;;;;;5823:57;5832:6;175:10;5873:6;5854:16;:25;5823:8;:57::i;:::-;-1:-1:-1;5924:4:0;;5316:620;-1:-1:-1;;;;5316:620:0:o;5944:297::-;175:10;6059:4;6153:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;6153:34:0;;;;;;;;;;6059:4;;6081:130;;6131:7;;6153:47;;6190:10;;6153:47;:::i;:::-;6081:8;:130::i;8343:148::-;8256:6;;-1:-1:-1;;;;;8256:6:0;175:10;8256:22;8248:67;;;;-1:-1:-1;;;8248:67:0;;;;;;;:::i;:::-;8434:6:::1;::::0;8413:40:::1;::::0;8450:1:::1;::::0;-1:-1:-1;;;;;8434:6:0::1;::::0;8413:40:::1;::::0;8450:1;;8413:40:::1;8464:6;:19:::0;;-1:-1:-1;;;;;;8464:19:0::1;::::0;;8343:148::o;4151:104::-;4207:13;4240:7;4233:14;;;;;:::i;6249:482::-;175:10;6369:4;6418:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;6418:34:0;;;;;;;;;;6485:35;;;;6463:122;;;;-1:-1:-1;;;6463:122:0;;4377:2:1;6463:122:0;;;4359:21:1;4416:2;4396:18;;;4389:30;4455:34;4435:18;;;4428:62;-1:-1:-1;;;4506:18:1;;;4499:35;4551:19;;6463:122:0;4175:401:1;6463:122:0;6621:67;175:10;6644:7;6672:15;6653:16;:34;6621:8;:67::i;:::-;-1:-1:-1;6719:4:0;;6249:482;-1:-1:-1;;;6249:482:0:o;4665:216::-;4787:4;4809:42;175:10;4833:9;4844:6;4809:9;:42::i;8499:281::-;8256:6;;-1:-1:-1;;;;;8256:6:0;175:10;8256:22;8248:67;;;;-1:-1:-1;;;8248:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;8602:22:0;::::1;8580:110;;;::::0;-1:-1:-1;;;8580:110:0;;4783:2:1;8580:110:0::1;::::0;::::1;4765:21:1::0;4822:2;4802:18;;;4795:30;4861:34;4841:18;;;4834:62;-1:-1:-1;;;4912:18:1;;;4905:36;4958:19;;8580:110:0::1;4581:402:1::0;8580:110:0::1;8727:6;::::0;8706:38:::1;::::0;-1:-1:-1;;;;;8706:38:0;;::::1;::::0;8727:6:::1;::::0;8706:38:::1;::::0;8727:6:::1;::::0;8706:38:::1;8755:6;:17:::0;;-1:-1:-1;;;;;;8755:17:0::1;-1:-1:-1::0;;;;;8755:17:0;;;::::1;::::0;;;::::1;::::0;;8499:281::o;10573:161::-;8256:6;;-1:-1:-1;;;;;8256:6:0;175:10;8256:22;8248:67;;;;-1:-1:-1;;;8248:67:0;;;;;;;:::i;:::-;10668:58:::1;::::0;10631:12:::1;::::0;10676:10:::1;::::0;10700:21:::1;::::0;10631:12;10668:58;10631:12;10668:58;10700:21;10676:10;10668:58:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;10573:161:0:o;7398:380::-;-1:-1:-1;;;;;7534:19:0;;7526:68;;;;-1:-1:-1;;;7526:68:0;;5400:2:1;7526:68:0;;;5382:21:1;5439:2;5419:18;;;5412:30;5478:34;5458:18;;;5451:62;-1:-1:-1;;;5529:18:1;;;5522:34;5573:19;;7526:68:0;5198:400:1;7526:68:0;-1:-1:-1;;;;;7613:21:0;;7605:68;;;;-1:-1:-1;;;7605:68:0;;5805:2:1;7605:68:0;;;5787:21:1;5844:2;5824:18;;;5817:30;5883:34;5863:18;;;5856:62;-1:-1:-1;;;5934:18:1;;;5927:32;5976:19;;7605:68:0;5603:398:1;7605:68:0;-1:-1:-1;;;;;7686:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;7738:32;;1342:25:1;;;7738:32:0;;1315:18:1;7738:32:0;;;;;;;7398:380;;;:::o;10137:428::-;-1:-1:-1;;;;;10269:18:0;;10261:68;;;;-1:-1:-1;;;10261:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;10348:16:0;;10340:64;;;;-1:-1:-1;;;10340:64:0;;;;;;;:::i;:::-;10432:1;10423:6;:10;10415:52;;;;-1:-1:-1;;;10415:52:0;;7018:2:1;10415:52:0;;;7000:21:1;7057:2;7037:18;;;7030:30;7096:31;7076:18;;;7069:59;7145:18;;10415:52:0;6816:353:1;10415:52:0;10478:9;;:33;;-1:-1:-1;;;10478:33:0;;-1:-1:-1;;;;;7404:15:1;;;10478:33:0;;;7386:34:1;7456:15;;;7436:18;;;7429:43;10478:9:0;;;;:23;;7321:18:1;;10478:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10524;10540:4;10546:2;10550:6;10524:15;:33::i;:::-;10137:428;;;:::o;6739:651::-;-1:-1:-1;;;;;6879:20:0;;6871:70;;;;-1:-1:-1;;;6871:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;6960:23:0;;6952:71;;;;-1:-1:-1;;;6952:71:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;7060:17:0;;7036:21;7060:17;;;;;;;;;;;7110:23;;;;7088:111;;;;-1:-1:-1;;;7088:111:0;;7685:2:1;7088:111:0;;;7667:21:1;7724:2;7704:18;;;7697:30;7763:34;7743:18;;;7736:62;-1:-1:-1;;;7814:18:1;;;7807:36;7860:19;;7088:111:0;7483:402:1;7088:111:0;-1:-1:-1;;;;;7235:17:0;;;:9;:17;;;;;;;;;;;7255:22;;;7235:42;;7299:20;;;;;;;;:30;;7271:6;;7235:9;7299:30;;7271:6;;7299:30;:::i;:::-;;;;;;;;7364:9;-1:-1:-1;;;;;7347:35:0;7356:6;-1:-1:-1;;;;;7347:35:0;;7375:6;7347:35;;;;1342:25:1;;1330:2;1315:18;;1196:177;7347:35:0;;;;;;;;6860:530;6739:651;;;:::o;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;1900:186::-;1959:6;2012:2;2000:9;1991:7;1987:23;1983:32;1980:52;;;2028:1;2025;2018:12;1980:52;2051:29;2070:9;2051:29;:::i;:::-;2041:39;1900:186;-1:-1:-1;;;1900:186:1:o;2299:260::-;2367:6;2375;2428:2;2416:9;2407:7;2403:23;2399:32;2396:52;;;2444:1;2441;2434:12;2396:52;2467:29;2486:9;2467:29;:::i;:::-;2457:39;;2515:38;2549:2;2538:9;2534:18;2515:38;:::i;:::-;2505:48;;2299:260;;;;;:::o;2793:380::-;2872:1;2868:12;;;;2915;;;2936:61;;2990:4;2982:6;2978:17;2968:27;;2936:61;3043:2;3035:6;3032:14;3012:18;3009:38;3006:161;;3089:10;3084:3;3080:20;3077:1;3070:31;3124:4;3121:1;3114:15;3152:4;3149:1;3142:15;3006:161;;2793:380;;;:::o;3587:222::-;3652:9;;;3673:10;;;3670:133;;;3725:10;3720:3;3716:20;3713:1;3706:31;3760:4;3757:1;3750:15;3788:4;3785:1;3778:15;3814:356;4016:2;3998:21;;;4035:18;;;4028:30;4094:34;4089:2;4074:18;;4067:62;4161:2;4146:18;;3814:356::o;6006:401::-;6208:2;6190:21;;;6247:2;6227:18;;;6220:30;6286:34;6281:2;6266:18;;6259:62;-1:-1:-1;;;6352:2:1;6337:18;;6330:35;6397:3;6382:19;;6006:401::o;6412:399::-;6614:2;6596:21;;;6653:2;6633:18;;;6626:30;6692:34;6687:2;6672:18;;6665:62;-1:-1:-1;;;6758:2:1;6743:18;;6736:33;6801:3;6786:19;;6412:399::o
Swarm Source
ipfs://9b3d9adf94e6de2099a72733b819c8c53eb783c931e205f3e673dee99a85408d
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.