ETH Price: $3,854.39 (-2.23%)
Gas: 18 Gwei

Token

Fideum (FI)
 

Overview

Max Total Supply

4,000,000,000 FI

Holders

8,589 ( -0.012%)

Total Transfers

-

Market

Price

$0.01 @ 0.000003 ETH (-3.84%)

Onchain Market Cap

$40,756,520.00

Circulating Supply Market Cap

$40,756,514.00

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Fideum (previously blockbank) offers regulatory-compliant infrastructure tailored to the needs of financial institutions, banks, and SMEs. Its adaptable microservice architecture facilitates a wide range of financial services, enabling businesses to smoothly transition into the digital asset era.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
FI

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-12-17
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/[email protected]/interfaces/draft-IERC6093.sol

// 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);
}

// File: @openzeppelin/[email protected]/utils/Context.sol


// 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;
    }
}

// File: @openzeppelin/[email protected]/access/Ownable.sol


// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;


/**
 * @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);
    }
}

// File: @openzeppelin/[email protected]/utils/Pausable.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol)

pragma solidity ^0.8.20;


/**
 * @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 {
    bool private _paused;

    /**
     * @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);

    /**
     * @dev The operation failed because the contract is paused.
     */
    error EnforcedPause();

    /**
     * @dev The operation failed because the contract is not paused.
     */
    error ExpectedPause();

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        if (paused()) {
            revert EnforcedPause();
        }
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        if (!paused()) {
            revert ExpectedPause();
        }
    }

    /**
     * @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: @openzeppelin/[email protected]/token/ERC20/IERC20.sol


// 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);
}

// File: @openzeppelin/[email protected]/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;


/**
 * @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);
}

// File: @openzeppelin/[email protected]/token/ERC20/ERC20.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;





/**
 * @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);
            }
        }
    }
}

// File: @openzeppelin/[email protected]/token/ERC20/extensions/ERC20Pausable.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Pausable.sol)

pragma solidity ^0.8.20;



/**
 * @dev ERC20 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 *
 * IMPORTANT: This contract does not include public pause and unpause functions. In
 * addition to inheriting this contract, you must define both functions, invoking the
 * {Pausable-_pause} and {Pausable-_unpause} internal functions, with appropriate
 * access control, e.g. using {AccessControl} or {Ownable}. Not doing so will
 * make the contract pause mechanism of the contract unreachable, and thus unusable.
 */
abstract contract ERC20Pausable is ERC20, Pausable {
    /**
     * @dev See {ERC20-_update}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _update(address from, address to, uint256 value) internal virtual override whenNotPaused {
        super._update(from, to, value);
    }
}

// File: @openzeppelin/[email protected]/token/ERC20/extensions/ERC20Burnable.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.20;



/**
 * @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 a `value` amount of tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 value) public virtual {
        _burn(_msgSender(), value);
    }

    /**
     * @dev Destroys a `value` amount of 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
     * `value`.
     */
    function burnFrom(address account, uint256 value) public virtual {
        _spendAllowance(account, _msgSender(), value);
        _burn(account, value);
    }
}

// File: Fi.sol


pragma solidity ^0.8.20;

