Contract

0x0a54364631Ea37813a63edb3bBa1C46f8d8304B2

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

-

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve14541992024-12-24 11:08:5224 mins ago1735038532IN
0x0a543646...f8d8304B2
0 S0.00005241.1
Approve13996032024-12-23 23:57:2811 hrs ago1734998248IN
0x0a543646...f8d8304B2
0 S0.000051371.1
Transfer13785142024-12-23 19:23:4916 hrs ago1734981829IN
0x0a543646...f8d8304B2
0 S0.00005681.1
Transfer13523092024-12-23 15:05:3020 hrs ago1734966330IN
0x0a543646...f8d8304B2
0 S0.000038021.1
Approve13447662024-12-23 13:39:1021 hrs ago1734961150IN
0x0a543646...f8d8304B2
0 S0.000051371.1
Approve13336512024-12-23 11:22:5724 hrs ago1734952977IN
0x0a543646...f8d8304B2
0 S0.000051371.1
Approve13123612024-12-23 6:58:2628 hrs ago1734937106IN
0x0a543646...f8d8304B2
0 S0.000051111.1
Transfer12519032024-12-22 23:46:2735 hrs ago1734911187IN
0x0a543646...f8d8304B2
0 S0.00006021.11
Transfer12518412024-12-22 23:46:0035 hrs ago1734911160IN
0x0a543646...f8d8304B2
0 S0.00006021.11
Transfer12517602024-12-22 23:45:1835 hrs ago1734911118IN
0x0a543646...f8d8304B2
0 S0.000060211.11
Transfer12516092024-12-22 23:43:5335 hrs ago1734911033IN
0x0a543646...f8d8304B2
0 S0.00006021.11
Transfer12513732024-12-22 23:41:0635 hrs ago1734910866IN
0x0a543646...f8d8304B2
0 S0.000040271.11
Transfer12513052024-12-22 23:40:1735 hrs ago1734910817IN
0x0a543646...f8d8304B2
0 S0.000040271.11
Transfer12509192024-12-22 23:35:0035 hrs ago1734910500IN
0x0a543646...f8d8304B2
0 S0.000040261.11
Transfer12507822024-12-22 23:32:5836 hrs ago1734910378IN
0x0a543646...f8d8304B2
0 S0.000040271.11
Transfer12507462024-12-22 23:32:3036 hrs ago1734910350IN
0x0a543646...f8d8304B2
0 S0.000040261.11
Transfer12507122024-12-22 23:31:5736 hrs ago1734910317IN
0x0a543646...f8d8304B2
0 S0.000040261.11
Transfer12497532024-12-22 23:16:0436 hrs ago1734909364IN
0x0a543646...f8d8304B2
0 S0.000040261.11
Transfer12497302024-12-22 23:15:4236 hrs ago1734909342IN
0x0a543646...f8d8304B2
0 S0.000040261.11
Transfer12497082024-12-22 23:15:2036 hrs ago1734909320IN
0x0a543646...f8d8304B2
0 S0.000040261.11
Transfer12474672024-12-22 22:42:3736 hrs ago1734907357IN
0x0a543646...f8d8304B2
0 S0.000060191.11
Approve12470052024-12-22 22:36:1336 hrs ago1734906973IN
0x0a543646...f8d8304B2
0 S0.000029161.1
Approve12469052024-12-22 22:35:0436 hrs ago1734906904IN
0x0a543646...f8d8304B2
0 S0.000051051.1
Transfer12458242024-12-22 22:21:4237 hrs ago1734906102IN
0x0a543646...f8d8304B2
0 S0.000060191.11
Transfer12457862024-12-22 22:21:1537 hrs ago1734906075IN
0x0a543646...f8d8304B2
0 S0.000040281.11
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SonicDonksToken

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Other Settings:
london EvmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at SonicScan.org on 2024-12-19
*/

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


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

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
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/contracts/token/ERC20/extensions/IERC20Metadata.sol


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

pragma solidity ^0.8.20;


