Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Loading...
Loading
Contract Name:
PlanetPepe
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/[email protected]/token/ERC20/ERC20.sol"; import "@openzeppelin/[email protected]/security/ReentrancyGuard.sol"; contract PlanetPepe is ERC20, ReentrancyGuard { //⠀⠀⠀⠀⠀⣀⣀⣀⣀⣀⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⣠⡶⠛⠉⠀⠀⠀⠀⠀⠀⠀⠈⠙⠻⢦⡀⠀⢀⣴⠞⠋⠉⠉⠉⠉⠙⠛⠶⣤⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ //⢀⡾⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⣶⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ //⢠⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣀⣀⠀⠸⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⢷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ //⠘⠀⠀⠀⠀⠀⠀⢀⣴⠖⠛⠋⠉⠉⠉⠉⠉⠉⠙⠛⠻⢦⣄⠀⠀⣀⣠⣤⣤⣤⣤⣤⣄⣀⠈⢷⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⢠⡾⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢻⣏⠉⠀⠀⠀⠀⠀⠀⠈⠉⠙⠲⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠻⣤⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣤⣀⣀⣀⣀⣤⣄⣤⣤⣄⣀⣀⣤⣀⡈⢷⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⡈⢻⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⢀⡴⠟⠉⣉⣉⣩⣭⣽⠥⠦⣤⣌⣉⠛⠿⢦⣄⠈⠛⢶⣗⠀⠀⠀⠀⠀⢰⣞⣻⣽⣽⣭⣭⣭⣽⣷⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⢀⡴⢋⣠⠾⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠉⠻⢦⣄⡙⢷⣄⠀⠹⣧⡀⠀⢀⡶⠟⣫⣭⢿⡿⠿⠿⠷⣦⡉⢻⣿⡄⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⢻⣧⣾⣁⣤⡤⠴⠶⠖⣶⣶⣶⣶⣶⣶⣶⣶⠒⠛⠛⠳⣿⢷⣤⢺⣇⠀⠉⣢⣿⣿⣿⣾⣶⣶⣦⣄⡀⠹⣾⡏⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠉⠙⡳⠶⣄⣼⣿⣷⢾⣿⡟⠋⠛⣿⡇⠀⠀⠀⠈⣷⠘⢷⡟⢀⡾⣿⣿⣩⣿⣿⠿⢿⣧⠈⠙⠳⢾⣇⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⣦⡈⠻⢿⣿⣼⣿⣷⣦⣾⣿⠇⠀⠀⠀⠀⠘⣧⢸⢣⡟⠀⣿⣿⣟⣿⣿⣤⣾⡿⠀⢀⣴⢿⡟⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⣦⣀⠀⠉⠉⠛⠿⠿⠿⢤⣤⣤⡴⠖⠛⢉⣿⠈⢹⡓⢿⠿⠿⠿⠿⠿⠿⠷⠞⠋⣡⡾⠁⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠙⠛⠛⠛⠛⠳⠶⠤⠴⠶⢤⣴⠾⠋⠁⠀⠈⠛⠶⣤⡤⠤⠴⠆⢀⡾⢷⣾⢯⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⣴⡶⠶⠖⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⠞⠁⠀⠀⠀⠀⠀⠀⠀⠈⢳⣄⠀⠀⠛⠛⠛⠁⠀⢻⣆⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⣀⣠⣴⡶⠾⠆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣤⠶⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⢧⠀⠀⠀⠀⠀⠀⠀⣿⣦⠀⠀⠀⠀⠀⠀⠀ //⠀⣼⢏⣿⠛⠿⠶⢤⣄⣀⡀⠀⠀⠀⠀⠐⠻⠛⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⠇⢸⡇⠀⠀⠀⠀⠀⠀ //⠀⠈⠘⣿⣄⠘⢷⣄⣀⠉⠙⠛⠒⠲⠶⣤⣤⣄⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡾⠃⣠⡟⠁⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠈⠙⠷⣄⣈⠉⠙⠳⠶⢤⣄⣀⡀⠀⠀⠉⠉⠉⠛⠛⠳⠶⠶⠶⠶⠶⠶⠤⢤⣤⣤⣤⣤⣤⣤⡤⠶⠾⠋⣠⣾⡋⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠙⠛⢦⣄⡀⠀⠈⠉⠙⠛⠛⠛⠛⠛⠛⠶⢦⣤⣤⣤⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣤⠾⠋⢸⡇⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⠳⢶⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠀⠀⣰⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⠶⠦⠤⠤⢤⣄⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣠⣤⣄⣀⣀⣠⡤⠞⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⣉⣭⣉⠁⠀⣠⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⡶⠛⠉⠉⠙⢷⣴⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡴⠛⠁⠀⠀⠀⠀⠀⠀⠹⠦⣄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡶⠒⠳⣦⠾⠛⢷⡄⠀⠀⣠⡴⢶⣤⣄⠀⣠⡌⠙⠷⣄⡀⠀⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢿⣄⠀⠀⠹⣦⣠⣾⣃⡴⠟⢁⡼⢋⣴⣯⠞⠋⠀⠀⠀⠈⠻⣆⠀⠀⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⣦⡀⠀⠈⠉⢿⠁⢠⡼⣋⡴⠟⠋⠁⠀⠀⠀⠀⠀⠀⠀⠙⢷⡄⠀⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢷⡄⠀⠀⢸⣶⢋⣼⠋⠀⠀⠀⠀⣀⡴⠟⠀⠀⠀⠀⠀⠀⢻⣄⠀⠀ //⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⡇⠀⠀⠀⠙⠿⣧⡀⠀⠀⠀⣴⠏⠀⠀⠀⢀⣴⠆⠀⢀⠀⠻⣆⠀ //⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⣇⠀⠀⠀⠀⠀⠈⠻⣦⣤⣼⠃⠀⠀⢀⣠⠞⠁⠀⣠⡾⠀⠀⠻⡆ //⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠟⠃⠹⠗⠀⠀⠀⠀⠀⠀⠀⠀⠙⠓⠀⠀⠾⠃⠀⠀⠸⠋⠀⠀⠀⠀⠿"; address public owner; address private constant MINT_ADDRESS_1 = 0x33502F0e832E1622Ad45128bdAd977347c426F67; address private constant MINT_ADDRESS_2 = 0x457512f732368633F037ad44f99533Dc2a754b6c; address private constant MINT_ADDRESS_3 = 0x40Bd35d4e6C73B2d580F77208785dB2b104DA0ee; address private constant MINT_ADDRESS_4 = 0xfb706F363b983c03C5a35192E57489897Be6e5a6; uint256 private constant TOTAL_SUPPLY = 420690000 * 10 ** 18; uint256 private constant MINT_PERCENT_1 = 69; uint256 private constant MINT_PERCENT_2 = 9; uint256 private constant MINT_PERCENT_3 = 16; uint256 private constant MINT_PERCENT_4 = 6; string public ipfsLink = "https://ipfs.io/ipfs/QmbYkN3jD1FgpNdwaMtCAg5KPbA9N5SWrKdA6aCqxSbVnh?filename=PP.png"; constructor(string memory _ipfsLink) ERC20("Planet Pepe", "PP") { owner = address(0x0000000000000000000000000000000000000000); ipfsLink = _ipfsLink; // Set the IPFS link _mint(MINT_ADDRESS_1, (TOTAL_SUPPLY * MINT_PERCENT_1) / 100); _mint(MINT_ADDRESS_2, (TOTAL_SUPPLY * MINT_PERCENT_2) / 100); _mint(MINT_ADDRESS_3, (TOTAL_SUPPLY * MINT_PERCENT_3) / 100); _mint(MINT_ADDRESS_4, (TOTAL_SUPPLY * MINT_PERCENT_4) / 100); } function transfer(address recipient, uint256 amount) public override nonReentrant returns (bool) { require(amount <= balanceOf(msg.sender), "Insufficient balance"); _transfer(msg.sender, recipient, amount); return true; } function approve(address spender, uint256 amount) public override nonReentrant returns (bool) { _approve(msg.sender, spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public override nonReentrant returns (bool) { require(amount <= balanceOf(sender), "Insufficient balance"); require(amount <= allowance(sender, msg.sender), "Insufficient allowance"); _transfer(sender, recipient, amount); _approve(sender, msg.sender, allowance(sender, msg.sender) - amount); return true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ 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"); _beforeTokenTransfer(sender, recipient, amount); 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); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT 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.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 pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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. */ 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_ipfsLink","type":"string"}],"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":"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":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"ipfsLink","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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"}]
Contract Creation Code
6080604052604051806080016040528060538152602001620021b660539139600790816200002e91906200068b565b503480156200003c57600080fd5b5060405162002209380380620022098339818101604052810190620000629190620008d6565b6040518060400160405280600b81526020017f506c616e657420506570650000000000000000000000000000000000000000008152506040518060400160405280600281526020017f50500000000000000000000000000000000000000000000000000000000000008152508160039081620000df91906200068b565b508060049081620000f191906200068b565b50505060016005819055506000600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600790816200014f91906200068b565b506200019e7333502f0e832e1622ad45128bdad977347c426f67606460456b015bfc9298de952e2f40000062000186919062000956565b620001929190620009d0565b6200028f60201b60201c565b620001ec73457512f732368633f037ad44f99533dc2a754b6c606460096b015bfc9298de952e2f400000620001d4919062000956565b620001e09190620009d0565b6200028f60201b60201c565b6200023a7340bd35d4e6c73b2d580f77208785db2b104da0ee606460106b015bfc9298de952e2f40000062000222919062000956565b6200022e9190620009d0565b6200028f60201b60201c565b6200028873fb706f363b983c03c5a35192e57489897be6e5a6606460066b015bfc9298de952e2f40000062000270919062000956565b6200027c9190620009d0565b6200028f60201b60201c565b5062000af4565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000301576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002f89062000a69565b60405180910390fd5b62000315600083836200040760201b60201c565b806002600082825462000329919062000a8b565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000380919062000a8b565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620003e7919062000ad7565b60405180910390a362000403600083836200040c60201b60201c565b5050565b505050565b505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200049357607f821691505b602082108103620004a957620004a86200044b565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005137fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004d4565b6200051f8683620004d4565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200056c62000566620005608462000537565b62000541565b62000537565b9050919050565b6000819050919050565b62000588836200054b565b620005a0620005978262000573565b848454620004e1565b825550505050565b600090565b620005b7620005a8565b620005c48184846200057d565b505050565b5b81811015620005ec57620005e0600082620005ad565b600181019050620005ca565b5050565b601f8211156200063b576200060581620004af565b6200061084620004c4565b8101602085101562000620578190505b620006386200062f85620004c4565b830182620005c9565b50505b505050565b600082821c905092915050565b6000620006606000198460080262000640565b1980831691505092915050565b60006200067b83836200064d565b9150826002028217905092915050565b620006968262000411565b67ffffffffffffffff811115620006b257620006b16200041c565b5b620006be82546200047a565b620006cb828285620005f0565b600060209050601f831160018114620007035760008415620006ee578287015190505b620006fa85826200066d565b8655506200076a565b601f1984166200071386620004af565b60005b828110156200073d5784890151825560018201915060208501945060208101905062000716565b868310156200075d578489015162000759601f8916826200064d565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620007ac8262000790565b810181811067ffffffffffffffff82111715620007ce57620007cd6200041c565b5b80604052505050565b6000620007e362000772565b9050620007f18282620007a1565b919050565b600067ffffffffffffffff8211156200081457620008136200041c565b5b6200081f8262000790565b9050602081019050919050565b60005b838110156200084c5780820151818401526020810190506200082f565b60008484015250505050565b60006200086f6200086984620007f6565b620007d7565b9050828152602081018484840111156200088e576200088d6200078b565b5b6200089b8482856200082c565b509392505050565b600082601f830112620008bb57620008ba62000786565b5b8151620008cd84826020860162000858565b91505092915050565b600060208284031215620008ef57620008ee6200077c565b5b600082015167ffffffffffffffff81111562000910576200090f62000781565b5b6200091e84828501620008a3565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620009638262000537565b9150620009708362000537565b9250828202620009808162000537565b915082820484148315176200099a576200099962000927565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000620009dd8262000537565b9150620009ea8362000537565b925082620009fd57620009fc620009a1565b5b828204905092915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000a51601f8362000a08565b915062000a5e8262000a19565b602082019050919050565b6000602082019050818103600083015262000a848162000a42565b9050919050565b600062000a988262000537565b915062000aa58362000537565b925082820190508082111562000ac05762000abf62000927565b5b92915050565b62000ad18162000537565b82525050565b600060208201905062000aee600083018462000ac6565b92915050565b6116b28062000b046000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063395093511161008c57806395d89b411161006657806395d89b411461022a578063a457c2d714610248578063a9059cbb14610278578063dd62ed3e146102a8576100cf565b806339509351146101ac57806370a08231146101dc5780638da5cb5b1461020c576100cf565b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461012257806323b872dd146101405780632b9d8c9a14610170578063313ce5671461018e575b600080fd5b6100dc6102d8565b6040516100e99190610e59565b60405180910390f35b61010c60048036038101906101079190610f14565b61036a565b6040516101199190610f6f565b60405180910390f35b61012a6103d6565b6040516101379190610f99565b60405180910390f35b61015a60048036038101906101559190610fb4565b6103e0565b6040516101679190610f6f565b60405180910390f35b610178610503565b6040516101859190610e59565b60405180910390f35b610196610591565b6040516101a39190611023565b60405180910390f35b6101c660048036038101906101c19190610f14565b61059a565b6040516101d39190610f6f565b60405180910390f35b6101f660048036038101906101f1919061103e565b610646565b6040516102039190610f99565b60405180910390f35b61021461068e565b604051610221919061107a565b60405180910390f35b6102326106b4565b60405161023f9190610e59565b60405180910390f35b610262600480360381019061025d9190610f14565b610746565b60405161026f9190610f6f565b60405180910390f35b610292600480360381019061028d9190610f14565b610831565b60405161029f9190610f6f565b60405180910390f35b6102c260048036038101906102bd9190611095565b6108e8565b6040516102cf9190610f99565b60405180910390f35b6060600380546102e790611104565b80601f016020809104026020016040519081016040528092919081815260200182805461031390611104565b80156103605780601f1061033557610100808354040283529160200191610360565b820191906000526020600020905b81548152906001019060200180831161034357829003601f168201915b5050505050905090565b60006002600554036103b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a890611181565b60405180910390fd5b60026005819055506103c433848461096f565b60019050600160058190555092915050565b6000600254905090565b6000600260055403610427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161041e90611181565b60405180910390fd5b600260058190555061043884610646565b82111561047a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610471906111ed565b60405180910390fd5b61048484336108e8565b8211156104c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104bd90611259565b60405180910390fd5b6104d1848484610b38565b6104f08433846104e188336108e8565b6104eb91906112a8565b61096f565b6001905060016005819055509392505050565b6007805461051090611104565b80601f016020809104026020016040519081016040528092919081815260200182805461053c90611104565b80156105895780601f1061055e57610100808354040283529160200191610589565b820191906000526020600020905b81548152906001019060200180831161056c57829003601f168201915b505050505081565b60006012905090565b600061063c6105a7610db7565b8484600160006105b5610db7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461063791906112dc565b61096f565b6001905092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600480546106c390611104565b80601f01602080910402602001604051908101604052809291908181526020018280546106ef90611104565b801561073c5780601f106107115761010080835404028352916020019161073c565b820191906000526020600020905b81548152906001019060200180831161071f57829003601f168201915b5050505050905090565b60008060016000610755610db7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610812576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080990611382565b60405180910390fd5b61082661081d610db7565b8585840361096f565b600191505092915050565b6000600260055403610878576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086f90611181565b60405180910390fd5b600260058190555061088933610646565b8211156108cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c2906111ed565b60405180910390fd5b6108d6338484610b38565b60019050600160058190555092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d590611414565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a44906114a6565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610b2b9190610f99565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9e90611538565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0d906115ca565b60405180910390fd5b610c21838383610dbf565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9e9061165c565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610d3a91906112dc565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d9e9190610f99565b60405180910390a3610db1848484610dc4565b50505050565b600033905090565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610e03578082015181840152602081019050610de8565b60008484015250505050565b6000601f19601f8301169050919050565b6000610e2b82610dc9565b610e358185610dd4565b9350610e45818560208601610de5565b610e4e81610e0f565b840191505092915050565b60006020820190508181036000830152610e738184610e20565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610eab82610e80565b9050919050565b610ebb81610ea0565b8114610ec657600080fd5b50565b600081359050610ed881610eb2565b92915050565b6000819050919050565b610ef181610ede565b8114610efc57600080fd5b50565b600081359050610f0e81610ee8565b92915050565b60008060408385031215610f2b57610f2a610e7b565b5b6000610f3985828601610ec9565b9250506020610f4a85828601610eff565b9150509250929050565b60008115159050919050565b610f6981610f54565b82525050565b6000602082019050610f846000830184610f60565b92915050565b610f9381610ede565b82525050565b6000602082019050610fae6000830184610f8a565b92915050565b600080600060608486031215610fcd57610fcc610e7b565b5b6000610fdb86828701610ec9565b9350506020610fec86828701610ec9565b9250506040610ffd86828701610eff565b9150509250925092565b600060ff82169050919050565b61101d81611007565b82525050565b60006020820190506110386000830184611014565b92915050565b60006020828403121561105457611053610e7b565b5b600061106284828501610ec9565b91505092915050565b61107481610ea0565b82525050565b600060208201905061108f600083018461106b565b92915050565b600080604083850312156110ac576110ab610e7b565b5b60006110ba85828601610ec9565b92505060206110cb85828601610ec9565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061111c57607f821691505b60208210810361112f5761112e6110d5565b5b50919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061116b601f83610dd4565b915061117682611135565b602082019050919050565b6000602082019050818103600083015261119a8161115e565b9050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b60006111d7601483610dd4565b91506111e2826111a1565b602082019050919050565b60006020820190508181036000830152611206816111ca565b9050919050565b7f496e73756666696369656e7420616c6c6f77616e636500000000000000000000600082015250565b6000611243601683610dd4565b915061124e8261120d565b602082019050919050565b6000602082019050818103600083015261127281611236565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006112b382610ede565b91506112be83610ede565b92508282039050818111156112d6576112d5611279565b5b92915050565b60006112e782610ede565b91506112f283610ede565b925082820190508082111561130a57611309611279565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061136c602583610dd4565b915061137782611310565b604082019050919050565b6000602082019050818103600083015261139b8161135f565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006113fe602483610dd4565b9150611409826113a2565b604082019050919050565b6000602082019050818103600083015261142d816113f1565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000611490602283610dd4565b915061149b82611434565b604082019050919050565b600060208201905081810360008301526114bf81611483565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611522602583610dd4565b915061152d826114c6565b604082019050919050565b6000602082019050818103600083015261155181611515565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006115b4602383610dd4565b91506115bf82611558565b604082019050919050565b600060208201905081810360008301526115e3816115a7565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611646602683610dd4565b9150611651826115ea565b604082019050919050565b6000602082019050818103600083015261167581611639565b905091905056fea26469706673582212200e63a3c46a58ea99bdf206994d359621488973a4f5d43358f0a92c934302f56d64736f6c6343000812003368747470733a2f2f697066732e696f2f697066732f516d62596b4e336a44314667704e6477614d74434167354b506241394e355357724b644136614371785362566e683f66696c656e616d653d50502e706e670000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005368747470733a2f2f697066732e696f2f697066732f516d62596b4e336a44314667704e6477614d74434167354b506241394e355357724b644136614371785362566e683f66696c656e616d653d50502e706e6700000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063395093511161008c57806395d89b411161006657806395d89b411461022a578063a457c2d714610248578063a9059cbb14610278578063dd62ed3e146102a8576100cf565b806339509351146101ac57806370a08231146101dc5780638da5cb5b1461020c576100cf565b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461012257806323b872dd146101405780632b9d8c9a14610170578063313ce5671461018e575b600080fd5b6100dc6102d8565b6040516100e99190610e59565b60405180910390f35b61010c60048036038101906101079190610f14565b61036a565b6040516101199190610f6f565b60405180910390f35b61012a6103d6565b6040516101379190610f99565b60405180910390f35b61015a60048036038101906101559190610fb4565b6103e0565b6040516101679190610f6f565b60405180910390f35b610178610503565b6040516101859190610e59565b60405180910390f35b610196610591565b6040516101a39190611023565b60405180910390f35b6101c660048036038101906101c19190610f14565b61059a565b6040516101d39190610f6f565b60405180910390f35b6101f660048036038101906101f1919061103e565b610646565b6040516102039190610f99565b60405180910390f35b61021461068e565b604051610221919061107a565b60405180910390f35b6102326106b4565b60405161023f9190610e59565b60405180910390f35b610262600480360381019061025d9190610f14565b610746565b60405161026f9190610f6f565b60405180910390f35b610292600480360381019061028d9190610f14565b610831565b60405161029f9190610f6f565b60405180910390f35b6102c260048036038101906102bd9190611095565b6108e8565b6040516102cf9190610f99565b60405180910390f35b6060600380546102e790611104565b80601f016020809104026020016040519081016040528092919081815260200182805461031390611104565b80156103605780601f1061033557610100808354040283529160200191610360565b820191906000526020600020905b81548152906001019060200180831161034357829003601f168201915b5050505050905090565b60006002600554036103b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a890611181565b60405180910390fd5b60026005819055506103c433848461096f565b60019050600160058190555092915050565b6000600254905090565b6000600260055403610427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161041e90611181565b60405180910390fd5b600260058190555061043884610646565b82111561047a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610471906111ed565b60405180910390fd5b61048484336108e8565b8211156104c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104bd90611259565b60405180910390fd5b6104d1848484610b38565b6104f08433846104e188336108e8565b6104eb91906112a8565b61096f565b6001905060016005819055509392505050565b6007805461051090611104565b80601f016020809104026020016040519081016040528092919081815260200182805461053c90611104565b80156105895780601f1061055e57610100808354040283529160200191610589565b820191906000526020600020905b81548152906001019060200180831161056c57829003601f168201915b505050505081565b60006012905090565b600061063c6105a7610db7565b8484600160006105b5610db7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461063791906112dc565b61096f565b6001905092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600480546106c390611104565b80601f01602080910402602001604051908101604052809291908181526020018280546106ef90611104565b801561073c5780601f106107115761010080835404028352916020019161073c565b820191906000526020600020905b81548152906001019060200180831161071f57829003601f168201915b5050505050905090565b60008060016000610755610db7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610812576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080990611382565b60405180910390fd5b61082661081d610db7565b8585840361096f565b600191505092915050565b6000600260055403610878576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086f90611181565b60405180910390fd5b600260058190555061088933610646565b8211156108cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c2906111ed565b60405180910390fd5b6108d6338484610b38565b60019050600160058190555092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d590611414565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a44906114a6565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610b2b9190610f99565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9e90611538565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0d906115ca565b60405180910390fd5b610c21838383610dbf565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9e9061165c565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610d3a91906112dc565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d9e9190610f99565b60405180910390a3610db1848484610dc4565b50505050565b600033905090565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610e03578082015181840152602081019050610de8565b60008484015250505050565b6000601f19601f8301169050919050565b6000610e2b82610dc9565b610e358185610dd4565b9350610e45818560208601610de5565b610e4e81610e0f565b840191505092915050565b60006020820190508181036000830152610e738184610e20565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610eab82610e80565b9050919050565b610ebb81610ea0565b8114610ec657600080fd5b50565b600081359050610ed881610eb2565b92915050565b6000819050919050565b610ef181610ede565b8114610efc57600080fd5b50565b600081359050610f0e81610ee8565b92915050565b60008060408385031215610f2b57610f2a610e7b565b5b6000610f3985828601610ec9565b9250506020610f4a85828601610eff565b9150509250929050565b60008115159050919050565b610f6981610f54565b82525050565b6000602082019050610f846000830184610f60565b92915050565b610f9381610ede565b82525050565b6000602082019050610fae6000830184610f8a565b92915050565b600080600060608486031215610fcd57610fcc610e7b565b5b6000610fdb86828701610ec9565b9350506020610fec86828701610ec9565b9250506040610ffd86828701610eff565b9150509250925092565b600060ff82169050919050565b61101d81611007565b82525050565b60006020820190506110386000830184611014565b92915050565b60006020828403121561105457611053610e7b565b5b600061106284828501610ec9565b91505092915050565b61107481610ea0565b82525050565b600060208201905061108f600083018461106b565b92915050565b600080604083850312156110ac576110ab610e7b565b5b60006110ba85828601610ec9565b92505060206110cb85828601610ec9565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061111c57607f821691505b60208210810361112f5761112e6110d5565b5b50919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061116b601f83610dd4565b915061117682611135565b602082019050919050565b6000602082019050818103600083015261119a8161115e565b9050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b60006111d7601483610dd4565b91506111e2826111a1565b602082019050919050565b60006020820190508181036000830152611206816111ca565b9050919050565b7f496e73756666696369656e7420616c6c6f77616e636500000000000000000000600082015250565b6000611243601683610dd4565b915061124e8261120d565b602082019050919050565b6000602082019050818103600083015261127281611236565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006112b382610ede565b91506112be83610ede565b92508282039050818111156112d6576112d5611279565b5b92915050565b60006112e782610ede565b91506112f283610ede565b925082820190508082111561130a57611309611279565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061136c602583610dd4565b915061137782611310565b604082019050919050565b6000602082019050818103600083015261139b8161135f565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006113fe602483610dd4565b9150611409826113a2565b604082019050919050565b6000602082019050818103600083015261142d816113f1565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000611490602283610dd4565b915061149b82611434565b604082019050919050565b600060208201905081810360008301526114bf81611483565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611522602583610dd4565b915061152d826114c6565b604082019050919050565b6000602082019050818103600083015261155181611515565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006115b4602383610dd4565b91506115bf82611558565b604082019050919050565b600060208201905081810360008301526115e3816115a7565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611646602683610dd4565b9150611651826115ea565b604082019050919050565b6000602082019050818103600083015261167581611639565b905091905056fea26469706673582212200e63a3c46a58ea99bdf206994d359621488973a4f5d43358f0a92c934302f56d64736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005368747470733a2f2f697066732e696f2f697066732f516d62596b4e336a44314667704e6477614d74434167354b506241394e355357724b644136614371785362566e683f66696c656e616d653d50502e706e6700000000000000000000000000
-----Decoded View---------------
Arg [0] : _ipfsLink (string): https://ipfs.io/ipfs/QmbYkN3jD1FgpNdwaMtCAg5KPbA9N5SWrKdA6aCqxSbVnh?filename=PP.png
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000053
Arg [2] : 68747470733a2f2f697066732e696f2f697066732f516d62596b4e336a443146
Arg [3] : 67704e6477614d74434167354b506241394e355357724b644136614371785362
Arg [4] : 566e683f66696c656e616d653d50502e706e6700000000000000000000000000
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.