contract FI is ERC20, ERC20Burnable, ERC20Pausable, Ownable {
    mapping(address => bool) private _frozenAccounts;
    mapping(address => bool) private _blacklist;

    constructor(address initialOwner)
        ERC20("Fideum", "FI")
        Ownable(initialOwner)
    {
        _mint(initialOwner, 4000000000 * 10 ** decimals());
    }

    function freezeAccount(address account) public onlyOwner {
        _frozenAccounts[account] = true;
    }

    function unfreezeAccount(address account) public onlyOwner {
        _frozenAccounts[account] = false;
    }

    function isAccountFrozen(address account) public view returns (bool) {
        return _frozenAccounts[account];
    }

    // Function to blacklist an account
    function blacklist(address account) public onlyOwner {
        _blacklist[account] = true;
    }

    // Function to remove from blacklist
    function unblacklist(address account) public onlyOwner {
        _blacklist[account] = false;
    }

    // Function to check if an account is blacklisted
    function isBlacklisted(address account) public view returns (bool) {
        return _blacklist[account];
    }

    // Custom _beforeTokenTransfer function
    function _beforeTokenTransfer(address from, address to, uint256) internal view {
        require(!_frozenAccounts[from], "ERC20Pausable: token transfer from frozen account");
        require(!_blacklist[from], "Blacklisted: sender address is blacklisted");
        require(!_blacklist[to], "Blacklisted: recipient address is blacklisted");
    }

    // Override functions
    function transfer(address to, uint256 amount) public override returns (bool) {
        _beforeTokenTransfer(msg.sender, to, amount);
        return super.transfer(to, amount);
    }

    function transferFrom(address from, address to, uint256 amount) public override returns (bool) {
        _beforeTokenTransfer(from, to, amount);
        return super.transferFrom(from, to, amount);
    }

    function burn(uint256 amount) public override {
        _beforeTokenTransfer(msg.sender, address(0), amount);
        super.burn(amount);
    }

    function burnFrom(address account, uint256 amount) public onlyOwner override {
        _beforeTokenTransfer(account, address(0), amount);
        super.burnFrom(account, amount);
    }

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    function mint(address to, uint256 amount) public onlyOwner {
        _mint(to, amount);
    }

    function _update(address from, address to, uint256 value) internal override(ERC20, ERC20Pausable) {
        super._update(from, to, value);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"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":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":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":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":"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":[{"internalType":"address","name":"account","type":"address"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","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":"account","type":"address"}],"name":"freezeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isAccountFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"unblacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"unfreezeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200148338038062001483833981016040819052620000349162000323565b806040518060400160405280600681526020016546696465756d60d01b81525060405180604001604052806002815260200161464960f01b8152508160039081620000809190620003f9565b5060046200008f8282620003f9565b50506005805460ff19169055506001600160a01b038116620000cc57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000d78162000108565b506200010181620000eb6012600a620005da565b620000fb9063ee6b2800620005eb565b62000162565b506200061b565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200018e5760405163ec442f0560e01b815260006004820152602401620000c3565b6200019c60008383620001a0565b5050565b620001ad838383620001b2565b505050565b620001bc620001c9565b620001ad838383620001f0565b60055460ff1615620001ee5760405163d93c066560e01b815260040160405180910390fd5b565b6001600160a01b0383166200021f57806002600082825462000213919062000605565b90915550620002939050565b6001600160a01b03831660009081526020819052604090205481811015620002745760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000c3565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620002b157600280548290039055620002d0565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200031691815260200190565b60405180910390a3505050565b6000602082840312156200033657600080fd5b81516001600160a01b03811681146200034e57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200038057607f821691505b602082108103620003a157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001ad57600081815260208120601f850160051c81016020861015620003d05750805b601f850160051c820191505b81811015620003f157828155600101620003dc565b505050505050565b81516001600160401b0381111562000415576200041562000355565b6200042d816200042684546200036b565b84620003a7565b602080601f8311600181146200046557600084156200044c5750858301515b600019600386901b1c1916600185901b178555620003f1565b600085815260208120601f198616915b82811015620004965788860151825594840194600190910190840162000475565b5085821015620004b55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200051c578160001904821115620005005762000500620004c5565b808516156200050e57918102915b93841c9390800290620004e0565b509250929050565b6000826200053557506001620005d4565b816200054457506000620005d4565b81600181146200055d5760028114620005685762000588565b6001915050620005d4565b60ff8411156200057c576200057c620004c5565b50506001821b620005d4565b5060208310610133831016604e8410600b8410161715620005ad575081810a620005d4565b620005b98383620004db565b8060001904821115620005d057620005d0620004c5565b0290505b92915050565b60006200034e60ff84168362000524565b8082028115828204841417620005d457620005d4620004c5565b80820180821115620005d457620005d4620004c5565b610e58806200062b6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063788649ea116100c3578063dd62ed3e1161007c578063dd62ed3e146102c3578063e816d97f146102fc578063f26c159f14610328578063f2fde38b1461033b578063f9f92be41461034e578063fe575a871461036157600080fd5b8063788649ea1461025157806379cc6790146102645780638456cb59146102775780638da5cb5b1461027f57806395d89b41146102a8578063a9059cbb146102b057600080fd5b806340c10f191161011557806340c10f19146101dc57806342966c68146101ef5780635c975abb1461020257806370a082311461020d578063715018a61461023657806375e3661e1461023e57600080fd5b806306fdde031461015d578063095ea7b31461017b57806318160ddd1461019e57806323b872dd146101b0578063313ce567146101c35780633f4ba83a146101d2575b600080fd5b61016561038d565b6040516101729190610c90565b60405180910390f35b61018e610189366004610cfa565b61041f565b6040519015158152602001610172565b6002545b604051908152602001610172565b61018e6101be366004610d24565b610439565b60405160128152602001610172565b6101da610459565b005b6101da6101ea366004610cfa565b61046b565b6101da6101fd366004610d60565b610481565b60055460ff1661018e565b6101a261021b366004610d79565b6001600160a01b031660009081526020819052604090205490565b6101da610499565b6101da61024c366004610d79565b6104ab565b6101da61025f366004610d79565b6104d4565b6101da610272366004610cfa565b6104fd565b6101da61051b565b60055461010090046001600160a01b03166040516001600160a01b039091168152602001610172565b61016561052b565b61018e6102be366004610cfa565b61053a565b6101a26102d1366004610d94565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61018e61030a366004610d79565b6001600160a01b031660009081526006602052604090205460ff1690565b6101da610336366004610d79565b610558565b6101da610349366004610d79565b610584565b6101da61035c366004610d79565b6105c4565b61018e61036f366004610d79565b6001600160a01b031660009081526007602052604090205460ff1690565b60606003805461039c90610dc7565b80601f01602080910402602001604051908101604052809291908181526020018280546103c890610dc7565b80156104155780601f106103ea57610100808354040283529160200191610415565b820191906000526020600020905b8154815290600101906020018083116103f857829003601f168201915b5050505050905090565b60003361042d8185856105f0565b60019150505b92915050565b6000610446848484610602565b610451848484610780565b949350505050565b6104616107a4565b6104696107d7565b565b6104736107a4565b61047d8282610829565b5050565b61048d33600083610602565b6104968161085f565b50565b6104a16107a4565b6104696000610869565b6104b36107a4565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6104dc6107a4565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6105056107a4565b61051182600083610602565b61047d82826108c3565b6105236107a4565b6104696108d8565b60606004805461039c90610dc7565b6000610547338484610602565b6105518383610915565b9392505050565b6105606107a4565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b61058c6107a4565b6001600160a01b0381166105bb57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61049681610869565b6105cc6107a4565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6105fd8383836001610923565b505050565b6001600160a01b03831660009081526006602052604090205460ff16156106855760405162461bcd60e51b815260206004820152603160248201527f45524332305061757361626c653a20746f6b656e207472616e736665722066726044820152701bdb48199c9bde995b881858d8dbdd5b9d607a1b60648201526084016105b2565b6001600160a01b03831660009081526007602052604090205460ff16156107015760405162461bcd60e51b815260206004820152602a60248201527f426c61636b6c69737465643a2073656e646572206164647265737320697320626044820152691b1858dadb1a5cdd195960b21b60648201526084016105b2565b6001600160a01b03821660009081526007602052604090205460ff16156105fd5760405162461bcd60e51b815260206004820152602d60248201527f426c61636b6c69737465643a20726563697069656e742061646472657373206960448201526c1cc8189b1858dadb1a5cdd1959609a1b60648201526084016105b2565b60003361078e8582856109f9565b610799858585610a71565b506001949350505050565b6005546001600160a01b036101009091041633146104695760405163118cdaa760e01b81523360048201526024016105b2565b6107df610ad0565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166108535760405163ec442f0560e01b8152600060048201526024016105b2565b61047d60008383610af3565b6104963382610afe565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108ce8233836109f9565b61047d8282610afe565b6108e0610b34565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861080c3390565b60003361042d818585610a71565b6001600160a01b03841661094d5760405163e602df0560e01b8152600060048201526024016105b2565b6001600160a01b03831661097757604051634a1406b160e11b8152600060048201526024016105b2565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156109f357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516109ea91815260200190565b60405180910390a35b50505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146109f35781811015610a6257604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016105b2565b6109f384848484036000610923565b6001600160a01b038316610a9b57604051634b637e8f60e11b8152600060048201526024016105b2565b6001600160a01b038216610ac55760405163ec442f0560e01b8152600060048201526024016105b2565b6105fd838383610af3565b60055460ff1661046957604051638dfc202b60e01b815260040160405180910390fd5b6105fd838383610b58565b6001600160a01b038216610b2857604051634b637e8f60e11b8152600060048201526024016105b2565b61047d82600083610af3565b60055460ff16156104695760405163d93c066560e01b815260040160405180910390fd5b610b60610b34565b6105fd8383836001600160a01b038316610b91578060026000828254610b869190610e01565b90915550610c039050565b6001600160a01b03831660009081526020819052604090205481811015610be45760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016105b2565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610c1f57600280548290039055610c3e565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c8391815260200190565b60405180910390a3505050565b600060208083528351808285015260005b81811015610cbd57858101830151858201604001528201610ca1565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610cf557600080fd5b919050565b60008060408385031215610d0d57600080fd5b610d1683610cde565b946020939093013593505050565b600080600060608486031215610d3957600080fd5b610d4284610cde565b9250610d5060208501610cde565b9150604084013590509250925092565b600060208284031215610d7257600080fd5b5035919050565b600060208284031215610d8b57600080fd5b61055182610cde565b60008060408385031215610da757600080fd5b610db083610cde565b9150610dbe60208401610cde565b90509250929050565b600181811c90821680610ddb57607f821691505b602082108103610dfb57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561043357634e487b7160e01b600052601160045260246000fdfea2646970667358221220df317bebc68c4cfd4ba211faabd7b405b51f3a29e4230c294ab36d7cd040428964736f6c634300081400330000000000000000000000002deba735e0b089e134e29eaa4bc908ecc6dda6b2

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101585760003560e01c8063788649ea116100c3578063dd62ed3e1161007c578063dd62ed3e146102c3578063e816d97f146102fc578063f26c159f14610328578063f2fde38b1461033b578063f9f92be41461034e578063fe575a871461036157600080fd5b8063788649ea1461025157806379cc6790146102645780638456cb59146102775780638da5cb5b1461027f57806395d89b41146102a8578063a9059cbb146102b057600080fd5b806340c10f191161011557806340c10f19146101dc57806342966c68146101ef5780635c975abb1461020257806370a082311461020d578063715018a61461023657806375e3661e1461023e57600080fd5b806306fdde031461015d578063095ea7b31461017b57806318160ddd1461019e57806323b872dd146101b0578063313ce567146101c35780633f4ba83a146101d2575b600080fd5b61016561038d565b6040516101729190610c90565b60405180910390f35b61018e610189366004610cfa565b61041f565b6040519015158152602001610172565b6002545b604051908152602001610172565b61018e6101be366004610d24565b610439565b60405160128152602001610172565b6101da610459565b005b6101da6101ea366004610cfa565b61046b565b6101da6101fd366004610d60565b610481565b60055460ff1661018e565b6101a261021b366004610d79565b6001600160a01b031660009081526020819052604090205490565b6101da610499565b6101da61024c366004610d79565b6104ab565b6101da61025f366004610d79565b6104d4565b6101da610272366004610cfa565b6104fd565b6101da61051b565b60055461010090046001600160a01b03166040516001600160a01b039091168152602001610172565b61016561052b565b61018e6102be366004610cfa565b61053a565b6101a26102d1366004610d94565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61018e61030a366004610d79565b6001600160a01b031660009081526006602052604090205460ff1690565b6101da610336366004610d79565b610558565b6101da610349366004610d79565b610584565b6101da61035c366004610d79565b6105c4565b61018e61036f366004610d79565b6001600160a01b031660009081526007602052604090205460ff1690565b60606003805461039c90610dc7565b80601f01602080910402602001604051908101604052809291908181526020018280546103c890610dc7565b80156104155780601f106103ea57610100808354040283529160200191610415565b820191906000526020600020905b8154815290600101906020018083116103f857829003601f168201915b5050505050905090565b60003361042d8185856105f0565b60019150505b92915050565b6000610446848484610602565b610451848484610780565b949350505050565b6104616107a4565b6104696107d7565b565b6104736107a4565b61047d8282610829565b5050565b61048d33600083610602565b6104968161085f565b50565b6104a16107a4565b6104696000610869565b6104b36107a4565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6104dc6107a4565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6105056107a4565b61051182600083610602565b61047d82826108c3565b6105236107a4565b6104696108d8565b60606004805461039c90610dc7565b6000610547338484610602565b6105518383610915565b9392505050565b6105606107a4565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b61058c6107a4565b6001600160a01b0381166105bb57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61049681610869565b6105cc6107a4565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6105fd8383836001610923565b505050565b6001600160a01b03831660009081526006602052604090205460ff16156106855760405162461bcd60e51b815260206004820152603160248201527f45524332305061757361626c653a20746f6b656e207472616e736665722066726044820152701bdb48199c9bde995b881858d8dbdd5b9d607a1b60648201526084016105b2565b6001600160a01b03831660009081526007602052604090205460ff16156107015760405162461bcd60e51b815260206004820152602a60248201527f426c61636b6c69737465643a2073656e646572206164647265737320697320626044820152691b1858dadb1a5cdd195960b21b60648201526084016105b2565b6001600160a01b03821660009081526007602052604090205460ff16156105fd5760405162461bcd60e51b815260206004820152602d60248201527f426c61636b6c69737465643a20726563697069656e742061646472657373206960448201526c1cc8189b1858dadb1a5cdd1959609a1b60648201526084016105b2565b60003361078e8582856109f9565b610799858585610a71565b506001949350505050565b6005546001600160a01b036101009091041633146104695760405163118cdaa760e01b81523360048201526024016105b2565b6107df610ad0565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166108535760405163ec442f0560e01b8152600060048201526024016105b2565b61047d60008383610af3565b6104963382610afe565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108ce8233836109f9565b61047d8282610afe565b6108e0610b34565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861080c3390565b60003361042d818585610a71565b6001600160a01b03841661094d5760405163e602df0560e01b8152600060048201526024016105b2565b6001600160a01b03831661097757604051634a1406b160e11b8152600060048201526024016105b2565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156109f357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516109ea91815260200190565b60405180910390a35b50505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146109f35781811015610a6257604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016105b2565b6109f384848484036000610923565b6001600160a01b038316610a9b57604051634b637e8f60e11b8152600060048201526024016105b2565b6001600160a01b038216610ac55760405163ec442f0560e01b8152600060048201526024016105b2565b6105fd838383610af3565b60055460ff1661046957604051638dfc202b60e01b815260040160405180910390fd5b6105fd838383610b58565b6001600160a01b038216610b2857604051634b637e8f60e11b8152600060048201526024016105b2565b61047d82600083610af3565b60055460ff16156104695760405163d93c066560e01b815260040160405180910390fd5b610b60610b34565b6105fd8383836001600160a01b038316610b91578060026000828254610b869190610e01565b90915550610c039050565b6001600160a01b03831660009081526020819052604090205481811015610be45760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016105b2565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610c1f57600280548290039055610c3e565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c8391815260200190565b60405180910390a3505050565b600060208083528351808285015260005b81811015610cbd57858101830151858201604001528201610ca1565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610cf557600080fd5b919050565b60008060408385031215610d0d57600080fd5b610d1683610cde565b946020939093013593505050565b600080600060608486031215610d3957600080fd5b610d4284610cde565b9250610d5060208501610cde565b9150604084013590509250925092565b600060208284031215610d7257600080fd5b5035919050565b600060208284031215610d8b57600080fd5b61055182610cde565b60008060408385031215610da757600080fd5b610db083610cde565b9150610dbe60208401610cde565b90509250929050565b600181811c90821680610ddb57607f821691505b602082108103610dfb57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561043357634e487b7160e01b600052601160045260246000fdfea2646970667358221220df317bebc68c4cfd4ba211faabd7b405b51f3a29e4230c294ab36d7cd040428964736f6c63430008140033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000002deba735e0b089e134e29eaa4bc908ecc6dda6b2

