S Price: $0.4702 (+3.65%)

Contract

0xa41b28e4e2a5806E849414c28b1BF92134f262BC

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Deposit Bulk71385412025-02-09 12:57:262 days ago1739105846IN
0xa41b28e4...134f262BC
0 S0.0295309855
Grant Role53865322025-01-25 16:28:3417 days ago1737822514IN
0xa41b28e4...134f262BC
0 S0.0030055855.01

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

Contract Source Code Verified (Exact Match)

Contract Name:
BurnBitAirdropContract

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 9 : BurnBitAirdropContract.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "../openzepline//contracts/access/AccessControl.sol";
import "../openzepline//contracts/utils/ReentrancyGuard.sol";
import "../openzepline//contracts/token/ERC20/IERC20.sol";
import "./IAirdrop.sol";

contract BurnBitAirdropContract is IAirdrop, AccessControl, ReentrancyGuard {
    // Define roles
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");
    bytes32 public constant AUTHORIZED_CONTRACT_ROLE = keccak256("AUTHORIZED_CONTRACT_ROLE");

    // The ERC20 token this contract manages
    IERC20 public token;

    // Mapping to track user balances
    mapping(address => uint256) private userBalances;

    // Events
    event Deposit(address indexed depositor, address indexed user, uint256 amount);
    event DepositBulk(address indexed depositor, address[] indexed users, uint256[] amounts);
    event Withdraw(address indexed user, address indexed contractAddress, uint256 amount);

    constructor(address tokenAddress) {
        require(tokenAddress != address(0), "Invalid token address");
        token = IERC20(tokenAddress);

        // Grant the deployer the default admin role and admin role
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(ADMIN_ROLE, msg.sender);
        _setRoleAdmin(AUTHORIZED_CONTRACT_ROLE, ADMIN_ROLE);
    }

    function deposit(address user, uint256 amount) external nonReentrant {
        require(user != address(0), "Invalid user address");
        require(amount > 0, "Amount must be greater than zero");

        // Transfer tokens from the depositor to the contract
        require(token.transferFrom(msg.sender, address(this), amount), "Token transfer failed");

        // Update the user's balance
        userBalances[user] += amount;

        emit Deposit(msg.sender, user, amount);
    }

    function depositBulk(address[] calldata users, uint256[] calldata amounts) external nonReentrant {
        require(users.length == amounts.length && users.length > 0, "Invalid user address");
        // Transfer tokens from the depositor to the contract

        uint256 totalAmount = 0;

        for (uint256 index = 0; index < amounts.length; index++) {
            totalAmount += amounts[index];
        }

        require(token.transferFrom(msg.sender, address(this), totalAmount), "Token transfer failed");

        for (uint256 index = 0; index < users.length; index++) {
            userBalances[users[index]] += amounts[index];
        }

        emit DepositBulk(msg.sender, users, amounts);
    }


    function withdraw(address user, uint256 amount) external onlyRole(AUTHORIZED_CONTRACT_ROLE) {
        require(userBalances[user] >= amount, "Insufficient balance");

        // Update the user's balance
        userBalances[user] -= amount;

        // Transfer tokens to the calling contract
        require(token.transfer(msg.sender, amount), "Token transfer failed");

        emit Withdraw(user, msg.sender, amount);
    }

    function balanceOf(address user) external view returns (uint256) {
        return userBalances[user];
    }
}

File 2 of 9 : IAirdrop.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

interface IAirdrop {
    /**
     * @dev Function to deposit tokens and update a user's balance.
     * @param user The address of the user to credit.
     * @param amount The amount of tokens to deposit.
     */
    function deposit(address user, uint256 amount) external;

    /**
     * @dev Function to withdraw tokens from a user's balance.
     * Can only be called by authorized contracts.
     * @param user The address of the user to debit.
     * @param amount The amount of tokens to withdraw.
     */
    function withdraw(address user, uint256 amount) external;

    /**
     * @dev Function to check a user's token balance.
     * @param user The address of the user.
     * @return The user's token balance.
     */
    function balanceOf(address user) external view returns (uint256);


}

