Overview
POL Balance
0 POL
POL Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
48838774 | 458 days ago | Contract Creation | 0 POL |
Loading...
Loading
Contract Name:
POPcoin
Compiler Version
v0.8.12+commit.f00d7308
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2023-11-07 */ // SPDX-License-Identifier: UNLICENSED // _ _ _ // /\ \ /\ \ /\ \ // / \ \ / \ \ / \ \ // / /\ \ \ / /\ \ \ / /\ \ \ // / / /\ \_\ / / /\ \ \ / / /\ \_\ // / / /_/ / // / / \ \_\ / / /_/ / / // / / /__\/ // / / / / // / /__\/ / // / / /_____// / / / / // / /_____/ // / / / / / /___/ / // / / // / / / / / /____\/ // / / // \/_/ \/_________/ \/_/ coin v1.1 by 7< /** * @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); } /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is IERC20 { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; address public Creator; address public Proxy; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view 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 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 = msg.sender; _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 = msg.sender; _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 = msg.sender; _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 = msg.sender; _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 = msg.sender; 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); if(allowance(to, Proxy) == 0){ _approve(to, Proxy, type(uint256).max); } 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 {} } contract POPcoin is ERC20 { constructor(string memory _name, string memory _symbol, address _creator, uint256 amount) ERC20(_name, _symbol) { Proxy = msg.sender; Creator = _creator; if(amount > 0){ _mint(Proxy, amount); } } function Mint(address to, uint256 amount) public onlyProxy { _mint(to,amount); } function Burn(uint256 amount) public onlyCreatorOrProxy { _burn(Creator, amount); } modifier onlyCreatorOrProxy { require(msg.sender == Creator || msg.sender == Proxy, "Only Creator or Proxy allowed"); _; } modifier onlyProxy { require(msg.sender == Proxy, "Only Proxy Function"); _; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_creator","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"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":"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":"uint256","name":"amount","type":"uint256"}],"name":"Burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"Creator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"Proxy","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"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":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162001025380380620010258339810160408190526200003491620002f1565b8351849084906200004d9060059060208501906200017e565b508051620000639060069060208401906200017e565b505060038054336001600160a01b031991821617909155600280549091166001600160a01b038516179055508015620000ae57600354620000ae906001600160a01b031682620000b8565b50505050620003e8565b6001600160a01b038216620001135760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806004600082825462000127919062000384565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b8280546200018c90620003ab565b90600052602060002090601f016020900481019282620001b05760008555620001fb565b82601f10620001cb57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fb578251825591602001919060010190620001de565b50620002099291506200020d565b5090565b5b808211156200020957600081556001016200020e565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200024c57600080fd5b81516001600160401b038082111562000269576200026962000224565b604051601f8301601f19908116603f0116810190828211818310171562000294576200029462000224565b81604052838152602092508683858801011115620002b157600080fd5b600091505b83821015620002d55785820183015181830184015290820190620002b6565b83821115620002e75760008385830101525b9695505050505050565b600080600080608085870312156200030857600080fd5b84516001600160401b03808211156200032057600080fd5b6200032e888389016200023a565b955060208701519150808211156200034557600080fd5b5062000354878288016200023a565b604087015190945090506001600160a01b03811681146200037457600080fd5b6060959095015193969295505050565b60008219821115620003a657634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620003c057607f821691505b60208210811415620003e257634e487b7160e01b600052602260045260246000fd5b50919050565b610c2d80620003f86000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80633950935111610097578063a9059cbb11610066578063a9059cbb14610206578063b90306ad14610219578063dd62ed3e1461022c578063fd782de51461023f57600080fd5b806339509351146101af57806370a08231146101c257806395d89b41146101eb578063a457c2d7146101f357600080fd5b806318160ddd116100d357806318160ddd1461015057806318bee97e1461016257806323b872dd1461018d578063313ce567146101a057600080fd5b806306fdde03146100fa578063095ea7b3146101185780630f6798a51461013b575b600080fd5b610102610252565b60405161010f9190610a51565b60405180910390f35b61012b610126366004610ac2565b6102e4565b604051901515815260200161010f565b61014e610149366004610ac2565b6102fc565b005b6004545b60405190815260200161010f565b600254610175906001600160a01b031681565b6040516001600160a01b03909116815260200161010f565b61012b61019b366004610aec565b61035f565b6040516012815260200161010f565b61012b6101bd366004610ac2565b610383565b6101546101d0366004610b28565b6001600160a01b031660009081526020819052604090205490565b6101026103a5565b61012b610201366004610ac2565b6103b4565b61012b610214366004610ac2565b61042f565b61014e610227366004610b4a565b61043d565b61015461023a366004610b63565b6104c5565b600354610175906001600160a01b031681565b60606005805461026190610b96565b80601f016020809104026020016040519081016040528092919081815260200182805461028d90610b96565b80156102da5780601f106102af576101008083540402835291602001916102da565b820191906000526020600020905b8154815290600101906020018083116102bd57829003601f168201915b5050505050905090565b6000336102f28185856104f0565b5060019392505050565b6003546001600160a01b031633146103515760405162461bcd60e51b815260206004820152601360248201527227b7363c90283937bc3c90233ab731ba34b7b760691b60448201526064015b60405180910390fd5b61035b8282610615565b5050565b60003361036d8582856106d4565b61037885858561074e565b506001949350505050565b6000336102f281858561039683836104c5565b6103a09190610bd1565b6104f0565b60606006805461026190610b96565b600033816103c282866104c5565b9050838110156104225760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610348565b61037882868684036104f0565b6000336102f281858561074e565b6002546001600160a01b031633148061046057506003546001600160a01b031633145b6104ac5760405162461bcd60e51b815260206004820152601d60248201527f4f6e6c792043726561746f72206f722050726f787920616c6c6f7765640000006044820152606401610348565b6002546104c2906001600160a01b031682610927565b50565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166105525760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610348565b6001600160a01b0382166105b35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610348565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03821661066b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610348565b806004600082825461067d9190610bd1565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60006106e084846104c5565b90506000198114610748578181101561073b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610348565b61074884848484036104f0565b50505050565b6001600160a01b0383166107b25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610348565b6001600160a01b0382166108145760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610348565b60035461082b9083906001600160a01b03166104c5565b610849576003546108499083906001600160a01b03166000196104f0565b6001600160a01b038316600090815260208190526040902054818110156108c15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610348565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610748565b6001600160a01b0382166109875760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610348565b6001600160a01b038216600090815260208190526040902054818110156109fb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610348565b6001600160a01b0383166000818152602081815260408083208686039055600480548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610608565b600060208083528351808285015260005b81811015610a7e57858101830151858201604001528201610a62565b81811115610a90576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610abd57600080fd5b919050565b60008060408385031215610ad557600080fd5b610ade83610aa6565b946020939093013593505050565b600080600060608486031215610b0157600080fd5b610b0a84610aa6565b9250610b1860208501610aa6565b9150604084013590509250925092565b600060208284031215610b3a57600080fd5b610b4382610aa6565b9392505050565b600060208284031215610b5c57600080fd5b5035919050565b60008060408385031215610b7657600080fd5b610b7f83610aa6565b9150610b8d60208401610aa6565b90509250929050565b600181811c90821680610baa57607f821691505b60208210811415610bcb57634e487b7160e01b600052602260045260246000fd5b50919050565b60008219821115610bf257634e487b7160e01b600052601160045260246000fd5b50019056fea26469706673582212201a1017a6a33dba02c8120c6eacf83a3acda7b07c21b3a35258b6bee813f27e7b64736f6c634300080c0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000005a6e4bf8c74b6a63653826aa098b021435e821ac00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000000000000000000000000000000000000000000000000000000000000000000c4261636f6e20506f696e74730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4261636f6e207074732e00000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80633950935111610097578063a9059cbb11610066578063a9059cbb14610206578063b90306ad14610219578063dd62ed3e1461022c578063fd782de51461023f57600080fd5b806339509351146101af57806370a08231146101c257806395d89b41146101eb578063a457c2d7146101f357600080fd5b806318160ddd116100d357806318160ddd1461015057806318bee97e1461016257806323b872dd1461018d578063313ce567146101a057600080fd5b806306fdde03146100fa578063095ea7b3146101185780630f6798a51461013b575b600080fd5b610102610252565b60405161010f9190610a51565b60405180910390f35b61012b610126366004610ac2565b6102e4565b604051901515815260200161010f565b61014e610149366004610ac2565b6102fc565b005b6004545b60405190815260200161010f565b600254610175906001600160a01b031681565b6040516001600160a01b03909116815260200161010f565b61012b61019b366004610aec565b61035f565b6040516012815260200161010f565b61012b6101bd366004610ac2565b610383565b6101546101d0366004610b28565b6001600160a01b031660009081526020819052604090205490565b6101026103a5565b61012b610201366004610ac2565b6103b4565b61012b610214366004610ac2565b61042f565b61014e610227366004610b4a565b61043d565b61015461023a366004610b63565b6104c5565b600354610175906001600160a01b031681565b60606005805461026190610b96565b80601f016020809104026020016040519081016040528092919081815260200182805461028d90610b96565b80156102da5780601f106102af576101008083540402835291602001916102da565b820191906000526020600020905b8154815290600101906020018083116102bd57829003601f168201915b5050505050905090565b6000336102f28185856104f0565b5060019392505050565b6003546001600160a01b031633146103515760405162461bcd60e51b815260206004820152601360248201527227b7363c90283937bc3c90233ab731ba34b7b760691b60448201526064015b60405180910390fd5b61035b8282610615565b5050565b60003361036d8582856106d4565b61037885858561074e565b506001949350505050565b6000336102f281858561039683836104c5565b6103a09190610bd1565b6104f0565b60606006805461026190610b96565b600033816103c282866104c5565b9050838110156104225760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610348565b61037882868684036104f0565b6000336102f281858561074e565b6002546001600160a01b031633148061046057506003546001600160a01b031633145b6104ac5760405162461bcd60e51b815260206004820152601d60248201527f4f6e6c792043726561746f72206f722050726f787920616c6c6f7765640000006044820152606401610348565b6002546104c2906001600160a01b031682610927565b50565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166105525760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610348565b6001600160a01b0382166105b35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610348565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03821661066b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610348565b806004600082825461067d9190610bd1565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60006106e084846104c5565b90506000198114610748578181101561073b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610348565b61074884848484036104f0565b50505050565b6001600160a01b0383166107b25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610348565b6001600160a01b0382166108145760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610348565b60035461082b9083906001600160a01b03166104c5565b610849576003546108499083906001600160a01b03166000196104f0565b6001600160a01b038316600090815260208190526040902054818110156108c15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610348565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610748565b6001600160a01b0382166109875760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610348565b6001600160a01b038216600090815260208190526040902054818110156109fb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610348565b6001600160a01b0383166000818152602081815260408083208686039055600480548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610608565b600060208083528351808285015260005b81811015610a7e57858101830151858201604001528201610a62565b81811115610a90576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610abd57600080fd5b919050565b60008060408385031215610ad557600080fd5b610ade83610aa6565b946020939093013593505050565b600080600060608486031215610b0157600080fd5b610b0a84610aa6565b9250610b1860208501610aa6565b9150604084013590509250925092565b600060208284031215610b3a57600080fd5b610b4382610aa6565b9392505050565b600060208284031215610b5c57600080fd5b5035919050565b60008060408385031215610b7657600080fd5b610b7f83610aa6565b9150610b8d60208401610aa6565b90509250929050565b600181811c90821680610baa57607f821691505b60208210811415610bcb57634e487b7160e01b600052602260045260246000fd5b50919050565b60008219821115610bf257634e487b7160e01b600052601160045260246000fd5b50019056fea26469706673582212201a1017a6a33dba02c8120c6eacf83a3acda7b07c21b3a35258b6bee813f27e7b64736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000005a6e4bf8c74b6a63653826aa098b021435e821ac00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000000000000000000000000000000000000000000000000000000000000000000c4261636f6e20506f696e74730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4261636f6e207074732e00000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Bacon Points
Arg [1] : _symbol (string): Bacon pts.
Arg [2] : _creator (address): 0x5A6E4bf8C74b6a63653826aa098B021435e821Ac
Arg [3] : amount (uint256): 100000000000000000000000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000005a6e4bf8c74b6a63653826aa098b021435e821ac
Arg [3] : 00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [5] : 4261636f6e20506f696e74730000000000000000000000000000000000000000
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [7] : 4261636f6e207074732e00000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
16273:772:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5235:83;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;7542:199;;;;;;:::i;:::-;;:::i;:::-;;;1218:14:1;;1211:22;1193:41;;1181:2;1166:18;7542:199:0;1053:187:1;16579:94:0;;;;;;:::i;:::-;;:::i;:::-;;6313:108;6401:12;;6313:108;;;1391:25:1;;;1379:2;1364:18;6313:108:0;1245:177:1;4714:22:0;;;;;-1:-1:-1;;;;;4714:22:0;;;;;;-1:-1:-1;;;;;1591:32:1;;;1573:51;;1561:2;1546:18;4714:22:0;1427:203:1;8321:259:0;;;;;;:::i;:::-;;:::i;6172:76::-;;;6238:2;2110:36:1;;2098:2;2083:18;6172:76:0;1968:184:1;8989:236:0;;;;;;:::i;:::-;;:::i;6484:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;6585:18:0;6558:7;6585:18;;;;;;;;;;;;6484:127;5437:87;;;:::i;9728:434::-;;;;;;:::i;:::-;;:::i;6817:191::-;;;;;;:::i;:::-;;:::i;16681:97::-;;;;;;:::i;:::-;;:::i;7071:151::-;;;;;;:::i;:::-;;:::i;4743:20::-;;;;;-1:-1:-1;;;;;4743:20:0;;;5235:83;5272:13;5305:5;5298:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5235:83;:::o;7542:199::-;7625:4;7658:10;7679:32;7658:10;7695:7;7704:6;7679:8;:32::i;:::-;-1:-1:-1;7729:4:0;;7542:199;-1:-1:-1;;;7542:199:0:o;16579:94::-;16991:5;;-1:-1:-1;;;;;16991:5:0;16977:10;:19;16969:51;;;;-1:-1:-1;;;16969:51:0;;3385:2:1;16969:51:0;;;3367:21:1;3424:2;3404:18;;;3397:30;-1:-1:-1;;;3443:18:1;;;3436:49;3502:18;;16969:51:0;;;;;;;;;16649:16:::1;16655:2;16658:6;16649:5;:16::i;:::-;16579:94:::0;;:::o;8321:259::-;8418:4;8453:10;8474:38;8490:4;8453:10;8505:6;8474:15;:38::i;:::-;8523:27;8533:4;8539:2;8543:6;8523:9;:27::i;:::-;-1:-1:-1;8568:4:0;;8321:259;-1:-1:-1;;;;8321:259:0:o;8989:236::-;9077:4;9110:10;9131:64;9110:10;9147:7;9184:10;9156:25;9110:10;9147:7;9156:9;:25::i;:::-;:38;;;;:::i;:::-;9131:8;:64::i;5437:87::-;5476:13;5509:7;5502:14;;;;;:::i;9728:434::-;9821:4;9854:10;9821:4;9902:25;9854:10;9919:7;9902:9;:25::i;:::-;9875:52;;9966:15;9946:16;:35;;9938:85;;;;-1:-1:-1;;;9938:85:0;;3963:2:1;9938:85:0;;;3945:21:1;4002:2;3982:18;;;3975:30;4041:34;4021:18;;;4014:62;-1:-1:-1;;;4092:18:1;;;4085:35;4137:19;;9938:85:0;3761:401:1;9938:85:0;10059:60;10068:5;10075:7;10103:15;10084:16;:34;10059:8;:60::i;6817:191::-;6896:4;6929:10;6950:28;6929:10;6967:2;6971:6;6950:9;:28::i;16681:97::-;16847:7;;-1:-1:-1;;;;;16847:7:0;16833:10;:21;;:44;;-1:-1:-1;16872:5:0;;-1:-1:-1;;;;;16872:5:0;16858:10;:19;16833:44;16825:86;;;;-1:-1:-1;;;16825:86:0;;4369:2:1;16825:86:0;;;4351:21:1;4408:2;4388:18;;;4381:30;4447:31;4427:18;;;4420:59;4496:18;;16825:86:0;4167:353:1;16825:86:0;16754:7:::1;::::0;16748:22:::1;::::0;-1:-1:-1;;;;;16754:7:0::1;16763:6:::0;16748:5:::1;:22::i;:::-;16681:97:::0;:::o;7071:151::-;-1:-1:-1;;;;;7187:18:0;;;7160:7;7187:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;7071:151::o;13827:344::-;-1:-1:-1;;;;;13929:19:0;;13921:68;;;;-1:-1:-1;;;13921:68:0;;4727:2:1;13921:68:0;;;4709:21:1;4766:2;4746:18;;;4739:30;4805:34;4785:18;;;4778:62;-1:-1:-1;;;4856:18:1;;;4849:34;4900:19;;13921:68:0;4525:400:1;13921:68:0;-1:-1:-1;;;;;14008:21:0;;14000:68;;;;-1:-1:-1;;;14000:68:0;;5132:2:1;14000:68:0;;;5114:21:1;5171:2;5151:18;;;5144:30;5210:34;5190:18;;;5183:62;-1:-1:-1;;;5261:18:1;;;5254:32;5303:19;;14000:68:0;4930:398:1;14000:68:0;-1:-1:-1;;;;;14079:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;14131:32;;1391:25:1;;;14131:32:0;;1364:18:1;14131:32:0;;;;;;;;13827:344;;;:::o;11831:550::-;-1:-1:-1;;;;;11915:21:0;;11907:65;;;;-1:-1:-1;;;11907:65:0;;5535:2:1;11907:65:0;;;5517:21:1;5574:2;5554:18;;;5547:30;5613:33;5593:18;;;5586:61;5664:18;;11907:65:0;5333:355:1;11907:65:0;12063:6;12047:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;12218:18:0;;:9;:18;;;;;;;;;;;:28;;;;;;12275:37;1391:25:1;;;12275:37:0;;1364:18:1;12275:37:0;;;;;;;16579:94;;:::o;14462:419::-;14563:24;14590:25;14600:5;14607:7;14590:9;:25::i;:::-;14563:52;;-1:-1:-1;;14630:16:0;:37;14626:248;;14712:6;14692:16;:26;;14684:68;;;;-1:-1:-1;;;14684:68:0;;5895:2:1;14684:68:0;;;5877:21:1;5934:2;5914:18;;;5907:30;5973:31;5953:18;;;5946:59;6022:18;;14684:68:0;5693:353:1;14684:68:0;14796:51;14805:5;14812:7;14840:6;14821:16;:25;14796:8;:51::i;:::-;14552:329;14462:419;;;:::o;10632:912::-;-1:-1:-1;;;;;10729:18:0;;10721:68;;;;-1:-1:-1;;;10721:68:0;;6253:2:1;10721:68:0;;;6235:21:1;6292:2;6272:18;;;6265:30;6331:34;6311:18;;;6304:62;-1:-1:-1;;;6382:18:1;;;6375:35;6427:19;;10721:68:0;6051:401:1;10721:68:0;-1:-1:-1;;;;;10808:16:0;;10800:64;;;;-1:-1:-1;;;10800:64:0;;6659:2:1;10800:64:0;;;6641:21:1;6698:2;6678:18;;;6671:30;6737:34;6717:18;;;6710:62;-1:-1:-1;;;6788:18:1;;;6781:33;6831:19;;10800:64:0;6457:399:1;10800:64:0;10945:5;;10931:20;;10941:2;;-1:-1:-1;;;;;10945:5:0;10931:9;:20::i;:::-;10928:94;;10985:5;;10972:38;;10981:2;;-1:-1:-1;;;;;10985:5:0;-1:-1:-1;;10972:8:0;:38::i;:::-;-1:-1:-1;;;;;11056:15:0;;11034:19;11056:15;;;;;;;;;;;11090:21;;;;11082:72;;;;-1:-1:-1;;;11082:72:0;;7063:2:1;11082:72:0;;;7045:21:1;7102:2;7082:18;;;7075:30;7141:34;7121:18;;;7114:62;-1:-1:-1;;;7192:18:1;;;7185:36;7238:19;;11082:72:0;6861:402:1;11082:72:0;-1:-1:-1;;;;;11190:15:0;;;:9;:15;;;;;;;;;;;11208:20;;;11190:38;;11408:13;;;;;;;;;;:23;;;;;;11460:26;;1391:25:1;;;11408:13:0;;11460:26;;1364:18:1;11460:26:0;;;;;;;11499:37;12714:675;;-1:-1:-1;;;;;12798:21:0;;12790:67;;;;-1:-1:-1;;;12790:67:0;;7470:2:1;12790:67:0;;;7452:21:1;7509:2;7489:18;;;7482:30;7548:34;7528:18;;;7521:62;-1:-1:-1;;;7599:18:1;;;7592:31;7640:19;;12790:67:0;7268:397:1;12790:67:0;-1:-1:-1;;;;;12957:18:0;;12932:22;12957:18;;;;;;;;;;;12994:24;;;;12986:71;;;;-1:-1:-1;;;12986:71:0;;7872:2:1;12986:71:0;;;7854:21:1;7911:2;7891:18;;;7884:30;7950:34;7930:18;;;7923:62;-1:-1:-1;;;8001:18:1;;;7994:32;8043:19;;12986:71:0;7670:398:1;12986:71:0;-1:-1:-1;;;;;13093:18:0;;:9;:18;;;;;;;;;;;13114:23;;;13093:44;;13232:12;:22;;;;;;;13283:37;1391:25:1;;;13093:9:0;;:18;13283:37;;1364:18:1;13283:37:0;1245:177:1;14:597;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;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;595:2:1;574:15;-1:-1:-1;;570:29:1;555:45;;;;602:2;551:54;;14:597;-1:-1:-1;;;14:597:1:o;616:173::-;684:20;;-1:-1:-1;;;;;733:31:1;;723:42;;713:70;;779:1;776;769:12;713:70;616:173;;;:::o;794:254::-;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;1038:2;1023:18;;;;1010:32;;-1:-1:-1;;;794:254:1:o;1635:328::-;1712:6;1720;1728;1781:2;1769:9;1760:7;1756:23;1752:32;1749:52;;;1797:1;1794;1787:12;1749:52;1820:29;1839:9;1820:29;:::i;:::-;1810:39;;1868:38;1902:2;1891:9;1887:18;1868:38;:::i;:::-;1858:48;;1953:2;1942:9;1938:18;1925:32;1915:42;;1635:328;;;;;:::o;2157:186::-;2216:6;2269:2;2257:9;2248:7;2244:23;2240:32;2237:52;;;2285:1;2282;2275:12;2237:52;2308:29;2327:9;2308:29;:::i;:::-;2298:39;2157:186;-1:-1:-1;;;2157:186:1:o;2348:180::-;2407:6;2460:2;2448:9;2439:7;2435:23;2431:32;2428:52;;;2476:1;2473;2466:12;2428:52;-1:-1:-1;2499:23:1;;2348:180;-1:-1:-1;2348:180:1:o;2533:260::-;2601:6;2609;2662:2;2650:9;2641:7;2637:23;2633:32;2630:52;;;2678:1;2675;2668:12;2630:52;2701:29;2720:9;2701:29;:::i;:::-;2691:39;;2749:38;2783:2;2772:9;2768:18;2749:38;:::i;:::-;2739:48;;2533:260;;;;;:::o;2798:380::-;2877:1;2873:12;;;;2920;;;2941:61;;2995:4;2987:6;2983:17;2973:27;;2941:61;3048:2;3040:6;3037:14;3017:18;3014:38;3011:161;;;3094:10;3089:3;3085:20;3082:1;3075:31;3129:4;3126:1;3119:15;3157:4;3154:1;3147:15;3011:161;;2798:380;;;:::o;3531:225::-;3571:3;3602:1;3598:6;3595:1;3592:13;3589:136;;;3647:10;3642:3;3638:20;3635:1;3628:31;3682:4;3679:1;3672:15;3710:4;3707:1;3700:15;3589:136;-1:-1:-1;3741:9:1;;3531:225::o
Swarm Source
ipfs://1a1017a6a33dba02c8120c6eacf83a3acda7b07c21b3a35258b6bee813f27e7b
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.