-----Decoded View---------------
Arg [0] : initialOwner (address): 0x2DEbA735E0b089e134E29eaA4BC908eCC6dDa6b2

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002deba735e0b089e134e29eaa4bc908ecc6dda6b2


Deployed Bytecode Sourcemap

31302:2764:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19479:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21772:190;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;21772:190:0;1004:187:1;20581:99:0;20660:12;;20581:99;;;1342:25:1;;;1330:2;1315:18;20581:99:0;1196:177:1;33108:206:0;;;;;;:::i;:::-;;:::i;20432:84::-;;;20506:2;1853:36:1;;1841:2;1826:18;20432:84:0;1711:184:1;33740:65:0;;;:::i;:::-;;33813:95;;;;;;:::i;:::-;;:::i;33322:146::-;;;;;;:::i;:::-;;:::i;12882:86::-;12953:7;;;;12882:86;;20743:118;;;;;;:::i;:::-;-1:-1:-1;;;;;20835:18:0;20808:7;20835:18;;;;;;;;;;;;20743:118;10140:103;;;:::i;32203:101::-;;;;;;:::i;:::-;;:::i;31769:110::-;;;;;;:::i;:::-;;:::i;33476:187::-;;;;;;:::i;:::-;;:::i;33671:61::-;;;:::i;9465:87::-;9538:6;;;;;-1:-1:-1;;;;;9538:6:0;9465:87;;-1:-1:-1;;;;;2440:32:1;;;2422:51;;2410:2;2395:18;9465:87:0;2276:203:1;19689:95:0;;;:::i;32916:184::-;;;;;;:::i;:::-;;:::i;21311:142::-;;;;;;:::i;:::-;-1:-1:-1;;;;;21418:18:0;;;21391:7;21418:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;21311:142;31887:119;;;;;;:::i;:::-;-1:-1:-1;;;;;31974:24:0;31950:4;31974:24;;;:15;:24;;;;;;;;;31887:119;31654:107;;;;;;:::i;:::-;;:::i;10398:220::-;;;;;;:::i;:::-;;:::i;32055:98::-;;;;;;:::i;:::-;;:::i;32367:112::-;;;;;;:::i;:::-;-1:-1:-1;;;;;32452:19:0;32428:4;32452:19;;;:10;:19;;;;;;;;;32367:112;19479:91;19524:13;19557:5;19550:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19479:91;:::o;21772:190::-;21845:4;7548:10;21901:31;7548:10;21917:7;21926:5;21901:8;:31::i;:::-;21950:4;21943:11;;;21772:190;;;;;:::o;33108:206::-;33197:4;33214:38;33235:4;33241:2;33245:6;33214:20;:38::i;:::-;33270:36;33289:4;33295:2;33299:6;33270:18;:36::i;:::-;33263:43;33108:206;-1:-1:-1;;;;33108:206:0:o;33740:65::-;9351:13;:11;:13::i;:::-;33787:10:::1;:8;:10::i;:::-;33740:65::o:0;33813:95::-;9351:13;:11;:13::i;:::-;33883:17:::1;33889:2;33893:6;33883:5;:17::i;:::-;33813:95:::0;;:::o;33322:146::-;33379:52;33400:10;33420:1;33424:6;33379:20;:52::i;:::-;33442:18;33453:6;33442:10;:18::i;:::-;33322:146;:::o;10140:103::-;9351:13;:11;:13::i;:::-;10205:30:::1;10232:1;10205:18;:30::i;32203:101::-:0;9351:13;:11;:13::i;:::-;-1:-1:-1;;;;;32269:19:0::1;32291:5;32269:19:::0;;;:10:::1;:19;::::0;;;;:27;;-1:-1:-1;;32269:27:0::1;::::0;;32203:101::o;31769:110::-;9351:13;:11;:13::i;:::-;-1:-1:-1;;;;;31839:24:0::1;31866:5;31839:24:::0;;;:15:::1;:24;::::0;;;;:32;;-1:-1:-1;;31839:32:0::1;::::0;;31769:110::o;33476:187::-;9351:13;:11;:13::i;:::-;33564:49:::1;33585:7;33602:1;33606:6;33564:20;:49::i;:::-;33624:31;33639:7;33648:6;33624:14;:31::i;33671:61::-:0;9351:13;:11;:13::i;:::-;33716:8:::1;:6;:8::i;19689:95::-:0;19736:13;19769:7;19762:14;;;;;:::i;32916:184::-;32987:4;33004:44;33025:10;33037:2;33041:6;33004:20;:44::i;:::-;33066:26;33081:2;33085:6;33066:14;:26::i;:::-;33059:33;32916:184;-1:-1:-1;;;32916:184:0:o;31654:107::-;9351:13;:11;:13::i;:::-;-1:-1:-1;;;;;31722:24:0::1;;::::0;;;:15:::1;:24;::::0;;;;:31;;-1:-1:-1;;31722:31:0::1;31749:4;31722:31;::::0;;31654:107::o;10398:220::-;9351:13;:11;:13::i;:::-;-1:-1:-1;;;;;10483:22:0;::::1;10479:93;;10529:31;::::0;-1:-1:-1;;;10529:31:0;;10557:1:::1;10529:31;::::0;::::1;2422:51:1::0;2395:18;;10529:31:0::1;;;;;;;;10479:93;10582:28;10601:8;10582:18;:28::i;32055:98::-:0;9351:13;:11;:13::i;:::-;-1:-1:-1;;;;;32119:19:0::1;;::::0;;;:10:::1;:19;::::0;;;;:26;;-1:-1:-1;;32119:26:0::1;32141:4;32119:26;::::0;;32055:98::o;26599:130::-;26684:37;26693:5;26700:7;26709:5;26716:4;26684:8;:37::i;:::-;26599:130;;;:::o;32532:349::-;-1:-1:-1;;;;;32631:21:0;;;;;;:15;:21;;;;;;;;32630:22;32622:84;;;;-1:-1:-1;;;32622:84:0;;3336:2:1;32622:84:0;;;3318:21:1;3375:2;3355:18;;;3348:30;3414:34;3394:18;;;3387:62;-1:-1:-1;;;3465:18:1;;;3458:47;3522:19;;32622:84:0;3134:413:1;32622:84:0;-1:-1:-1;;;;;32726:16:0;;;;;;:10;:16;;;;;;;;32725:17;32717:72;;;;-1:-1:-1;;;32717:72:0;;3754:2:1;32717:72:0;;;3736:21:1;3793:2;3773:18;;;3766:30;3832:34;3812:18;;;3805:62;-1:-1:-1;;;3883:18:1;;;3876:40;3933:19;;32717:72:0;3552:406:1;32717:72:0;-1:-1:-1;;;;;32809:14:0;;;;;;:10;:14;;;;;;;;32808:15;32800:73;;;;-1:-1:-1;;;32800:73:0;;4165:2:1;32800:73:0;;;4147:21:1;4204:2;4184:18;;;4177:30;4243:34;4223:18;;;4216:62;-1:-1:-1;;;4294:18:1;;;4287:43;4347:19;;32800:73:0;3963:409:1;22540:249:0;22627:4;7548:10;22685:37;22701:4;7548:10;22716:5;22685:15;:37::i;:::-;22733:26;22743:4;22749:2;22753:5;22733:9;:26::i;:::-;-1:-1:-1;22777:4:0;;22540:249;-1:-1:-1;;;;22540:249:0:o;9630:166::-;9538:6;;-1:-1:-1;;;;;9538:6:0;;;;;7548:10;9690:23;9686:103;;9737:40;;-1:-1:-1;;;9737:40:0;;7548:10;9737:40;;;2422:51:1;2395:18;;9737:40:0;2276:203:1;13783:120:0;12746:16;:14;:16::i;:::-;13842:7:::1;:15:::0;;-1:-1:-1;;13842:15:0::1;::::0;;13873:22:::1;7548:10:::0;13882:12:::1;13873:22;::::0;-1:-1:-1;;;;;2440:32:1;;;2422:51;;2410:2;2395:18;13873:22:0::1;;;;;;;13783:120::o:0;25294:213::-;-1:-1:-1;;;;;25365:21:0;;25361:93;;25410:32;;-1:-1:-1;;;25410:32:0;;25439:1;25410:32;;;2422:51:1;2395:18;;25410:32:0;2276:203:1;25361:93:0;25464:35;25480:1;25484:7;25493:5;25464:7;:35::i;30667:89::-;30722:26;7548:10;30742:5;30722;:26::i;10778:191::-;10871:6;;;-1:-1:-1;;;;;10888:17:0;;;10871:6;10888:17;;;-1:-1:-1;;;;;;10888:17:0;;;;;;10921:40;;10871:6;;;;;;;;10921:40;;10852:16;;10921:40;10841:128;10778:191;:::o;31085:161::-;31161:45;31177:7;7548:10;31200:5;31161:15;:45::i;:::-;31217:21;31223:7;31232:5;31217;:21::i;13524:118::-;12487:19;:17;:19::i;:::-;13584:7:::1;:14:::0;;-1:-1:-1;;13584:14:0::1;13594:4;13584:14;::::0;;13614:20:::1;13621:12;7548:10:::0;;7468:98;21066:182;21135:4;7548:10;21191:27;7548:10;21208:2;21212:5;21191:9;:27::i;27580:443::-;-1:-1:-1;;;;;27693:19:0;;27689:91;;27736:32;;-1:-1:-1;;;27736:32:0;;27765:1;27736:32;;;2422:51:1;2395:18;;27736:32:0;2276:203:1;27689:91:0;-1:-1:-1;;;;;27794:21:0;;27790:92;;27839:31;;-1:-1:-1;;;27839:31:0;;27867:1;27839:31;;;2422:51:1;2395:18;;27839:31:0;2276:203:1;27790:92:0;-1:-1:-1;;;;;27892:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;27938:78;;;;27989:7;-1:-1:-1;;;;;27973:31:0;27982:5;-1:-1:-1;;;;;27973:31:0;;27998:5;27973:31;;;;1342:25:1;;1330:2;1315:18;;1196:177;27973:31:0;;;;;;;;27938:78;27580:443;;;;:::o;28315:487::-;-1:-1:-1;;;;;21418:18:0;;;28415:24;21418:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;28482:37:0;;28478:317;;28559:5;28540:16;:24;28536:132;;;28592:60;;-1:-1:-1;;;28592:60:0;;-1:-1:-1;;;;;4597:32:1;;28592:60:0;;;4579:51:1;4646:18;;;4639:34;;;4689:18;;;4682:34;;;4552:18;;28592:60:0;4377:345:1;28536:132:0;28711:57;28720:5;28727:7;28755:5;28736:16;:24;28762:5;28711:8;:57::i;23174:308::-;-1:-1:-1;;;;;23258:18:0;;23254:88;;23300:30;;-1:-1:-1;;;23300:30:0;;23327:1;23300:30;;;2422:51:1;2395:18;;23300:30:0;2276:203:1;23254:88:0;-1:-1:-1;;;;;23356:16:0;;23352:88;;23396:32;;-1:-1:-1;;;23396:32:0;;23425:1;23396:32;;;2422:51:1;2395:18;;23396:32:0;2276:203:1;23352:88:0;23450:24;23458:4;23464:2;23468:5;23450:7;:24::i;13250:130::-;12953:7;;;;13309:64;;13346:15;;-1:-1:-1;;;13346:15:0;;;;;;;;;;;33916:147;34025:30;34039:4;34045:2;34049:5;34025:13;:30::i;25835:211::-;-1:-1:-1;;;;;25906:21:0;;25902:91;;25951:30;;-1:-1:-1;;;25951:30:0;;25978:1;25951:30;;;2422:51:1;2395:18;;25951:30:0;2276:203:1;25902:91:0;26003:35;26011:7;26028:1;26032:5;26003:7;:35::i;13041:132::-;12953:7;;;;13103:63;;;13139:15;;-1:-1:-1;;;13139:15:0;;;;;;;;;;;29912:147;12487:19;:17;:19::i;:::-;30021:30:::1;30035:4;30041:2;30045:5;-1:-1:-1::0;;;;;23896:18:0;;23892:552;;24050:5;24034:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;23892:552:0;;-1:-1:-1;23892:552:0;;-1:-1:-1;;;;;24110:15:0;;24088:19;24110:15;;;;;;;;;;;24144:19;;;24140:117;;;24191:50;;-1:-1:-1;;;24191:50:0;;-1:-1:-1;;;;;4597:32:1;;24191:50:0;;;4579:51:1;4646:18;;;4639:34;;;4689:18;;;4682:34;;;4552:18;;24191:50:0;4377:345:1;24140:117:0;-1:-1:-1;;;;;24380:15:0;;:9;:15;;;;;;;;;;24398:19;;;;24380:37;;23892:552;-1:-1:-1;;;;;24460:16:0;;24456:435;;24626:12;:21;;;;;;;24456:435;;;-1:-1:-1;;;;;24842:13:0;;:9;:13;;;;;;;;;;:22;;;;;;24456:435;24923:2;-1:-1:-1;;;;;24908:25:0;24917:4;-1:-1:-1;;;;;24908:25:0;;24927:5;24908:25;;;;1342::1;;1330:2;1315:18;;1196:177;24908:25:0;;;;;;;;23806:1135;;;:::o;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;1900:180::-;1959:6;2012:2;2000:9;1991:7;1987:23;1983:32;1980:52;;;2028:1;2025;2018:12;1980:52;-1:-1:-1;2051:23:1;;1900:180;-1:-1:-1;1900:180:1:o;2085:186::-;2144:6;2197:2;2185:9;2176:7;2172:23;2168:32;2165:52;;;2213:1;2210;2203:12;2165:52;2236:29;2255:9;2236:29;:::i;2484:260::-;2552:6;2560;2613:2;2601:9;2592:7;2588:23;2584:32;2581:52;;;2629:1;2626;2619:12;2581:52;2652:29;2671:9;2652:29;:::i;:::-;2642:39;;2700:38;2734:2;2723:9;2719:18;2700:38;:::i;:::-;2690:48;;2484:260;;;;;:::o;2749:380::-;2828:1;2824:12;;;;2871;;;2892:61;;2946:4;2938:6;2934:17;2924:27;;2892:61;2999:2;2991:6;2988:14;2968:18;2965:38;2962:161;;3045:10;3040:3;3036:20;3033:1;3026:31;3080:4;3077:1;3070:15;3108:4;3105:1;3098:15;2962:161;;2749:380;;;:::o;4727:222::-;4792:9;;;4813:10;;;4810:133;;;4865:10;4860:3;4856:20;4853:1;4846:31;4900:4;4897:1;4890:15;4928:4;4925:1;4918:15

Swarm Source

ipfs://df317bebc68c4cfd4ba211faabd7b405b51f3a29e4230c294ab36d7cd0404289
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.