Contract
0x070eb1a48725622de867a7e3d1dd4f0108966ed1
5
[ Download CSV Export ]
OVERVIEW
Poopsicle is an ERC-20 based meme token based on the Fantom Opera.
Latest 1 internal transaction
Parent Txn Hash | Block | From | To | Value | |||
---|---|---|---|---|---|---|---|
0x3953c45aed09480be31d29a8aacd46e39bc142bdf855393812cdb23d2fb1dfe4 | 23028980 | 429 days 12 hrs ago | Poopsicle: Deployer | Contract Creation | 0 FTM |
[ Download CSV Export ]
Contract Name:
Poopsicle
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity)
/** *Submitted for verification at FtmScan.com on 2021-11-24 */ // 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); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/utils/Context.sol pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity ^0.8.0; /** * @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 {} } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol pragma solidity ^0.8.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); unchecked { _approve(account, _msgSender(), currentAllowance - amount); } _burn(account, amount); } } // File: @openzeppelin/contracts/utils/math/Math.sol pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } } // File: @openzeppelin/contracts/utils/Arrays.sol pragma solidity ^0.8.0; /** * @dev Collection of functions related to array types. */ library Arrays { /** * @dev Searches a sorted `array` and returns the first index that contains * a value greater or equal to `element`. If no such index exists (i.e. all * values in the array are strictly less than `element`), the array length is * returned. Time complexity O(log n). * * `array` is expected to be sorted in ascending order, and to contain no * repeated elements. */ function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) { if (array.length == 0) { return 0; } uint256 low = 0; uint256 high = array.length; while (low < high) { uint256 mid = Math.average(low, high); // Note that mid will always be strictly less than high (i.e. it will be a valid array index) // because Math.average rounds down (it does integer division with truncation). if (array[mid] > element) { high = mid; } else { low = mid + 1; } } // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound. if (low > 0 && array[low - 1] == element) { return low - 1; } else { return low; } } } // File: @openzeppelin/contracts/utils/Counters.sol pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Snapshot.sol pragma solidity ^0.8.0; /** * @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and * total supply at the time are recorded for later access. * * This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting. * In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different * accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be * used to create an efficient ERC20 forking mechanism. * * Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a * snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot * id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id * and the account address. * * NOTE: Snapshot policy can be customized by overriding the {_getCurrentSnapshotId} method. For example, having it * return `block.number` will trigger the creation of snapshot at the begining of each new block. When overridding this * function, be careful about the monotonicity of its result. Non-monotonic snapshot ids will break the contract. * * Implementing snapshots for every block using this method will incur significant gas costs. For a gas-efficient * alternative consider {ERC20Votes}. * * ==== Gas Costs * * Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log * n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much * smaller since identical balances in subsequent snapshots are stored as a single entry. * * There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is * only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent * transfers will have normal cost until the next snapshot, and so on. */ abstract contract ERC20Snapshot is ERC20 { // Inspired by Jordi Baylina's MiniMeToken to record historical balances: // https://github.com/Giveth/minimd/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol using Arrays for uint256[]; using Counters for Counters.Counter; // Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a // Snapshot struct, but that would impede usage of functions that work on an array. struct Snapshots { uint256[] ids; uint256[] values; } mapping(address => Snapshots) private _accountBalanceSnapshots; Snapshots private _totalSupplySnapshots; // Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid. Counters.Counter private _currentSnapshotId; /** * @dev Emitted by {_snapshot} when a snapshot identified by `id` is created. */ event Snapshot(uint256 id); /** * @dev Creates a new snapshot and returns its snapshot id. * * Emits a {Snapshot} event that contains the same id. * * {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a * set of accounts, for example using {AccessControl}, or it may be open to the public. * * [WARNING] * ==== * While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking, * you must consider that it can potentially be used by attackers in two ways. * * First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow * logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target * specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs * section above. * * We haven't measured the actual numbers; if this is something you're interested in please reach out to us. * ==== */ function _snapshot() internal virtual returns (uint256) { _currentSnapshotId.increment(); uint256 currentId = _getCurrentSnapshotId(); emit Snapshot(currentId); return currentId; } /** * @dev Get the current snapshotId */ function _getCurrentSnapshotId() internal view virtual returns (uint256) { return _currentSnapshotId.current(); } /** * @dev Retrieves the balance of `account` at the time `snapshotId` was created. */ function balanceOfAt(address account, uint256 snapshotId) public view virtual returns (uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]); return snapshotted ? value : balanceOf(account); } /** * @dev Retrieves the total supply at the time `snapshotId` was created. */ function totalSupplyAt(uint256 snapshotId) public view virtual returns (uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots); return snapshotted ? value : totalSupply(); } // Update balance and/or total supply snapshots before the values are modified. This is implemented // in the _beforeTokenTransfer hook, which is executed for _mint, _burn, and _transfer operations. function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); if (from == address(0)) { // mint _updateAccountSnapshot(to); _updateTotalSupplySnapshot(); } else if (to == address(0)) { // burn _updateAccountSnapshot(from); _updateTotalSupplySnapshot(); } else { // transfer _updateAccountSnapshot(from); _updateAccountSnapshot(to); } } function _valueAt(uint256 snapshotId, Snapshots storage snapshots) private view returns (bool, uint256) { require(snapshotId > 0, "ERC20Snapshot: id is 0"); require(snapshotId <= _getCurrentSnapshotId(), "ERC20Snapshot: nonexistent id"); // When a valid snapshot is queried, there are three possibilities: // a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never // created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds // to this id is the current one. // b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the // requested id, and its value is the one to return. // c) More snapshots were created after the requested one, and the queried value was later modified. There will be // no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is // larger than the requested one. // // In summary, we need to find an element in an array, returning the index of the smallest value that is larger if // it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does // exactly this. uint256 index = snapshots.ids.findUpperBound(snapshotId); if (index == snapshots.ids.length) { return (false, 0); } else { return (true, snapshots.values[index]); } } function _updateAccountSnapshot(address account) private { _updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account)); } function _updateTotalSupplySnapshot() private { _updateSnapshot(_totalSupplySnapshots, totalSupply()); } function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private { uint256 currentId = _getCurrentSnapshotId(); if (_lastSnapshotId(snapshots.ids) < currentId) { snapshots.ids.push(currentId); snapshots.values.push(currentValue); } } function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) { if (ids.length == 0) { return 0; } else { return ids[ids.length - 1]; } } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.8.0; /** * @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. * * By default, the owner account will be the one that deploys the contract. 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; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/security/Pausable.sol pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: contracts/Poopsicle.sol pragma solidity ^0.8.7; contract Poopsicle is ERC20, ERC20Burnable, ERC20Snapshot, Ownable, Pausable { constructor() ERC20("Poopsicle", "POOP") { _mint(msg.sender, 100000000 * 10 ** decimals()); } function snapshot() public onlyOwner { _snapshot(); } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function mint(address to, uint256 amount) public onlyOwner { _mint(to, amount); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal whenNotPaused override(ERC20, ERC20Snapshot) { super._beforeTokenTransfer(from, to, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"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":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snapshot","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":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040805180820182526009815268506f6f707369636c6560b81b6020808301918252835180850190945260048452630504f4f560e41b9084015281519192916200005f91600391620003f9565b50805162000075906004906020840190620003f9565b505050620000926200008c620000ce60201b60201c565b620000d2565b6009805460ff60a01b19169055620000c833620000b26012600a620005b4565b620000c2906305f5e100620005cc565b62000124565b62000676565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001805760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200018e600083836200021b565b8060026000828254620001a29190620005ee565b90915550506001600160a01b03821660009081526020819052604081208054839290620001d1908490620005ee565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6200022f600954600160a01b900460ff1690565b15620002715760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640162000177565b620002898383836200028e60201b620008271760201c565b505050565b620002a68383836200028960201b620006461760201c565b6001600160a01b038316620002ca57620002c082620002f5565b620002896200032d565b6001600160a01b038216620002e457620002c083620002f5565b620002ef83620002f5565b62000289825b6001600160a01b038116600090815260056020908152604080832091839052909120546200032a91906200033f565b6200033f565b50565b6200033d60066200032460025490565b565b60006200034b6200038e565b9050806200035984620003ac565b101562000289578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b6000620003a76008620003f560201b6200086f1760201c565b905090565b8054600090620003be57506000919050565b81548290620003d09060019062000609565b81548110620003e357620003e362000623565b90600052602060002001549050919050565b5490565b828054620004079062000639565b90600052602060002090601f0160209004810192826200042b576000855562000476565b82601f106200044657805160ff191683800117855562000476565b8280016001018555821562000476579182015b828111156200047657825182559160200191906001019062000459565b506200048492915062000488565b5090565b5b8082111562000484576000815560010162000489565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620004f6578160001904821115620004da57620004da6200049f565b80851615620004e857918102915b93841c9390800290620004ba565b509250929050565b6000826200050f57506001620005ae565b816200051e57506000620005ae565b8160018114620005375760028114620005425762000562565b6001915050620005ae565b60ff8411156200055657620005566200049f565b50506001821b620005ae565b5060208310610133831016604e8410600b841016171562000587575081810a620005ae565b620005938383620004b5565b8060001904821115620005aa57620005aa6200049f565b0290505b92915050565b6000620005c560ff841683620004fe565b9392505050565b6000816000190483118215151615620005e957620005e96200049f565b500290565b600082198211156200060457620006046200049f565b500190565b6000828210156200061e576200061e6200049f565b500390565b634e487b7160e01b600052603260045260246000fd5b600181811c908216806200064e57607f821691505b602082108114156200067057634e487b7160e01b600052602260045260246000fd5b50919050565b6114f980620006866000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806370a08231116100c35780639711715a1161007c5780639711715a1461029e578063981b24d0146102a6578063a457c2d7146102b9578063a9059cbb146102cc578063dd62ed3e146102df578063f2fde38b1461031857600080fd5b806370a082311461022f578063715018a61461025857806379cc6790146102605780638456cb59146102735780638da5cb5b1461027b57806395d89b411461029657600080fd5b8063395093511161011557806339509351146101c75780633f4ba83a146101da57806340c10f19146101e457806342966c68146101f75780634ee2cd7e1461020a5780635c975abb1461021d57600080fd5b806306fdde0314610152578063095ea7b31461017057806318160ddd1461019357806323b872dd146101a5578063313ce567146101b8575b600080fd5b61015a61032b565b604051610167919061129d565b60405180910390f35b61018361017e366004611309565b6103bd565b6040519015158152602001610167565b6002545b604051908152602001610167565b6101836101b3366004611333565b6103d4565b60405160128152602001610167565b6101836101d5366004611309565b610483565b6101e26104bf565b005b6101e26101f2366004611309565b6104f3565b6101e261020536600461136f565b61052b565b610197610218366004611309565b610538565b600954600160a01b900460ff16610183565b61019761023d366004611388565b6001600160a01b031660009081526020819052604090205490565b6101e2610591565b6101e261026e366004611309565b6105c5565b6101e261064b565b6009546040516001600160a01b039091168152602001610167565b61015a61067d565b6101e261068c565b6101976102b436600461136f565b6106be565b6101836102c7366004611309565b6106e9565b6101836102da366004611309565b610782565b6101976102ed3660046113a3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101e2610326366004611388565b61078f565b60606003805461033a906113d6565b80601f0160208091040260200160405190810160405280929190818152602001828054610366906113d6565b80156103b35780601f10610388576101008083540402835291602001916103b3565b820191906000526020600020905b81548152906001019060200180831161039657829003601f168201915b5050505050905090565b60006103ca338484610873565b5060015b92915050565b60006103e1848484610997565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561046b5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6104788533858403610873565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103ca9185906104ba908690611427565b610873565b6009546001600160a01b031633146104e95760405162461bcd60e51b81526004016104629061143f565b6104f1610b71565b565b6009546001600160a01b0316331461051d5760405162461bcd60e51b81526004016104629061143f565b6105278282610c0e565b5050565b6105353382610cf9565b50565b6001600160a01b03821660009081526005602052604081208190819061055f908590610e53565b9150915081610586576001600160a01b038516600090815260208190526040902054610588565b805b95945050505050565b6009546001600160a01b031633146105bb5760405162461bcd60e51b81526004016104629061143f565b6104f16000610f4a565b60006105d183336102ed565b90508181101561062f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b6064820152608401610462565b61063c8333848403610873565b6106468383610cf9565b505050565b6009546001600160a01b031633146106755760405162461bcd60e51b81526004016104629061143f565b6104f1610f9c565b60606004805461033a906113d6565b6009546001600160a01b031633146106b65760405162461bcd60e51b81526004016104629061143f565b610535611024565b60008060006106ce846006610e53565b91509150816106df576002546106e1565b805b949350505050565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561076b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610462565b6107783385858403610873565b5060019392505050565b60006103ca338484610997565b6009546001600160a01b031633146107b95760405162461bcd60e51b81526004016104629061143f565b6001600160a01b03811661081e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610462565b61053581610f4a565b6001600160a01b0383166108465761083e8261107e565b6106466110b0565b6001600160a01b03821661085d5761083e8361107e565b6108668361107e565b6106468261107e565b5490565b6001600160a01b0383166108d55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610462565b6001600160a01b0382166109365760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610462565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166109fb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610462565b6001600160a01b038216610a5d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610462565b610a688383836110be565b6001600160a01b03831660009081526020819052604090205481811015610ae05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610462565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610b17908490611427565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b6391815260200190565b60405180910390a350505050565b600954600160a01b900460ff16610bc15760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610462565b6009805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610c645760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610462565b610c70600083836110be565b8060026000828254610c829190611427565b90915550506001600160a01b03821660009081526020819052604081208054839290610caf908490611427565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610d595760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610462565b610d65826000836110be565b6001600160a01b03821660009081526020819052604090205481811015610dd95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610462565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610e08908490611474565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60008060008411610e9f5760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b6044820152606401610462565b610ea7611116565b841115610ef65760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e742069640000006044820152606401610462565b6000610f028486611126565b8454909150811415610f1b576000809250925050610f43565b6001846001018281548110610f3257610f3261148b565b906000526020600020015492509250505b9250929050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600954600160a01b900460ff1615610fe95760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610462565b6009805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610bf13390565b6000611034600880546001019055565b600061103e611116565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb678160405161107191815260200190565b60405180910390a1919050565b6001600160a01b0381166000908152600560209081526040808320918390529091205461053591906111e9565b6111e9565b6104f160066110ab60025490565b600954600160a01b900460ff161561110b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610462565b610646838383610827565b600061112160085490565b905090565b8154600090611137575060006103ce565b82546000905b808210156111935760006111518383611233565b9050848682815481106111665761116661148b565b9060005260206000200154111561117f5780915061118d565b61118a816001611427565b92505b5061113d565b6000821180156111c8575083856111ab600185611474565b815481106111bb576111bb61148b565b9060005260206000200154145b156111e1576111d8600183611474565b925050506103ce565b5090506103ce565b60006111f3611116565b9050806111ff84611255565b1015610646578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b600061124260028484186114a1565b61124e90848416611427565b9392505050565b805460009061126657506000919050565b8154829061127690600190611474565b815481106112865761128661148b565b90600052602060002001549050919050565b919050565b600060208083528351808285015260005b818110156112ca578581018301518582016040015282016112ae565b818111156112dc576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461129857600080fd5b6000806040838503121561131c57600080fd5b611325836112f2565b946020939093013593505050565b60008060006060848603121561134857600080fd5b611351846112f2565b925061135f602085016112f2565b9150604084013590509250925092565b60006020828403121561138157600080fd5b5035919050565b60006020828403121561139a57600080fd5b61124e826112f2565b600080604083850312156113b657600080fd5b6113bf836112f2565b91506113cd602084016112f2565b90509250929050565b600181811c908216806113ea57607f821691505b6020821081141561140b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561143a5761143a611411565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008282101561148657611486611411565b500390565b634e487b7160e01b600052603260045260246000fd5b6000826114be57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212200b0733b30e9d45eda382f44909176176ff28790fb50c6d08d6cdcdfc1230723d64736f6c634300080a0033
Deployed ByteCode Sourcemap
35199:743:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6366:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8533:169;;;;;;:::i;:::-;;:::i;:::-;;;1218:14:1;;1211:22;1193:41;;1181:2;1166:18;8533:169:0;1053:187:1;7486:108:0;7574:12;;7486:108;;;1391:25:1;;;1379:2;1364:18;7486:108:0;1245:177:1;9184:492:0;;;;;;:::i;:::-;;:::i;7328:93::-;;;7411:2;1902:36:1;;1890:2;1875:18;7328:93:0;1760:184:1;10085:215:0;;;;;;:::i;:::-;;:::i;35542:65::-;;;:::i;:::-;;35615:95;;;;;;:::i;:::-;;:::i;16814:91::-;;;;;;:::i;:::-;;:::i;26701:266::-;;;;;;:::i;:::-;;:::i;33940:86::-;34011:7;;-1:-1:-1;;;34011:7:0;;;;33940:86;;7657:127;;;;;;:::i;:::-;-1:-1:-1;;;;;7758:18:0;7731:7;7758:18;;;;;;;;;;;;7657:127;32241:94;;;:::i;17224:368::-;;;;;;:::i;:::-;;:::i;35473:61::-;;;:::i;31590:87::-;31663:6;;31590:87;;-1:-1:-1;;;;;31663:6:0;;;2471:51:1;;2459:2;2444:18;31590:87:0;2325:203:1;6585:104:0;;;:::i;35398:67::-;;;:::i;27071:234::-;;;;;;:::i;:::-;;:::i;10803:413::-;;;;;;:::i;:::-;;:::i;7997:175::-;;;;;;:::i;:::-;;:::i;8235:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;8351:18:0;;;8324:7;8351:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8235:151;32490:192;;;;;;:::i;:::-;;:::i;6366:100::-;6420:13;6453:5;6446:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6366:100;:::o;8533:169::-;8616:4;8633:39;4163:10;8656:7;8665:6;8633:8;:39::i;:::-;-1:-1:-1;8690:4:0;8533:169;;;;;:::o;9184:492::-;9324:4;9341:36;9351:6;9359:9;9370:6;9341:9;:36::i;:::-;-1:-1:-1;;;;;9417:19:0;;9390:24;9417:19;;;:11;:19;;;;;;;;4163:10;9417:33;;;;;;;;9469:26;;;;9461:79;;;;-1:-1:-1;;;9461:79:0;;3385:2:1;9461:79:0;;;3367:21:1;3424:2;3404:18;;;3397:30;3463:34;3443:18;;;3436:62;-1:-1:-1;;;3514:18:1;;;3507:38;3562:19;;9461:79:0;;;;;;;;;9576:57;9585:6;4163:10;9626:6;9607:16;:25;9576:8;:57::i;:::-;-1:-1:-1;9664:4:0;;9184:492;-1:-1:-1;;;;9184:492:0:o;10085:215::-;4163:10;10173:4;10222:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;10222:34:0;;;;;;;;;;10173:4;;10190:80;;10213:7;;10222:47;;10259:10;;10222:47;:::i;:::-;10190:8;:80::i;35542:65::-;31663:6;;-1:-1:-1;;;;;31663:6:0;4163:10;31810:23;31802:68;;;;-1:-1:-1;;;31802:68:0;;;;;;;:::i;:::-;35589:10:::1;:8;:10::i;:::-;35542:65::o:0;35615:95::-;31663:6;;-1:-1:-1;;;;;31663:6:0;4163:10;31810:23;31802:68;;;;-1:-1:-1;;;31802:68:0;;;;;;;:::i;:::-;35685:17:::1;35691:2;35695:6;35685:5;:17::i;:::-;35615:95:::0;;:::o;16814:91::-;16870:27;4163:10;16890:6;16870:5;:27::i;:::-;16814:91;:::o;26701:266::-;-1:-1:-1;;;;;26865:33:0;;26788:7;26865:33;;;:24;:33;;;;;26788:7;;;;26844:55;;26853:10;;26844:8;:55::i;:::-;26808:91;;;;26919:11;:40;;-1:-1:-1;;;;;7758:18:0;;7731:7;7758:18;;;;;;;;;;;26919:40;;;26933:5;26919:40;26912:47;26701:266;-1:-1:-1;;;;;26701:266:0:o;32241:94::-;31663:6;;-1:-1:-1;;;;;31663:6:0;4163:10;31810:23;31802:68;;;;-1:-1:-1;;;31802:68:0;;;;;;;:::i;:::-;32306:21:::1;32324:1;32306:9;:21::i;17224:368::-:0;17301:24;17328:32;17338:7;4163:10;8235:151;:::i;17328:32::-;17301:59;;17399:6;17379:16;:26;;17371:75;;;;-1:-1:-1;;;17371:75:0;;4420:2:1;17371:75:0;;;4402:21:1;4459:2;4439:18;;;4432:30;4498:34;4478:18;;;4471:62;-1:-1:-1;;;4549:18:1;;;4542:34;4593:19;;17371:75:0;4218:400:1;17371:75:0;17482:58;17491:7;4163:10;17533:6;17514:16;:25;17482:8;:58::i;:::-;17562:22;17568:7;17577:6;17562:5;:22::i;:::-;17290:302;17224:368;;:::o;35473:61::-;31663:6;;-1:-1:-1;;;;;31663:6:0;4163:10;31810:23;31802:68;;;;-1:-1:-1;;;31802:68:0;;;;;;;:::i;:::-;35518:8:::1;:6;:8::i;6585:104::-:0;6641:13;6674:7;6667:14;;;;;:::i;35398:67::-;31663:6;;-1:-1:-1;;;;;31663:6:0;4163:10;31810:23;31802:68;;;;-1:-1:-1;;;31802:68:0;;;;;;;:::i;:::-;35446:11:::1;:9;:11::i;27071:234::-:0;27143:7;27164:16;27182:13;27199:43;27208:10;27220:21;27199:8;:43::i;:::-;27163:79;;;;27262:11;:35;;7574:12;;27262:35;;;27276:5;27262:35;27255:42;27071:234;-1:-1:-1;;;;27071:234:0:o;10803:413::-;4163:10;10896:4;10940:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;10940:34:0;;;;;;;;;;10993:35;;;;10985:85;;;;-1:-1:-1;;;10985:85:0;;4825:2:1;10985:85:0;;;4807:21:1;4864:2;4844:18;;;4837:30;4903:34;4883:18;;;4876:62;-1:-1:-1;;;4954:18:1;;;4947:35;4999:19;;10985:85:0;4623:401:1;10985:85:0;11106:67;4163:10;11129:7;11157:15;11138:16;:34;11106:8;:67::i;:::-;-1:-1:-1;11204:4:0;;10803:413;-1:-1:-1;;;10803:413:0:o;7997:175::-;8083:4;8100:42;4163:10;8124:9;8135:6;8100:9;:42::i;32490:192::-;31663:6;;-1:-1:-1;;;;;31663:6:0;4163:10;31810:23;31802:68;;;;-1:-1:-1;;;31802:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;32579:22:0;::::1;32571:73;;;::::0;-1:-1:-1;;;32571:73:0;;5231:2:1;32571:73:0::1;::::0;::::1;5213:21:1::0;5270:2;5250:18;;;5243:30;5309:34;5289:18;;;5282:62;-1:-1:-1;;;5360:18:1;;;5353:36;5406:19;;32571:73:0::1;5029:402:1::0;32571:73:0::1;32655:19;32665:8;32655:9;:19::i;27522:622::-:0;-1:-1:-1;;;;;27726:18:0;;27722:415;;27782:26;27805:2;27782:22;:26::i;:::-;27823:28;:26;:28::i;27722:415::-;-1:-1:-1;;;;;27873:16:0;;27869:268;;27927:28;27950:4;27927:22;:28::i;27869:268::-;28056:28;28079:4;28056:22;:28::i;:::-;28099:26;28122:2;28099:22;:26::i;21151:114::-;21243:14;;21151:114::o;14487:380::-;-1:-1:-1;;;;;14623:19:0;;14615:68;;;;-1:-1:-1;;;14615:68:0;;5638:2:1;14615:68:0;;;5620:21:1;5677:2;5657:18;;;5650:30;5716:34;5696:18;;;5689:62;-1:-1:-1;;;5767:18:1;;;5760:34;5811:19;;14615:68:0;5436:400:1;14615:68:0;-1:-1:-1;;;;;14702:21:0;;14694:68;;;;-1:-1:-1;;;14694:68:0;;6043:2:1;14694:68:0;;;6025:21:1;6082:2;6062:18;;;6055:30;6121:34;6101:18;;;6094:62;-1:-1:-1;;;6172:18:1;;;6165:32;6214:19;;14694:68:0;5841:398:1;14694:68:0;-1:-1:-1;;;;;14775:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;14827:32;;1391:25:1;;;14827:32:0;;1364:18:1;14827:32:0;;;;;;;14487:380;;;:::o;11706:733::-;-1:-1:-1;;;;;11846:20:0;;11838:70;;;;-1:-1:-1;;;11838:70:0;;6446:2:1;11838:70:0;;;6428:21:1;6485:2;6465:18;;;6458:30;6524:34;6504:18;;;6497:62;-1:-1:-1;;;6575:18:1;;;6568:35;6620:19;;11838:70:0;6244:401:1;11838:70:0;-1:-1:-1;;;;;11927:23:0;;11919:71;;;;-1:-1:-1;;;11919:71:0;;6852:2:1;11919:71:0;;;6834:21:1;6891:2;6871:18;;;6864:30;6930:34;6910:18;;;6903:62;-1:-1:-1;;;6981:18:1;;;6974:33;7024:19;;11919:71:0;6650:399:1;11919:71:0;12003:47;12024:6;12032:9;12043:6;12003:20;:47::i;:::-;-1:-1:-1;;;;;12087:17:0;;12063:21;12087:17;;;;;;;;;;;12123:23;;;;12115:74;;;;-1:-1:-1;;;12115:74:0;;7256:2:1;12115:74:0;;;7238:21:1;7295:2;7275:18;;;7268:30;7334:34;7314:18;;;7307:62;-1:-1:-1;;;7385:18:1;;;7378:36;7431:19;;12115:74:0;7054:402:1;12115:74:0;-1:-1:-1;;;;;12225:17:0;;;:9;:17;;;;;;;;;;;12245:22;;;12225:42;;12289:20;;;;;;;;:30;;12261:6;;12225:9;12289:30;;12261:6;;12289:30;:::i;:::-;;;;;;;;12354:9;-1:-1:-1;;;;;12337:35:0;12346:6;-1:-1:-1;;;;;12337:35:0;;12365:6;12337:35;;;;1391:25:1;;1379:2;1364:18;;1245:177;12337:35:0;;;;;;;;11827:612;11706:733;;;:::o;34999:120::-;34011:7;;-1:-1:-1;;;34011:7:0;;;;34535:41;;;;-1:-1:-1;;;34535:41:0;;7663:2:1;34535:41:0;;;7645:21:1;7702:2;7682:18;;;7675:30;-1:-1:-1;;;7721:18:1;;;7714:50;7781:18;;34535:41:0;7461:344:1;34535:41:0;35058:7:::1;:15:::0;;-1:-1:-1;;;;35058:15:0::1;::::0;;35089:22:::1;4163:10:::0;35098:12:::1;35089:22;::::0;-1:-1:-1;;;;;2489:32:1;;;2471:51;;2459:2;2444:18;35089:22:0::1;;;;;;;34999:120::o:0;12726:399::-;-1:-1:-1;;;;;12810:21:0;;12802:65;;;;-1:-1:-1;;;12802:65:0;;8012:2:1;12802:65:0;;;7994:21:1;8051:2;8031:18;;;8024:30;8090:33;8070:18;;;8063:61;8141:18;;12802:65:0;7810:355:1;12802:65:0;12880:49;12909:1;12913:7;12922:6;12880:20;:49::i;:::-;12958:6;12942:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;12975:18:0;;:9;:18;;;;;;;;;;:28;;12997:6;;12975:9;:28;;12997:6;;12975:28;:::i;:::-;;;;-1:-1:-1;;13019:37:0;;1391:25:1;;;-1:-1:-1;;;;;13019:37:0;;;13036:1;;13019:37;;1379:2:1;1364:18;13019:37:0;;;;;;;35615:95;;:::o;13458:591::-;-1:-1:-1;;;;;13542:21:0;;13534:67;;;;-1:-1:-1;;;13534:67:0;;8372:2:1;13534:67:0;;;8354:21:1;8411:2;8391:18;;;8384:30;8450:34;8430:18;;;8423:62;-1:-1:-1;;;8501:18:1;;;8494:31;8542:19;;13534:67:0;8170:397:1;13534:67:0;13614:49;13635:7;13652:1;13656:6;13614:20;:49::i;:::-;-1:-1:-1;;;;;13701:18:0;;13676:22;13701:18;;;;;;;;;;;13738:24;;;;13730:71;;;;-1:-1:-1;;;13730:71:0;;8774:2:1;13730:71:0;;;8756:21:1;8813:2;8793:18;;;8786:30;8852:34;8832:18;;;8825:62;-1:-1:-1;;;8903:18:1;;;8896:32;8945:19;;13730:71:0;8572:398:1;13730:71:0;-1:-1:-1;;;;;13837:18:0;;:9;:18;;;;;;;;;;13858:23;;;13837:44;;13903:12;:22;;13875:6;;13837:9;13903:22;;13875:6;;13903:22;:::i;:::-;;;;-1:-1:-1;;13943:37:0;;1391:25:1;;;13969:1:0;;-1:-1:-1;;;;;13943:37:0;;;;;1379:2:1;1364:18;13943:37:0;;;;;;;17290:302;17224:368;;:::o;28152:1619::-;28241:4;28247:7;28288:1;28275:10;:14;28267:49;;;;-1:-1:-1;;;28267:49:0;;9307:2:1;28267:49:0;;;9289:21:1;9346:2;9326:18;;;9319:30;-1:-1:-1;;;9365:18:1;;;9358:52;9427:18;;28267:49:0;9105:346:1;28267:49:0;28349:23;:21;:23::i;:::-;28335:10;:37;;28327:79;;;;-1:-1:-1;;;28327:79:0;;9658:2:1;28327:79:0;;;9640:21:1;9697:2;9677:18;;;9670:30;9736:31;9716:18;;;9709:59;9785:18;;28327:79:0;9456:353:1;28327:79:0;29545:13;29561:40;:9;29590:10;29561:28;:40::i;:::-;29627:20;;29545:56;;-1:-1:-1;29618:29:0;;29614:150;;;29672:5;29679:1;29664:17;;;;;;;29614:150;29722:4;29728:9;:16;;29745:5;29728:23;;;;;;;;:::i;:::-;;;;;;;;;29714:38;;;;;28152:1619;;;;;;:::o;32690:173::-;32765:6;;;-1:-1:-1;;;;;32782:17:0;;;-1:-1:-1;;;;;;32782:17:0;;;;;;;32815:40;;32765:6;;;32782:17;32765:6;;32815:40;;32746:16;;32815:40;32735:128;32690:173;:::o;34740:118::-;34011:7;;-1:-1:-1;;;34011:7:0;;;;34265:9;34257:38;;;;-1:-1:-1;;;34257:38:0;;10148:2:1;34257:38:0;;;10130:21:1;10187:2;10167:18;;;10160:30;-1:-1:-1;;;10206:18:1;;;10199:46;10262:18;;34257:38:0;9946:340:1;34257:38:0;34800:7:::1;:14:::0;;-1:-1:-1;;;;34800:14:0::1;-1:-1:-1::0;;;34800:14:0::1;::::0;;34830:20:::1;34837:12;4163:10:::0;;4083:98;26173:223;26220:7;26240:30;:18;21362:19;;21380:1;21362:19;;;21273:127;26240:30;26283:17;26303:23;:21;:23::i;:::-;26283:43;;26342:19;26351:9;26342:19;;;;1391:25:1;;1379:2;1364:18;;1245:177;26342:19:0;;;;;;;;26379:9;26173:223;-1:-1:-1;26173:223:0:o;29779:146::-;-1:-1:-1;;;;;29863:33:0;;;;;;:24;:33;;;;;;;;7758:18;;;;;;;;29847:70;;29863:33;29847:15;:70::i;29898:18::-;29847:15;:70::i;29933:118::-;29990:53;30006:21;30029:13;7574:12;;;7486:108;35718:221;34011:7;;-1:-1:-1;;;34011:7:0;;;;34265:9;34257:38;;;;-1:-1:-1;;;34257:38:0;;10148:2:1;34257:38:0;;;10130:21:1;10187:2;10167:18;;;10160:30;-1:-1:-1;;;10206:18:1;;;10199:46;10262:18;;34257:38:0;9946:340:1;34257:38:0;35887:44:::1;35914:4;35920:2;35924:6;35887:26;:44::i;26462:127::-:0;26526:7;26553:28;:18;21243:14;;21151:114;26553:28;26546:35;;26462:127;:::o;19413:918::-;19526:12;;19502:7;;19522:58;;-1:-1:-1;19567:1:0;19560:8;;19522:58;19633:12;;19592:11;;19658:424;19671:4;19665:3;:10;19658:424;;;19692:11;19706:23;19719:3;19724:4;19706:12;:23::i;:::-;19692:37;;19963:7;19950:5;19956:3;19950:10;;;;;;;;:::i;:::-;;;;;;;;;:20;19946:125;;;19998:3;19991:10;;19946:125;;;20048:7;:3;20054:1;20048:7;:::i;:::-;20042:13;;19946:125;19677:405;19658:424;;;20208:1;20202:3;:7;:36;;;;-1:-1:-1;20231:7:0;20213:5;20219:7;20225:1;20219:3;:7;:::i;:::-;20213:14;;;;;;;;:::i;:::-;;;;;;;;;:25;20202:36;20198:126;;;20262:7;20268:1;20262:3;:7;:::i;:::-;20255:14;;;;;;20198:126;-1:-1:-1;20309:3:0;-1:-1:-1;20302:10:0;;30059:310;30154:17;30174:23;:21;:23::i;:::-;30154:43;-1:-1:-1;30154:43:0;30212:30;30228:9;30212:15;:30::i;:::-;:42;30208:154;;;30271:29;;;;;;;;-1:-1:-1;30271:29:0;;;;;;;;;;;;;;30315:16;;;:35;;;;;;;;;;;;;;;30059:310::o;18254:156::-;18316:7;18391:11;18401:1;18392:5;;;18391:11;:::i;:::-;18381:21;;18382:5;;;18381:21;:::i;:::-;18374:28;18254:156;-1:-1:-1;;;18254:156:0:o;30377:212::-;30471:10;;30447:7;;30467:115;;-1:-1:-1;30510:1:0;;30377:212;-1:-1:-1;30377:212:0:o;30467:115::-;30555:10;;30551:3;;30555:14;;30568:1;;30555:14;:::i;:::-;30551:19;;;;;;;;:::i;:::-;;;;;;;;;30544:26;;30377:212;;;:::o;30467:115::-;30377:212;;;:::o;14:597:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;595:2:1;574:15;-1:-1:-1;;570:29:1;555:45;;;;602:2;551:54;;14:597;-1:-1:-1;;;14:597:1:o;616:173::-;684:20;;-1:-1:-1;;;;;733:31:1;;723:42;;713:70;;779:1;776;769:12;794:254;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;1038:2;1023:18;;;;1010:32;;-1:-1:-1;;;794:254:1:o;1427:328::-;1504:6;1512;1520;1573:2;1561:9;1552:7;1548:23;1544:32;1541:52;;;1589:1;1586;1579:12;1541:52;1612:29;1631:9;1612:29;:::i;:::-;1602:39;;1660:38;1694:2;1683:9;1679:18;1660:38;:::i;:::-;1650:48;;1745:2;1734:9;1730:18;1717:32;1707:42;;1427:328;;;;;:::o;1949:180::-;2008:6;2061:2;2049:9;2040:7;2036:23;2032:32;2029:52;;;2077:1;2074;2067:12;2029:52;-1:-1:-1;2100:23:1;;1949:180;-1:-1:-1;1949:180:1:o;2134:186::-;2193:6;2246:2;2234:9;2225:7;2221:23;2217:32;2214:52;;;2262:1;2259;2252:12;2214:52;2285:29;2304:9;2285:29;:::i;2533:260::-;2601:6;2609;2662:2;2650:9;2641:7;2637:23;2633:32;2630:52;;;2678:1;2675;2668:12;2630:52;2701:29;2720:9;2701:29;:::i;:::-;2691:39;;2749:38;2783:2;2772:9;2768:18;2749:38;:::i;:::-;2739:48;;2533:260;;;;;:::o;2798:380::-;2877:1;2873:12;;;;2920;;;2941:61;;2995:4;2987:6;2983:17;2973:27;;2941:61;3048:2;3040:6;3037:14;3017:18;3014:38;3011:161;;;3094:10;3089:3;3085:20;3082:1;3075:31;3129:4;3126:1;3119:15;3157:4;3154:1;3147:15;3011:161;;2798:380;;;:::o;3592:127::-;3653:10;3648:3;3644:20;3641:1;3634:31;3684:4;3681:1;3674:15;3708:4;3705:1;3698:15;3724:128;3764:3;3795:1;3791:6;3788:1;3785:13;3782:39;;;3801:18;;:::i;:::-;-1:-1:-1;3837:9:1;;3724:128::o;3857:356::-;4059:2;4041:21;;;4078:18;;;4071:30;4137:34;4132:2;4117:18;;4110:62;4204:2;4189:18;;3857:356::o;8975:125::-;9015:4;9043:1;9040;9037:8;9034:34;;;9048:18;;:::i;:::-;-1:-1:-1;9085:9:1;;8975:125::o;9814:127::-;9875:10;9870:3;9866:20;9863:1;9856:31;9906:4;9903:1;9896:15;9930:4;9927:1;9920:15;10291:217;10331:1;10357;10347:132;;10401:10;10396:3;10392:20;10389:1;10382:31;10436:4;10433:1;10426:15;10464:4;10461:1;10454:15;10347:132;-1:-1:-1;10493:9:1;;10291:217::o
Swarm Source
ipfs://0b0733b30e9d45eda382f44909176176ff28790fb50c6d08d6cdcdfc1230723d
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Validator ID :
0 FTM
Amount Staked
0
Amount Delegated
0
Staking Total
0
Staking Start Epoch
0
Staking Start Time
0
Proof of Importance
0
Origination Score
0
Validation Score
0
Active
0
Online
0
Downtime
0 s
Address | Amount | claimed Rewards | Created On Epoch | Created On |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.