More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 270 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21868851 | 13 days ago | IN | 0 ETH | 0.00003204 | ||||
Approve | 21868832 | 13 days ago | IN | 0 ETH | 0.00006198 | ||||
Approve | 21844854 | 17 days ago | IN | 0 ETH | 0.00004909 | ||||
Approve | 21803897 | 23 days ago | IN | 0 ETH | 0.00004569 | ||||
Approve | 21288597 | 94 days ago | IN | 0 ETH | 0.00024828 | ||||
Approve | 21119429 | 118 days ago | IN | 0 ETH | 0.00007932 | ||||
Approve | 21119429 | 118 days ago | IN | 0 ETH | 0.00007932 | ||||
Approve | 20923548 | 145 days ago | IN | 0 ETH | 0.00057979 | ||||
Transfer | 20849349 | 156 days ago | IN | 0 ETH | 0.00074241 | ||||
Transfer | 20849283 | 156 days ago | IN | 0 ETH | 0.00066784 | ||||
Approve | 20840009 | 157 days ago | IN | 0 ETH | 0.0002385 | ||||
Approve | 20728033 | 173 days ago | IN | 0 ETH | 0.00030309 | ||||
Approve | 20722614 | 173 days ago | IN | 0 ETH | 0.00034128 | ||||
Approve | 20716459 | 174 days ago | IN | 0 ETH | 0.00015029 | ||||
Approve | 20708762 | 175 days ago | IN | 0 ETH | 0.00006646 | ||||
Approve | 20708144 | 176 days ago | IN | 0 ETH | 0.00014401 | ||||
Approve | 20707432 | 176 days ago | IN | 0 ETH | 0.00007771 | ||||
Approve | 20707267 | 176 days ago | IN | 0 ETH | 0.00009391 | ||||
Transfer | 20706717 | 176 days ago | IN | 0 ETH | 0.00009677 | ||||
Transfer | 20704256 | 176 days ago | IN | 0 ETH | 0.00009522 | ||||
Transfer | 20704253 | 176 days ago | IN | 0 ETH | 0.0000749 | ||||
Transfer | 20704247 | 176 days ago | IN | 0 ETH | 0.00007387 | ||||
Approve | 20699646 | 177 days ago | IN | 0 ETH | 0.0001335 | ||||
Transfer | 20699362 | 177 days ago | IN | 0 ETH | 0.00007738 | ||||
Approve | 20699342 | 177 days ago | IN | 0 ETH | 0.00009552 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
PotatoToken
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.26; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; contract PotatoToken is ERC20, Ownable, ReentrancyGuard { address public constant DEAD_WALLET = 0x000000000000000000000000000000000000dEaD; uint256 public constant TOTAL_SUPPLY = 1_000_000_000_000_000 * 10**18; // 1 billion tokens uint256 public burnedTokens; uint256 public constant BURN_DURATION = 730 days; // 2 years uint256 public constant BURN_PERCENTAGE = 9; uint256 public burnStartTime; uint256 public lastBurnTime; uint256 public burnInterval = 1 days; // Burn tokens daily bool public initialBurnExecuted = false; event TokensBurned(uint256 amount, uint256 timestamp); event InitialBurnExecuted(uint256 amount); constructor() ERC20("Potato", "POTA") Ownable(msg.sender) { _mint(msg.sender, TOTAL_SUPPLY); // Transfer remaining 9% to the contract for future burning uint256 remainingBurnAmount = (TOTAL_SUPPLY * 9) / 100; _transfer(owner(), address(this), remainingBurnAmount); } function executeInitialBurn() external onlyOwner { require(!initialBurnExecuted, "Initial burn already executed"); uint256 burnAmount = (TOTAL_SUPPLY * 90) / 100; _transfer(owner(), DEAD_WALLET, burnAmount); burnedTokens = burnAmount; initialBurnExecuted = true; burnStartTime = block.timestamp; lastBurnTime = burnStartTime; emit InitialBurnExecuted(burnAmount); } function _update(address from, address to, uint256 value) internal override { super._update(from, to, value); if (initialBurnExecuted) { _checkAndBurn(); } } function _checkAndBurn() private { if (block.timestamp >= lastBurnTime + burnInterval && block.timestamp <= burnStartTime + BURN_DURATION) { uint256 timePassed = block.timestamp - burnStartTime; uint256 totalBurnAmount = (TOTAL_SUPPLY * BURN_PERCENTAGE) / 100; uint256 burnAmount = (totalBurnAmount * timePassed) / BURN_DURATION - (burnedTokens - (TOTAL_SUPPLY * 90) / 100); if (burnAmount > 0 && burnAmount <= balanceOf(address(this))) { _transfer(address(this), DEAD_WALLET, burnAmount); burnedTokens += burnAmount; lastBurnTime = block.timestamp; emit TokensBurned(burnAmount, block.timestamp); } } } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}. * * 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. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; 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 virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual 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 `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` 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 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); 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 `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` 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. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` 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. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @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 value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol) pragma solidity ^0.8.20; /** * @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; /** * @dev Unauthorized reentrant call. */ error ReentrancyGuardReentrantCall(); 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 making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be NOT_ENTERED if (_status == ENTERED) { revert ReentrancyGuardReentrantCall(); } // Any calls to nonReentrant after this point will fail _status = ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == ENTERED; } }
{ "evmVersion": "paris", "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"InitialBurnExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokensBurned","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":[],"name":"BURN_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BURN_PERCENTAGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEAD_WALLET","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"value","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":"burnInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"executeInitialBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialBurnExecuted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405262015180600a556000600b60006101000a81548160ff02191690831515021790555034801561003257600080fd5b50336040518060400160405280600681526020017f506f7461746f00000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f504f54410000000000000000000000000000000000000000000000000000000081525081600390816100af9190610a87565b5080600490816100bf9190610a87565b505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101345760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161012b9190610b9a565b60405180910390fd5b610143816101b960201b60201c565b50600160068190555061016a336d314dc6448d9338c15b0a0000000061027f60201b60201c565b6000606460096d314dc6448d9338c15b0a000000006101899190610be4565b6101939190610c55565b90506101b36101a661030760201b60201c565b308361033160201b60201c565b50610d78565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036102f15760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016102e89190610b9a565b60405180910390fd5b6103036000838361042b60201b60201c565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036103a35760006040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161039a9190610b9a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036104155760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161040c9190610b9a565b60405180910390fd5b61042683838361042b60201b60201c565b505050565b61043c83838361046560201b60201c565b600b60009054906101000a900460ff16156104605761045f61068a60201b60201c565b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036104b75780600260008282546104ab9190610c86565b9250508190555061058a565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610543578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161053a93929190610cc9565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036105d35780600260008282540392505081905550610620565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161067d9190610d00565b60405180910390a3505050565b600a5460095461069a9190610c86565b42101580156106ba57506303c267006008546106b69190610c86565b4211155b156107ed576000600854426106cf9190610d1b565b90506000606460096d314dc6448d9338c15b0a000000006106f09190610be4565b6106fa9190610c55565b905060006064605a6d314dc6448d9338c15b0a0000000061071b9190610be4565b6107259190610c55565b6007546107329190610d1b565b6303c2670084846107439190610be4565b61074d9190610c55565b6107579190610d1b565b90506000811180156107775750610773306107ef60201b60201c565b8111155b156107e95761078f3061dead8361033160201b60201c565b80600760008282546107a19190610c86565b92505081905550426009819055507f8bc81353cf6671d259d22783e39ed930583c86f3f4cf7e981298e6a872dfb15d81426040516107e0929190610d4f565b60405180910390a15b5050505b565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806108b857607f821691505b6020821081036108cb576108ca610871565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026109337fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826108f6565b61093d86836108f6565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600061098461097f61097a84610955565b61095f565b610955565b9050919050565b6000819050919050565b61099e83610969565b6109b26109aa8261098b565b848454610903565b825550505050565b600090565b6109c76109ba565b6109d2818484610995565b505050565b5b818110156109f6576109eb6000826109bf565b6001810190506109d8565b5050565b601f821115610a3b57610a0c816108d1565b610a15846108e6565b81016020851015610a24578190505b610a38610a30856108e6565b8301826109d7565b50505b505050565b600082821c905092915050565b6000610a5e60001984600802610a40565b1980831691505092915050565b6000610a778383610a4d565b9150826002028217905092915050565b610a9082610837565b67ffffffffffffffff811115610aa957610aa8610842565b5b610ab382546108a0565b610abe8282856109fa565b600060209050601f831160018114610af15760008415610adf578287015190505b610ae98582610a6b565b865550610b51565b601f198416610aff866108d1565b60005b82811015610b2757848901518255600182019150602085019450602081019050610b02565b86831015610b445784890151610b40601f891682610a4d565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610b8482610b59565b9050919050565b610b9481610b79565b82525050565b6000602082019050610baf6000830184610b8b565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610bef82610955565b9150610bfa83610955565b9250828202610c0881610955565b91508282048414831517610c1f57610c1e610bb5565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000610c6082610955565b9150610c6b83610955565b925082610c7b57610c7a610c26565b5b828204905092915050565b6000610c9182610955565b9150610c9c83610955565b9250828201905080821115610cb457610cb3610bb5565b5b92915050565b610cc381610955565b82525050565b6000606082019050610cde6000830186610b8b565b610ceb6020830185610cba565b610cf86040830184610cba565b949350505050565b6000602082019050610d156000830184610cba565b92915050565b6000610d2682610955565b9150610d3183610955565b9250828203905081811115610d4957610d48610bb5565b5b92915050565b6000604082019050610d646000830185610cba565b610d716020830184610cba565b9392505050565b6117d280610d876000396000f3fe6080604052600436106101395760003560e01c80638da5cb5b116100ab578063a9059cbb1161006f578063a9059cbb14610403578063b7b5edc514610440578063dd62ed3e1461046b578063e3067449146104a8578063e55a68b3146104d3578063f2fde38b146104fe57610140565b80638da5cb5b1461032c578063902d55a51461035757806395d89b41146103825780639649b910146103ad578063a01c3483146103d857610140565b8063313ce567116100fd578063313ce5671461024057806347b5dd541461026b5780635b7d264c1461029657806370a08231146102ad578063715018a6146102ea5780637e279efe1461030157610140565b806306fdde0314610145578063095ea7b31461017057806318160ddd146101ad5780631bef2782146101d857806323b872dd1461020357610140565b3661014057005b600080fd5b34801561015157600080fd5b5061015a610527565b60405161016791906112bb565b60405180910390f35b34801561017c57600080fd5b5061019760048036038101906101929190611376565b6105b9565b6040516101a491906113d1565b60405180910390f35b3480156101b957600080fd5b506101c26105dc565b6040516101cf91906113fb565b60405180910390f35b3480156101e457600080fd5b506101ed6105e6565b6040516101fa91906113fb565b60405180910390f35b34801561020f57600080fd5b5061022a60048036038101906102259190611416565b6105ee565b60405161023791906113d1565b60405180910390f35b34801561024c57600080fd5b5061025561061d565b6040516102629190611485565b60405180910390f35b34801561027757600080fd5b50610280610626565b60405161028d91906113fb565b60405180910390f35b3480156102a257600080fd5b506102ab61062c565b005b3480156102b957600080fd5b506102d460048036038101906102cf91906114a0565b61072f565b6040516102e191906113fb565b60405180910390f35b3480156102f657600080fd5b506102ff610777565b005b34801561030d57600080fd5b5061031661078b565b60405161032391906113fb565b60405180910390f35b34801561033857600080fd5b50610341610791565b60405161034e91906114dc565b60405180910390f35b34801561036357600080fd5b5061036c6107bb565b60405161037991906113fb565b60405180910390f35b34801561038e57600080fd5b506103976107cd565b6040516103a491906112bb565b60405180910390f35b3480156103b957600080fd5b506103c261085f565b6040516103cf91906113fb565b60405180910390f35b3480156103e457600080fd5b506103ed610864565b6040516103fa91906114dc565b60405180910390f35b34801561040f57600080fd5b5061042a60048036038101906104259190611376565b61086a565b60405161043791906113d1565b60405180910390f35b34801561044c57600080fd5b5061045561088d565b60405161046291906113d1565b60405180910390f35b34801561047757600080fd5b50610492600480360381019061048d91906114f7565b6108a0565b60405161049f91906113fb565b60405180910390f35b3480156104b457600080fd5b506104bd610927565b6040516104ca91906113fb565b60405180910390f35b3480156104df57600080fd5b506104e861092d565b6040516104f591906113fb565b60405180910390f35b34801561050a57600080fd5b50610525600480360381019061052091906114a0565b610933565b005b60606003805461053690611566565b80601f016020809104026020016040519081016040528092919081815260200182805461056290611566565b80156105af5780601f10610584576101008083540402835291602001916105af565b820191906000526020600020905b81548152906001019060200180831161059257829003601f168201915b5050505050905090565b6000806105c46109b9565b90506105d18185856109c1565b600191505092915050565b6000600254905090565b6303c2670081565b6000806105f96109b9565b90506106068582856109d3565b610611858585610a67565b60019150509392505050565b60006012905090565b60075481565b610634610b5b565b600b60009054906101000a900460ff1615610684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067b906115e3565b60405180910390fd5b60006064605a6d314dc6448d9338c15b0a000000006106a39190611632565b6106ad91906116a3565b90506106c36106ba610791565b61dead83610a67565b806007819055506001600b60006101000a81548160ff021916908315150217905550426008819055506008546009819055507fc41c71beec568cced12a30d5fd63bec0e73a0314f15680c2b81cd2d8d6e350bc8160405161072491906113fb565b60405180910390a150565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61077f610b5b565b6107896000610be2565b565b60085481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6d314dc6448d9338c15b0a0000000081565b6060600480546107dc90611566565b80601f016020809104026020016040519081016040528092919081815260200182805461080890611566565b80156108555780601f1061082a57610100808354040283529160200191610855565b820191906000526020600020905b81548152906001019060200180831161083857829003601f168201915b5050505050905090565b600981565b61dead81565b6000806108756109b9565b9050610882818585610a67565b600191505092915050565b600b60009054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60095481565b600a5481565b61093b610b5b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036109ad5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016109a491906114dc565b60405180910390fd5b6109b681610be2565b50565b600033905090565b6109ce8383836001610ca8565b505050565b60006109df84846108a0565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610a615781811015610a51578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610a48939291906116d4565b60405180910390fd5b610a6084848484036000610ca8565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ad95760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610ad091906114dc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b4b5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610b4291906114dc565b60405180910390fd5b610b56838383610e7f565b505050565b610b636109b9565b73ffffffffffffffffffffffffffffffffffffffff16610b81610791565b73ffffffffffffffffffffffffffffffffffffffff1614610be057610ba46109b9565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610bd791906114dc565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610d1a5760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610d1191906114dc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d8c5760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610d8391906114dc565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015610e79578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610e7091906113fb565b60405180910390a35b50505050565b610e8a838383610ead565b600b60009054906101000a900460ff1615610ea857610ea76110d2565b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610eff578060026000828254610ef3919061170b565b92505081905550610fd2565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610f8b578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610f82939291906116d4565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361101b5780600260008282540392505081905550611068565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516110c591906113fb565b60405180910390a3505050565b600a546009546110e2919061170b565b421015801561110257506303c267006008546110fe919061170b565b4211155b1561122957600060085442611117919061173f565b90506000606460096d314dc6448d9338c15b0a000000006111389190611632565b61114291906116a3565b905060006064605a6d314dc6448d9338c15b0a000000006111639190611632565b61116d91906116a3565b60075461117a919061173f565b6303c26700848461118b9190611632565b61119591906116a3565b61119f919061173f565b90506000811180156111b957506111b53061072f565b8111155b15611225576111cb3061dead83610a67565b80600760008282546111dd919061170b565b92505081905550426009819055507f8bc81353cf6671d259d22783e39ed930583c86f3f4cf7e981298e6a872dfb15d814260405161121c929190611773565b60405180910390a15b5050505b565b600081519050919050565b600082825260208201905092915050565b60005b8381101561126557808201518184015260208101905061124a565b60008484015250505050565b6000601f19601f8301169050919050565b600061128d8261122b565b6112978185611236565b93506112a7818560208601611247565b6112b081611271565b840191505092915050565b600060208201905081810360008301526112d58184611282565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061130d826112e2565b9050919050565b61131d81611302565b811461132857600080fd5b50565b60008135905061133a81611314565b92915050565b6000819050919050565b61135381611340565b811461135e57600080fd5b50565b6000813590506113708161134a565b92915050565b6000806040838503121561138d5761138c6112dd565b5b600061139b8582860161132b565b92505060206113ac85828601611361565b9150509250929050565b60008115159050919050565b6113cb816113b6565b82525050565b60006020820190506113e660008301846113c2565b92915050565b6113f581611340565b82525050565b600060208201905061141060008301846113ec565b92915050565b60008060006060848603121561142f5761142e6112dd565b5b600061143d8682870161132b565b935050602061144e8682870161132b565b925050604061145f86828701611361565b9150509250925092565b600060ff82169050919050565b61147f81611469565b82525050565b600060208201905061149a6000830184611476565b92915050565b6000602082840312156114b6576114b56112dd565b5b60006114c48482850161132b565b91505092915050565b6114d681611302565b82525050565b60006020820190506114f160008301846114cd565b92915050565b6000806040838503121561150e5761150d6112dd565b5b600061151c8582860161132b565b925050602061152d8582860161132b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061157e57607f821691505b60208210810361159157611590611537565b5b50919050565b7f496e697469616c206275726e20616c7265616479206578656375746564000000600082015250565b60006115cd601d83611236565b91506115d882611597565b602082019050919050565b600060208201905081810360008301526115fc816115c0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061163d82611340565b915061164883611340565b925082820261165681611340565b9150828204841483151761166d5761166c611603565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006116ae82611340565b91506116b983611340565b9250826116c9576116c8611674565b5b828204905092915050565b60006060820190506116e960008301866114cd565b6116f660208301856113ec565b61170360408301846113ec565b949350505050565b600061171682611340565b915061172183611340565b925082820190508082111561173957611738611603565b5b92915050565b600061174a82611340565b915061175583611340565b925082820390508181111561176d5761176c611603565b5b92915050565b600060408201905061178860008301856113ec565b61179560208301846113ec565b939250505056fea2646970667358221220e5f69b7efbb9ccdbe9d6519129d3040faf8cfde33679a8ccb5a985d923e9aa2f64736f6c634300081a0033
Deployed Bytecode
0x6080604052600436106101395760003560e01c80638da5cb5b116100ab578063a9059cbb1161006f578063a9059cbb14610403578063b7b5edc514610440578063dd62ed3e1461046b578063e3067449146104a8578063e55a68b3146104d3578063f2fde38b146104fe57610140565b80638da5cb5b1461032c578063902d55a51461035757806395d89b41146103825780639649b910146103ad578063a01c3483146103d857610140565b8063313ce567116100fd578063313ce5671461024057806347b5dd541461026b5780635b7d264c1461029657806370a08231146102ad578063715018a6146102ea5780637e279efe1461030157610140565b806306fdde0314610145578063095ea7b31461017057806318160ddd146101ad5780631bef2782146101d857806323b872dd1461020357610140565b3661014057005b600080fd5b34801561015157600080fd5b5061015a610527565b60405161016791906112bb565b60405180910390f35b34801561017c57600080fd5b5061019760048036038101906101929190611376565b6105b9565b6040516101a491906113d1565b60405180910390f35b3480156101b957600080fd5b506101c26105dc565b6040516101cf91906113fb565b60405180910390f35b3480156101e457600080fd5b506101ed6105e6565b6040516101fa91906113fb565b60405180910390f35b34801561020f57600080fd5b5061022a60048036038101906102259190611416565b6105ee565b60405161023791906113d1565b60405180910390f35b34801561024c57600080fd5b5061025561061d565b6040516102629190611485565b60405180910390f35b34801561027757600080fd5b50610280610626565b60405161028d91906113fb565b60405180910390f35b3480156102a257600080fd5b506102ab61062c565b005b3480156102b957600080fd5b506102d460048036038101906102cf91906114a0565b61072f565b6040516102e191906113fb565b60405180910390f35b3480156102f657600080fd5b506102ff610777565b005b34801561030d57600080fd5b5061031661078b565b60405161032391906113fb565b60405180910390f35b34801561033857600080fd5b50610341610791565b60405161034e91906114dc565b60405180910390f35b34801561036357600080fd5b5061036c6107bb565b60405161037991906113fb565b60405180910390f35b34801561038e57600080fd5b506103976107cd565b6040516103a491906112bb565b60405180910390f35b3480156103b957600080fd5b506103c261085f565b6040516103cf91906113fb565b60405180910390f35b3480156103e457600080fd5b506103ed610864565b6040516103fa91906114dc565b60405180910390f35b34801561040f57600080fd5b5061042a60048036038101906104259190611376565b61086a565b60405161043791906113d1565b60405180910390f35b34801561044c57600080fd5b5061045561088d565b60405161046291906113d1565b60405180910390f35b34801561047757600080fd5b50610492600480360381019061048d91906114f7565b6108a0565b60405161049f91906113fb565b60405180910390f35b3480156104b457600080fd5b506104bd610927565b6040516104ca91906113fb565b60405180910390f35b3480156104df57600080fd5b506104e861092d565b6040516104f591906113fb565b60405180910390f35b34801561050a57600080fd5b50610525600480360381019061052091906114a0565b610933565b005b60606003805461053690611566565b80601f016020809104026020016040519081016040528092919081815260200182805461056290611566565b80156105af5780601f10610584576101008083540402835291602001916105af565b820191906000526020600020905b81548152906001019060200180831161059257829003601f168201915b5050505050905090565b6000806105c46109b9565b90506105d18185856109c1565b600191505092915050565b6000600254905090565b6303c2670081565b6000806105f96109b9565b90506106068582856109d3565b610611858585610a67565b60019150509392505050565b60006012905090565b60075481565b610634610b5b565b600b60009054906101000a900460ff1615610684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067b906115e3565b60405180910390fd5b60006064605a6d314dc6448d9338c15b0a000000006106a39190611632565b6106ad91906116a3565b90506106c36106ba610791565b61dead83610a67565b806007819055506001600b60006101000a81548160ff021916908315150217905550426008819055506008546009819055507fc41c71beec568cced12a30d5fd63bec0e73a0314f15680c2b81cd2d8d6e350bc8160405161072491906113fb565b60405180910390a150565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61077f610b5b565b6107896000610be2565b565b60085481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6d314dc6448d9338c15b0a0000000081565b6060600480546107dc90611566565b80601f016020809104026020016040519081016040528092919081815260200182805461080890611566565b80156108555780601f1061082a57610100808354040283529160200191610855565b820191906000526020600020905b81548152906001019060200180831161083857829003601f168201915b5050505050905090565b600981565b61dead81565b6000806108756109b9565b9050610882818585610a67565b600191505092915050565b600b60009054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60095481565b600a5481565b61093b610b5b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036109ad5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016109a491906114dc565b60405180910390fd5b6109b681610be2565b50565b600033905090565b6109ce8383836001610ca8565b505050565b60006109df84846108a0565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610a615781811015610a51578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610a48939291906116d4565b60405180910390fd5b610a6084848484036000610ca8565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ad95760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610ad091906114dc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b4b5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610b4291906114dc565b60405180910390fd5b610b56838383610e7f565b505050565b610b636109b9565b73ffffffffffffffffffffffffffffffffffffffff16610b81610791565b73ffffffffffffffffffffffffffffffffffffffff1614610be057610ba46109b9565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610bd791906114dc565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610d1a5760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610d1191906114dc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d8c5760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610d8391906114dc565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015610e79578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610e7091906113fb565b60405180910390a35b50505050565b610e8a838383610ead565b600b60009054906101000a900460ff1615610ea857610ea76110d2565b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610eff578060026000828254610ef3919061170b565b92505081905550610fd2565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610f8b578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610f82939291906116d4565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361101b5780600260008282540392505081905550611068565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516110c591906113fb565b60405180910390a3505050565b600a546009546110e2919061170b565b421015801561110257506303c267006008546110fe919061170b565b4211155b1561122957600060085442611117919061173f565b90506000606460096d314dc6448d9338c15b0a000000006111389190611632565b61114291906116a3565b905060006064605a6d314dc6448d9338c15b0a000000006111639190611632565b61116d91906116a3565b60075461117a919061173f565b6303c26700848461118b9190611632565b61119591906116a3565b61119f919061173f565b90506000811180156111b957506111b53061072f565b8111155b15611225576111cb3061dead83610a67565b80600760008282546111dd919061170b565b92505081905550426009819055507f8bc81353cf6671d259d22783e39ed930583c86f3f4cf7e981298e6a872dfb15d814260405161121c929190611773565b60405180910390a15b5050505b565b600081519050919050565b600082825260208201905092915050565b60005b8381101561126557808201518184015260208101905061124a565b60008484015250505050565b6000601f19601f8301169050919050565b600061128d8261122b565b6112978185611236565b93506112a7818560208601611247565b6112b081611271565b840191505092915050565b600060208201905081810360008301526112d58184611282565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061130d826112e2565b9050919050565b61131d81611302565b811461132857600080fd5b50565b60008135905061133a81611314565b92915050565b6000819050919050565b61135381611340565b811461135e57600080fd5b50565b6000813590506113708161134a565b92915050565b6000806040838503121561138d5761138c6112dd565b5b600061139b8582860161132b565b92505060206113ac85828601611361565b9150509250929050565b60008115159050919050565b6113cb816113b6565b82525050565b60006020820190506113e660008301846113c2565b92915050565b6113f581611340565b82525050565b600060208201905061141060008301846113ec565b92915050565b60008060006060848603121561142f5761142e6112dd565b5b600061143d8682870161132b565b935050602061144e8682870161132b565b925050604061145f86828701611361565b9150509250925092565b600060ff82169050919050565b61147f81611469565b82525050565b600060208201905061149a6000830184611476565b92915050565b6000602082840312156114b6576114b56112dd565b5b60006114c48482850161132b565b91505092915050565b6114d681611302565b82525050565b60006020820190506114f160008301846114cd565b92915050565b6000806040838503121561150e5761150d6112dd565b5b600061151c8582860161132b565b925050602061152d8582860161132b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061157e57607f821691505b60208210810361159157611590611537565b5b50919050565b7f496e697469616c206275726e20616c7265616479206578656375746564000000600082015250565b60006115cd601d83611236565b91506115d882611597565b602082019050919050565b600060208201905081810360008301526115fc816115c0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061163d82611340565b915061164883611340565b925082820261165681611340565b9150828204841483151761166d5761166c611603565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006116ae82611340565b91506116b983611340565b9250826116c9576116c8611674565b5b828204905092915050565b60006060820190506116e960008301866114cd565b6116f660208301856113ec565b61170360408301846113ec565b949350505050565b600061171682611340565b915061172183611340565b925082820190508082111561173957611738611603565b5b92915050565b600061174a82611340565b915061175583611340565b925082820390508181111561176d5761176c611603565b5b92915050565b600060408201905061178860008301856113ec565b61179560208301846113ec565b939250505056fea2646970667358221220e5f69b7efbb9ccdbe9d6519129d3040faf8cfde33679a8ccb5a985d923e9aa2f64736f6c634300081a0033
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.