File 3 of 9 : 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 4 of 9 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (access/IAccessControl.sol)

pragma solidity ^0.8.20;

/**
 * @dev External interface of AccessControl declared to support ERC-165 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. This account bears the admin role (for the granted role).
     * Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.
     */
    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 5 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

File 6 of 9 : 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 7 of 9 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.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 ERC-165 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 8 of 9 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[ERC].
 *
 * 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[ERC 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 9 of 9 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

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

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

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"tokenAddress","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":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"depositor","type":"address"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"depositor","type":"address"},{"indexed":true,"internalType":"address[]","name":"users","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"DepositBulk","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":"user","type":"address"},{"indexed":true,"internalType":"address","name":"contractAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AUTHORIZED_CONTRACT_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":"user","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"depositBulk","outputs":[],"stateMutability":"nonpayable","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":[{"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":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162001e5538038062001e558339818101604052810190620000379190620003f4565b60018081905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000b0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000a79062000487565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001066000801b336200019360201b60201c565b50620001397fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336200019360201b60201c565b506200018c7f69cd0c85288bcffbe883a45101c678f53f42e27bebea35a677cc62da9fa7f3917fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756200029660201b60201c565b50620004a9565b6000620001a78383620002f960201b60201c565b6200028b57600160008085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002276200036360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001905062000290565b600090505b92915050565b6000620002a9836200036b60201b60201c565b905081600080858152602001908152602001600020600101819055508181847fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff60405160405180910390a4505050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b6000806000838152602001908152602001600020600101549050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003bc826200038f565b9050919050565b620003ce81620003af565b8114620003da57600080fd5b50565b600081519050620003ee81620003c3565b92915050565b6000602082840312156200040d576200040c6200038a565b5b60006200041d84828501620003dd565b91505092915050565b600082825260208201905092915050565b7f496e76616c696420746f6b656e20616464726573730000000000000000000000600082015250565b60006200046f60158362000426565b91506200047c8262000437565b602082019050919050565b60006020820190508181036000830152620004a28162000460565b9050919050565b61199c80620004b96000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a217fddf11610066578063a217fddf1461025b578063d547741f14610279578063f3fef3a314610295578063fc0c546a146102b1576100ea565b806370a08231146101dd57806375b238fc1461020d57806391d148541461022b576100ea565b80632f2ff15d116100c85780632f2ff15d1461016b5780633182cd8c1461018757806336568abe146101a557806347e7ef24146101c1576100ea565b806301ffc9a7146100ef578063149a05d61461011f578063248a9ca31461013b575b600080fd5b61010960048036038101906101049190611020565b6102cf565b6040516101169190611068565b60405180910390f35b6101396004803603810190610134919061113e565b610349565b005b610155600480360381019061015091906111f5565b610602565b6040516101629190611231565b60405180910390f35b610185600480360381019061018091906112aa565b610621565b005b61018f610643565b60405161019c9190611231565b60405180910390f35b6101bf60048036038101906101ba91906112aa565b610667565b005b6101db60048036038101906101d69190611320565b6106e2565b005b6101f760048036038101906101f29190611360565b610944565b604051610204919061139c565b60405180910390f35b61021561098d565b6040516102229190611231565b60405180910390f35b610245600480360381019061024091906112aa565b6109b1565b6040516102529190611068565b60405180910390f35b610263610a1b565b6040516102709190611231565b60405180910390f35b610293600480360381019061028e91906112aa565b610a22565b005b6102af60048036038101906102aa9190611320565b610a44565b005b6102b9610c8f565b6040516102c69190611416565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610342575061034182610cb5565b5b9050919050565b610351610d1f565b81819050848490501480156103695750600084849050115b6103a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039f9061148e565b60405180910390fd5b6000805b838390508110156103f1578383828181106103ca576103c96114ae565b5b90506020020135826103dc919061150c565b915080806103e990611540565b9150506103ac565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b815260040161045193929190611597565b6020604051808303816000875af1158015610470573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049491906115fa565b6104d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ca90611673565b60405180910390fd5b60005b8585905081101561058a578383828181106104f4576104f36114ae565b5b9050602002013560036000888885818110610512576105116114ae565b5b90506020020160208101906105279190611360565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610570919061150c565b92505081905550808061058290611540565b9150506104d6565b50848460405161059b929190611750565b60405180910390203373ffffffffffffffffffffffffffffffffffffffff167fdf81079bbebca8205f74752494e06b4b27505b40c78b6909a375d1073afbb8bd85856040516105eb9291906117e4565b60405180910390a3506105fc610d65565b50505050565b6000806000838152602001908152602001600020600101549050919050565b61062a82610602565b61063381610d6e565b61063d8383610d82565b50505050565b7f69cd0c85288bcffbe883a45101c678f53f42e27bebea35a677cc62da9fa7f39181565b61066f610e73565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146106d3576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6106dd8282610e7b565b505050565b6106ea610d1f565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610759576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107509061148e565b60405180910390fd5b6000811161079c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079390611854565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016107fb93929190611597565b6020604051808303816000875af115801561081a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083e91906115fa565b61087d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087490611673565b60405180910390fd5b80600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546108cc919061150c565b925050819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f6283604051610930919061139c565b60405180910390a3610940610d65565b5050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b610a2b82610602565b610a3481610d6e565b610a3e8383610e7b565b50505050565b7f69cd0c85288bcffbe883a45101c678f53f42e27bebea35a677cc62da9fa7f391610a6e81610d6e565b81600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae7906118c0565b60405180910390fd5b81600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610b3f91906118e0565b92505081905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b8152600401610ba3929190611914565b6020604051808303816000875af1158015610bc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be691906115fa565b610c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1c90611673565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb84604051610c82919061139c565b60405180910390a3505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600260015403610d5b576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600181905550565b60018081905550565b610d7f81610d7a610e73565b610f6d565b50565b6000610d8e83836109b1565b610e6857600160008085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610e05610e73565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050610e6d565b600090505b92915050565b600033905090565b6000610e8783836109b1565b15610f6257600080600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610eff610e73565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a460019050610f67565b600090505b92915050565b610f7782826109b1565b610fba5780826040517fe2517d3f000000000000000000000000000000000000000000000000000000008152600401610fb192919061193d565b60405180910390fd5b5050565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b610ffd81610fc8565b811461100857600080fd5b50565b60008135905061101a81610ff4565b92915050565b60006020828403121561103657611035610fbe565b5b60006110448482850161100b565b91505092915050565b60008115159050919050565b6110628161104d565b82525050565b600060208201905061107d6000830184611059565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126110a8576110a7611083565b5b8235905067ffffffffffffffff8111156110c5576110c4611088565b5b6020830191508360208202830111156110e1576110e061108d565b5b9250929050565b60008083601f8401126110fe576110fd611083565b5b8235905067ffffffffffffffff81111561111b5761111a611088565b5b6020830191508360208202830111156111375761113661108d565b5b9250929050565b6000806000806040858703121561115857611157610fbe565b5b600085013567ffffffffffffffff81111561117657611175610fc3565b5b61118287828801611092565b9450945050602085013567ffffffffffffffff8111156111a5576111a4610fc3565b5b6111b1878288016110e8565b925092505092959194509250565b6000819050919050565b6111d2816111bf565b81146111dd57600080fd5b50565b6000813590506111ef816111c9565b92915050565b60006020828403121561120b5761120a610fbe565b5b6000611219848285016111e0565b91505092915050565b61122b816111bf565b82525050565b60006020820190506112466000830184611222565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006112778261124c565b9050919050565b6112878161126c565b811461129257600080fd5b50565b6000813590506112a48161127e565b92915050565b600080604083850312156112c1576112c0610fbe565b5b60006112cf858286016111e0565b92505060206112e085828601611295565b9150509250929050565b6000819050919050565b6112fd816112ea565b811461130857600080fd5b50565b60008135905061131a816112f4565b92915050565b6000806040838503121561133757611336610fbe565b5b600061134585828601611295565b92505060206113568582860161130b565b9150509250929050565b60006020828403121561137657611375610fbe565b5b600061138484828501611295565b91505092915050565b611396816112ea565b82525050565b60006020820190506113b1600083018461138d565b92915050565b6000819050919050565b60006113dc6113d76113d28461124c565b6113b7565b61124c565b9050919050565b60006113ee826113c1565b9050919050565b6000611400826113e3565b9050919050565b611410816113f5565b82525050565b600060208201905061142b6000830184611407565b92915050565b600082825260208201905092915050565b7f496e76616c696420757365722061646472657373000000000000000000000000600082015250565b6000611478601483611431565b915061148382611442565b602082019050919050565b600060208201905081810360008301526114a78161146b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611517826112ea565b9150611522836112ea565b925082820190508082111561153a576115396114dd565b5b92915050565b600061154b826112ea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361157d5761157c6114dd565b5b600182019050919050565b6115918161126c565b82525050565b60006060820190506115ac6000830186611588565b6115b96020830185611588565b6115c6604083018461138d565b949350505050565b6115d78161104d565b81146115e257600080fd5b50565b6000815190506115f4816115ce565b92915050565b6000602082840312156116105761160f610fbe565b5b600061161e848285016115e5565b91505092915050565b7f546f6b656e207472616e73666572206661696c65640000000000000000000000600082015250565b600061165d601583611431565b915061166882611627565b602082019050919050565b6000602082019050818103600083015261168c81611650565b9050919050565b600081905092915050565b6000819050919050565b6116b18161126c565b82525050565b60006116c383836116a8565b60208301905092915050565b60006116de6020840184611295565b905092915050565b6000602082019050919050565b60006116ff8385611693565b935061170a8261169e565b8060005b858110156117435761172082846116cf565b61172a88826116b7565b9750611735836116e6565b92505060018101905061170e565b5085925050509392505050565b600061175d8284866116f3565b91508190509392505050565b600082825260208201905092915050565b600080fd5b82818337505050565b60006117948385611769565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156117c7576117c661177a565b5b6020830292506117d883858461177f565b82840190509392505050565b600060208201905081810360008301526117ff818486611788565b90509392505050565b7f416d6f756e74206d7573742062652067726561746572207468616e207a65726f600082015250565b600061183e602083611431565b915061184982611808565b602082019050919050565b6000602082019050818103600083015261186d81611831565b9050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b60006118aa601483611431565b91506118b582611874565b602082019050919050565b600060208201905081810360008301526118d98161189d565b9050919050565b60006118eb826112ea565b91506118f6836112ea565b925082820390508181111561190e5761190d6114dd565b5b92915050565b60006040820190506119296000830185611588565b611936602083018461138d565b9392505050565b60006040820190506119526000830185611588565b61195f6020830184611222565b939250505056fea2646970667358221220698c12dec838a2ded80720e5220d102e8971bf7518aecb8a07311f9ebad2cda164736f6c634300081400330000000000000000000000005b590e05450220b4a39b54b1ac86ec6a4690997b

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a217fddf11610066578063a217fddf1461025b578063d547741f14610279578063f3fef3a314610295578063fc0c546a146102b1576100ea565b806370a08231146101dd57806375b238fc1461020d57806391d148541461022b576100ea565b80632f2ff15d116100c85780632f2ff15d1461016b5780633182cd8c1461018757806336568abe146101a557806347e7ef24146101c1576100ea565b806301ffc9a7146100ef578063149a05d61461011f578063248a9ca31461013b575b600080fd5b61010960048036038101906101049190611020565b6102cf565b6040516101169190611068565b60405180910390f35b6101396004803603810190610134919061113e565b610349565b005b610155600480360381019061015091906111f5565b610602565b6040516101629190611231565b60405180910390f35b610185600480360381019061018091906112aa565b610621565b005b61018f610643565b60405161019c9190611231565b60405180910390f35b6101bf60048036038101906101ba91906112aa565b610667565b005b6101db60048036038101906101d69190611320565b6106e2565b005b6101f760048036038101906101f29190611360565b610944565b604051610204919061139c565b60405180910390f35b61021561098d565b6040516102229190611231565b60405180910390f35b610245600480360381019061024091906112aa565b6109b1565b6040516102529190611068565b60405180910390f35b610263610a1b565b6040516102709190611231565b60405180910390f35b610293600480360381019061028e91906112aa565b610a22565b005b6102af60048036038101906102aa9190611320565b610a44565b005b6102b9610c8f565b6040516102c69190611416565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610342575061034182610cb5565b5b9050919050565b610351610d1f565b81819050848490501480156103695750600084849050115b6103a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039f9061148e565b60405180910390fd5b6000805b838390508110156103f1578383828181106103ca576103c96114ae565b5b90506020020135826103dc919061150c565b915080806103e990611540565b9150506103ac565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b815260040161045193929190611597565b6020604051808303816000875af1158015610470573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049491906115fa565b6104d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ca90611673565b60405180910390fd5b60005b8585905081101561058a578383828181106104f4576104f36114ae565b5b9050602002013560036000888885818110610512576105116114ae565b5b90506020020160208101906105279190611360565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610570919061150c565b92505081905550808061058290611540565b9150506104d6565b50848460405161059b929190611750565b60405180910390203373ffffffffffffffffffffffffffffffffffffffff167fdf81079bbebca8205f74752494e06b4b27505b40c78b6909a375d1073afbb8bd85856040516105eb9291906117e4565b60405180910390a3506105fc610d65565b50505050565b6000806000838152602001908152602001600020600101549050919050565b61062a82610602565b61063381610d6e565b61063d8383610d82565b50505050565b7f69cd0c85288bcffbe883a45101c678f53f42e27bebea35a677cc62da9fa7f39181565b61066f610e73565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146106d3576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6106dd8282610e7b565b505050565b6106ea610d1f565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610759576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107509061148e565b60405180910390fd5b6000811161079c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079390611854565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016107fb93929190611597565b6020604051808303816000875af115801561081a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083e91906115fa565b61087d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087490611673565b60405180910390fd5b80600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546108cc919061150c565b925050819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f6283604051610930919061139c565b60405180910390a3610940610d65565b5050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b610a2b82610602565b610a3481610d6e565b610a3e8383610e7b565b50505050565b7f69cd0c85288bcffbe883a45101c678f53f42e27bebea35a677cc62da9fa7f391610a6e81610d6e565b81600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae7906118c0565b60405180910390fd5b81600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610b3f91906118e0565b92505081905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b8152600401610ba3929190611914565b6020604051808303816000875af1158015610bc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be691906115fa565b610c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1c90611673565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb84604051610c82919061139c565b60405180910390a3505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600260015403610d5b576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600181905550565b60018081905550565b610d7f81610d7a610e73565b610f6d565b50565b6000610d8e83836109b1565b610e6857600160008085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610e05610e73565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050610e6d565b600090505b92915050565b600033905090565b6000610e8783836109b1565b15610f6257600080600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610eff610e73565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a460019050610f67565b600090505b92915050565b610f7782826109b1565b610fba5780826040517fe2517d3f000000000000000000000000000000000000000000000000000000008152600401610fb192919061193d565b60405180910390fd5b5050565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b610ffd81610fc8565b811461100857600080fd5b50565b60008135905061101a81610ff4565b92915050565b60006020828403121561103657611035610fbe565b5b60006110448482850161100b565b91505092915050565b60008115159050919050565b6110628161104d565b82525050565b600060208201905061107d6000830184611059565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126110a8576110a7611083565b5b8235905067ffffffffffffffff8111156110c5576110c4611088565b5b6020830191508360208202830111156110e1576110e061108d565b5b9250929050565b60008083601f8401126110fe576110fd611083565b5b8235905067ffffffffffffffff81111561111b5761111a611088565b5b6020830191508360208202830111156111375761113661108d565b5b9250929050565b6000806000806040858703121561115857611157610fbe565b5b600085013567ffffffffffffffff81111561117657611175610fc3565b5b61118287828801611092565b9450945050602085013567ffffffffffffffff8111156111a5576111a4610fc3565b5b6111b1878288016110e8565b925092505092959194509250565b6000819050919050565b6111d2816111bf565b81146111dd57600080fd5b50565b6000813590506111ef816111c9565b92915050565b60006020828403121561120b5761120a610fbe565b5b6000611219848285016111e0565b91505092915050565b61122b816111bf565b82525050565b60006020820190506112466000830184611222565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006112778261124c565b9050919050565b6112878161126c565b811461129257600080fd5b50565b6000813590506112a48161127e565b92915050565b600080604083850312156112c1576112c0610fbe565b5b60006112cf858286016111e0565b92505060206112e085828601611295565b9150509250929050565b6000819050919050565b6112fd816112ea565b811461130857600080fd5b50565b60008135905061131a816112f4565b92915050565b6000806040838503121561133757611336610fbe565b5b600061134585828601611295565b92505060206113568582860161130b565b9150509250929050565b60006020828403121561137657611375610fbe565b5b600061138484828501611295565b91505092915050565b611396816112ea565b82525050565b60006020820190506113b1600083018461138d565b92915050565b6000819050919050565b60006113dc6113d76113d28461124c565b6113b7565b61124c565b9050919050565b60006113ee826113c1565b9050919050565b6000611400826113e3565b9050919050565b611410816113f5565b82525050565b600060208201905061142b6000830184611407565b92915050565b600082825260208201905092915050565b7f496e76616c696420757365722061646472657373000000000000000000000000600082015250565b6000611478601483611431565b915061148382611442565b602082019050919050565b600060208201905081810360008301526114a78161146b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611517826112ea565b9150611522836112ea565b925082820190508082111561153a576115396114dd565b5b92915050565b600061154b826112ea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361157d5761157c6114dd565b5b600182019050919050565b6115918161126c565b82525050565b60006060820190506115ac6000830186611588565b6115b96020830185611588565b6115c6604083018461138d565b949350505050565b6115d78161104d565b81146115e257600080fd5b50565b6000815190506115f4816115ce565b92915050565b6000602082840312156116105761160f610fbe565b5b600061161e848285016115e5565b91505092915050565b7f546f6b656e207472616e73666572206661696c65640000000000000000000000600082015250565b600061165d601583611431565b915061166882611627565b602082019050919050565b6000602082019050818103600083015261168c81611650565b9050919050565b600081905092915050565b6000819050919050565b6116b18161126c565b82525050565b60006116c383836116a8565b60208301905092915050565b60006116de6020840184611295565b905092915050565b6000602082019050919050565b60006116ff8385611693565b935061170a8261169e565b8060005b858110156117435761172082846116cf565b61172a88826116b7565b9750611735836116e6565b92505060018101905061170e565b5085925050509392505050565b600061175d8284866116f3565b91508190509392505050565b600082825260208201905092915050565b600080fd5b82818337505050565b60006117948385611769565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156117c7576117c661177a565b5b6020830292506117d883858461177f565b82840190509392505050565b600060208201905081810360008301526117ff818486611788565b90509392505050565b7f416d6f756e74206d7573742062652067726561746572207468616e207a65726f600082015250565b600061183e602083611431565b915061184982611808565b602082019050919050565b6000602082019050818103600083015261186d81611831565b9050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b60006118aa601483611431565b91506118b582611874565b602082019050919050565b600060208201905081810360008301526118d98161189d565b9050919050565b60006118eb826112ea565b91506118f6836112ea565b925082820390508181111561190e5761190d6114dd565b5b92915050565b60006040820190506119296000830185611588565b611936602083018461138d565b9392505050565b60006040820190506119526000830185611588565b61195f6020830184611222565b939250505056fea2646970667358221220698c12dec838a2ded80720e5220d102e8971bf7518aecb8a07311f9ebad2cda164736f6c63430008140033

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

0000000000000000000000005b590e05450220b4a39b54b1ac86ec6a4690997b

-----Decoded View---------------
Arg [0] : tokenAddress (address): 0x5B590e05450220B4A39B54B1AC86eC6A4690997b

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005b590e05450220b4a39b54b1ac86ec6a4690997b


Block Transaction Gas Used Reward
view all blocks produced

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

Validator Index Block Amount
View All Withdrawals

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

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