/**
 * @dev Interface for the optional metadata functions from the ERC-20 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/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (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/interfaces/draft-IERC6093.sol


// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 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 ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-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 ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 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/contracts/token/ERC20/ERC20.sol


// OpenZeppelin Contracts (last updated v5.1.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 ERC-20
 * applications.
 */
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}.
     *
     * Skips emitting an {Approval} event indicating an allowance update. This is not
     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
     *
     * 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:
     *
     * ```solidity
     * 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/contracts/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: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (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() {
        _transferOwnership(_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 {
        _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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _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/contracts/security/Pausable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (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 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 {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        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: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: DONKS.sol


pragma solidity ^0.8.28;





contract SonicDonksToken is ERC20Burnable, Ownable, Pausable, ReentrancyGuard {
    // Total initial supply (1 billion tokens with 18 decimals)
    uint256 public constant INITIAL_SUPPLY = 1_000_000_000 * 10 ** 18;

    /**
     * @dev Constructor to initialize the token with its name, symbol, and initial supply.
     * The entire supply is minted to the contract deployer's address.
     */
    constructor() ERC20("Sonic Donks", "DONKS") {
        _mint(msg.sender, INITIAL_SUPPLY);
    }

    // ====== Compatibility Functions ======

    /**
     * @dev Override `name` for compatibility with protocols.
     */
    function name() public pure override returns (string memory) {
        return "Sonic Donks";
    }

    /**
     * @dev Override `symbol` for compatibility with protocols.
     */
    function symbol() public pure override returns (string memory) {
        return "DONKS";
    }

    // ====== Pause Functions ======

    /**
     * @dev Pause all contract functions.
     */
    function pause() external onlyOwner {
        _pause();
    }

    /**
     * @dev Unpause all contract functions.
     */
    function unpause() external onlyOwner {
        _unpause();
    }

    // ====== Safety Overrides ======

    /**
     * @dev Override renounceOwnership to prevent accidental loss of contract control.
     */
    function renounceOwnership() public view override onlyOwner {
        revert("Ownership cannot be renounced");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"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":[],"name":"INITIAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040518060400160405280600b81526020016a536f6e696320446f6e6b7360a81b81525060405180604001604052806005815260200164444f4e4b5360d81b81525081600390816100629190610313565b50600461006f8282610313565b5050506100886100836100b560201b60201c565b6100b9565b6005805460ff60a01b1916905560016006556100b0336b033b2e3c9fd0803ce800000061010b565b6103f8565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661013a5760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b6101466000838361014a565b5050565b6001600160a01b03831661017557806002600082825461016a91906103d1565b909155506101e79050565b6001600160a01b038316600090815260208190526040902054818110156101c85760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610131565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661020357600280548290039055610222565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161026791815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061029e57607f821691505b6020821081036102be57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561030e57806000526020600020601f840160051c810160208510156102eb5750805b601f840160051c820191505b8181101561030b57600081556001016102f7565b50505b505050565b81516001600160401b0381111561032c5761032c610274565b6103408161033a845461028a565b846102c4565b6020601f821160018114610374576000831561035c5750848201515b600019600385901b1c1916600184901b17845561030b565b600084815260208120601f198516915b828110156103a45787850151825560209485019460019092019101610384565b50848210156103c25786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b808201808211156103f257634e487b7160e01b600052601160045260246000fd5b92915050565b610b35806104076000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806370a08231116100a25780638da5cb5b116100715780638da5cb5b1461023957806395d89b4114610254578063a9059cbb14610275578063dd62ed3e14610288578063f2fde38b146102c157600080fd5b806370a08231146101ed578063715018a61461021657806379cc67901461021e5780638456cb591461023157600080fd5b80632ff2e9dc116100e95780632ff2e9dc1461019c578063313ce567146101af5780633f4ba83a146101be57806342966c68146101c85780635c975abb146101db57600080fd5b806306fdde031461011b578063095ea7b31461015457806318160ddd1461017757806323b872dd14610189575b600080fd5b60408051808201909152600b81526a536f6e696320446f6e6b7360a81b60208201525b60405161014b919061096a565b60405180910390f35b6101676101623660046109d4565b6102d4565b604051901515815260200161014b565b6002545b60405190815260200161014b565b6101676101973660046109fe565b6102ee565b61017b6b033b2e3c9fd0803ce800000081565b6040516012815260200161014b565b6101c6610312565b005b6101c66101d6366004610a3b565b61034f565b600554600160a01b900460ff16610167565b61017b6101fb366004610a54565b6001600160a01b031660009081526020819052604090205490565b6101c661035c565b6101c661022c3660046109d4565b6103ce565b6101c66103e7565b6005546040516001600160a01b03909116815260200161014b565b604080518082019091526005815264444f4e4b5360d81b602082015261013e565b6101676102833660046109d4565b610419565b61017b610296366004610a76565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101c66102cf366004610a54565b610427565b6000336102e28185856104bf565b60019150505b92915050565b6000336102fc8582856104d1565b61030785858561054f565b506001949350505050565b6005546001600160a01b031633146103455760405162461bcd60e51b815260040161033c90610aa9565b60405180910390fd5b61034d6105ae565b565b6103593382610603565b50565b6005546001600160a01b031633146103865760405162461bcd60e51b815260040161033c90610aa9565b60405162461bcd60e51b815260206004820152601d60248201527f4f776e6572736869702063616e6e6f742062652072656e6f756e636564000000604482015260640161033c565b6103d98233836104d1565b6103e38282610603565b5050565b6005546001600160a01b031633146104115760405162461bcd60e51b815260040161033c90610aa9565b61034d610639565b6000336102e281858561054f565b6005546001600160a01b031633146104515760405162461bcd60e51b815260040161033c90610aa9565b6001600160a01b0381166104b65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161033c565b6103598161067c565b6104cc83838360016106ce565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610549578181101561053a57604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161033c565b610549848484840360006106ce565b50505050565b6001600160a01b03831661057957604051634b637e8f60e11b81526000600482015260240161033c565b6001600160a01b0382166105a35760405163ec442f0560e01b81526000600482015260240161033c565b6104cc8383836107a3565b6105b66108cd565b6005805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b03821661062d57604051634b637e8f60e11b81526000600482015260240161033c565b6103e3826000836107a3565b61064161091d565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586105e63390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166106f85760405163e602df0560e01b81526000600482015260240161033c565b6001600160a01b03831661072257604051634a1406b160e11b81526000600482015260240161033c565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561054957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161079591815260200190565b60405180910390a350505050565b6001600160a01b0383166107ce5780600260008282546107c39190610ade565b909155506108409050565b6001600160a01b038316600090815260208190526040902054818110156108215760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161033c565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661085c5760028054829003905561087b565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516108c091815260200190565b60405180910390a3505050565b600554600160a01b900460ff1661034d5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161033c565b600554600160a01b900460ff161561034d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161033c565b602081526000825180602084015260005b81811015610998576020818601810151604086840101520161097b565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146109cf57600080fd5b919050565b600080604083850312156109e757600080fd5b6109f0836109b8565b946020939093013593505050565b600080600060608486031215610a1357600080fd5b610a1c846109b8565b9250610a2a602085016109b8565b929592945050506040919091013590565b600060208284031215610a4d57600080fd5b5035919050565b600060208284031215610a6657600080fd5b610a6f826109b8565b9392505050565b60008060408385031215610a8957600080fd5b610a92836109b8565b9150610aa0602084016109b8565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b808201808211156102e857634e487b7160e01b600052601160045260246000fdfea26469706673582212200755e57313ddf1a08dbe14327961b90e87261e05b29d3ef7a3a4cef91e7bc10b64736f6c634300081c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101165760003560e01c806370a08231116100a25780638da5cb5b116100715780638da5cb5b1461023957806395d89b4114610254578063a9059cbb14610275578063dd62ed3e14610288578063f2fde38b146102c157600080fd5b806370a08231146101ed578063715018a61461021657806379cc67901461021e5780638456cb591461023157600080fd5b80632ff2e9dc116100e95780632ff2e9dc1461019c578063313ce567146101af5780633f4ba83a146101be57806342966c68146101c85780635c975abb146101db57600080fd5b806306fdde031461011b578063095ea7b31461015457806318160ddd1461017757806323b872dd14610189575b600080fd5b60408051808201909152600b81526a536f6e696320446f6e6b7360a81b60208201525b60405161014b919061096a565b60405180910390f35b6101676101623660046109d4565b6102d4565b604051901515815260200161014b565b6002545b60405190815260200161014b565b6101676101973660046109fe565b6102ee565b61017b6b033b2e3c9fd0803ce800000081565b6040516012815260200161014b565b6101c6610312565b005b6101c66101d6366004610a3b565b61034f565b600554600160a01b900460ff16610167565b61017b6101fb366004610a54565b6001600160a01b031660009081526020819052604090205490565b6101c661035c565b6101c661022c3660046109d4565b6103ce565b6101c66103e7565b6005546040516001600160a01b03909116815260200161014b565b604080518082019091526005815264444f4e4b5360d81b602082015261013e565b6101676102833660046109d4565b610419565b61017b610296366004610a76565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101c66102cf366004610a54565b610427565b6000336102e28185856104bf565b60019150505b92915050565b6000336102fc8582856104d1565b61030785858561054f565b506001949350505050565b6005546001600160a01b031633146103455760405162461bcd60e51b815260040161033c90610aa9565b60405180910390fd5b61034d6105ae565b565b6103593382610603565b50565b6005546001600160a01b031633146103865760405162461bcd60e51b815260040161033c90610aa9565b60405162461bcd60e51b815260206004820152601d60248201527f4f776e6572736869702063616e6e6f742062652072656e6f756e636564000000604482015260640161033c565b6103d98233836104d1565b6103e38282610603565b5050565b6005546001600160a01b031633146104115760405162461bcd60e51b815260040161033c90610aa9565b61034d610639565b6000336102e281858561054f565b6005546001600160a01b031633146104515760405162461bcd60e51b815260040161033c90610aa9565b6001600160a01b0381166104b65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161033c565b6103598161067c565b6104cc83838360016106ce565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610549578181101561053a57604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161033c565b610549848484840360006106ce565b50505050565b6001600160a01b03831661057957604051634b637e8f60e11b81526000600482015260240161033c565b6001600160a01b0382166105a35760405163ec442f0560e01b81526000600482015260240161033c565b6104cc8383836107a3565b6105b66108cd565b6005805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b03821661062d57604051634b637e8f60e11b81526000600482015260240161033c565b6103e3826000836107a3565b61064161091d565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586105e63390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166106f85760405163e602df0560e01b81526000600482015260240161033c565b6001600160a01b03831661072257604051634a1406b160e11b81526000600482015260240161033c565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561054957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161079591815260200190565b60405180910390a350505050565b6001600160a01b0383166107ce5780600260008282546107c39190610ade565b909155506108409050565b6001600160a01b038316600090815260208190526040902054818110156108215760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161033c565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661085c5760028054829003905561087b565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516108c091815260200190565b60405180910390a3505050565b600554600160a01b900460ff1661034d5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161033c565b600554600160a01b900460ff161561034d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161033c565b602081526000825180602084015260005b81811015610998576020818601810151604086840101520161097b565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146109cf57600080fd5b919050565b600080604083850312156109e757600080fd5b6109f0836109b8565b946020939093013593505050565b600080600060608486031215610a1357600080fd5b610a1c846109b8565b9250610a2a602085016109b8565b929592945050506040919091013590565b600060208284031215610a4d57600080fd5b5035919050565b600060208284031215610a6657600080fd5b610a6f826109b8565b9392505050565b60008060408385031215610a8957600080fd5b610a92836109b8565b9150610aa0602084016109b8565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b808201808211156102e857634e487b7160e01b600052601160045260246000fdfea26469706673582212200755e57313ddf1a08dbe14327961b90e87261e05b29d3ef7a3a4cef91e7bc10b64736f6c634300081c0033

Deployed Bytecode Sourcemap

31445:1512:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32084:100;32156:20;;;;;;;;;;;;-1:-1:-1;;;32156:20:0;;;;32084:100;;;;;;;:::i;:::-;;;;;;;;15175:190;;;;;;:::i;:::-;;:::i;:::-;;;1194:14:1;;1187:22;1169:41;;1157:2;1142:18;15175:190:0;1029:187:1;13984:99:0;14063:12;;13984:99;;;1367:25:1;;;1355:2;1340:18;13984:99:0;1221:177:1;15975:249:0;;;;;;:::i;:::-;;:::i;31595:65::-;;31636:24;31595:65;;13835:84;;;13909:2;1924:36:1;;1912:2;1897:18;13835:84:0;1782:184:1;32614:67:0;;;:::i;:::-;;22855:89;;;;;;:::i;:::-;;:::i;27644:86::-;27715:7;;-1:-1:-1;;;27715:7:0;;;;27644:86;;14146:118;;;;;;:::i;:::-;-1:-1:-1;;;;;14238:18:0;14211:7;14238:18;;;;;;;;;;;;14146:118;32836;;;:::i;23273:161::-;;;;;;:::i;:::-;;:::i;32480:63::-;;;:::i;24503:87::-;24576:6;;24503:87;;-1:-1:-1;;;;;24576:6:0;;;2539:51:1;;2527:2;2512:18;24503:87:0;2393:203:1;32275:96:0;32349:14;;;;;;;;;;;;-1:-1:-1;;;32349:14:0;;;;32275:96;;14469:182;;;;;;:::i;:::-;;:::i;14714:142::-;;;;;;:::i;:::-;-1:-1:-1;;;;;14821:18:0;;;14794:7;14821:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;14714:142;25412:201;;;;;;:::i;:::-;;:::i;15175:190::-;15248:4;4368:10;15304:31;4368:10;15320:7;15329:5;15304:8;:31::i;:::-;15353:4;15346:11;;;15175:190;;;;;:::o;15975:249::-;16062:4;4368:10;16120:37;16136:4;4368:10;16151:5;16120:15;:37::i;:::-;16168:26;16178:4;16184:2;16188:5;16168:9;:26::i;:::-;-1:-1:-1;16212:4:0;;15975:249;-1:-1:-1;;;;15975:249:0:o;32614:67::-;24576:6;;-1:-1:-1;;;;;24576:6:0;4368:10;24723:23;24715:68;;;;-1:-1:-1;;;24715:68:0;;;;;;;:::i;:::-;;;;;;;;;32663:10:::1;:8;:10::i;:::-;32614:67::o:0;22855:89::-;22910:26;4368:10;22930:5;22910;:26::i;:::-;22855:89;:::o;32836:118::-;24576:6;;-1:-1:-1;;;;;24576:6:0;4368:10;24723:23;24715:68;;;;-1:-1:-1;;;24715:68:0;;;;;;;:::i;:::-;32907:39:::1;::::0;-1:-1:-1;;;32907:39:0;;3429:2:1;32907:39:0::1;::::0;::::1;3411:21:1::0;3468:2;3448:18;;;3441:30;3507:31;3487:18;;;3480:59;3556:18;;32907:39:0::1;3227:353:1::0;23273:161:0;23349:45;23365:7;4368:10;23388:5;23349:15;:45::i;:::-;23405:21;23411:7;23420:5;23405;:21::i;:::-;23273:161;;:::o;32480:63::-;24576:6;;-1:-1:-1;;;;;24576:6:0;4368:10;24723:23;24715:68;;;;-1:-1:-1;;;24715:68:0;;;;;;;:::i;:::-;32527:8:::1;:6;:8::i;14469:182::-:0;14538:4;4368:10;14594:27;4368:10;14611:2;14615:5;14594:9;:27::i;25412:201::-;24576:6;;-1:-1:-1;;;;;24576:6:0;4368:10;24723:23;24715:68;;;;-1:-1:-1;;;24715:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;25501:22:0;::::1;25493:73;;;::::0;-1:-1:-1;;;25493:73:0;;3787:2:1;25493:73:0::1;::::0;::::1;3769:21:1::0;3826:2;3806:18;;;3799:30;3865:34;3845:18;;;3838:62;-1:-1:-1;;;3916:18:1;;;3909:36;3962:19;;25493:73:0::1;3585:402:1::0;25493:73:0::1;25577:28;25596:8;25577:18;:28::i;20034:130::-:0;20119:37;20128:5;20135:7;20144:5;20151:4;20119:8;:37::i;:::-;20034:130;;;:::o;21766:487::-;-1:-1:-1;;;;;14821:18:0;;;21866:24;14821:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;21933:37:0;;21929:317;;22010:5;21991:16;:24;21987:132;;;22043:60;;-1:-1:-1;;;22043:60:0;;-1:-1:-1;;;;;4212:32:1;;22043:60:0;;;4194:51:1;4261:18;;;4254:34;;;4304:18;;;4297:34;;;4167:18;;22043:60:0;3992:345:1;21987:132:0;22162:57;22171:5;22178:7;22206:5;22187:16;:24;22213:5;22162:8;:57::i;:::-;21855:398;21766:487;;;:::o;16609:308::-;-1:-1:-1;;;;;16693:18:0;;16689:88;;16735:30;;-1:-1:-1;;;16735:30:0;;16762:1;16735:30;;;2539:51:1;2512:18;;16735:30:0;2393:203:1;16689:88:0;-1:-1:-1;;;;;16791:16:0;;16787:88;;16831:32;;-1:-1:-1;;;16831:32:0;;16860:1;16831:32;;;2539:51:1;2512:18;;16831:32:0;2393:203:1;16787:88:0;16885:24;16893:4;16899:2;16903:5;16885:7;:24::i;28499:120::-;27508:16;:14;:16::i;:::-;28558:7:::1;:15:::0;;-1:-1:-1;;;;28558:15:0::1;::::0;;28589:22:::1;4368:10:::0;28598:12:::1;28589:22;::::0;-1:-1:-1;;;;;2557:32:1;;;2539:51;;2527:2;2512:18;28589:22:0::1;;;;;;;28499:120::o:0;19270:211::-;-1:-1:-1;;;;;19341:21:0;;19337:91;;19386:30;;-1:-1:-1;;;19386:30:0;;19413:1;19386:30;;;2539:51:1;2512:18;;19386:30:0;2393:203:1;19337:91:0;19438:35;19446:7;19463:1;19467:5;19438:7;:35::i;28240:118::-;27249:19;:17;:19::i;:::-;28300:7:::1;:14:::0;;-1:-1:-1;;;;28300:14:0::1;-1:-1:-1::0;;;28300:14:0::1;::::0;;28330:20:::1;28337:12;4368:10:::0;;4288:98;25773:191;25866:6;;;-1:-1:-1;;;;;25883:17:0;;;-1:-1:-1;;;;;;25883:17:0;;;;;;;25916:40;;25866:6;;;25883:17;25866:6;;25916:40;;25847:16;;25916:40;25836:128;25773:191;:::o;21031:443::-;-1:-1:-1;;;;;21144:19:0;;21140:91;;21187:32;;-1:-1:-1;;;21187:32:0;;21216:1;21187:32;;;2539:51:1;2512:18;;21187:32:0;2393:203:1;21140:91:0;-1:-1:-1;;;;;21245:21:0;;21241:92;;21290:31;;-1:-1:-1;;;21290:31:0;;21318:1;21290:31;;;2539:51:1;2512:18;;21290:31:0;2393:203:1;21241:92:0;-1:-1:-1;;;;;21343:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;21389:78;;;;21440:7;-1:-1:-1;;;;;21424:31:0;21433:5;-1:-1:-1;;;;;21424:31:0;;21449:5;21424:31;;;;1367:25:1;;1355:2;1340:18;;1221:177;21424:31:0;;;;;;;;21031:443;;;;:::o;17241:1135::-;-1:-1:-1;;;;;17331:18:0;;17327:552;;17485:5;17469:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;17327:552:0;;-1:-1:-1;17327:552:0;;-1:-1:-1;;;;;17545:15:0;;17523:19;17545:15;;;;;;;;;;;17579:19;;;17575:117;;;17626:50;;-1:-1:-1;;;17626:50:0;;-1:-1:-1;;;;;4212:32:1;;17626:50:0;;;4194:51:1;4261:18;;;4254:34;;;4304:18;;;4297:34;;;4167:18;;17626:50:0;3992:345:1;17575:117:0;-1:-1:-1;;;;;17815:15:0;;:9;:15;;;;;;;;;;17833:19;;;;17815:37;;17327:552;-1:-1:-1;;;;;17895:16:0;;17891:435;;18061:12;:21;;;;;;;17891:435;;;-1:-1:-1;;;;;18277:13:0;;:9;:13;;;;;;;;;;:22;;;;;;17891:435;18358:2;-1:-1:-1;;;;;18343:25:0;18352:4;-1:-1:-1;;;;;18343:25:0;;18362:5;18343:25;;;;1367::1;;1355:2;1340:18;;1221:177;18343:25:0;;;;;;;;17241:1135;;;:::o;27988:108::-;27715:7;;-1:-1:-1;;;27715:7:0;;;;28047:41;;;;-1:-1:-1;;;28047:41:0;;4771:2:1;28047:41:0;;;4753:21:1;4810:2;4790:18;;;4783:30;-1:-1:-1;;;4829:18:1;;;4822:50;4889:18;;28047:41:0;4569:344:1;27803:108:0;27715:7;;-1:-1:-1;;;27715:7:0;;;;27873:9;27865:38;;;;-1:-1:-1;;;27865:38:0;;5120:2:1;27865:38:0;;;5102:21:1;5159:2;5139:18;;;5132:30;-1:-1:-1;;;5178:18:1;;;5171:46;5234:18;;27865:38:0;4918:340:1;14:527;163:2;152:9;145:21;126:4;195:6;189:13;238:6;233:2;222:9;218:18;211:34;263:1;273:140;287:6;284:1;281:13;273:140;;;398:2;382:14;;;378:23;;372:30;367:2;348:17;;;344:26;337:66;302:10;273:140;;;277:3;462:1;457:2;448:6;437:9;433:22;429:31;422:42;532:2;525;521:7;516:2;508:6;504:15;500:29;489:9;485:45;481:54;473:62;;;14:527;;;;:::o;546:173::-;614:20;;-1:-1:-1;;;;;663:31:1;;653:42;;643:70;;709:1;706;699:12;643:70;546:173;;;:::o;724:300::-;792:6;800;853:2;841:9;832:7;828:23;824:32;821:52;;;869:1;866;859:12;821:52;892:29;911:9;892:29;:::i;:::-;882:39;990:2;975:18;;;;962:32;;-1:-1:-1;;;724:300:1:o;1403:374::-;1480:6;1488;1496;1549:2;1537:9;1528:7;1524:23;1520:32;1517:52;;;1565:1;1562;1555:12;1517:52;1588:29;1607:9;1588:29;:::i;:::-;1578:39;;1636:38;1670:2;1659:9;1655:18;1636:38;:::i;:::-;1403:374;;1626:48;;-1:-1:-1;;;1743:2:1;1728:18;;;;1715:32;;1403:374::o;1971:226::-;2030:6;2083:2;2071:9;2062:7;2058:23;2054:32;2051:52;;;2099:1;2096;2089:12;2051:52;-1:-1:-1;2144:23:1;;1971:226;-1:-1:-1;1971:226:1:o;2202:186::-;2261:6;2314:2;2302:9;2293:7;2289:23;2285:32;2282:52;;;2330:1;2327;2320:12;2282:52;2353:29;2372:9;2353:29;:::i;:::-;2343:39;2202:186;-1:-1:-1;;;2202:186:1:o;2601:260::-;2669:6;2677;2730:2;2718:9;2709:7;2705:23;2701:32;2698:52;;;2746:1;2743;2736:12;2698:52;2769:29;2788:9;2769:29;:::i;:::-;2759:39;;2817:38;2851:2;2840:9;2836:18;2817:38;:::i;:::-;2807:48;;2601:260;;;;;:::o;2866:356::-;3068:2;3050:21;;;3087:18;;;3080:30;3146:34;3141:2;3126:18;;3119:62;3213:2;3198:18;;2866:356::o;4342:222::-;4407:9;;;4428:10;;;4425:133;;;4480:10;4475:3;4471:20;4468:1;4461:31;4515:4;4512:1;4505:15;4543:4;4540:1;4533:15

Swarm Source

ipfs://0755e57313ddf1a08dbe14327961b90e87261e05b29d3ef7a3a4cef91e7bc10b

Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.