ETH Price: $2,069.66 (-0.37%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve244405812026-02-12 12:04:472 days ago1770897887IN
0x503f2AfC...8983eFa54
0 ETH0.000004120.16944213
Approve244340752026-02-11 14:17:593 days ago1770819479IN
0x503f2AfC...8983eFa54
0 ETH0.00007071.51483702
Approve244340272026-02-11 14:08:233 days ago1770818903IN
0x503f2AfC...8983eFa54
0 ETH0.000060031.28607086
Transfer244271622026-02-10 15:06:354 days ago1770735995IN
0x503f2AfC...8983eFa54
0 ETH0.00001710.49573661
Transfer244221492026-02-09 22:19:115 days ago1770675551IN
0x503f2AfC...8983eFa54
0 ETH0.000006380.12377954
Transfer244054762026-02-07 14:15:117 days ago1770473711IN
0x503f2AfC...8983eFa54
0 ETH0.000009550.20395564
Approve244052802026-02-07 13:35:477 days ago1770471347IN
0x503f2AfC...8983eFa54
0 ETH0.000006460.13855929
Approve243995632026-02-06 18:26:118 days ago1770402371IN
0x503f2AfC...8983eFa54
0 ETH0.000089531.91809276
Approve243992692026-02-06 17:26:598 days ago1770398819IN
0x503f2AfC...8983eFa54
0 ETH0.000107932.31238818
Approve243992552026-02-06 17:24:118 days ago1770398651IN
0x503f2AfC...8983eFa54
0 ETH0.000076081.63004428
Approve243992522026-02-06 17:23:358 days ago1770398615IN
0x503f2AfC...8983eFa54
0 ETH0.000109522.34649226
Approve243992312026-02-06 17:18:598 days ago1770398339IN
0x503f2AfC...8983eFa54
0 ETH0.000046620.99893736
Approve243992052026-02-06 17:13:478 days ago1770398027IN
0x503f2AfC...8983eFa54
0 ETH0.000082551.77088802
Approve243991972026-02-06 17:12:118 days ago1770397931IN
0x503f2AfC...8983eFa54
0 ETH0.000062721.3438063
Transfer243875642026-02-05 2:10:3510 days ago1770257435IN
0x503f2AfC...8983eFa54
0 ETH0.000111512.16052066
Transfer243772102026-02-03 15:25:2311 days ago1770132323IN
0x503f2AfC...8983eFa54
0 ETH0.000019770.66508983
Approve243606992026-02-01 8:03:5914 days ago1769933039IN
0x503f2AfC...8983eFa54
0 ETH0.000004810.10318712
Approve243509502026-01-30 23:24:3515 days ago1769815475IN
0x503f2AfC...8983eFa54
0 ETH0.000003670.07879417
Transfer243440122026-01-30 0:11:2316 days ago1769731883IN
0x503f2AfC...8983eFa54
0 ETH0.000002750.05332367
Approve243433972026-01-29 22:07:5916 days ago1769724479IN
0x503f2AfC...8983eFa54
0 ETH0.00002770.59790854
Approve243402272026-01-29 11:31:4716 days ago1769686307IN
0x503f2AfC...8983eFa54
0 ETH0.000004370.09421328
Approve243402152026-01-29 11:29:2316 days ago1769686163IN
0x503f2AfC...8983eFa54
0 ETH0.000027170.582185
Transfer243224802026-01-27 0:07:2319 days ago1769472443IN
0x503f2AfC...8983eFa54
0 ETH0.000050121.07100651
Approve243192712026-01-26 13:21:4719 days ago1769433707IN
0x503f2AfC...8983eFa54
0 ETH0.000030910.66223307
Approve243189252026-01-26 12:12:2319 days ago1769429543IN
0x503f2AfC...8983eFa54
0 ETH0.000028240.60511423
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DroptoToken

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2025-09-07
*/

// Sources flattened with hardhat v2.22.17 https://hardhat.org

// SPDX-License-Identifier: MIT

// File @openzeppelin/contracts/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT
// 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/[email protected]

// Original license: SPDX_License_Identifier: MIT
// 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/[email protected]

// Original license: SPDX_License_Identifier: MIT
// 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/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}


// File @openzeppelin/contracts/token/ERC20/[email protected]

// Original license: SPDX_License_Identifier: MIT
// 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 smart_contracts/src/DroptoToken.sol

// Original license: SPDX_License_Identifier: MIT
pragma solidity ^0.8.28;

/**
 * @title DroptoToken
 * ERC-20 token representing a collection of music tracks.
 * Metadata is stored off-chain via IPFS.
 */
contract DroptoToken is ERC20 {
    /// @notice IPFS hash pointing to metadata JSON
    string public metadata;

    /// @notice Admin can update metadata and transfer admin rights
    address public admin;

    /// @notice Emitted when metadata is updated
    event MetadataUpdated(string oldMetadata, string _metadata);

    /// @notice Emitted when the admin account is changed
    event AdminChanged(address indexed oldAdmin, address indexed _admin);

    /// @dev Restricts function to admin only
    modifier onlyAdmin() {
        require(msg.sender == admin, "Not authorized: Admin only");
        _;
    }

    /**
     * @notice Constructor to deploy the DroptoToken
     * @param name Name of the token (e.g. "Dropto Token")
     * @param symbol Symbol of the token (e.g. "DROPTO")
     * @param _metadata IPFS hash storing token information
     * @param _initialHolder Address to receive the initial supply
     * The deployer becomes the admin.
     */
    constructor(
        string memory name,
        string memory symbol,
        string memory _metadata,
        address _initialHolder
    ) ERC20(name, symbol) {
        require(_initialHolder != address(0), "Token owner cannot be zero address");

        uint256 totalSupply = 1_000_000_000 * 10 ** decimals(); // 1 billion tokens with 18 decimals
        _mint(_initialHolder, totalSupply);

        metadata = _metadata;
        admin = msg.sender;
    }

    /// @notice Returns the number of decimals used for token representation
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @notice Allows admin to update IPFS hash
     * @param _metadata New IPFS hash
     */
    function updateMetadata(string memory _metadata) external onlyAdmin {
        string memory oldMetadata = metadata;
        metadata = _metadata;
        emit MetadataUpdated(oldMetadata, _metadata);
    }

    /**
     * @notice Transfers admin rights to a new address
     * @param _admin Address of the new admin
     */
    function changeAdmin(address _admin) external onlyAdmin {
        require(_admin != address(0), "New admin is zero address");
        address oldAdmin = admin;
        admin = _admin;
        emit AdminChanged(oldAdmin, _admin);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"_metadata","type":"string"},{"internalType":"address","name":"_initialHolder","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAdmin","type":"address"},{"indexed":true,"internalType":"address","name":"_admin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"oldMetadata","type":"string"},{"indexed":false,"internalType":"string","name":"_metadata","type":"string"}],"name":"MetadataUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"_admin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_metadata","type":"string"}],"name":"updateMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561000f575f5ffd5b5060405161126e38038061126e83398101604081905261002e916102fe565b8383600361003c8382610431565b5060046100498282610431565b5050506001600160a01b0381166100b25760405162461bcd60e51b815260206004820152602260248201527f546f6b656e206f776e65722063616e6e6f74206265207a65726f206164647265604482015261737360f01b60648201526084015b60405180910390fd5b5f6100bf6012600a6105e4565b6100cd90633b9aca006105f9565b90506100d98282610103565b60056100e58482610431565b5050600680546001600160a01b031916331790555061062392505050565b6001600160a01b03821661012c5760405163ec442f0560e01b81525f60048201526024016100a9565b6101375f838361013b565b5050565b6001600160a01b038316610165578060025f82825461015a9190610610565b909155506101d59050565b6001600160a01b0383165f90815260208190526040902054818110156101b75760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100a9565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166101f15760028054829003905561020f565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161025491815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610284575f5ffd5b81516001600160401b0381111561029d5761029d610261565b604051601f8201601f19908116603f011681016001600160401b03811182821017156102cb576102cb610261565b6040528181528382016020018510156102e2575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b5f5f5f5f60808587031215610311575f5ffd5b84516001600160401b03811115610326575f5ffd5b61033287828801610275565b602087015190955090506001600160401b0381111561034f575f5ffd5b61035b87828801610275565b604087015190945090506001600160401b03811115610378575f5ffd5b61038487828801610275565b606087015190935090506001600160a01b03811681146103a2575f5ffd5b939692955090935050565b600181811c908216806103c157607f821691505b6020821081036103df57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561042c57805f5260205f20601f840160051c8101602085101561040a5750805b601f840160051c820191505b81811015610429575f8155600101610416565b50505b505050565b81516001600160401b0381111561044a5761044a610261565b61045e8161045884546103ad565b846103e5565b6020601f821160018114610490575f83156104795750848201515b5f19600385901b1c1916600184901b178455610429565b5f84815260208120601f198516915b828110156104bf578785015182556020948501946001909201910161049f565b50848210156104dc57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b600184111561053a5780850481111561051e5761051e6104eb565b600184161561052c57908102905b60019390931c928002610503565b935093915050565b5f82610550575060016105de565b8161055c57505f6105de565b8160018114610572576002811461057c57610598565b60019150506105de565b60ff84111561058d5761058d6104eb565b50506001821b6105de565b5060208310610133831016604e8410600b84101617156105bb575081810a6105de565b6105c75f1984846104ff565b805f19048211156105da576105da6104eb565b0290505b92915050565b5f6105f260ff841683610542565b9392505050565b80820281158282048414176105de576105de6104eb565b808201808211156105de576105de6104eb565b610c3e806106305f395ff3fe608060405234801561000f575f5ffd5b50600436106100cb575f3560e01c806370a082311161008857806395d89b411161006357806395d89b411461019c578063a9059cbb146101a4578063dd62ed3e146101b7578063f851a440146101ef575f5ffd5b806370a082311461014c5780638f28397014610174578063918b5be114610189575f5ffd5b806306fdde03146100cf578063095ea7b3146100ed57806318160ddd1461011057806323b872dd14610122578063313ce56714610135578063392f37e914610144575b5f5ffd5b6100d761021a565b6040516100e491906108d7565b60405180910390f35b6101006100fb36600461090b565b6102aa565b60405190151581526020016100e4565b6002545b6040519081526020016100e4565b610100610130366004610933565b6102c3565b604051601281526020016100e4565b6100d76102e6565b61011461015a36600461096d565b6001600160a01b03165f9081526020819052604090205490565b61018761018236600461096d565b610372565b005b61018761019736600461099a565b610478565b6100d76105ab565b6101006101b236600461090b565b6105ba565b6101146101c5366004610a4d565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b600654610202906001600160a01b031681565b6040516001600160a01b0390911681526020016100e4565b60606003805461022990610a7e565b80601f016020809104026020016040519081016040528092919081815260200182805461025590610a7e565b80156102a05780601f10610277576101008083540402835291602001916102a0565b820191905f5260205f20905b81548152906001019060200180831161028357829003601f168201915b5050505050905090565b5f336102b78185856105c7565b60019150505b92915050565b5f336102d08582856105d9565b6102db858585610654565b506001949350505050565b600580546102f390610a7e565b80601f016020809104026020016040519081016040528092919081815260200182805461031f90610a7e565b801561036a5780601f106103415761010080835404028352916020019161036a565b820191905f5260205f20905b81548152906001019060200180831161034d57829003601f168201915b505050505081565b6006546001600160a01b031633146103d15760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420617574686f72697a65643a2041646d696e206f6e6c7900000000000060448201526064015b60405180910390fd5b6001600160a01b0381166104275760405162461bcd60e51b815260206004820152601960248201527f4e65772061646d696e206973207a65726f20616464726573730000000000000060448201526064016103c8565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f905f90a35050565b6006546001600160a01b031633146104d25760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420617574686f72697a65643a2041646d696e206f6e6c7900000000000060448201526064016103c8565b5f600580546104e090610a7e565b80601f016020809104026020016040519081016040528092919081815260200182805461050c90610a7e565b80156105575780601f1061052e57610100808354040283529160200191610557565b820191905f5260205f20905b81548152906001019060200180831161053a57829003601f168201915b50505050509050816005908161056d9190610b01565b507f30f5c4b652f95e2a697bda3258896c421eee4f29adce8fe38060f47f7aed91ad818360405161059f929190610bbc565b60405180910390a15050565b60606004805461022990610a7e565b5f336102b7818585610654565b6105d483838360016106b1565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811461064e578181101561064057604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016103c8565b61064e84848484035f6106b1565b50505050565b6001600160a01b03831661067d57604051634b637e8f60e11b81525f60048201526024016103c8565b6001600160a01b0382166106a65760405163ec442f0560e01b81525f60048201526024016103c8565b6105d4838383610783565b6001600160a01b0384166106da5760405163e602df0560e01b81525f60048201526024016103c8565b6001600160a01b03831661070357604051634a1406b160e11b81525f60048201526024016103c8565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561064e57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161077591815260200190565b60405180910390a350505050565b6001600160a01b0383166107ad578060025f8282546107a29190610be9565b9091555061081d9050565b6001600160a01b0383165f90815260208190526040902054818110156107ff5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103c8565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661083957600280548290039055610857565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161089c91815260200190565b60405180910390a3505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6108e960208301846108a9565b9392505050565b80356001600160a01b0381168114610906575f5ffd5b919050565b5f5f6040838503121561091c575f5ffd5b610925836108f0565b946020939093013593505050565b5f5f5f60608486031215610945575f5ffd5b61094e846108f0565b925061095c602085016108f0565b929592945050506040919091013590565b5f6020828403121561097d575f5ffd5b6108e9826108f0565b634e487b7160e01b5f52604160045260245ffd5b5f602082840312156109aa575f5ffd5b813567ffffffffffffffff8111156109c0575f5ffd5b8201601f810184136109d0575f5ffd5b803567ffffffffffffffff8111156109ea576109ea610986565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610a1957610a19610986565b604052818152828201602001861015610a30575f5ffd5b816020840160208301375f91810160200191909152949350505050565b5f5f60408385031215610a5e575f5ffd5b610a67836108f0565b9150610a75602084016108f0565b90509250929050565b600181811c90821680610a9257607f821691505b602082108103610ab057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156105d457805f5260205f20601f840160051c81016020851015610adb5750805b601f840160051c820191505b81811015610afa575f8155600101610ae7565b5050505050565b815167ffffffffffffffff811115610b1b57610b1b610986565b610b2f81610b298454610a7e565b84610ab6565b6020601f821160018114610b61575f8315610b4a5750848201515b5f19600385901b1c1916600184901b178455610afa565b5f84815260208120601f198516915b82811015610b905787850151825560209485019460019092019101610b70565b5084821015610bad57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b604081525f610bce60408301856108a9565b8281036020840152610be081856108a9565b95945050505050565b808201808211156102bd57634e487b7160e01b5f52601160045260245ffdfea2646970667358221220b35dc98149a4079c18c4746f8e85c2dc967aa2ac3d39184fd5225718adbe574564736f6c634300081c0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000072f9ccf54c8761781822993393332f051898a407000000000000000000000000000000000000000000000000000000000000000c44726f70746f20546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000644524f50544f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d507259727566387258467344346a6e7a3563354348656e775635746f724e36647547486f3745464d444651420000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561000f575f5ffd5b50600436106100cb575f3560e01c806370a082311161008857806395d89b411161006357806395d89b411461019c578063a9059cbb146101a4578063dd62ed3e146101b7578063f851a440146101ef575f5ffd5b806370a082311461014c5780638f28397014610174578063918b5be114610189575f5ffd5b806306fdde03146100cf578063095ea7b3146100ed57806318160ddd1461011057806323b872dd14610122578063313ce56714610135578063392f37e914610144575b5f5ffd5b6100d761021a565b6040516100e491906108d7565b60405180910390f35b6101006100fb36600461090b565b6102aa565b60405190151581526020016100e4565b6002545b6040519081526020016100e4565b610100610130366004610933565b6102c3565b604051601281526020016100e4565b6100d76102e6565b61011461015a36600461096d565b6001600160a01b03165f9081526020819052604090205490565b61018761018236600461096d565b610372565b005b61018761019736600461099a565b610478565b6100d76105ab565b6101006101b236600461090b565b6105ba565b6101146101c5366004610a4d565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b600654610202906001600160a01b031681565b6040516001600160a01b0390911681526020016100e4565b60606003805461022990610a7e565b80601f016020809104026020016040519081016040528092919081815260200182805461025590610a7e565b80156102a05780601f10610277576101008083540402835291602001916102a0565b820191905f5260205f20905b81548152906001019060200180831161028357829003601f168201915b5050505050905090565b5f336102b78185856105c7565b60019150505b92915050565b5f336102d08582856105d9565b6102db858585610654565b506001949350505050565b600580546102f390610a7e565b80601f016020809104026020016040519081016040528092919081815260200182805461031f90610a7e565b801561036a5780601f106103415761010080835404028352916020019161036a565b820191905f5260205f20905b81548152906001019060200180831161034d57829003601f168201915b505050505081565b6006546001600160a01b031633146103d15760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420617574686f72697a65643a2041646d696e206f6e6c7900000000000060448201526064015b60405180910390fd5b6001600160a01b0381166104275760405162461bcd60e51b815260206004820152601960248201527f4e65772061646d696e206973207a65726f20616464726573730000000000000060448201526064016103c8565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f905f90a35050565b6006546001600160a01b031633146104d25760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420617574686f72697a65643a2041646d696e206f6e6c7900000000000060448201526064016103c8565b5f600580546104e090610a7e565b80601f016020809104026020016040519081016040528092919081815260200182805461050c90610a7e565b80156105575780601f1061052e57610100808354040283529160200191610557565b820191905f5260205f20905b81548152906001019060200180831161053a57829003601f168201915b50505050509050816005908161056d9190610b01565b507f30f5c4b652f95e2a697bda3258896c421eee4f29adce8fe38060f47f7aed91ad818360405161059f929190610bbc565b60405180910390a15050565b60606004805461022990610a7e565b5f336102b7818585610654565b6105d483838360016106b1565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811461064e578181101561064057604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016103c8565b61064e84848484035f6106b1565b50505050565b6001600160a01b03831661067d57604051634b637e8f60e11b81525f60048201526024016103c8565b6001600160a01b0382166106a65760405163ec442f0560e01b81525f60048201526024016103c8565b6105d4838383610783565b6001600160a01b0384166106da5760405163e602df0560e01b81525f60048201526024016103c8565b6001600160a01b03831661070357604051634a1406b160e11b81525f60048201526024016103c8565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561064e57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161077591815260200190565b60405180910390a350505050565b6001600160a01b0383166107ad578060025f8282546107a29190610be9565b9091555061081d9050565b6001600160a01b0383165f90815260208190526040902054818110156107ff5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103c8565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661083957600280548290039055610857565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161089c91815260200190565b60405180910390a3505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6108e960208301846108a9565b9392505050565b80356001600160a01b0381168114610906575f5ffd5b919050565b5f5f6040838503121561091c575f5ffd5b610925836108f0565b946020939093013593505050565b5f5f5f60608486031215610945575f5ffd5b61094e846108f0565b925061095c602085016108f0565b929592945050506040919091013590565b5f6020828403121561097d575f5ffd5b6108e9826108f0565b634e487b7160e01b5f52604160045260245ffd5b5f602082840312156109aa575f5ffd5b813567ffffffffffffffff8111156109c0575f5ffd5b8201601f810184136109d0575f5ffd5b803567ffffffffffffffff8111156109ea576109ea610986565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610a1957610a19610986565b604052818152828201602001861015610a30575f5ffd5b816020840160208301375f91810160200191909152949350505050565b5f5f60408385031215610a5e575f5ffd5b610a67836108f0565b9150610a75602084016108f0565b90509250929050565b600181811c90821680610a9257607f821691505b602082108103610ab057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156105d457805f5260205f20601f840160051c81016020851015610adb5750805b601f840160051c820191505b81811015610afa575f8155600101610ae7565b5050505050565b815167ffffffffffffffff811115610b1b57610b1b610986565b610b2f81610b298454610a7e565b84610ab6565b6020601f821160018114610b61575f8315610b4a5750848201515b5f19600385901b1c1916600184901b178455610afa565b5f84815260208120601f198516915b82811015610b905787850151825560209485019460019092019101610b70565b5084821015610bad57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b604081525f610bce60408301856108a9565b8281036020840152610be081856108a9565b95945050505050565b808201808211156102bd57634e487b7160e01b5f52601160045260245ffdfea2646970667358221220b35dc98149a4079c18c4746f8e85c2dc967aa2ac3d39184fd5225718adbe574564736f6c634300081c0033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000072f9ccf54c8761781822993393332f051898a407000000000000000000000000000000000000000000000000000000000000000c44726f70746f20546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000644524f50544f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d507259727566387258467344346a6e7a3563354348656e775635746f724e36647547486f3745464d444651420000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Dropto Token
Arg [1] : symbol (string): DROPTO
Arg [2] : _metadata (string): https://ipfs.io/ipfs/QmPrYruf8rXFsD4jnz5c5CHenwV5torN6duGHo7EFMDFQB
Arg [3] : _initialHolder (address): 0x72f9CCf54c8761781822993393332F051898a407

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 00000000000000000000000072f9ccf54c8761781822993393332f051898a407
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [5] : 44726f70746f20546f6b656e0000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [7] : 44524f50544f0000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [9] : 68747470733a2f2f697066732e696f2f697066732f516d507259727566387258
Arg [10] : 467344346a6e7a3563354348656e775635746f724e36647547486f3745464d44
Arg [11] : 4651420000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

23027:2341:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13385:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;15678:190;;;;;;:::i;:::-;;:::i;:::-;;;1181:14:1;;1174:22;1156:41;;1144:2;1129:18;15678:190:0;1016:187:1;14487:99:0;14566:12;;14487:99;;;1354:25:1;;;1342:2;1327:18;14487:99:0;1208:177:1;16478:249:0;;;;;;:::i;:::-;;:::i;24581:93::-;;;24664:2;1911:36:1;;1899:2;1884:18;24581:93:0;1769:184:1;23117:22:0;;;:::i;14649:118::-;;;;;;:::i;:::-;-1:-1:-1;;;;;14741:18:0;14714:7;14741:18;;;;;;;;;;;;14649:118;25126:239;;;;;;:::i;:::-;;:::i;:::-;;24788:209;;;;;;:::i;:::-;;:::i;13595:95::-;;;:::i;14972:182::-;;;;;;:::i;:::-;;:::i;15217:142::-;;;;;;:::i;:::-;-1:-1:-1;;;;;15324:18:0;;;15297:7;15324:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15217:142;23217:20;;;;;-1:-1:-1;;;;;23217:20:0;;;;;;-1:-1:-1;;;;;3660:32:1;;;3642:51;;3630:2;3615:18;23217:20:0;3496:203:1;13385:91:0;13430:13;13463:5;13456:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13385:91;:::o;15678:190::-;15751:4;11445:10;15807:31;11445:10;15823:7;15832:5;15807:8;:31::i;:::-;15856:4;15849:11;;;15678:190;;;;;:::o;16478:249::-;16565:4;11445:10;16623:37;16639:4;11445:10;16654:5;16623:15;:37::i;:::-;16671:26;16681:4;16687:2;16691:5;16671:9;:26::i;:::-;-1:-1:-1;16715:4:0;;16478:249;-1:-1:-1;;;;16478:249:0:o;23117:22::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;25126:239::-;23601:5;;-1:-1:-1;;;;;23601:5:0;23587:10;:19;23579:58;;;;-1:-1:-1;;;23579:58:0;;4291:2:1;23579:58:0;;;4273:21:1;4330:2;4310:18;;;4303:30;4369:28;4349:18;;;4342:56;4415:18;;23579:58:0;;;;;;;;;-1:-1:-1;;;;;25201:20:0;::::1;25193:58;;;::::0;-1:-1:-1;;;25193:58:0;;4646:2:1;25193:58:0::1;::::0;::::1;4628:21:1::0;4685:2;4665:18;;;4658:30;4724:27;4704:18;;;4697:55;4769:18;;25193:58:0::1;4444:349:1::0;25193:58:0::1;25281:5;::::0;;-1:-1:-1;;;;;25297:14:0;;::::1;-1:-1:-1::0;;;;;;25297:14:0;::::1;::::0;::::1;::::0;;;25327:30:::1;::::0;25281:5;::::1;::::0;25297:14;25281:5;;25327:30:::1;::::0;25262:16:::1;::::0;25327:30:::1;25182:183;25126:239:::0;:::o;24788:209::-;23601:5;;-1:-1:-1;;;;;23601:5:0;23587:10;:19;23579:58;;;;-1:-1:-1;;;23579:58:0;;4291:2:1;23579:58:0;;;4273:21:1;4330:2;4310:18;;;4303:30;4369:28;4349:18;;;4342:56;4415:18;;23579:58:0;4089:350:1;23579:58:0;24867:25:::1;24895:8;24867:36;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24925:9;24914:8;:20;;;;;;:::i;:::-;;24950:39;24966:11;24979:9;24950:39;;;;;;;:::i;:::-;;;;;;;;24856:141;24788:209:::0;:::o;13595:95::-;13642:13;13675:7;13668:14;;;;;:::i;14972:182::-;15041:4;11445:10;15097:27;11445:10;15114:2;15118:5;15097:9;:27::i;20537:130::-;20622:37;20631:5;20638:7;20647:5;20654:4;20622:8;:37::i;:::-;20537:130;;;:::o;22269:487::-;-1:-1:-1;;;;;15324:18:0;;;22369:24;15324:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;22436:37:0;;22432:317;;22513:5;22494:16;:24;22490:132;;;22546:60;;-1:-1:-1;;;22546:60:0;;-1:-1:-1;;;;;7530:32:1;;22546:60:0;;;7512:51:1;7579:18;;;7572:34;;;7622:18;;;7615:34;;;7485:18;;22546:60:0;7310:345:1;22490:132:0;22665:57;22674:5;22681:7;22709:5;22690:16;:24;22716:5;22665:8;:57::i;:::-;22358:398;22269:487;;;:::o;17112:308::-;-1:-1:-1;;;;;17196:18:0;;17192:88;;17238:30;;-1:-1:-1;;;17238:30:0;;17265:1;17238:30;;;3642:51:1;3615:18;;17238:30:0;3496:203:1;17192:88:0;-1:-1:-1;;;;;17294:16:0;;17290:88;;17334:32;;-1:-1:-1;;;17334:32:0;;17363:1;17334:32;;;3642:51:1;3615:18;;17334:32:0;3496:203:1;17290:88:0;17388:24;17396:4;17402:2;17406:5;17388:7;:24::i;21534:443::-;-1:-1:-1;;;;;21647:19:0;;21643:91;;21690:32;;-1:-1:-1;;;21690:32:0;;21719:1;21690:32;;;3642:51:1;3615:18;;21690:32:0;3496:203:1;21643:91:0;-1:-1:-1;;;;;21748:21:0;;21744:92;;21793:31;;-1:-1:-1;;;21793:31:0;;21821:1;21793:31;;;3642:51:1;3615:18;;21793:31:0;3496:203:1;21744:92:0;-1:-1:-1;;;;;21846:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;21892:78;;;;21943:7;-1:-1:-1;;;;;21927:31:0;21936:5;-1:-1:-1;;;;;21927:31:0;;21952:5;21927:31;;;;1354:25:1;;1342:2;1327:18;;1208:177;21927:31:0;;;;;;;;21534:443;;;;:::o;17744:1135::-;-1:-1:-1;;;;;17834:18:0;;17830:552;;17988:5;17972:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;17830:552:0;;-1:-1:-1;17830:552:0;;-1:-1:-1;;;;;18048:15:0;;18026:19;18048:15;;;;;;;;;;;18082:19;;;18078:117;;;18129:50;;-1:-1:-1;;;18129:50:0;;-1:-1:-1;;;;;7530:32:1;;18129:50:0;;;7512:51:1;7579:18;;;7572:34;;;7622:18;;;7615:34;;;7485:18;;18129:50:0;7310:345:1;18078:117:0;-1:-1:-1;;;;;18318:15:0;;:9;:15;;;;;;;;;;18336:19;;;;18318:37;;17830:552;-1:-1:-1;;;;;18398:16:0;;18394:435;;18564:12;:21;;;;;;;18394:435;;;-1:-1:-1;;;;;18780:13:0;;:9;:13;;;;;;;;;;:22;;;;;;18394:435;18861:2;-1:-1:-1;;;;;18846:25:0;18855:4;-1:-1:-1;;;;;18846:25:0;;18865:5;18846:25;;;;1354::1;;1342:2;1327:18;;1208:177;18846:25:0;;;;;;;;17744:1135;;;:::o;14:289:1:-;56:3;94:5;88:12;121:6;116:3;109:19;177:6;170:4;163:5;159:16;152:4;147:3;143:14;137:47;229:1;222:4;213:6;208:3;204:16;200:27;193:38;292:4;285:2;281:7;276:2;268:6;264:15;260:29;255:3;251:39;247:50;240:57;;;14:289;;;;:::o;308:220::-;457:2;446:9;439:21;420:4;477:45;518:2;507:9;503:18;495:6;477:45;:::i;:::-;469:53;308:220;-1:-1:-1;;;308:220:1:o;533:173::-;601:20;;-1:-1:-1;;;;;650:31:1;;640:42;;630:70;;696:1;693;686:12;630:70;533:173;;;:::o;711:300::-;779:6;787;840:2;828:9;819:7;815:23;811:32;808:52;;;856:1;853;846:12;808:52;879:29;898:9;879:29;:::i;:::-;869:39;977:2;962:18;;;;949:32;;-1:-1:-1;;;711:300:1:o;1390:374::-;1467:6;1475;1483;1536:2;1524:9;1515:7;1511:23;1507:32;1504:52;;;1552:1;1549;1542:12;1504:52;1575:29;1594:9;1575:29;:::i;:::-;1565:39;;1623:38;1657:2;1646:9;1642:18;1623:38;:::i;:::-;1390:374;;1613:48;;-1:-1:-1;;;1730:2:1;1715:18;;;;1702:32;;1390:374::o;1958:186::-;2017:6;2070:2;2058:9;2049:7;2045:23;2041:32;2038:52;;;2086:1;2083;2076:12;2038:52;2109:29;2128:9;2109:29;:::i;2149:127::-;2210:10;2205:3;2201:20;2198:1;2191:31;2241:4;2238:1;2231:15;2265:4;2262:1;2255:15;2281:945;2350:6;2403:2;2391:9;2382:7;2378:23;2374:32;2371:52;;;2419:1;2416;2409:12;2371:52;2459:9;2446:23;2492:18;2484:6;2481:30;2478:50;;;2524:1;2521;2514:12;2478:50;2547:22;;2600:4;2592:13;;2588:27;-1:-1:-1;2578:55:1;;2629:1;2626;2619:12;2578:55;2669:2;2656:16;2695:18;2687:6;2684:30;2681:56;;;2717:18;;:::i;:::-;2766:2;2760:9;2858:2;2820:17;;-1:-1:-1;;2816:31:1;;;2849:2;2812:40;2808:54;2796:67;;2893:18;2878:34;;2914:22;;;2875:62;2872:88;;;2940:18;;:::i;:::-;2976:2;2969:22;3000;;;3041:15;;;3058:2;3037:24;3034:37;-1:-1:-1;3031:57:1;;;3084:1;3081;3074:12;3031:57;3140:6;3135:2;3131;3127:11;3122:2;3114:6;3110:15;3097:50;3193:1;3167:19;;;3188:2;3163:28;3156:39;;;;3171:6;2281:945;-1:-1:-1;;;;2281:945:1:o;3231:260::-;3299:6;3307;3360:2;3348:9;3339:7;3335:23;3331:32;3328:52;;;3376:1;3373;3366:12;3328:52;3399:29;3418:9;3399:29;:::i;:::-;3389:39;;3447:38;3481:2;3470:9;3466:18;3447:38;:::i;:::-;3437:48;;3231:260;;;;;:::o;3704:380::-;3783:1;3779:12;;;;3826;;;3847:61;;3901:4;3893:6;3889:17;3879:27;;3847:61;3954:2;3946:6;3943:14;3923:18;3920:38;3917:161;;4000:10;3995:3;3991:20;3988:1;3981:31;4035:4;4032:1;4025:15;4063:4;4060:1;4053:15;3917:161;;3704:380;;;:::o;4924:518::-;5026:2;5021:3;5018:11;5015:421;;;5062:5;5059:1;5052:16;5106:4;5103:1;5093:18;5176:2;5164:10;5160:19;5157:1;5153:27;5147:4;5143:38;5212:4;5200:10;5197:20;5194:47;;;-1:-1:-1;5235:4:1;5194:47;5290:2;5285:3;5281:12;5278:1;5274:20;5268:4;5264:31;5254:41;;5345:81;5363:2;5356:5;5353:13;5345:81;;;5422:1;5408:16;;5389:1;5378:13;5345:81;;;5349:3;;4924:518;;;:::o;5618:1299::-;5744:3;5738:10;5771:18;5763:6;5760:30;5757:56;;;5793:18;;:::i;:::-;5822:97;5912:6;5872:38;5904:4;5898:11;5872:38;:::i;:::-;5866:4;5822:97;:::i;:::-;5968:4;5999:2;5988:14;;6016:1;6011:649;;;;6704:1;6721:6;6718:89;;;-1:-1:-1;6773:19:1;;;6767:26;6718:89;-1:-1:-1;;5575:1:1;5571:11;;;5567:24;5563:29;5553:40;5599:1;5595:11;;;5550:57;6820:81;;5981:930;;6011:649;4871:1;4864:14;;;4908:4;4895:18;;-1:-1:-1;;6047:20:1;;;6165:222;6179:7;6176:1;6173:14;6165:222;;;6261:19;;;6255:26;6240:42;;6368:4;6353:20;;;;6321:1;6309:14;;;;6195:12;6165:222;;;6169:3;6415:6;6406:7;6403:19;6400:201;;;6476:19;;;6470:26;-1:-1:-1;;6559:1:1;6555:14;;;6571:3;6551:24;6547:37;6543:42;6528:58;6513:74;;6400:201;-1:-1:-1;;;;6647:1:1;6631:14;;;6627:22;6614:36;;-1:-1:-1;5618:1299:1:o;6922:383::-;7119:2;7108:9;7101:21;7082:4;7145:45;7186:2;7175:9;7171:18;7163:6;7145:45;:::i;:::-;7238:9;7230:6;7226:22;7221:2;7210:9;7206:18;7199:50;7266:33;7292:6;7284;7266:33;:::i;:::-;7258:41;6922:383;-1:-1:-1;;;;;6922:383:1:o;7660:222::-;7725:9;;;7746:10;;;7743:133;;;7798:10;7793:3;7789:20;7786:1;7779:31;7833:4;7830:1;7823:15;7861:4;7858:1;7851:15

Swarm Source

ipfs://b35dc98149a4079c18c4746f8e85c2dc967aa2ac3d39184fd5225718adbe5745

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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