ETH Price: $2,239.46 (-1.56%)
 

Overview

Max Total Supply

0

Holders

0

Transfers

-
0

Market

Onchain Market Cap

-

Circulating Supply Market Cap

-

Other Info

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

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SCC0Whitelist

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 100 runs

Other Settings:
paris EvmVersion
// SPDX-License-Identifier: scc0
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";

contract SCC0Whitelist is Ownable {
    using EnumerableSet for EnumerableSet.AddressSet;

    // Set of auditor addresses authorized to manage the whitelist.
    EnumerableSet.AddressSet private auditors;
    // Set of dApp addresses that are whitelisted.
    EnumerableSet.AddressSet private whitelist;

    // Emitted when a new auditor is added.
    event AuditorAdded(address indexed auditor);
    // Emitted when an auditor is removed.
    event AuditorRemoved(address indexed auditor);

    // Emitted when a dApp is added to the whitelist.
    event DAppWhitelisted(address indexed dApp, address auditor, uint256 timestamp);
    // Emitted when a dApp is removed from the whitelist.
    event DAppRemovedFromWhitelist(address indexed dApp, address auditor, uint256 timestamp);
    // Emitted when a dApps array is added to the whitelist.
    event DAppsBatchWhitelisted(address[] dApp, address auditor, uint256 timestamp);
    // Emitted when a dApps array is removed from the whitelist.
    event DAppsBatchRemovedFromWhitelist(address[] dApp, address auditor, uint256 timestamp);

	/// @dev Modifier to restrict access to auditors only.
    modifier onlyAuditor(){
        require(auditors.contains(msg.sender),"SCC0Whitelist: only auditor");
        _;
    }

    /// @notice Constructor: sets the initial owner.
    /// @param _initOwner The address that will be set as the contract owner.
    constructor(address _initOwner) Ownable(_initOwner) {}

    /// @notice Adds a new auditor.
    /// @param _auditor The address to be added as an auditor.
    function addAuditor(address _auditor) external onlyOwner {
        require(_auditor != address(0), "SCC0Whitelist: invalid auditor address");
        require(auditors.add(_auditor), "SCC0Whitelist: auditor already exists");
        emit AuditorAdded(_auditor);
    }

    /// @notice Removes an existing auditor.
    /// @param _auditor The address of the auditor to remove.
    function removeAuditor(address _auditor) external onlyOwner {
        require(auditors.remove(_auditor), "SCC0Whitelist: auditor does not exist");
        emit AuditorRemoved(_auditor);
    }

    /// @notice Checks if the given address is an auditor.
    /// @param _auditor The address to check.
    /// @return True if the address is an auditor; otherwise, false.
    function isAuditor(address _auditor) external view returns (bool) {
        return auditors.contains(_auditor);
    }

    /// @notice Returns a list of all auditor addresses.
    /// @return An array of auditor addresses.
    function listAuditors() external view returns (address[] memory) {
        return auditors.values();
    }
    /// @notice Adds a dApp to the whitelist.
    /// @param _dApp The dApp address to add to the whitelist.
    /// @dev Only an auditor can call this function.
    function addToWhitelist(address _dApp) public  onlyAuditor {
        require(_dApp != address(0), "SCC0Whitelist: invalid dApp address");
        require(whitelist.add(_dApp), "SCC0Whitelist: dApp already whitelisted");
        emit DAppWhitelisted( _dApp,msg.sender,block.timestamp);
    }
    /// @notice Adds  dApps to the whitelist.
    /// @param _dApps The dApps address array to add to the whitelist.
    /// @dev Only an auditor can call this function.
    function addToWhitelistBatch(address[] memory _dApps) external  onlyAuditor {
        for(uint256 i=0;i<_dApps.length;i++){
            addToWhitelist(_dApps[i]);
        }
        emit DAppsBatchWhitelisted( _dApps,msg.sender,block.timestamp);
    }
    /// @notice Removes a dApp from the whitelist.
    /// @param _dApp The dApp address to remove from the whitelist.
    /// @dev Only an auditor can call this function.
    function removeFromWhitelist(address _dApp) public onlyAuditor {
        require(_dApp != address(0), "SCC0Whitelist: invalid dApp address");
        require(whitelist.remove(_dApp), "SCC0Whitelist: dApp not whitelisted");
        emit DAppRemovedFromWhitelist( _dApp,msg.sender, block.timestamp);
        
    }
    /// @notice Removes  dApps array from the whitelist.
    /// @param _dApps The dApp address array to remove from the whitelist.
    /// @dev Only an auditor can call this function.
    function removeFromWhitelistBatch(address[] memory _dApps) external onlyAuditor {
       for(uint256 i=0;i<_dApps.length;i++){
            removeFromWhitelist(_dApps[i]);
        }
        emit DAppsBatchRemovedFromWhitelist( _dApps,msg.sender, block.timestamp);
        
    }
    /// @notice Checks if a dApp is whitelisted.
    /// @param _dApp The dApp address to check.
    /// @return True if the dApp is in the whitelist; otherwise, false.
    function isWhitelisted(address _dApp) public view returns (bool) {
        return whitelist.contains(_dApp);
    }
    
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (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;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.20;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```solidity
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position is the index of the value in the `values` array plus 1.
        // Position 0 is used to mean a value is not in the set.
        mapping(bytes32 value => uint256) _positions;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._positions[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We cache the value's position to prevent multiple reads from the same storage slot
        uint256 position = set._positions[value];

        if (position != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 valueIndex = position - 1;
            uint256 lastIndex = set._values.length - 1;

            if (valueIndex != lastIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the lastValue to the index where the value to delete is
                set._values[valueIndex] = lastValue;
                // Update the tracked position of the lastValue (that was just moved)
                set._positions[lastValue] = position;
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the tracked position for the deleted slot
            delete set._positions[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._positions[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 100
  },
  "viaIR": true,
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_initOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"auditor","type":"address"}],"name":"AuditorAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"auditor","type":"address"}],"name":"AuditorRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"dApp","type":"address"},{"indexed":false,"internalType":"address","name":"auditor","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"DAppRemovedFromWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"dApp","type":"address"},{"indexed":false,"internalType":"address","name":"auditor","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"DAppWhitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"dApp","type":"address[]"},{"indexed":false,"internalType":"address","name":"auditor","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"DAppsBatchRemovedFromWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"dApp","type":"address[]"},{"indexed":false,"internalType":"address","name":"auditor","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"DAppsBatchWhitelisted","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"},{"inputs":[{"internalType":"address","name":"_auditor","type":"address"}],"name":"addAuditor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_dApp","type":"address"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_dApps","type":"address[]"}],"name":"addToWhitelistBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_auditor","type":"address"}],"name":"isAuditor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_dApp","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"listAuditors","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_auditor","type":"address"}],"name":"removeAuditor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_dApp","type":"address"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_dApps","type":"address[]"}],"name":"removeFromWhitelistBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080346100bb57601f610f0338819003918201601f19168301916001600160401b038311848410176100c0578084926020946040528339810103126100bb57516001600160a01b0390818116908190036100bb5780156100a257600080546001600160a01b03198116831782556040519316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3610e2c90816100d78239f35b604051631e4fbdf760e01b815260006004820152602490fd5b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080604081815260048036101561001557600080fd5b600092833560e01c9081633af32abf1461087d5750806349b9055714610843578063715018a6146107e95780638ab1d681146107105780638da5cb5b146106e85780639fc1305714610654578063a617713914610516578063ae5f1eb9146103cf578063e429cef1146102c3578063e43252d7146101e4578063e6116cfd146101305763f2fde38b146100a757600080fd5b3461012c57602036600319011261012c576100c06108b7565b906100c96109d8565b6001600160a01b0391821692831561011657505082546001600160a01b0319811683178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b51631e4fbdf760e01b8152908101849052602490fd5b8280fd5b503461012c57602036600319011261012c5761014a6108b7565b6101526109d8565b6001600160a01b03169161016583610c03565b156101935750507fd3e803f2dfdacd206b7d19aa46d847206386d84e3dc6b8de0926e54affa6fddc8280a280f35b906020608492519162461bcd60e51b8352820152602560248201527f5343433057686974656c6973743a2061756469746f7220646f6573206e6f7420604482015264195e1a5cdd60da1b6064820152fd5b50903461012c57602036600319011261012c576101ff6108b7565b3384526002602052610215828520541515610ced565b6001600160a01b03169161022a831515610d39565b61023383610a50565b156102715750513381524260208201527fd1112ddc3e1d297c62ee581df1b254d48460ce5d0b0b80f72c2b3083bf64f0369080604081015b0390a280f35b6020608492519162461bcd60e51b8352820152602760248201527f5343433057686974656c6973743a206441707020616c72656164792077686974604482015266195b1a5cdd195960ca1b6064820152fd5b503461012c57602036600319011261012c576102dd6108b7565b6102e56109d8565b6001600160a01b031691821561037d576102fe83610acd565b1561032c5750507f2c31044378cc14466459f09320dd4057d7ad6e99b194c0800c78227383a252968280a280f35b906020608492519162461bcd60e51b8352820152602560248201527f5343433057686974656c6973743a2061756469746f7220616c72656164792065604482015264786973747360d81b6064820152fd5b906020608492519162461bcd60e51b8352820152602660248201527f5343433057686974656c6973743a20696e76616c69642061756469746f72206160448201526564647265737360d01b6064820152fd5b508234610513576103df36610947565b913382526002916020908382526103fa868220541515610ced565b805b85518110156104db576001600160a01b036104178288610db6565b511633835285845261042d888420541515610ced565b610438811515610d39565b61044181610b1a565b1561048c5787513381524260208201526104879291907f61a352ac4d18c397f37dcaa21a586b127e6e5aec81d339a3ac4154c7fc2921669080604081015b0390a2610d91565b6103fc565b875162461bcd60e51b8152808601859052602360248201527f5343433057686974656c6973743a2064417070206e6f742077686974656c69736044820152621d195960ea1b6064820152608490fd5b5085517fb5decbcb42c68a99d78428cb569448c3ee11bfa64f8609bf81ec177358ebd973908061050d42338a84610dca565b0390a180f35b80fd5b5082346105135761052636610947565b91338252600291602090838252610541868220541515610ced565b805b8551811015610622576001600160a01b0361055e8288610db6565b5116338352858452610574888420541515610ced565b61057f811515610d39565b61058881610a50565b156105cf5787513381524260208201526105ca9291907fd1112ddc3e1d297c62ee581df1b254d48460ce5d0b0b80f72c2b3083bf64f03690806040810161047f565b610543565b875162461bcd60e51b8152808601859052602760248201527f5343433057686974656c6973743a206441707020616c72656164792077686974604482015266195b1a5cdd195960ca1b6064820152608490fd5b5085517ff9a722bfa5af07ea924247d79e25950030e7c48615d16513b6de0a56924f6ae7908061050d42338a84610dca565b5050346106e457816003193601126106e4578051600180548083528185529193602093918591858301917fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6915b878782106106ce5785906106ca886106bb8489038561090f565b519282849384528301906108d2565b0390f35b83548552899550909301929181019181016106a1565b5080fd5b5050346106e457816003193601126106e457905490516001600160a01b039091168152602090f35b50903461012c57602036600319011261012c5761072b6108b7565b3384526002602052610741828520541515610ced565b6001600160a01b031691610756831515610d39565b61075f83610b1a565b1561079b5750513381524260208201527f61a352ac4d18c397f37dcaa21a586b127e6e5aec81d339a3ac4154c7fc29216690806040810161026b565b6020608492519162461bcd60e51b8352820152602360248201527f5343433057686974656c6973743a2064417070206e6f742077686974656c69736044820152621d195960ea1b6064820152fd5b83346105135780600319360112610513576108026109d8565b80546001600160a01b03198116825581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346106e45760203660031901126106e45760209181906001600160a01b0361086b6108b7565b16815260028452205415159051908152f35b92919050346108b35760203660031901126108b357602093906001600160a01b036108a66108b7565b1682528452205415158152f35b8380fd5b600435906001600160a01b03821682036108cd57565b600080fd5b90815180825260208080930193019160005b8281106108f2575050505090565b83516001600160a01b0316855293810193928101926001016108e4565b90601f8019910116810190811067ffffffffffffffff82111761093157604052565b634e487b7160e01b600052604160045260246000fd5b6020806003198301126108cd5767ffffffffffffffff916004358381116108cd57816023820112156108cd578060040135938411610931578360051b90604051946109948584018761090f565b85526024848601928201019283116108cd57602401905b8282106109b9575050505090565b81356001600160a01b03811681036108cd5781529083019083016109ab565b6000546001600160a01b031633036109ec57565b60405163118cdaa760e01b8152336004820152602490fd5b600354811015610a1f57600360005260206000200190600090565b634e487b7160e01b600052603260045260246000fd5b600154811015610a1f57600160005260206000200190600090565b600081815260046020526040812054610ac857600354600160401b811015610ab4579082610aa0610a8984600160409601600355610a04565b819391549060031b91821b91600019901b19161790565b905560035492815260046020522055600190565b634e487b7160e01b82526041600452602482fd5b905090565b600081815260026020526040812054610ac857600154600160401b811015610ab4579082610b06610a8984600160409601600155610a35565b905560015492815260026020522055600190565b600090808252600490816020526040832054801515600014610bfd5760001990808201818111610bea5760035490838201918211610bd757818103610ba4575b5050506003548015610b9157810190610b7282610a04565b909182549160031b1b1916905560035582526020526040812055600190565b634e487b7160e01b855260318452602485fd5b610bc2610bb3610a8993610a04565b90549060031b1c928392610a04565b90558552836020526040852055388080610b5a565b634e487b7160e01b875260118652602487fd5b634e487b7160e01b865260118552602486fd5b50505090565b6000818152600260205260408120549091908015610ce85760001990808201818111610cd45760015490838201918211610cc057818103610c8c575b5050506001548015610c7857810190610c5782610a35565b909182549160031b1b19169055600155815260026020526040812055600190565b634e487b7160e01b84526031600452602484fd5b610caa610c9b610a8993610a35565b90549060031b1c928392610a35565b9055845260026020526040842055388080610c3f565b634e487b7160e01b86526011600452602486fd5b634e487b7160e01b85526011600452602485fd5b505090565b15610cf457565b60405162461bcd60e51b815260206004820152601b60248201527f5343433057686974656c6973743a206f6e6c792061756469746f7200000000006044820152606490fd5b15610d4057565b60405162461bcd60e51b815260206004820152602360248201527f5343433057686974656c6973743a20696e76616c69642064417070206164647260448201526265737360e81b6064820152608490fd5b6000198114610da05760010190565b634e487b7160e01b600052601160045260246000fd5b8051821015610a1f5760209160051b010190565b610de2604092959493956060835260608301906108d2565b6001600160a01b039095166020820152015256fea2646970667358221220dd5e290bfde049f77e1113b3f04b42fe69ce7df28bb0d6bd4fbbe69866b4125f64736f6c6343000814003300000000000000000000000024facfbb6cbe945c9dbe1e338c43971b23216a03

Deployed Bytecode

0x6080604081815260048036101561001557600080fd5b600092833560e01c9081633af32abf1461087d5750806349b9055714610843578063715018a6146107e95780638ab1d681146107105780638da5cb5b146106e85780639fc1305714610654578063a617713914610516578063ae5f1eb9146103cf578063e429cef1146102c3578063e43252d7146101e4578063e6116cfd146101305763f2fde38b146100a757600080fd5b3461012c57602036600319011261012c576100c06108b7565b906100c96109d8565b6001600160a01b0391821692831561011657505082546001600160a01b0319811683178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b51631e4fbdf760e01b8152908101849052602490fd5b8280fd5b503461012c57602036600319011261012c5761014a6108b7565b6101526109d8565b6001600160a01b03169161016583610c03565b156101935750507fd3e803f2dfdacd206b7d19aa46d847206386d84e3dc6b8de0926e54affa6fddc8280a280f35b906020608492519162461bcd60e51b8352820152602560248201527f5343433057686974656c6973743a2061756469746f7220646f6573206e6f7420604482015264195e1a5cdd60da1b6064820152fd5b50903461012c57602036600319011261012c576101ff6108b7565b3384526002602052610215828520541515610ced565b6001600160a01b03169161022a831515610d39565b61023383610a50565b156102715750513381524260208201527fd1112ddc3e1d297c62ee581df1b254d48460ce5d0b0b80f72c2b3083bf64f0369080604081015b0390a280f35b6020608492519162461bcd60e51b8352820152602760248201527f5343433057686974656c6973743a206441707020616c72656164792077686974604482015266195b1a5cdd195960ca1b6064820152fd5b503461012c57602036600319011261012c576102dd6108b7565b6102e56109d8565b6001600160a01b031691821561037d576102fe83610acd565b1561032c5750507f2c31044378cc14466459f09320dd4057d7ad6e99b194c0800c78227383a252968280a280f35b906020608492519162461bcd60e51b8352820152602560248201527f5343433057686974656c6973743a2061756469746f7220616c72656164792065604482015264786973747360d81b6064820152fd5b906020608492519162461bcd60e51b8352820152602660248201527f5343433057686974656c6973743a20696e76616c69642061756469746f72206160448201526564647265737360d01b6064820152fd5b508234610513576103df36610947565b913382526002916020908382526103fa868220541515610ced565b805b85518110156104db576001600160a01b036104178288610db6565b511633835285845261042d888420541515610ced565b610438811515610d39565b61044181610b1a565b1561048c5787513381524260208201526104879291907f61a352ac4d18c397f37dcaa21a586b127e6e5aec81d339a3ac4154c7fc2921669080604081015b0390a2610d91565b6103fc565b875162461bcd60e51b8152808601859052602360248201527f5343433057686974656c6973743a2064417070206e6f742077686974656c69736044820152621d195960ea1b6064820152608490fd5b5085517fb5decbcb42c68a99d78428cb569448c3ee11bfa64f8609bf81ec177358ebd973908061050d42338a84610dca565b0390a180f35b80fd5b5082346105135761052636610947565b91338252600291602090838252610541868220541515610ced565b805b8551811015610622576001600160a01b0361055e8288610db6565b5116338352858452610574888420541515610ced565b61057f811515610d39565b61058881610a50565b156105cf5787513381524260208201526105ca9291907fd1112ddc3e1d297c62ee581df1b254d48460ce5d0b0b80f72c2b3083bf64f03690806040810161047f565b610543565b875162461bcd60e51b8152808601859052602760248201527f5343433057686974656c6973743a206441707020616c72656164792077686974604482015266195b1a5cdd195960ca1b6064820152608490fd5b5085517ff9a722bfa5af07ea924247d79e25950030e7c48615d16513b6de0a56924f6ae7908061050d42338a84610dca565b5050346106e457816003193601126106e4578051600180548083528185529193602093918591858301917fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6915b878782106106ce5785906106ca886106bb8489038561090f565b519282849384528301906108d2565b0390f35b83548552899550909301929181019181016106a1565b5080fd5b5050346106e457816003193601126106e457905490516001600160a01b039091168152602090f35b50903461012c57602036600319011261012c5761072b6108b7565b3384526002602052610741828520541515610ced565b6001600160a01b031691610756831515610d39565b61075f83610b1a565b1561079b5750513381524260208201527f61a352ac4d18c397f37dcaa21a586b127e6e5aec81d339a3ac4154c7fc29216690806040810161026b565b6020608492519162461bcd60e51b8352820152602360248201527f5343433057686974656c6973743a2064417070206e6f742077686974656c69736044820152621d195960ea1b6064820152fd5b83346105135780600319360112610513576108026109d8565b80546001600160a01b03198116825581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346106e45760203660031901126106e45760209181906001600160a01b0361086b6108b7565b16815260028452205415159051908152f35b92919050346108b35760203660031901126108b357602093906001600160a01b036108a66108b7565b1682528452205415158152f35b8380fd5b600435906001600160a01b03821682036108cd57565b600080fd5b90815180825260208080930193019160005b8281106108f2575050505090565b83516001600160a01b0316855293810193928101926001016108e4565b90601f8019910116810190811067ffffffffffffffff82111761093157604052565b634e487b7160e01b600052604160045260246000fd5b6020806003198301126108cd5767ffffffffffffffff916004358381116108cd57816023820112156108cd578060040135938411610931578360051b90604051946109948584018761090f565b85526024848601928201019283116108cd57602401905b8282106109b9575050505090565b81356001600160a01b03811681036108cd5781529083019083016109ab565b6000546001600160a01b031633036109ec57565b60405163118cdaa760e01b8152336004820152602490fd5b600354811015610a1f57600360005260206000200190600090565b634e487b7160e01b600052603260045260246000fd5b600154811015610a1f57600160005260206000200190600090565b600081815260046020526040812054610ac857600354600160401b811015610ab4579082610aa0610a8984600160409601600355610a04565b819391549060031b91821b91600019901b19161790565b905560035492815260046020522055600190565b634e487b7160e01b82526041600452602482fd5b905090565b600081815260026020526040812054610ac857600154600160401b811015610ab4579082610b06610a8984600160409601600155610a35565b905560015492815260026020522055600190565b600090808252600490816020526040832054801515600014610bfd5760001990808201818111610bea5760035490838201918211610bd757818103610ba4575b5050506003548015610b9157810190610b7282610a04565b909182549160031b1b1916905560035582526020526040812055600190565b634e487b7160e01b855260318452602485fd5b610bc2610bb3610a8993610a04565b90549060031b1c928392610a04565b90558552836020526040852055388080610b5a565b634e487b7160e01b875260118652602487fd5b634e487b7160e01b865260118552602486fd5b50505090565b6000818152600260205260408120549091908015610ce85760001990808201818111610cd45760015490838201918211610cc057818103610c8c575b5050506001548015610c7857810190610c5782610a35565b909182549160031b1b19169055600155815260026020526040812055600190565b634e487b7160e01b84526031600452602484fd5b610caa610c9b610a8993610a35565b90549060031b1c928392610a35565b9055845260026020526040842055388080610c3f565b634e487b7160e01b86526011600452602486fd5b634e487b7160e01b85526011600452602485fd5b505090565b15610cf457565b60405162461bcd60e51b815260206004820152601b60248201527f5343433057686974656c6973743a206f6e6c792061756469746f7200000000006044820152606490fd5b15610d4057565b60405162461bcd60e51b815260206004820152602360248201527f5343433057686974656c6973743a20696e76616c69642064417070206164647260448201526265737360e81b6064820152608490fd5b6000198114610da05760010190565b634e487b7160e01b600052601160045260246000fd5b8051821015610a1f5760209160051b010190565b610de2604092959493956060835260608301906108d2565b6001600160a01b039095166020820152015256fea2646970667358221220dd5e290bfde049f77e1113b3f04b42fe69ce7df28bb0d6bd4fbbe69866b4125f64736f6c63430008140033

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

00000000000000000000000024facfbb6cbe945c9dbe1e338c43971b23216a03

-----Decoded View---------------
Arg [0] : _initOwner (address): 0x24facFBb6cbe945C9DbE1e338C43971B23216a03

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000024facfbb6cbe945c9dbe1e338c43971b23216a03


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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