MATIC Price: $0.360839 (-20.24%)
Gas: 167 GWei
 

Overview

Max Total Supply

2,672,663,352 KPN

Holders

3,027 ( 0.132%)

Market

Price

$0.01 @ 0.038639 MATIC (-19.58%)

Onchain Market Cap

$37,263,421.70

Circulating Supply Market Cap

$1,619,441.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
389.963361765744303358 KPN

Value
$5.44 ( ~15.0760 MATIC) [0.0000%]
0x802b65b5d9016621e66003aed0b16615093f328b
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The next-gen AI VPN platform that's reshaping digital security. By downloading our app, you're not just a user but a trainer for our AI, helping to hone a more innovative, intuitive VPN experience.

Market

Volume (24H):$118,268.00
Market Capitalization:$1,619,441.00
Circulating Supply:36,973,106.00 KPN
Market Data Source: Coinmarketcap

Contract Source Code Verified (Exact Match)

Contract Name:
KPNToken

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion, Audited
File 1 of 13 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)

pragma solidity ^0.8.20;

import {IAccessControl} from "./IAccessControl.sol";
import {Context} from "../utils/Context.sol";
import {ERC165} from "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```solidity
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```solidity
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address account => bool) hasRole;
        bytes32 adminRole;
    }

    mapping(bytes32 role => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with an {AccessControlUnauthorizedAccount} error including the required role.
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual returns (bool) {
        return _roles[role].hasRole[account];
    }

    /**
     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`
     * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`
     * is missing `role`.
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert AccessControlUnauthorizedAccount(account, role);
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `callerConfirmation`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address callerConfirmation) public virtual {
        if (callerConfirmation != _msgSender()) {
            revert AccessControlBadConfirmation();
        }

        _revokeRole(role, callerConfirmation);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual returns (bool) {
        if (!hasRole(role, account)) {
            _roles[role].hasRole[account] = true;
            emit RoleGranted(role, account, _msgSender());
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {
        if (hasRole(role, account)) {
            _roles[role].hasRole[account] = false;
            emit RoleRevoked(role, account, _msgSender());
            return true;
        } else {
            return false;
        }
    }
}

File 2 of 13 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol)

pragma solidity ^0.8.20;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev The `account` is missing a role.
     */
    error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);

    /**
     * @dev The caller of a function is not the expected one.
     *
     * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.
     */
    error AccessControlBadConfirmation();

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `callerConfirmation`.
     */
    function renounceRole(bytes32 role, address callerConfirmation) external;
}

File 3 of 13 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 4 of 13 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

    mapping(address account => mapping(address spender => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

File 5 of 13 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 6 of 13 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     *
     * CAUTION: See Security Considerations above.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 7 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

File 8 of 13 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";
import {IERC20Permit} from "../extensions/IERC20Permit.sol";
import {Address} from "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    /**
     * @dev An operation with an ERC20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data);
        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;
    }
}

File 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedInnerCall();

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        if (address(this).balance < amount) {
            revert AddressInsufficientBalance(address(this));
        }

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert FailedInnerCall();
        }
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {FailedInnerCall} error.
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
     * unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {FailedInnerCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
     */
    function _revert(bytes memory returndata) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert FailedInnerCall();
        }
    }
}

File 10 of 13 : Context.sol
// 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 11 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;

import {IERC165} from "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 12 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 13 of 13 : KPNToken.sol
// SPDX-License-Identifier: UNLICENSED
// Synthia Group LLC
pragma solidity ^0.8.9;


import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";

interface IMultiSigWallet {
    function getOwners() external view returns (address[] memory);
}

contract KPNToken is ERC20, AccessControl{
    using SafeERC20 for ERC20;
    IMultiSigWallet public immutable multiSigWallet;

    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");

    address[] private adminAddresses; // Track addresses with ADMIN_ROLE

    uint256 private liveSupply;
    uint256 public constant maxSupply = 3 * (1e9) /* 3 Billion*/ * (1e18) /* Decimals = 18 */;
    

    constructor(address multiSigWalletAddress)ERC20("KonnektVPN", "KPN"){
        require(multiSigWalletAddress != address(0), "Address zero not allowed!");
        multiSigWallet = IMultiSigWallet(multiSigWalletAddress);
        address[] memory owners = multiSigWallet.getOwners();
        require(owners.length >= 3, "MultiSig wallet must have at least three owners");

        _grantRole(DEFAULT_ADMIN_ROLE, multiSigWalletAddress); // Assigns the multiSigWalletAddress the default admin role
        _grantRole(ADMIN_ROLE, multiSigWalletAddress);
        _grantRole(ADMIN_ROLE, owners[0]);
    

        adminAddresses.push(multiSigWalletAddress); // Initialize adminAddresses with the multiSigWalletAddress address
        adminAddresses.push(owners[0]);
    }

    // mints token to owners wallet
    function mint(uint256 amount) public onlyRole(ADMIN_ROLE){
        require(liveSupply + amount <= maxSupply, "ERC20: Over Max Supply Error");
        liveSupply += amount;
        _mint(msg.sender, amount);
    }
    function mintToMiners(address target, uint256 amount) external onlyRole(ADMIN_ROLE){
        require(liveSupply + amount <= maxSupply, "ERC20: Over Max Supply Error");
        liveSupply += amount;
        _mint(target, amount);
    }

    // public burn function
    function burn(uint256 amount) public {
        require(liveSupply - amount >= 0, "ERC20: Cannot Burn more than current supply");
        require(balanceOf(msg.sender) >= amount, "ERC20: Cannot burn - balance too low");
        liveSupply -= amount;
        _burn(msg.sender, amount);
    }

    function totalSupply() public view virtual override returns (uint256) {
        return liveSupply;
    }

    // Override grantRole and revokeRole to track role membership
    function grantRole(bytes32 role, address account) public override onlyRole(getRoleAdmin(role)) {
        super.grantRole(role, account);
        if (role == ADMIN_ROLE && !_isInArray(account, adminAddresses)) {
            adminAddresses.push(account);
        } else {
            revert("Role not found!");
        }
    }

    function revokeRole(bytes32 role, address account) public override onlyRole(getRoleAdmin(role)) {
        super.revokeRole(role, account);
        if (role == ADMIN_ROLE) {
            _removeFromArray(account, adminAddresses);
        } else {
            revert("Role not found!");
        }
    }

    function getAdminAddresses() public view returns (address[] memory) {
        return adminAddresses;
    }

    // Helper function to check if an address is in an array
    function _isInArray(address account, address[] storage array) private view returns (bool) {
        for (uint i = 0; i < array.length; i++) {
            if (array[i] == account) {
                return true;
            }
        }
        return false;
    }

    // Helper function to remove an address from an array
    function _removeFromArray(address account, address[] storage array) private {
        for (uint i = 0; i < array.length; i++) {
            if (array[i] == account) {
                array[i] = array[array.length - 1];
                array.pop();
                break;
            }
        }
    }

}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"multiSigWalletAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAdminAddresses","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintToMiners","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"multiSigWallet","outputs":[{"internalType":"contract IMultiSigWallet","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"}]

60a06040523480156200001157600080fd5b5060405162002f4038038062002f408339818101604052810190620000379190620005aa565b6040518060400160405280600a81526020017f4b6f6e6e656b7456504e000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4b504e00000000000000000000000000000000000000000000000000000000008152508160039081620000b4919062000856565b508060049081620000c6919062000856565b505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200013b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000132906200099e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050600060805173ffffffffffffffffffffffffffffffffffffffff1663a0e67e2b6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620001bf573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190620001ea919062000b06565b905060038151101562000234576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200022b9062000bcd565b60405180910390fd5b620002496000801b83620003ba60201b60201c565b506200027c7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177583620003ba60201b60201c565b50620002cd7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177582600081518110620002b957620002b862000bef565b5b6020026020010151620003ba60201b60201c565b506006829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506006816000815181106200034a576200034962000bef565b5b60200260200101519080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000c1e565b6000620003ce8383620004be60201b60201c565b620004b35760016005600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200044f6200052960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050620004b8565b600090505b92915050565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005728262000545565b9050919050565b620005848162000565565b81146200059057600080fd5b50565b600081519050620005a48162000579565b92915050565b600060208284031215620005c357620005c26200053b565b5b6000620005d38482850162000593565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200065e57607f821691505b60208210810362000674576200067362000616565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006de7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200069f565b620006ea86836200069f565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000737620007316200072b8462000702565b6200070c565b62000702565b9050919050565b6000819050919050565b620007538362000716565b6200076b62000762826200073e565b848454620006ac565b825550505050565b600090565b6200078262000773565b6200078f81848462000748565b505050565b5b81811015620007b757620007ab60008262000778565b60018101905062000795565b5050565b601f8211156200080657620007d0816200067a565b620007db846200068f565b81016020851015620007eb578190505b62000803620007fa856200068f565b83018262000794565b50505b505050565b600082821c905092915050565b60006200082b600019846008026200080b565b1980831691505092915050565b600062000846838362000818565b9150826002028217905092915050565b6200086182620005dc565b67ffffffffffffffff8111156200087d576200087c620005e7565b5b62000889825462000645565b62000896828285620007bb565b600060209050601f831160018114620008ce5760008415620008b9578287015190505b620008c5858262000838565b86555062000935565b601f198416620008de866200067a565b60005b828110156200090857848901518255600182019150602085019450602081019050620008e1565b8683101562000928578489015162000924601f89168262000818565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f41646472657373207a65726f206e6f7420616c6c6f7765642100000000000000600082015250565b6000620009866019836200093d565b915062000993826200094e565b602082019050919050565b60006020820190508181036000830152620009b98162000977565b9050919050565b600080fd5b6000601f19601f8301169050919050565b620009e182620009c5565b810181811067ffffffffffffffff8211171562000a035762000a02620005e7565b5b80604052505050565b600062000a1862000531565b905062000a268282620009d6565b919050565b600067ffffffffffffffff82111562000a495762000a48620005e7565b5b602082029050602081019050919050565b600080fd5b600062000a7662000a708462000a2b565b62000a0c565b9050808382526020820190506020840283018581111562000a9c5762000a9b62000a5a565b5b835b8181101562000ac9578062000ab4888262000593565b84526020840193505060208101905062000a9e565b5050509392505050565b600082601f83011262000aeb5762000aea620009c0565b5b815162000afd84826020860162000a5f565b91505092915050565b60006020828403121562000b1f5762000b1e6200053b565b5b600082015167ffffffffffffffff81111562000b405762000b3f62000540565b5b62000b4e8482850162000ad3565b91505092915050565b7f4d756c74695369672077616c6c6574206d7573742068617665206174206c656160008201527f7374207468726565206f776e6572730000000000000000000000000000000000602082015250565b600062000bb5602f836200093d565b915062000bc28262000b57565b604082019050919050565b6000602082019050818103600083015262000be88162000ba6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60805161230662000c3a600039600061085801526123066000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806364ddfa29116100c3578063a217fddf1161007c578063a217fddf146103b4578063a9059cbb146103d2578063d547741f14610402578063d5abeb011461041e578063dd62ed3e1461043c578063ede51ff51461046c5761014d565b806364ddfa29146102de57806370a08231146102fc57806375b238fc1461032c57806391d148541461034a57806395d89b411461037a578063a0712d68146103985761014d565b8063248a9ca311610115578063248a9ca31461021e5780632f2ff15d1461024e578063313ce5671461026a57806336568abe1461028857806342966c68146102a45780634b8feb4f146102c05761014d565b806301ffc9a71461015257806306fdde0314610182578063095ea7b3146101a057806318160ddd146101d057806323b872dd146101ee575b600080fd5b61016c6004803603810190610167919061194f565b610488565b6040516101799190611997565b60405180910390f35b61018a610502565b6040516101979190611a42565b60405180910390f35b6101ba60048036038101906101b59190611af8565b610594565b6040516101c79190611997565b60405180910390f35b6101d86105b7565b6040516101e59190611b47565b60405180910390f35b61020860048036038101906102039190611b62565b6105c1565b6040516102159190611997565b60405180910390f35b61023860048036038101906102339190611beb565b6105f0565b6040516102459190611c27565b60405180910390f35b61026860048036038101906102639190611c42565b610610565b005b610272610710565b60405161027f9190611c9e565b60405180910390f35b6102a2600480360381019061029d9190611c42565b610719565b005b6102be60048036038101906102b99190611cb9565b610794565b005b6102c8610856565b6040516102d59190611d45565b60405180910390f35b6102e661087a565b6040516102f39190611e1e565b60405180910390f35b61031660048036038101906103119190611e40565b610908565b6040516103239190611b47565b60405180910390f35b610334610950565b6040516103419190611c27565b60405180910390f35b610364600480360381019061035f9190611c42565b610974565b6040516103719190611997565b60405180910390f35b6103826109df565b60405161038f9190611a42565b60405180910390f35b6103b260048036038101906103ad9190611cb9565b610a71565b005b6103bc610b1e565b6040516103c99190611c27565b60405180910390f35b6103ec60048036038101906103e79190611af8565b610b25565b6040516103f99190611997565b60405180910390f35b61041c60048036038101906104179190611c42565b610b48565b005b610426610bdb565b6040516104339190611b47565b60405180910390f35b61045660048036038101906104519190611e6d565b610beb565b6040516104639190611b47565b60405180910390f35b61048660048036038101906104819190611af8565b610c72565b005b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104fb57506104fa82610d20565b5b9050919050565b60606003805461051190611edc565b80601f016020809104026020016040519081016040528092919081815260200182805461053d90611edc565b801561058a5780601f1061055f5761010080835404028352916020019161058a565b820191906000526020600020905b81548152906001019060200180831161056d57829003601f168201915b5050505050905090565b60008061059f610d8a565b90506105ac818585610d92565b600191505092915050565b6000600754905090565b6000806105cc610d8a565b90506105d9858285610da4565b6105e4858585610e38565b60019150509392505050565b600060056000838152602001908152602001600020600101549050919050565b610619826105f0565b61062281610f2c565b61062c8383610f40565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775831480156106635750610661826006610f62565b155b156106d0576006829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061070b565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070290611f59565b60405180910390fd5b505050565b60006012905090565b610721610d8a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610785576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61078f828261100f565b505050565b6000816007546107a49190611fa8565b10156107e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107dc9061204e565b60405180910390fd5b806107ef33610908565b1015610830576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610827906120e0565b60405180910390fd5b80600760008282546108429190611fa8565b925050819055506108533382611102565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b606060068054806020026020016040519081016040528092919081815260200182805480156108fe57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116108b4575b5050505050905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600480546109ee90611edc565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1a90611edc565b8015610a675780601f10610a3c57610100808354040283529160200191610a67565b820191906000526020600020905b815481529060010190602001808311610a4a57829003601f168201915b5050505050905090565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610a9b81610f2c565b6b09b18ab5df7180b6b800000082600754610ab69190612100565b1115610af7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aee90612180565b60405180910390fd5b8160076000828254610b099190612100565b92505081905550610b1a3383611184565b5050565b6000801b81565b600080610b30610d8a565b9050610b3d818585610e38565b600191505092915050565b610b51826105f0565b610b5a81610f2c565b610b648383611206565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217758303610b9b57610b96826006611228565b610bd6565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcd90611f59565b60405180910390fd5b505050565b6b09b18ab5df7180b6b800000081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610c9c81610f2c565b6b09b18ab5df7180b6b800000082600754610cb79190612100565b1115610cf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cef90612180565b60405180910390fd5b8160076000828254610d0a9190612100565b92505081905550610d1b8383611184565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b610d9f83838360016113b3565b505050565b6000610db08484610beb565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610e325781811015610e22578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610e19939291906121af565b60405180910390fd5b610e31848484840360006113b3565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610eaa5760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610ea191906121e6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f1c5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610f1391906121e6565b60405180910390fd5b610f2783838361158a565b505050565b610f3d81610f38610d8a565b6117af565b50565b610f49826105f0565b610f5281610f2c565b610f5c8383611800565b50505050565b600080600090505b8280549050811015611003578373ffffffffffffffffffffffffffffffffffffffff16838281548110610fa057610f9f612201565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610ff0576001915050611009565b8080610ffb90612230565b915050610f6a565b50600090505b92915050565b600061101b8383610974565b156110f75760006005600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611094610d8a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a4600190506110fc565b600090505b92915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111745760006040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161116b91906121e6565b60405180910390fd5b6111808260008361158a565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111f65760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016111ed91906121e6565b60405180910390fd5b6112026000838361158a565b5050565b61120f826105f0565b61121881610f2c565b611222838361100f565b50505050565b60005b81805490508110156113ae578273ffffffffffffffffffffffffffffffffffffffff1682828154811061126157611260612201565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361139b5781600183805490506112b99190611fa8565b815481106112ca576112c9612201565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682828154811061130857611307612201565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508180548061136157611360612278565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590556113ae565b80806113a690612230565b91505061122b565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036114255760006040517fe602df0500000000000000000000000000000000000000000000000000000000815260040161141c91906121e6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114975760006040517f94280d6200000000000000000000000000000000000000000000000000000000815260040161148e91906121e6565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015611584578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161157b9190611b47565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115dc5780600260008282546115d09190612100565b925050819055506116af565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611668578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161165f939291906121af565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116f85780600260008282540392505081905550611745565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117a29190611b47565b60405180910390a3505050565b6117b98282610974565b6117fc5780826040517fe2517d3f0000000000000000000000000000000000000000000000000000000081526004016117f39291906122a7565b60405180910390fd5b5050565b600061180c8383610974565b6118e75760016005600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611884610d8a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4600190506118ec565b600090505b92915050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61192c816118f7565b811461193757600080fd5b50565b60008135905061194981611923565b92915050565b600060208284031215611965576119646118f2565b5b60006119738482850161193a565b91505092915050565b60008115159050919050565b6119918161197c565b82525050565b60006020820190506119ac6000830184611988565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156119ec5780820151818401526020810190506119d1565b60008484015250505050565b6000601f19601f8301169050919050565b6000611a14826119b2565b611a1e81856119bd565b9350611a2e8185602086016119ce565b611a37816119f8565b840191505092915050565b60006020820190508181036000830152611a5c8184611a09565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611a8f82611a64565b9050919050565b611a9f81611a84565b8114611aaa57600080fd5b50565b600081359050611abc81611a96565b92915050565b6000819050919050565b611ad581611ac2565b8114611ae057600080fd5b50565b600081359050611af281611acc565b92915050565b60008060408385031215611b0f57611b0e6118f2565b5b6000611b1d85828601611aad565b9250506020611b2e85828601611ae3565b9150509250929050565b611b4181611ac2565b82525050565b6000602082019050611b5c6000830184611b38565b92915050565b600080600060608486031215611b7b57611b7a6118f2565b5b6000611b8986828701611aad565b9350506020611b9a86828701611aad565b9250506040611bab86828701611ae3565b9150509250925092565b6000819050919050565b611bc881611bb5565b8114611bd357600080fd5b50565b600081359050611be581611bbf565b92915050565b600060208284031215611c0157611c006118f2565b5b6000611c0f84828501611bd6565b91505092915050565b611c2181611bb5565b82525050565b6000602082019050611c3c6000830184611c18565b92915050565b60008060408385031215611c5957611c586118f2565b5b6000611c6785828601611bd6565b9250506020611c7885828601611aad565b9150509250929050565b600060ff82169050919050565b611c9881611c82565b82525050565b6000602082019050611cb36000830184611c8f565b92915050565b600060208284031215611ccf57611cce6118f2565b5b6000611cdd84828501611ae3565b91505092915050565b6000819050919050565b6000611d0b611d06611d0184611a64565b611ce6565b611a64565b9050919050565b6000611d1d82611cf0565b9050919050565b6000611d2f82611d12565b9050919050565b611d3f81611d24565b82525050565b6000602082019050611d5a6000830184611d36565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b611d9581611a84565b82525050565b6000611da78383611d8c565b60208301905092915050565b6000602082019050919050565b6000611dcb82611d60565b611dd58185611d6b565b9350611de083611d7c565b8060005b83811015611e11578151611df88882611d9b565b9750611e0383611db3565b925050600181019050611de4565b5085935050505092915050565b60006020820190508181036000830152611e388184611dc0565b905092915050565b600060208284031215611e5657611e556118f2565b5b6000611e6484828501611aad565b91505092915050565b60008060408385031215611e8457611e836118f2565b5b6000611e9285828601611aad565b9250506020611ea385828601611aad565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611ef457607f821691505b602082108103611f0757611f06611ead565b5b50919050565b7f526f6c65206e6f7420666f756e64210000000000000000000000000000000000600082015250565b6000611f43600f836119bd565b9150611f4e82611f0d565b602082019050919050565b60006020820190508181036000830152611f7281611f36565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611fb382611ac2565b9150611fbe83611ac2565b9250828203905081811115611fd657611fd5611f79565b5b92915050565b7f45524332303a2043616e6e6f74204275726e206d6f7265207468616e2063757260008201527f72656e7420737570706c79000000000000000000000000000000000000000000602082015250565b6000612038602b836119bd565b915061204382611fdc565b604082019050919050565b600060208201905081810360008301526120678161202b565b9050919050565b7f45524332303a2043616e6e6f74206275726e202d2062616c616e636520746f6f60008201527f206c6f7700000000000000000000000000000000000000000000000000000000602082015250565b60006120ca6024836119bd565b91506120d58261206e565b604082019050919050565b600060208201905081810360008301526120f9816120bd565b9050919050565b600061210b82611ac2565b915061211683611ac2565b925082820190508082111561212e5761212d611f79565b5b92915050565b7f45524332303a204f766572204d617820537570706c79204572726f7200000000600082015250565b600061216a601c836119bd565b915061217582612134565b602082019050919050565b600060208201905081810360008301526121998161215d565b9050919050565b6121a981611a84565b82525050565b60006060820190506121c460008301866121a0565b6121d16020830185611b38565b6121de6040830184611b38565b949350505050565b60006020820190506121fb60008301846121a0565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061223b82611ac2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361226d5761226c611f79565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60006040820190506122bc60008301856121a0565b6122c96020830184611c18565b939250505056fea2646970667358221220dad93f028ec73f05c6cf93b852b3ab303b9a821c15bdbc5bd25165ec9ff9dd4b64736f6c6343000814003300000000000000000000000091aa6c17340b1837ad8dcd5835249392bcb4fc5d

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c806364ddfa29116100c3578063a217fddf1161007c578063a217fddf146103b4578063a9059cbb146103d2578063d547741f14610402578063d5abeb011461041e578063dd62ed3e1461043c578063ede51ff51461046c5761014d565b806364ddfa29146102de57806370a08231146102fc57806375b238fc1461032c57806391d148541461034a57806395d89b411461037a578063a0712d68146103985761014d565b8063248a9ca311610115578063248a9ca31461021e5780632f2ff15d1461024e578063313ce5671461026a57806336568abe1461028857806342966c68146102a45780634b8feb4f146102c05761014d565b806301ffc9a71461015257806306fdde0314610182578063095ea7b3146101a057806318160ddd146101d057806323b872dd146101ee575b600080fd5b61016c6004803603810190610167919061194f565b610488565b6040516101799190611997565b60405180910390f35b61018a610502565b6040516101979190611a42565b60405180910390f35b6101ba60048036038101906101b59190611af8565b610594565b6040516101c79190611997565b60405180910390f35b6101d86105b7565b6040516101e59190611b47565b60405180910390f35b61020860048036038101906102039190611b62565b6105c1565b6040516102159190611997565b60405180910390f35b61023860048036038101906102339190611beb565b6105f0565b6040516102459190611c27565b60405180910390f35b61026860048036038101906102639190611c42565b610610565b005b610272610710565b60405161027f9190611c9e565b60405180910390f35b6102a2600480360381019061029d9190611c42565b610719565b005b6102be60048036038101906102b99190611cb9565b610794565b005b6102c8610856565b6040516102d59190611d45565b60405180910390f35b6102e661087a565b6040516102f39190611e1e565b60405180910390f35b61031660048036038101906103119190611e40565b610908565b6040516103239190611b47565b60405180910390f35b610334610950565b6040516103419190611c27565b60405180910390f35b610364600480360381019061035f9190611c42565b610974565b6040516103719190611997565b60405180910390f35b6103826109df565b60405161038f9190611a42565b60405180910390f35b6103b260048036038101906103ad9190611cb9565b610a71565b005b6103bc610b1e565b6040516103c99190611c27565b60405180910390f35b6103ec60048036038101906103e79190611af8565b610b25565b6040516103f99190611997565b60405180910390f35b61041c60048036038101906104179190611c42565b610b48565b005b610426610bdb565b6040516104339190611b47565b60405180910390f35b61045660048036038101906104519190611e6d565b610beb565b6040516104639190611b47565b60405180910390f35b61048660048036038101906104819190611af8565b610c72565b005b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104fb57506104fa82610d20565b5b9050919050565b60606003805461051190611edc565b80601f016020809104026020016040519081016040528092919081815260200182805461053d90611edc565b801561058a5780601f1061055f5761010080835404028352916020019161058a565b820191906000526020600020905b81548152906001019060200180831161056d57829003601f168201915b5050505050905090565b60008061059f610d8a565b90506105ac818585610d92565b600191505092915050565b6000600754905090565b6000806105cc610d8a565b90506105d9858285610da4565b6105e4858585610e38565b60019150509392505050565b600060056000838152602001908152602001600020600101549050919050565b610619826105f0565b61062281610f2c565b61062c8383610f40565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775831480156106635750610661826006610f62565b155b156106d0576006829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061070b565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070290611f59565b60405180910390fd5b505050565b60006012905090565b610721610d8a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610785576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61078f828261100f565b505050565b6000816007546107a49190611fa8565b10156107e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107dc9061204e565b60405180910390fd5b806107ef33610908565b1015610830576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610827906120e0565b60405180910390fd5b80600760008282546108429190611fa8565b925050819055506108533382611102565b50565b7f00000000000000000000000091aa6c17340b1837ad8dcd5835249392bcb4fc5d81565b606060068054806020026020016040519081016040528092919081815260200182805480156108fe57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116108b4575b5050505050905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600480546109ee90611edc565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1a90611edc565b8015610a675780601f10610a3c57610100808354040283529160200191610a67565b820191906000526020600020905b815481529060010190602001808311610a4a57829003601f168201915b5050505050905090565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610a9b81610f2c565b6b09b18ab5df7180b6b800000082600754610ab69190612100565b1115610af7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aee90612180565b60405180910390fd5b8160076000828254610b099190612100565b92505081905550610b1a3383611184565b5050565b6000801b81565b600080610b30610d8a565b9050610b3d818585610e38565b600191505092915050565b610b51826105f0565b610b5a81610f2c565b610b648383611206565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217758303610b9b57610b96826006611228565b610bd6565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcd90611f59565b60405180910390fd5b505050565b6b09b18ab5df7180b6b800000081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610c9c81610f2c565b6b09b18ab5df7180b6b800000082600754610cb79190612100565b1115610cf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cef90612180565b60405180910390fd5b8160076000828254610d0a9190612100565b92505081905550610d1b8383611184565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b610d9f83838360016113b3565b505050565b6000610db08484610beb565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610e325781811015610e22578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610e19939291906121af565b60405180910390fd5b610e31848484840360006113b3565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610eaa5760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610ea191906121e6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f1c5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610f1391906121e6565b60405180910390fd5b610f2783838361158a565b505050565b610f3d81610f38610d8a565b6117af565b50565b610f49826105f0565b610f5281610f2c565b610f5c8383611800565b50505050565b600080600090505b8280549050811015611003578373ffffffffffffffffffffffffffffffffffffffff16838281548110610fa057610f9f612201565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610ff0576001915050611009565b8080610ffb90612230565b915050610f6a565b50600090505b92915050565b600061101b8383610974565b156110f75760006005600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611094610d8a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a4600190506110fc565b600090505b92915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111745760006040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161116b91906121e6565b60405180910390fd5b6111808260008361158a565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111f65760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016111ed91906121e6565b60405180910390fd5b6112026000838361158a565b5050565b61120f826105f0565b61121881610f2c565b611222838361100f565b50505050565b60005b81805490508110156113ae578273ffffffffffffffffffffffffffffffffffffffff1682828154811061126157611260612201565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361139b5781600183805490506112b99190611fa8565b815481106112ca576112c9612201565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682828154811061130857611307612201565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508180548061136157611360612278565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590556113ae565b80806113a690612230565b91505061122b565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036114255760006040517fe602df0500000000000000000000000000000000000000000000000000000000815260040161141c91906121e6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114975760006040517f94280d6200000000000000000000000000000000000000000000000000000000815260040161148e91906121e6565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015611584578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161157b9190611b47565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115dc5780600260008282546115d09190612100565b925050819055506116af565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611668578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161165f939291906121af565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116f85780600260008282540392505081905550611745565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117a29190611b47565b60405180910390a3505050565b6117b98282610974565b6117fc5780826040517fe2517d3f0000000000000000000000000000000000000000000000000000000081526004016117f39291906122a7565b60405180910390fd5b5050565b600061180c8383610974565b6118e75760016005600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611884610d8a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4600190506118ec565b600090505b92915050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61192c816118f7565b811461193757600080fd5b50565b60008135905061194981611923565b92915050565b600060208284031215611965576119646118f2565b5b60006119738482850161193a565b91505092915050565b60008115159050919050565b6119918161197c565b82525050565b60006020820190506119ac6000830184611988565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156119ec5780820151818401526020810190506119d1565b60008484015250505050565b6000601f19601f8301169050919050565b6000611a14826119b2565b611a1e81856119bd565b9350611a2e8185602086016119ce565b611a37816119f8565b840191505092915050565b60006020820190508181036000830152611a5c8184611a09565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611a8f82611a64565b9050919050565b611a9f81611a84565b8114611aaa57600080fd5b50565b600081359050611abc81611a96565b92915050565b6000819050919050565b611ad581611ac2565b8114611ae057600080fd5b50565b600081359050611af281611acc565b92915050565b60008060408385031215611b0f57611b0e6118f2565b5b6000611b1d85828601611aad565b9250506020611b2e85828601611ae3565b9150509250929050565b611b4181611ac2565b82525050565b6000602082019050611b5c6000830184611b38565b92915050565b600080600060608486031215611b7b57611b7a6118f2565b5b6000611b8986828701611aad565b9350506020611b9a86828701611aad565b9250506040611bab86828701611ae3565b9150509250925092565b6000819050919050565b611bc881611bb5565b8114611bd357600080fd5b50565b600081359050611be581611bbf565b92915050565b600060208284031215611c0157611c006118f2565b5b6000611c0f84828501611bd6565b91505092915050565b611c2181611bb5565b82525050565b6000602082019050611c3c6000830184611c18565b92915050565b60008060408385031215611c5957611c586118f2565b5b6000611c6785828601611bd6565b9250506020611c7885828601611aad565b9150509250929050565b600060ff82169050919050565b611c9881611c82565b82525050565b6000602082019050611cb36000830184611c8f565b92915050565b600060208284031215611ccf57611cce6118f2565b5b6000611cdd84828501611ae3565b91505092915050565b6000819050919050565b6000611d0b611d06611d0184611a64565b611ce6565b611a64565b9050919050565b6000611d1d82611cf0565b9050919050565b6000611d2f82611d12565b9050919050565b611d3f81611d24565b82525050565b6000602082019050611d5a6000830184611d36565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b611d9581611a84565b82525050565b6000611da78383611d8c565b60208301905092915050565b6000602082019050919050565b6000611dcb82611d60565b611dd58185611d6b565b9350611de083611d7c565b8060005b83811015611e11578151611df88882611d9b565b9750611e0383611db3565b925050600181019050611de4565b5085935050505092915050565b60006020820190508181036000830152611e388184611dc0565b905092915050565b600060208284031215611e5657611e556118f2565b5b6000611e6484828501611aad565b91505092915050565b60008060408385031215611e8457611e836118f2565b5b6000611e9285828601611aad565b9250506020611ea385828601611aad565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611ef457607f821691505b602082108103611f0757611f06611ead565b5b50919050565b7f526f6c65206e6f7420666f756e64210000000000000000000000000000000000600082015250565b6000611f43600f836119bd565b9150611f4e82611f0d565b602082019050919050565b60006020820190508181036000830152611f7281611f36565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611fb382611ac2565b9150611fbe83611ac2565b9250828203905081811115611fd657611fd5611f79565b5b92915050565b7f45524332303a2043616e6e6f74204275726e206d6f7265207468616e2063757260008201527f72656e7420737570706c79000000000000000000000000000000000000000000602082015250565b6000612038602b836119bd565b915061204382611fdc565b604082019050919050565b600060208201905081810360008301526120678161202b565b9050919050565b7f45524332303a2043616e6e6f74206275726e202d2062616c616e636520746f6f60008201527f206c6f7700000000000000000000000000000000000000000000000000000000602082015250565b60006120ca6024836119bd565b91506120d58261206e565b604082019050919050565b600060208201905081810360008301526120f9816120bd565b9050919050565b600061210b82611ac2565b915061211683611ac2565b925082820190508082111561212e5761212d611f79565b5b92915050565b7f45524332303a204f766572204d617820537570706c79204572726f7200000000600082015250565b600061216a601c836119bd565b915061217582612134565b602082019050919050565b600060208201905081810360008301526121998161215d565b9050919050565b6121a981611a84565b82525050565b60006060820190506121c460008301866121a0565b6121d16020830185611b38565b6121de6040830184611b38565b949350505050565b60006020820190506121fb60008301846121a0565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061223b82611ac2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361226d5761226c611f79565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60006040820190506122bc60008301856121a0565b6122c96020830184611c18565b939250505056fea2646970667358221220dad93f028ec73f05c6cf93b852b3ab303b9a821c15bdbc5bd25165ec9ff9dd4b64736f6c63430008140033

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

00000000000000000000000091aa6c17340b1837ad8dcd5835249392bcb4fc5d

-----Decoded View---------------
Arg [0] : multiSigWalletAddress (address): 0x91Aa6C17340b1837aD8DcD5835249392BCB4fC5d

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000091aa6c17340b1837ad8dcd5835249392bcb4fc5d


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

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